protonscr

bad frame time variance in Strange Brigade without latency reduction option

vkd3dclosed
HansKristian-Work/vkd3d-proton#656 · opened 2021-05-05 by aufkrawall · updated 2024-01-10 · 9 comments · github
Aaufkrawall 2021-05-05 github

When not using the latency reduction option (which is nothing but limiting the number of CPU prerendered frames to a lower value?), the frame time variance basically breaks while being GPU bound:
Screenshot_20210505_130056
Screenshot_20210505_130047

Now this is not a tragedy for this individual case, since there is a native Vulkan renderer. Though I wonder if this also affects other games. E.g. also Cyberpunk 2077 is worse than native D3D12 when being GPU bound (whereas not when being CPU bound and CPU bound fps are also very high).

There is this Mesa report: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4689
Though amdvlk is severely CPU bound with VKD3D-Proton in Strange Brigade (and other games), which in return means there is no CPU prerender at all then. So I'm not sure RADV can be blamed here.

Latest Proton Exp. with VKD3D-Proton 2.3.1, Linux-tkg 5.12 futex2, mesa git-master 139226.b13d0eea127.

Aaufkrawall 2021-06-15 github

Not sure if related, but there's also worse frame time variance in Control vs. native D3D12 or DXVK (especially when running):
Screenshot_20210615_184714
Screenshot_20210615_184041

This is with 6d1d60e8988fa923eb23972b8915e10aec62e98f .

Aaufkrawall 2021-07-02 github

My frame time variance is fine in both cases with RTX 3060 driver, so this is probably related in some way to RADV.

Aaufkrawall 2021-09-08 github

There are frequent stutter spikes in SotTR on RTX 3060, usually when changing camera perspective or when running:
Screenshot_20210908_161100

This is with d2b3238b2dbda67c44ece9672c97bd7dd933eeed and Nvidia 470.62.02 .

Aaufkrawall 2021-10-13 github

@HansKristian-Work In https://github.com/HansKristian-Work/vkd3d-proton/pull/853 you mentioned stutter with Metro Exodus Enhanced . However, I'm not able to confirm this on RTX 3060. With latest vkd3d-proton git-master the game actually runs smoother than with native D3D12 on Windows. =)
Screenshot_20211013_190955
(The spike at the end of the graph caused by taking a screenshot. This is btw. with DLSS Q and CAS via vkbasalt)

Edit: Frame rate btw. seems to be really good too. Incredible job! Rendering looks correct to me.

Aaufkrawall 2022-07-11 github

With recent git-master on RTX 3060 (recent Arch Linux packages), Strange Brigade is now smooth also without latency reduction option ticked.

Shadow of the Tomb Raider is smooth on Windows with VKD3D-Proton. In Proton 7.0-3/Experimental, it still has some stutter issues, but apparently not caused by VKD3D-Proton.

Control is still a bit unsmooth vs. native D3D12.

BBlisto91 2023-02-14 github

@aufkrawall Was this issue solved? 🙂

Aaufkrawall 2023-02-17 github

@aufkrawall Was this issue solved? 🙂

Would have liked to re-test it, but Control doesn't start for me with the new HDR mod (which I use solely for game/engine fixes, not for actual HDR output) & VKD3D-Proton on Windows.

Aaufkrawall 2023-02-19 github

Correction, the HDR mod actually works with VKD3D-Proton on Windows.

But frame time variance is still not optimal with latest git-master and Nvidia 528.49 vs. native D3D12 or D3D11 -> DXVK:
Control_DX12_2023_02_19_18_05_02_882
Control_DX12_2023_02_19_18_02_59_390

I think the same should be visible in MangoHUD on Linux (as I tested it there originally), frame time graph often shows way more variance than there should be.

Aaufkrawall 2024-01-10 github

Control seemed to be fine on RADV with 7800 XT. Closing, as probably not specific enough to justify keeping this open.

Proton versions

Upstream links