Suspend doesn't work when PreserveVideoMemoryAllocations is enabled
### NVIDIA Open GPU Kernel Modules Version 525.85.05 ### Does this happen with the proprietary driver (of the same version) as well? Yes ### Operating System and Version Linux Mint 21.1 ### Kernel Release Linux pc 5.19.15-xanmod1 #0~20221012.git85103f7 SMP Wed Oct 12 15:04:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ### Hardware: GPU GPU 0: NVIDIA GeForce RTX 3060 Ti (UUID: GPU-039a34f7-087c-dc8f-a607-e0d937443d0f) ### Describe the bug An error occurs when trying to boot into the system after suspend if PreserveVideoMemoryAllocations is enabled: ``` [ 10.255125] NVRM: GPU 0000:05: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. [ 10.255127] nvidia 0000:05:00.0: PM: pci_pm_freeze(): nv_pmops_freeze+0x0/0x20 [nvidia] returns -5 [ 10.255200] nvidia 0000:05:00.0: PM: dpm_run_callback(): pci_pm_freeze+0x0/0xc0 returns -5 [ 10.255203] nvidia 0000:05:00.0: PM: failed to quiesce async: error -5 ``` ### To Reproduce 1. Create a file `/etc/modprobe.d/nvidia-power-management.conf` with the following content: ``` options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp ``` 2. `sudo update-initramfs -c -k all` to re-generate the kernels. 3. Reboot. 4. Go to suspend mode. 5. Get an error when trying to load a saved state. ### Bug Incidence Always ### nvidia-bug-r
Posted by Monsterovich on Mar 11, 2023, 7:22 PM
Tags
Related issues
Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments
support (Sysadmin)
Support connecting to remote devcontainers (devcontainer on remote host)
Option to use Waffle menu or links displayed normally
I also attempted to package ROCM on musl.
But why is there no such pushback agains linux kernel?
OpenCode Support
Upcoming changes to the tado° API
Allow Mac users to use Apple native containerization
Support for the Containerization Framework on macOS
Suspend doesn't work when PreserveVideoMemoryAllocations is enabled
### NVIDIA Open GPU Kernel Modules Version 525.85.05 ### Does this happen with the proprietary driver (of the same version) as well? Yes ### Operating System and Version Linux Mint 21.1 ### Kernel Release Linux pc 5.19.15-xanmod1 #0~20221012.git85103f7 SMP Wed Oct 12 15:04:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ### Hardware: GPU GPU 0: NVIDIA GeForce RTX 3060 Ti (UUID: GPU-039a34f7-087c-dc8f-a607-e0d937443d0f) ### Describe the bug An error occurs when trying to boot into the system after suspend if PreserveVideoMemoryAllocations is enabled: ``` [ 10.255125] NVRM: GPU 0000:05: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. [ 10.255127] nvidia 0000:05:00.0: PM: pci_pm_freeze(): nv_pmops_freeze+0x0/0x20 [nvidia] returns -5 [ 10.255200] nvidia 0000:05:00.0: PM: dpm_run_callback(): pci_pm_freeze+0x0/0xc0 returns -5 [ 10.255203] nvidia 0000:05:00.0: PM: failed to quiesce async: error -5 ``` ### To Reproduce 1. Create a file `/etc/modprobe.d/nvidia-power-management.conf` with the following content: ``` options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp ``` 2. `sudo update-initramfs -c -k all` to re-generate the kernels. 3. Reboot. 4. Go to suspend mode. 5. Get an error when trying to load a saved state. ### Bug Incidence Always ### nvidia-bug-r
Comments (0)
No comments yet. Start the discussion.