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!

  • palordrolap
    link
    fedilink
    45 months ago

    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):

    1. Make a Timeshift snapshot just in case

    2. Install the pending Xorg update

    3. Reboot so it’s fully active

    4. 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.

    5. 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.

    6. Kill Xorg

    7. Log in through a console, via Ctrl+Alt+F1 or similar if not dumped to one by killing Xorg.

    8. Re-install the Nvidia OEM driver

    9. sudo put the aforementioned execute permission back on

    10. Repeat 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.