protonscr

Multiple games - Stuttering with PRESENT_START_NV is non-monotonic

vkd3dopen
HansKristian-Work/vkd3d-proton#2294 · opened 2025-01-19 by LuxiP7 · updated 2025-01-29 · 9 comments · github
LLuxiP7 2025-01-19 github

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

HHansKristian-Work maintainer 2025-01-20 github

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.

LLuxiP7 2025-01-20 github

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.

Jjp7677 2025-01-21 github

@LuxiP7 Would you mind giving https://github.com/jp7677/dxvk-nvapi/pull/244 a try and report your results in that PR?

LLuxiP7 2025-01-21 github

@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

Jjp7677 2025-01-21 github

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

LLuxiP7 2025-01-21 github

Nope, the log is clean from that warn:

steam-2074920.log

Jjp7677 2025-01-27 github
LLuxiP7 2025-01-27 github

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

Sshelterx 2025-01-28 github

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.