gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

vulkan: vkAllocateDescriptorSets failed | 6700XT + Mesa 24.1 on Gentoo ~amd64

Open CNR0706 opened this issue 8 months ago • 11 comments

Hi there, when trying to launch gamescope in nested or embedded mode I am greeted with these two error messages: vulkan: vkAllocateDescriptorSets failed and SDL_Vulkan_CreateSurface failed: VK_KHR_wayland_surface extension is not enabled in the Vulkan instance.terminate called without an active exception

My system has a 6700XT running on Gentoo ~amd64. My Vulkan drivers are: Mesa 24.1, AMDVLK 2024.2.1, AMDGPU-Pro 23.40.0.1718238 and lavapipe. All of them have multi-lib support.

Relevant env vars I set are: DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1 and VK_ICD_FILENAMES='/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.i686.json'

All Vulkan applications, native or not, work in this setup. It's only gamescope that's giving me trouble.

--- Terminal output ---

~
❯ gamescope -- glxgears
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option allow_draw_out_of_order overridden by environment.
vulkan: selecting physical device 'AMD Radeon RX 6700 XT': queue family 1 (general queue family 0)
vulkan: physical device supports DRM format modifiers
vulkan: vkAllocateDescriptorSets failed
SDL_Vulkan_CreateSurface failed: VK_KHR_wayland_surface extension is not enabled in the Vulkan instance.terminate called without an active exception
[1]    20303 IOT instruction  gamescope -- glxgears

~
❯

--- System Information --- https://gist.github.com/CNR0706/3dfa798873ac2ca6f37c14637ad4d098

--- System Report --- https://gist.github.com/CNR0706/8e4b258eef17a6c8e77d30d650e3d769

--- Gamescope version and USE flags --- gui-wm/gamescope 3.14.14 gui-wm/gamescope pipewire wsi-layer filecaps

CNR0706 avatar Jun 02 '24 21:06 CNR0706