After upgrading my system to the latest NVIDIA stable drivers (575.57.08) it won’t successfully suspend anymore. Checking my system’s logs, I think I’ve found the culprit:
PM: Some devices failed to suspend, or early wake event detected
jun 01 09:12:50 tarcisio-desktop kernel: nvidia 0000:29:00.0: PM: failed to suspend async: error -5
jun 01 09:12:50 tarcisio-desktop kernel: nvidia 0000:29:00.0: PM: dpm_run_callback(): pci_pm_suspend returns -5
jun 01 09:12:50 tarcisio-desktop kernel: nvidia 0000:29:00.0: PM: pci_pm_suspend(): nv_pmops_suspend [nvidia] returns -5
jun 01 09:12:50 tarcisio-desktop kernel: NVRM: GPU 0000:29:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Support' section in the driver README.
jun 01 09:12:50 tarcisio-desktop kernel: ata1.00: Entering standby power mode
Is anyone experiencing the same issues? Possible fixes for this? It was resuming just fine with the previous driver version and now it just blinks the screen and comes back to GNOME’s lockscreen in a very laggy state, then coming back to normal.
I edited the config file for setting the environment variable to true and rebooted my system.
Testing suspend afterward, there are no explicit logs of errors, but the system didn’t go into sleep properly - it just stopped displaying video but kept on for about two minutes without shutting down as it should.
I’m not on my system to check that right now, but can’t /var/tmp tmpfs filesystem use swap if it hasn’t enough capacity? I’d guess it’s the default value for Fedora 39 - version I originally installed. Searching around I’ve found that it usually is half of the available RAM, so probably 8GBs.
My setup has 16GB of swap (zram) and other 4GBs on an HDD for a combined 20GB which should in theory be enough…
I did read it and it should work as is configured by Fedora through systemd + NVreg_PreserveVideoMemoryAllocations parameter
Yeah, that’s right…
I do have an RTX 2060 6GB, and my drive has more than enough space to handle that, what exactly do you mean by free space on /var/tmp? Isn’t that just part of my root drive?
➜ ~ df -k /var/tmp
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/luks-15212fc9-74f8-45e2-9d6c-463dcf38ca55 1951834112 1620071920 318357360 84% /
Does your system suspend right after login?
S2idle (Modern Standby) or the older S3 suspend?
I have a dual boot system and I suspect that suspend is very unreliable if system was rebooted from windows to linux. I have to power down the system for a few seconds and then boot linux.
I’ve never made changes to Fedora’s default suspending despite the one mentioned in this thread, so I believe it’s S3 suspend through systemd-suspend.
My setup will freeze everytime when trying to suspend (it previously worked just fine with NVIDIA 570 drivers). I don’t have dualboot set up, only Fedora installed on my SSD.