HGL
old-apricot
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
round-purpleā¢4mo ago
vk_x11_override_min_image_count=1
Iircold-apricotOPā¢4mo ago
so that will use only 1 image ?
round-purpleā¢4mo ago
Should be? There were multiple workarounds for problematic games in Mesa with that
old-apricotOPā¢4mo ago
but why vulkan use count image or backbuffer if vsync is off and vulkan is on immdiate mode
round-purpleā¢4mo 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.
round-purpleā¢4mo 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...
old-apricotOPā¢4mo ago
but iam on x11 on lxqt on openbox so i dont have compisitor too
round-purpleā¢4mo ago
Hmm, then i dunno why it would do that in no compositor state.
old-apricotOPā¢4mo 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 ?
round-purpleā¢4mo 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
old-apricotOPā¢4mo ago
š©
i just will back to windwos i am done with that
round-purpleā¢4mo 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
old-apricotOPā¢4mo ago
ok bro thx for your time