Micro stutter with specific config
Describe the bug
List relevant hardware/software information
- Fedora
- MangoHud v0.8.x
- Nvidia
To Reproduce Steps to reproduce the behavior:
- Update MangoHud to v0.8.x
- Turn on
gpu_core_clock,gpu_mem_clockandthrottling_status - Run any anything with mangohud
- Now whole desktop starts to stutter
Screenshots
gpu_core_clock + gpu_mem_clock + throttling_status
Additional context
- Both Flatpak and distro package affected
- Downgrading to v0.7.x fixes the issue
- Turning off
gpu_core_clock,gpu_mem_clockandthrottling_statusfixes (almost?) throttling_statuscauses much more stutter thangpu_core_clockandgpu_mem_clock
What GPU is it specifically?
RTX2060
I'm seeing this as well when throttling_status is enabled.
mangohud vkcube --wsi wayland with throttling_status:
mangohud vkcube --wsi wayland without throttling_status:
CPU is AMD Ryzen 7 9800X3D and GPU is RTX 2070 SUPER using nvidia-open-dkms 570.133.07-1 on kernel 6.14.1-arch1-1 (though had it back on 6.13 as well).
It wasn't always the case, it first started to happen a few weeks ago, so I suspect it's a nvidia driver issue - though I don't think throttling_status is enabled by default, so could very well have started happening around the time I enabled it. Sadly I don't remember when I did that.
The same issue occurs with my setup as well. I'm running a Ryzen 9 3900X CPU and an R9 380 GPU, and the problem also appears during gaming.
without gpu:
with gpu: 1fps -> 70fps -> 1fps
Additionally, I believe this issue is GPU-related. My previous GPU(r5 240) didn’t exhibit this problem, so initially, I suspected my current GPU(r9 380) might be faulty.
The same issue is happening for me when enabling throttling_status in the config. Using mangohud from Fedora 42 repo with Nvidia GTX1660 Ti Mobile with 570.144 driver.
https://github.com/user-attachments/assets/377a5f9d-4d47-492b-9fd4-6ffed9afad41
It's maybe a Nvidia driver issue related to https://github.com/NVIDIA/egl-wayland/issues/164.
To add to this it does not happen to me on every application to me happens on vkcube, Dead Island 2, Vermintide 2 but does not happen on games like Baldur's Gate 3 and Cyberpunk 2077. On Nobara 42 RTX 2060 mobile 570.153.02 closed module drivers.
The new Nvidia BETA driver 580.65.06 seems to have fixed this issue.
To add to this it does not happen to me on every application to me happens on vkcube, Dead Island 2, Vermintide 2 but does not happen on games like Baldur's Gate 3 and Cyberpunk 2077. On Nobara 42 RTX 2060 mobile 570.153.02 closed module drivers.
I also see this happen with BG3 and CP2077. It is very noticeable on my Free Sync monitor because the brightness would flicker constantly due to rapid frame rate change. Turning off gpu_core_clock, gpu_mem_clock and throttling_status seems to really help.
Edit: This is on Arch Linux, NVIDIA open kernel module 580.82.09-5.