Sleep - how to?

To install the nvidia-lts drivers, you must first uninstall the garuda-nvidia-config (contains the nvida-dkms drivers).
Also, we do not recommend installing/uninstalling packages via octopi - better use pacman for that.

Either via journal/dmesg or, if there is no other way, via the screenshot you just posted. :wink:
By the way, this is the same error as in your other topic, only this time no address (0x0/0x50 etc.) is given:

For better readability and the forum search:

NVRM: GPU 0000:01: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.
nvidia 0000:01:00.0: PM: pci_pm_suspend(): nv_pmops_suspend [nvidia] returns -5
nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_suspend returns -5
nvidia 0000:01:00.0: PM: failed to suspend async: error -5
PM: Some devices failed to suspend, or early wake event detected

Issues with sleep/suspend/hibernate are a typical nvidia problem. There are several topics here in the forum, as well as in all other linux forums and in the nvidia support forum - half the internet consists only of nvidia issues. :upside_down_face:

Read the nvidia articles in the ArchWiki and the suggested solutions in the linux forums, and see if any of them work.

Another option, if you don’t need the full power of the nvidia GPU, would be to use the open source driver nouveau.

Good luck :slight_smile:

2 Likes

i asked few times for it=)

This was part of dmesg (with the LTS kernel)

NVRM: GPU 0000:01: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.

[16768.100024] nvidia 0000:01:00.0: PM: pci_pm_suspend(): nv_pmops_suspend [nvidia] returns -5

[16768.101418] nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_suspend returns -5

[16768.101429] nvidia 0000:01:00.0: PM: failed to suspend async: error -5

[16768.378746] PM: Some devices failed to suspend, or early wake event detected

I decided rather than install nvidia-lts to switch to the Zen kernel (which gave me issues previously but now seems fine).

I no longer get suspend errors with the Zen kernel - in the print.

sudo dmesg | grep nvidia
[sudo] password for anarcho:         
[    1.745037] nvidia: loading out-of-tree module taints kernel.
[    1.745044] nvidia: module license 'NVIDIA' taints kernel.
[    1.745048] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    1.745048] nvidia: module license taints kernel.
[    2.251793] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[    2.253084] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[    2.666171] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  570.86.16  Fri Jan 24 20:44:10 UTC 2025
[    2.672750] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    2.881232] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 1
[    2.881242] nvidia 0000:01:00.0: [drm] No compatible format found
[    2.881244] nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes
[    2.903214] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[    3.061657] nvidia-uvm: Loaded the UVM driver, major device number 236.

Thanks for the knowledge of dmesg.
I will go back over what is posted here keep exploring other threads and see what I find to resolve the issue.
Thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.