Skip to content

vulkan/context: move sw gpu check above surface support check

llyyr requested to merge llyyr/libplacebo:llvmpipe-segfault into master

Works around a segfault in Mesa when enumerating device supported surfaces with llvmpipe present on the system while using VK_KHR_display.

Using --gpu-sw in mpv will allow reproducing the bug again.

See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12198

Merge request reports

Loading