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

Did you find this page helpful?