页次: 1
具体而言,这个问题在最近一次更新中发生,在登录界面没有问题,但是一进桌面环境休眠就会直接失败,非常怀疑是nvidia闭源驱动干的好事,在日志中找到了这几句。
kernel: note: nvidia-sleep.sh[5541] exited with irqs disabled
note: nvidia-sleep.sh[5541] exited with preempt_count 1
nvidia-suspend.service: Main process exited, code=killed, status=9/KILL
nvidia-suspend.service: Failed with result 'signal'.
Failed to start NVIDIA system suspend actions.
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
PM: Some devices failed to suspend, or early wake event detected
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: suspend exit
Failed to put system to sleep. System resumed again: Input/output error
有没有什么解决办法?
最近编辑记录 lwb (2024-10-19 15:08:01)
离线
用一种玄学的方法解决了,添加了内核参数:nvidia.NVreg_PreserveVideoMemoryAllocations=0,然后用systemctl把nvidia的几个服务全部禁用
(So NVIDIA FK You)
离线
页次: 1