NVIDIA GPU - Failure to suspend

Hello everyone, I hope you’re all having a good day :slight_smile:

I’m facing an issue on Fedora where my laptop fails to suspend. This only occurs with the proprietary NVIDIA drivers for my RTX 3050 Ti Mobile installed (which I need for the GPU to not suck all my battery).

The problem seemingly comes from nvidia-suspend.service randomly hanging, and not actually suspending the GPU. I can’t find anything relevant in journalctl logs to help me troubleshoot though.

System info:

Kernel: 6.14.6-300.fc42.x86_64
Fedora release: 42
Installed NVIDIA packages:

$ dnf list --installed | grep nvidia
akmod-nvidia.x86_64                                  3:570.144-1.fc42                     rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.14.6-300.fc42.x86_64.x86_64            3:570.144-1.fc42                     @commandline
nvidia-modprobe.x86_64                               3:570.144-1.fc42                     rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                               3:570.144-1.fc42                     rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                           3:570.144-1.fc42                     rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64                 3:570.144-1.fc42                     rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64                   3:570.144-1.fc42                     rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686                        3:570.144-1.fc42                     rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64                      3:570.144-1.fc42                     rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64                     3:570.144-1.fc42                     rpmfusion-nonfree-nvidia-driver

I’m sure there’s far more info needed here, but I don’t know where to start - please let me know of anything more I can provide!

Many thanks in advance.

It just happened again, but I managed to get to a TTY with the integrated graphics and run journalctl. This is the output:

pls read Configuring Power Management Support
But the Nvidia driver is known to occasionally cause problems.
You could also try to update to 570.153.02

Thanks for your reply!

I did realise my drivers were outdated and updated them, but the issue still occurs.

I assume you want me to refer to the bottom section on the link you sent about the kernel failing to resume (nothing else seemed particularly relevant). I had already added the relevant kernel parameter, but despite this, running cat /sys/power/mem_sleep still returns s2idle. Any further ideas?

I should note here that the GPU works fine on Linux Mint, but has issues like this on every other distro I’ve tried, which is a real shame as I wish to use Fedora.

you need to figure out whether the GPU supports Video Memory Self Refresh and enable or disable NVreg_EnableS0ixPowerManagement in
/usr/lib/modprobe.d/nvidia-power-management.conf

Assuming the system supports S0ix = Modern Standby ofc.

also try to suspend with sudo systemctl suspend

This indeed is all supported so I enabled it, but the same thing is still happening here

I’m on 575, but have also been experiencing issues with suspend (it previously worked just fine with 570…)