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
provincial-silver•4w ago
vk_x11_override_min_image_count=1 Iirc
reduced-jade
reduced-jadeOP•4w ago
so that will use only 1 image ?
provincial-silver
provincial-silver•4w ago
Should be? There were multiple workarounds for problematic games in Mesa with that
reduced-jade
reduced-jadeOP•4w ago
but why vulkan use count image or backbuffer if vsync is off and vulkan is on immdiate mode
provincial-silver
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
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-jade
reduced-jadeOP•4w ago
but iam on x11 on lxqt on openbox so i dont have compisitor too
provincial-silver
provincial-silver•4w ago
Hmm, then i dunno why it would do that in no compositor state.
reduced-jade
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
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-jade
reduced-jadeOP•4w ago
😩 i just will back to windwos i am done with that
provincial-silver
provincial-silver•4w ago
reduced-jade
reduced-jadeOP•4w ago
ok bro thx for your time

Did you find this page helpful?