open-gpu-kernel-modules icon indicating copy to clipboard operation
open-gpu-kernel-modules copied to clipboard

Dynamic Boost doesn't work on AMD CPUs

Open cyberphantom52 opened this issue 2 years ago • 15 comments

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

cyberphantom52 avatar Oct 17 '22 08:10 cyberphantom52