HGL
reduced-jade
Image count vulkan
Hi i want ask how can i reduce the backbuffer when vsync is off to get lowest latency on vulkan on proton and how can i reduce image count from 4 to 1
13 Replies
provincial-silverā¢4w ago
vk_x11_override_min_image_count=1
Iircreduced-jadeOPā¢4w ago
so that will use only 1 image ?
provincial-silverā¢4w ago
Should be? There were multiple workarounds for problematic games in Mesa with that
reduced-jadeOPā¢4w ago
but why vulkan use count image or backbuffer if vsync is off and vulkan is on immdiate mode
provincial-silverā¢4w ago
Because by default Wayland is vsynced in a sense if tearing is not enabled/not working it presents every frame as a perfect one. So no tearing which means it is actually vsynced on present.
provincial-silverā¢4w ago
Thus why people screamed for years for kwin to add tearing support
https://invent.kde.org/plasma/kwin/-/merge_requests/4800
So i guess compositor also affects the outcome
GitLab
backends/drm: support tearing with atomic modesetting (!4800) Ā· Me...
With legacy, async pageflips automatically fall back to sync pageflips when they're not possible, but with atomic modesetting the commit fails instead. To handle when that happens I...
reduced-jadeOPā¢4w ago
but iam on x11 on lxqt on openbox so i dont have compisitor too
provincial-silverā¢4w ago
Hmm, then i dunno why it would do that in no compositor state.
reduced-jadeOPā¢4w ago
if you see my file its count image 4 XD so should i use this vk_x11_override_min_image_count=1 or its just wrong value from the file ?
provincial-silverā¢4w ago
Try that, it wont bork your game
Once upon a time Path of Exile Vulkan only worked with that env
šø
Wont bork= at worst, it wont work and do nothing
reduced-jadeOPā¢4w ago
š©
i just will back to windwos i am done with that
provincial-silverā¢4w ago
https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/util/00-mesa-defaults.conf?ref_type=heads#L642
I mean that env really does exist
So i dunno what more i can tell
reduced-jadeOPā¢4w ago
ok bro thx for your time