NVIDIA / NVIDIA/open-gpu-kernel-modules

Dynamic Boost doesn't work on AMD CPUs

Open
#392 15 comments 0 reactions 1 assignee View on GitHub

@amrit1711 is already working on this.

Since Jun 5, 2023.

bug Feature Pending NV-Triaged
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

7c345b838b8a63126ed425781400c1ae8a7a4a1d

Does this happen with the proprietary driver (of the same version) as well?

Yes

Operating System and Version

Fedora 37 Workstation

Kernel Release

6.0.2-300.fc37.x86_64

Hardware: GPU

NVIDIA GeForce RTX 3060 Laptop GPU

Describe the bug

nvidia-powerd was added to the linux driver to enable dynamic boost but currently its completely broken on all AMD-NVIDIA based laptops because powerd service is unable to read the cpu powerdata. I have attched the output of service log below.

× nvidia-powerd.service - nvidia-powerd service
     Loaded: loaded (/usr/lib/systemd/system/nvidia-powerd.service; disabled; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2022-10-17 13:18:00 IST; 13s ago
    Process: 10710 ExecStart=/usr/bin/nvidia-powerd (code=exited, status=1/FAILURE)
   Main PID: 10710 (code=exited, status=1/FAILURE)
        CPU: 1.148s

Oct 17 13:17:58 rog systemd[1]: Starting nvidia-powerd.service - nvidia-powerd service...
Oct 17 13:17:58 rog /usr/bin/nvidia-powerd[10710]: nvidia-powerd version:1.0(build 1)
Oct 17 13:18:00 rog /usr/bin/nvidia-powerd[10710]: Failed to read the data for calculating CPU power
Oct 17 13:18:00 rog /usr/bin/nvidia-powerd[10710]: Failed to initialize GPU Boost controller
Oct 17 13:18:00 rog systemd[1]: nvidia-powerd.service: Main process exited, code=exited, status=1/FAILURE
Oct 17 13:18:00 rog systemd[1]: nvidia-powerd.service: Failed with result 'exit-code'.
Oct 17 13:18:00 rog systemd[1]: Failed to start nvidia-powerd.service - nvidia-powerd service.
Oct 17 13:18:00 rog systemd[1]: nvidia-powerd.service: Consumed 1.148s CPU time.
To Reproduce
  1. Check power consumption in GPU heavy programs.
  2. Service logs indicate nvidia-powerd service cannot start.
Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

CPU : AMD Ryzen 9 5900HS

https://github.com/NVIDIA/open-gpu-kernel-modules/issues/392#tasklist-block-9f6513b6-e8f2-493e-a77d-1f386a5593e3

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.