NVIDIA / NVIDIA/open-gpu-kernel-modules

580.82.09 - Suspend Resume Fails on Nvidia / AMD Hybrid Laptop

Open
#975 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

580.82.09

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
  • I confirm that this does not happen with the proprietary driver package.
Operating System and Version

Pop!_OS 24.04 LTS

Kernel Release

6.17.4-76061704-generic

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
  • I am running on a stable kernel release.
Hardware: GPU

GeForce RTX 4060 Laptop GPU (UUID: GPU-53ee44e6-30c1-080b-0d5d-b04f9e3e6f08)

Describe the bug

suspend / resume is completely broken on the system. System soft hangs after shutdown (as a result system doesn't completely power off).

nvidia reports following errors on kernel log

Nov 25 11:28:20 kernel: NVRM: testIfDsmSubFunctionEnabled: GPS ACPI DSM called before _acpiDsmSupportedFuncCacheInit subfunction = 10.
Nov 25 11:28:20 kernel: NVRM: testIfDsmSubFunctionEnabled: GPS ACPI DSM called before _acpiDsmSupportedFuncCacheInit subfunction = 11.
To Reproduce

install following drivers

nvidia-dkms-580-open/noble,now 580.82.09-1pop1~1759962949~24.04~eb2851e amd64 [installed,automatic]
nvidia-driver-580-open/noble,now 580.82.09-1pop1~1759962949~24.04~eb2851e amd64 [installed]
  1. Try to suspend and voila is system is unresumable
  2. observe kernel log to find testIfDsmSubFunctionEnabled reporting errors.

Try setting NVreg_PreserveVideoMemoryAllocations=1 and/or exit 0 in /usr/bin/nvidia-sleep.sh. Nothing helps. Repros on 6.17.* and earlier kernels (6.16.*: tested)

Bug Incidence

Always

nvidia-bug-report.log.gz

Use less --raw-control-chars file_name for helpful systemctl colors on the logs below:

More Info

System Spec: Hybrid

  • CPU: AMD Ryzen 9 370HX
  • iGPU: AMD GPU Radeon 890M
  • dGPU: GeForce RTX 4060 Laptop GPU (UUID: GPU-53ee44e6-30c1-080b-0d5d-b04f9e3e6f08)
  • Device: Asus ProArt P16 H7606WV

Suspend / resume is completely broken on the system.

The suspend/resume on my system was working fine on my system for years. Why did you break a working feature?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported kernel-log errors and the attached nvidia-bug-report.log.gz, then inspect /usr/bin/nvidia-sleep.sh and compare behavior across the listed 6.16 and 6.17 kernels. Reproduce suspend and resume on the specified hybrid AMD/NVIDIA hardware; done means the system resumes and shuts down cleanly without the reported NVRM errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.