RTX 3050 Laptop stays in P5 (780 MHz mem, PCIe Gen 2) at 99% utilization; only PerfLevelSrc module option fixes it
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 38/100
Rechercherichtung
Start by checking how the open kernel modules handle PowerMizer and dynamic P-state selection for hybrid laptop GPUs; the issue names no source files or failing tests, so locate the relevant code from the reported PerfLevelSrc and PowerMizer options. Compare behavior under the Vulkan workload with and without those options, then check whether -lmc and Prefer Maximum Performance affect the selected state. Done means the driver reaches an appropriate P-state and memory and PCIe speeds under the reported load.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
NVIDIA Open GPU Kernel Modules Version
620.73.04 (CachyOS package linux-cachyos-nvidia-open)
Proprietary driver check
Not tested yet. I have not run the proprietary package of the same version, so this may not be specific to the open modules. Happy to test if needed.
Operating System and Version
CachyOS (rolling)
Kernel Release
Linux 7.3.6-3-cachyos #1 SMP PREEMPT_DYNAMIC Fri, 27 Nov 2026 07:43:35 +0000 x86_64 (stable release, distro kernel)
Hardware: GPU
GPU 0: NVIDIA GeForce RTX 3050 6GB Laptop GPU — HP Victus 15-fa1xxx (BIOS F.21), i5-13420H, hybrid graphics with PRIME render offload, Wayland (Hyprland)
Describe the bug
Under a sustained, fully GPU-bound Vulkan load the GPU stays in P5 and never goes to P0:
- GPU utilization 99%, graphics clock ~1880 MHz
- Memory clock 780 MHz (max 7001 MHz)
- PCIe link Gen 2 x8 (max Gen 4)
- Power draw ~30–33 W, far below the limit; clock event reason "SW Power Cap"
- AC connected, battery full, platform profile
performance, no thermal slowdown
The application imports a 512 MB host allocation with VK_EXT_external_memory_host, so the GPU reads much of its data over PCIe and VRAM use is low (~44%). The driver seems to treat this as a light load and stays in P5. P5 also drops the PCIe link to Gen 2, which makes the GPU-bound situation worse.
These have no effect while it is stuck:
nvidia-smi -pm 1andnvidia-smi -pl 75nvidia-settings -a '[gpu:0]/GPUPowerMizerMode=1'(Prefer Maximum Performance)nvidia-smi -lmc 7001
The only thing that works is forcing the perf level with a module parameter:
options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1;PerfLevelSrc=0x2222;PowerMizerLevel=0x1;PowerMizerDefaultAC=0x1"
With it the GPU reaches P0 / 7001 MHz / PCIe Gen 4 and the same workload goes from ~47–57 fps to a locked 60 fps with the GPU only ~40% busy, with no thermal or power problems. So the hardware and firmware allow P0; the driver's dynamic P-state selection keeps picking P5.
To Reproduce
- On a hybrid laptop with an RTX 3050 Laptop GPU, run a Vulkan app that imports a large host allocation via
VK_EXT_external_memory_hostand is GPU-bound (seen with an Xbox 360 recompilation that imports its 512 MB guest memory), usingprime-run. - While it runs:
nvidia-smi --query-gpu=pstate,clocks.mem,pcie.link.gen.current,power.draw,utilization.gpu --format=csv -l 2 - The GPU reports P5, 780 MHz, Gen 2, ~30 W, 99% utilization.
Bug Incidence
Always
nvidia-bug-report.log.gz
Not attached yet. I can capture one while the problem is happening (with the workaround removed) if you need it.
More Info
Expected: at 99% utilization the driver should go to P0 (or at least raise the memory clock and PCIe link speed), and -lmc / PowerMizer "Prefer Maximum Performance" should take effect without a module parameter.
- Vorherrschende Sprache
- C
- Sterne
- 17.7k
- Forks
- 2k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus NVIDIA/open-gpu-kernel-modules
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
Maintainer antworten meist innerhalb von 1 Tag
-
nvidia-drm: NULL dereference in nv_drm_create_sync_file() when sync_file_create() fails (kernel oops when fs.file-max is exhausted)Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
NVIDIA/open-gpu-kernel-modules#1601 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at bootEvtl. vergeben @SammyTourani hat das vor 69 Tagen übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in NVIDIA/open-gpu-kernel-modules
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Jstar269/nakagawa-recomp#3753 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
ly05010419/MacNativeGames#2474 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Life-Framework/Life-Framework#7017 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
gjrtimmer/jetson-nvmpi#170 ·