-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NVAPI causing huge constant stuttering regression #2253
Comments
Using |
Do you have LatencyFlex set up on your system? |
Could you also switch to normal Proton Experimental and see what happens using that? |
Tried using proton experimental just now, same issue.
I haven't set up anything extra so if it's not setup by proton automatically or by kernel / cachy tweaks I don't think I have it. |
I installed https://aur.archlinux.org/packages/latencyflex-proton-ge-custom Also tried with reflex setting ingame enabled and disabled and same result either way. |
Friendly reminder that if you're on Proton 9+, I have a few things for you to try (preferably while running Proton Experimental):
|
Thanks, |
Sorry, I didn’t wanted you to install lfx, I just wanted to be sure that haven’t set it up. Please remove lfx if you have it installed now. You don’t need it with an NVIDIA gpu.
Yes, this is expected. This switch lets your GPU appear as Ampere generation which doesn’t support frame generation. |
Cool, uninstalled
Yes, makes sense. |
Right, I've seen a very similar issue with Ghost of Tsushima before which prompted me to apply the same workaround there: jp7677/dxvk-nvapi#186, but that was before Proton had Frame Generation so nothing of value was lost anyway when we disabled reporting Ada GPUs for this game. But the thing with GoT is that it was bugged only when DLFG would be nonfunctional anyway. Now that Proton supports it, this workaround was reverted and GoT does not exhibit this problem anymore. Can you try removing the variable, enabling Frame Generation, and checking then if the issue still persists? If yes, please get me a log from such a run. (And please restart the game after enabling DLFG, it's known to behave quite… janky otherwise.) |
Okay so did with Cyberpunk (marvel rivals just gives me a black screen with frame generation) Log was getting spammed, so had to only have a run for like 20 seconds. |
Actually got Marvel Rivals frame generation to work, but the stutter still exists. Log here: |
Welp. That's… not good, but also not something that I'd consider actionable for us, after all we're just forwarding the calls to Nvidia driver. If you are okay with losing DLFG, you can keep using the environment variable but it's not a good long term solution by any mean. I guess we should try to have someone reproduce your findings, and with enough points of data attract some attention from Nvidia engineers. |
Thanks for your help. And yes sounds good. I'm happy to provide any more info if you need help reproducing. |
Note that there is still something specific for your setup. Especially CP2077 gets a lot of attention and should just work just fine with all whistles and bells on your GPU generation. |
Any thoughts on what it could be or things I could try? I've tried different kernels, switching from Nvidia open to closed and then turning off GSP. |
Did you already tried with the most basic setup and a well known title (e.g. CP2077)? So e.g. a plain Gnome Desktop (X11 or Wayland) without tweaks (e.g starting without VRR or tearing), with regular Proton (Experimental) with a clean prefix, no overlays, no configuration settings, fresh restart (thus no resume from suspend) etc? Once this gives desired results, you could work forward one step at a time and hopefully detect what introduced your issue. PS: Very likely unrelated, but i want to mention this one as well: doitsujin/dxvk#4436 (comment) |
Just tried starting as clean as possible:
Still not getting the desired results.
Thanks for this, I used this to get mangohud and LD_PRELOAD="" to work together. |
Running any DX12 title with
PROTON_LOG=1 LD_PRELOAD="" PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 mangohud %command%
now results in a huge amount of stuttering. On my VA panel, it causes my screen to flicker with VRR.
Had no issues before on ProtonGE 18 (the most recent version without this issue).
With stutter:
2024-12-12.15-53-10.mov
Without (using protonge18):
2024-12-12.15-56-51.mov
I can fix stutters by PROTON_HIDE_NVIDIA_GPU=1 or by using older version.
Software information
Marvel Rivals (for example)
Ultra settings,
No frame gen
Dlss quality
System information
Log files
steam-2767030.log
From looking at the logs I see a likely culprit being spammed...
dxvk-nvapi:<-NvAPI_D3D12_SetAsyncFrameMarker: No implementation
The text was updated successfully, but these errors were encountered: