protonscr

[PERF] Stuttering in Index

steamvropen perf
ValveSoftware/SteamVR-for-Linux#743 · opened 2024-10-07 by reinux · updated 2024-11-30 · 7 comments · github
Rreinux 2024-10-07 github

Describe the bug

I'm getting stuttering that looks like this:
image

Wouldn't be surprised if this has something to do with my NixOS config, which means it isn't the same environment as a more complete distro, but I'd appreciate any help I can get!

System Information (please complete the following information):

Performance Data (optional, but very helpful):

Additional context

Seems to be similar to https://github.com/ValveSoftware/SteamVR-for-Linux/issues/219 .

Note: Commenters who are also experiencing this issue are encouraged to include the "System Information" and "Perf Data" sections in their replies.

CCorben78 2024-10-08 github

Stuttering has been reported since 555 driver, which enables the GSP firmware by default.
It can be disabled by kernel parameter nvidia.NVreg_EnableGpuFirmware=0 for the 555 driver, but not for 560 anmore:
https://github.com/NVIDIA/open-gpu-kernel-modules/discussions/667

Rreinux 2024-10-09 github

Ah, nuts. Unless I'm missing something, it looks from discussions like there's no plan to address it yet either. I think 555 was giving me stability issues, but I'll give it a try again in a bit to see if that's the cause.

Ttoqu 2024-10-11 github

The kernel parameter nvidia.NVreg_EnableGpuFirmware=0 still works as expected with the 560 non-open driver.

https://github.com/NVIDIA/open-gpu-kernel-modules/discussions/667 states that the parameter is not working when the open driver is used.

I've double checked on my bench and can confirm that SteamVR stutters horribly with the default parameters. Supplying nvidia.NVreg_EnableGpuFirmware=0 improves the performance significantly.

Rreinux 2024-10-12 github

That worked. Thanks!

Should we leave this open or close it? I'm not sure if this is something that can be addressed from the SteamVR side or if it's an nvidia issue.

CCorben78 2024-10-12 github

Thanks for the clarification. I remembered reading that on Linux the 560 driver would default to open kernel modules and no longer provide the closed ones.
I just tested myself with the nvidia-driver-560 package (not nvidia-driver-560-open) from the Ubuntu PPA, and it still works to disable the GSP firmware usage.

Ccolelisiongaming 2024-11-14 github

Bazzite comes with open I think unfortunately So I will need a different fix.

Jjoni999 2024-11-30 github

I reported it on their forum a while ago:
https://forums.developer.nvidia.com/t/enabling-gsp-makes-steamvr-unplayable-on-rtx-3090ti/298694
But Nvidia hasn't acknowledged it so far.

Nothing extracted yet.