No presentable surface formats on Linux Mint 21
[email protected] Sun, 2 Oct 2022 21:37:46 +0200 (CEST)
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
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