[Mesa-users] No presentable surface formats on Linux Mint 21
code at benjamin-thaut.de
code at benjamin-thaut.de
Sun Oct 2 19:37:46 UTC 2022
Hi,
I would like to use the llvmpipe Vulkan implementation in Mesa to run some Vulkan based unittests on a machine that does not have a discrete GPU.
While I can successfully initialize the llvmpipe based Vulkan device, it reports 0 presentable surface formats. As a result it is impossible for my code to allocate a swapchain and present to it.
I tried building latest mesa myself from source as well as obtaining it via a PPA (kisak-mesa). In both cases the result is the same, there are no presentable surface formats.
Here is the relevant section from the output of vulkaninfo:
GPU id : 1 (llvmpipe (LLVM 14.0.6, 256 bits)):
Surface types: count = 2
VK_KHR_xcb_surface
VK_KHR_xlib_surface
Formats: count = 0
Present Modes: count = 4
PRESENT_MODE_IMMEDIATE_KHR
PRESENT_MODE_MAILBOX_KHR
PRESENT_MODE_FIFO_KHR
PRESENT_MODE_FIFO_RELAXED_KHR
Any help in getting a presentable surface using llvmpipe would be greatly appreciated.
Kind Regards
Benjamin Thaut
More information about the mesa-users
mailing list