This is your annual reminder to do a snapshot (timeshift or whatever you prefer) before doing relatively minor changes to your system.
I was supposed to be in bed now, but instead I am stuck troubleshooting xorg refusing to start after an apt-get dist-upgrade.
And as far as friendly reminders go, I should’ve given myself an unfriendly reminder beforehand, as it’s not the first time…
UPDATE: Fuck nvidia 545. All my homies hate nvidia 545. 535 4 lyf!
Am on LMDE6 with an ancient Nvidia card. Because I’ve had to resort to using the Nvidia OEM driver installer (which can be a pain to use), installed Xorg updates lurk quietly until a full reboot at which point they generally cause offloading of GPU tasks to the CPU instead because it hasn’t figured things out properly.
Timeshift has been useful at least twice in getting me back to a less stressed system.
I think I have a procedure figured out now though (documented here for posterity even if it helps no-one today):
Make a Timeshift snapshot just in case
Install the pending Xorg update
Reboot so it’s fully active
Check to see if GPU tasks are being offloaded to the CPU by doing something graphics intensive and noting temperatures or usage%. If not, a miracle has occurred and continuing isn’t needed.
sudo
remove the execute permission on/usr/bin/Xorg
so that it can’t immediately be restarted by subsystems designed to protect the average Mint user from command lines and consoles.Kill Xorg
Log in through a console, via Ctrl+Alt+F1 or similar if not dumped to one by killing Xorg.
Re-install the Nvidia OEM driver
sudo
put the aforementioned execute permission back onRepeat steps 2 and 3 and hope that this time the GPU is doing the work.
Reboots ought to be replaceable by running specific commands, but I haven’t gone deep enough into things to know the right things to do there. Reboots are quick and easy enough.
Obvious intermediate steps include not doing anything else important during this and saving important work before starting.
e.g. did you know it’s possible to bookmark all open tabs? Well worth looking into.