protonscr

HUD to show VSYNC status

dxvkclosed
doitsujin/dxvk#1870 · opened 2020-12-29 by konomikitten · updated 2023-05-18 · 2 comments · github
Kkonomikitten 2020-12-29 github

It'd be nice if there was a field in the HUD to show if VSYNC is on or off, thanks in advance.

Ddoitsujin maintainer 2023-05-16 github

Just had a somewhat lengthy discussion about this.

DXVK has been logging the effective Vulkan present mode (which dictates vsync behaviour) for some time, it's rather difficult to transfer this info back to the HUD. We'll just keep the info in the logs.

WWinterSnowfall 2023-05-16 github

If having a VSync indicator on the hud was somehow on your bucket list, here's a build on top of dxvk 2.2 which should work fine in most cases.

As doitsujin said, it's a rather big PITA to implement this correctly, so what I've done above is assume that the Vulkan present mode selected in the frontend/requested by the game is always available, which may or may not be the case, depending on what the Vulkan drivers ultimately decide. Since this approach isn't technically correct, even if it seems to mostly work fine in practice, it won't be merged (or even PRed).

I probably won't be rebasing it either, but if anyone wants to do that and keep using it, janky as it is, go ahead with my blessing.

Nothing extracted yet.