On a fresh install of Ubuntu 22.04, using the system’s “additional drivers” it runs nvidia driver 510.x and suspend works fine on my i9-7940x and GTX 3090. When I install Cuda 11.7 from the repo here, it automatically switches to the 515.x driver and suspend no longer works.
With the original 510.x driver the nvidia-suspend.service, resume and hibernate all show as available. After installing Cuda (which switches to 515.x) these services are now showing as “masked” (which means they point to /dev/null). I’m assuming this is the issue. Is there a simple fix for this?
There are a number of post about similar issues with previous Ubuntu versions but my system worked fine as Ubuntu 20.04 and cuda 11.3 so it seems odd that Nvidia would re-introduce an old bug in a newer version of their install package.