MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Micro stutter with specific config

Open HardenedSteel opened this issue 8 months ago • 10 comments

Describe the bug

List relevant hardware/software information

  • Fedora
  • MangoHud v0.8.x
  • Nvidia

To Reproduce Steps to reproduce the behavior:

  1. Update MangoHud to v0.8.x
  2. Turn on gpu_core_clock, gpu_mem_clock and throttling_status
  3. Run any anything with mangohud
  4. Now whole desktop starts to stutter

Screenshots

Image

Image 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_clock and throttling_status fixes (almost?)
  • throttling_status causes much more stutter than gpu_core_clock and gpu_mem_clock

HardenedSteel avatar Apr 06 '25 05:04 HardenedSteel

What GPU is it specifically?

flightlessmango avatar Apr 06 '25 16:04 flightlessmango

RTX2060

HardenedSteel avatar Apr 06 '25 20:04 HardenedSteel

I'm seeing this as well when throttling_status is enabled.

mangohud vkcube --wsi wayland with throttling_status: Image

mangohud vkcube --wsi wayland without throttling_status: Image

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.

jyggen avatar Apr 10 '25 14:04 jyggen

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:

Image

with gpu: 1fps -> 70fps -> 1fps

Image

livexia avatar May 16 '25 13:05 livexia

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.

livexia avatar May 16 '25 13:05 livexia

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

Klusio19 avatar May 17 '25 18:05 Klusio19

It's maybe a Nvidia driver issue related to https://github.com/NVIDIA/egl-wayland/issues/164.

thesword53 avatar Jun 05 '25 18:06 thesword53

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.

Cherub26 avatar Jun 15 '25 11:06 Cherub26

The new Nvidia BETA driver 580.65.06 seems to have fixed this issue.

thesword53 avatar Aug 04 '25 18:08 thesword53

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.

TheBill2001 avatar Sep 28 '25 16:09 TheBill2001