Skip to content
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

Multiple games - Stuttering with PRESENT_START_NV is non-monotonic #2294

Open
LuxiP7 opened this issue Jan 19, 2025 · 9 comments
Open

Multiple games - Stuttering with PRESENT_START_NV is non-monotonic #2294

LuxiP7 opened this issue Jan 19, 2025 · 9 comments

Comments

@LuxiP7
Copy link

LuxiP7 commented Jan 19, 2025

I've been having weird issue with multiple games. All of them stutter from the start with warn:vkd3d-proton:d3d12_low_latency_device_SetLatencyMarker: PRESENT_START_NV is non-monotonic being spammed in logs over and over.

Currently I have tried multiple distros, kernels, proton, drivers, launch options and none of them made any difference.
DXVK_NVAPI_DISABLE_ENTRYPOINTS=NvAPI_D3D_SetLatencyMarker - Removes PRESENT_START_NV is non-monotonic from logs, Reflex/FG still available in game, stutters still there.
VKD3D_DISABLE_EXTENSIONS=VK_NV_low_latency2 - Changes PRESENT_START_NV is non-monotonic to info:nvapi64:<-NvAPI_D3D12_SetAsyncFrameMarker: No implementation, Reflex not available but FG is still there. Stutters didn't change.

Only launch option that helps is DXVK_NVAPI_GPU_ARCH=GA100 but that disables FG support in games. I've found this issue which has the same issue with the same logs. It's linked to two commits 1 2. One of them reverts the said "fix" because it's working without it.

In meantime I'm going to test more games and mess a little to see if the issue will disappear. I honestly don't think it's a issue on my side since the changes made to distros etc. but who knows.

Software information

The First Descendant, Witcher 3, Final Fantasy XVI. Reflex and FG disabled.

System information

  • GPU: RTX 4090
  • Driver: 565.77
  • Wine version: Proton Hotfix (hotfix-20241224-poe2)
  • VKD3D-Proton version: 2.14.0

Log files

The First Descendant:
Log with PROTON_LOG=1: steam-2074920.log
VKD3D_QUEUE_PROFILE=/tmp/profile.json: profile.tar.gz

@HansKristian-Work
Copy link
Owner

I've been having weird issue with multiple games. All of them stutter from the start with warn:vkd3d-proton:d3d12_low_latency_device_SetLatencyMarker: PRESENT_START_NV is non-monotonic being spammed in logs over and over.

That is a dxvk-nvapi bug.

@LuxiP7
Copy link
Author

LuxiP7 commented Jan 20, 2025

That is a dxvk-nvapi bug.

Log pointed me in the wrong direction.
I will close this issue and move it to dxvk-nvapi github.
Sorry for causing any disruption.

@jp7677
Copy link
Contributor

jp7677 commented Jan 21, 2025

@LuxiP7 Would you mind giving jp7677/dxvk-nvapi#244 a try and report your results in that PR?

@LuxiP7
Copy link
Author

LuxiP7 commented Jan 21, 2025

@LuxiP7 Would you mind giving jp7677/dxvk-nvapi#244 a try and report your results in that PR?

Unfortunately the stutters are still there. While testing (before this commit) I've also noticed that the performance without DXVK_NVAPI_GPU_ARCH=GA100 is ~20 fps lower

@LuxiP7 LuxiP7 reopened this Jan 21, 2025
@jp7677
Copy link
Contributor

jp7677 commented Jan 21, 2025

Do you still see warn:vkd3d-proton:d3d12_low_latency_device_SetLatencyMarker: PRESENT_START_NV is non-monotonic in the logs with that PR?

@LuxiP7
Copy link
Author

LuxiP7 commented Jan 21, 2025

Nope, the log is clean from that warn:

steam-2074920.log

@jp7677
Copy link
Contributor

jp7677 commented Jan 27, 2025

@LuxiP7 Could you give this PR #2317 a try?

@LuxiP7
Copy link
Author

LuxiP7 commented Jan 27, 2025

So far tested "The First Descendant" and "Witcher 3" and the stutters are gone. Will test FF XVI shortly.

EDIT: Stutters are gone from FF XVI

@shelterx
Copy link

shelterx commented Jan 28, 2025

Hmm, I've had stutters in CP2077 with FG on, I tried #2317 and I think it fixed them.
Game is silky smooth now.

Update:
It's possible some other patch or other change made it better, because it seems to run ~the same without the PR.
But FG (?) doesn't seem to like when RT reflections is turned on, the frames sort of... I don't know, lag behind, it's like some very bad motion blur, this happens with and without the PR. So your results may vary depending on settings used.

Update 2:
Ah, the "motion blur stutter" is most likely because of the CP2077 update and the new DLSS dlls, it's tracked over at dxvk-nvapi.
I managed to revert some files and with the older build it seems like workaround by doitsujin works, without it, the game stutters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants