NVIDIA / NVIDIA/open-gpu-kernel-modules

Yet another rtd3/d3cold bug variant with Turing/580

Open
#1,071 20 comments 0 reactions 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.126.18

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

Gentoo Linux

Kernel Release

6.19.8-gentoo

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

RTX 2070 with Max-Q Design

Describe the bug

Razer Blade Pro 17 (2019) with coffee lake and RTX 2070. IOW Turing. Not sure if issue is Turing specific.

I have configured the nvidia driver (580) to not load the GSP firmware, as this makes d3cold non-functional on Turing. As I understand it and experience it.

With this config, my (AC-powered) laptop boots up and the Nvidia GPU will quickly switch to d3cold as I want it. (Using Intel iGPU as default). So far, great.

Unplugging power keeps the Nvidia GPU in d3cold. Still great.

Reinserting power switches the Nvidia GPU to d0. And from this point on I cannot get it to switch to d3cold while the laptop is AC-powered. Unplugging the power will switch to d3cold again.

I would very much like to keep the GPU in d3cold even when in the AC-powered state. And, to be honest, a GSP firmware which handles Turing properly would also be nice....

To Reproduce
  • Install linux 6.19.8 and nvidia-drivers 580.126.18 on a Turing equipped laptop.
  • Configure modprobe.conf or whatever with:
options nvidia NVreg_DynamicPowerManagement=0x02
options nvidia NVreg_EnableGpuFirmware=0
  • Boot with AC inserted and iGPU as default GPU

  • Observe dGPU switching to d3cold
    cat /sys/class/drm/card2/device/power_state

  • unplug AC, observe GPU remaining in d3cold

  • reinsert AC, observe GPU switching to d0 and remaining there

  • unplug AC, observe GPU switching to d3cold

  • reinsert AC, observe GPU switching to d0 and remaining there

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

No response

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 DynamicPowerManagement and EnableGpuFirmware module options and reproduce the AC unplug/reinsert sequence on the RTX 2070. Check /sys/class/drm/card2/device/power_state at each step and review the attached nvidia-bug-report.log.gz. Done means the GPU returns to d3cold while AC-powered after power is reinserted, without regressing the unplugged behavior.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.