Nvidia, Arch Linux, and Sleep

Having used Pop OS for almost two years, I decided I wanted to try out Arch Linux: because easy installs are for the weak. I installed Arch in late August following mjkstra's guide (using snapper instead of timeshift). It all worked great, until I could no longer get my laptop to suspend. When I closed the lid, Linux would simply crash with the following error:

Aug 26 17:15:16 legion systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
Aug 26 17:15:16 legion systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
Aug 26 17:15:16 legion systemd[1]: Failed to start System Suspend.

Alas, setting up Nvidia drivers on Linux is not as easy as Pop OS makes it seem. It took me scouring the internet for a week to find this bug report and fix it.

Programming Books I've Read

Last updated on 15 November, 2024.