Comment 7 for bug 1950393

Revision history for this message
Vladislav K. Valtchev (vvaltchev) wrote : Re: GDM session crashes on suspend on Ubuntu 21.10

Interesting update
--------------------

Given the "Unit nvidia-resume.service is masked" complain by systemd-logind in my previous comment, I thought it could be related with the switching on and off the proprietary nvidia driver: after turning it on, I turned it off (switching to Nouveau) because of this other bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1947614

So, I opened the "Software & Updates" tool and in "Additional Drivers" I turned nvidia-driver-470 on again and... voila', the session-crash-on-suspend bug disappeared.

It looks like to me that the tool messed up some systemd units like nvidia-resume.service and it didn't return them to the previous state after I switched back to Nouveau.

Note: the only thing I used to turn on and off the nvidia driver is that "Software & Updates" tool, no custom configurations/hacks at all.