Skip to content

driconfig: add a workaround for Hades

Yiwei Zhang requested to merge zzyiwei/mesa:vn-workaround into main

What does this MR do and why?

driconfig: add a workaround for Hades

Vulkan backend of Hades can only handle at most 3 swapchain images. To be noted, the workaround added here is to only fix the Vulkan backend issue, but will apply to both its Vulkan backend and DX backend via proton.

It affects all drivers after commit: 04d654a5, and then only affects specific driver backend which enables extra_xwayland_image in wsi device options after commit: c1a62476

It only affects venus + Xwayland with latest mesa. Adding the workaround with generic constraint so that future integrations that potentially enables extra_xwayland_image won't hit this bug (although the current default min is 3 with Xwayland).

Cc: mesa-stable

/cc @renatopereyra @gerddie

Edited by Yiwei Zhang

Merge request reports