Game problem, it does indeed randomly toggle vsync on and off between presents, which unfortunately is a high-overhead operation in DXVK because we have to recreate the Vulkan swap chain. I cannot reproduce the problem on my system, but your trace and d3d11.log prove it.
Does
dxgi.tearFree = False
dxgi.syncInterval = 1
fix the problem for you? #2127 switches vsync off unconditionally but I'd rather turn it on by default since a) this is what the game clearly intends to do, and b) turning it off would cause horrendous tearing on 60 Hz displays.
Yes, working just fine with those options :+1: (only tested on sway though)
Updated the pr to set these options instead
I don't thing Wayland supports FIFO_RELAXED, can you give it a quick test on X11?
Feel free to update your PR afterwards with those options.
I don't really use Xorg anymore so I'm not sure if it's even set up correctly, but it seems fine on Plasma (still broken without the options, so I'm guessing it's working as intended)
Thanks, merged new PR.
Software information
Earth Defense Force 5
System information
Apitrace file(s)
Log files
Transferring over from https://github.com/doitsujin/dxvk/pull/2127, as described there the game shows heavy stuttering while vsync is enabled. Couldn't get the game to load into a mission while running apitrace but since the issue is already visible on the main menu I hope that is enough.