open-gpu-kernel-modules
open-gpu-kernel-modules copied to clipboard
gamescope: vkCreateDevice failed
NVIDIA Driver Version 515.43.04
GPU GeForce RTX 3080 GeForce GTX 1070 Ti (it is bound by vfio-pci so it shouldn't be used)
Describe the bug
Vulkan works as you would expect (vkcube and Vulkan games work well), but gamescope
does not launch with kernel-open.
It appears that something is wrong with the recently added DRM format modifier extension interacting with kernel-open (maybe it is not implemented?):
vulkan: selecting physical device 'NVIDIA GeForce RTX 3080'
vulkan: physical device supports DRM format modifiers
vulkan: vkCreateDevice failed (VkResult: -3)
Failed to initialize Vulkan
To Reproduce
Launch gamescope
in a shell with no arguments using the kernel-open kernel module.
Expected behavior
With the proprietary kernel module, gamescope
launches as expected:
vulkan: selecting physical device 'NVIDIA GeForce RTX 3080'
vulkan: physical device supports DRM format modifiers
vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x3231564E (VkResult: 0)
vulkan: supported DRM formats for sampling usage:
vulkan: 0x34325241
vulkan: 0x34325258
wlserver: [backend/headless/backend.c:82] Creating headless backend
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:18] Starting headless backend
wlserver: [xwayland/server.c:92] Starting Xwayland on :1
wlserver: [types/wlr_surface.c:741] New wlr_surface 0x5639f92e2fc0 (res 0x5639f9c9ed60)
wlserver: [xwayland/server.c:250] Xserver is ready
pipewire: stream state changed: connecting
pipewire: stream state changed: paused
pipewire: stream available on node ID: 98
pipewire: renegotiating stream params (size: 1280x720)
Please reproduce the problem, run nvidia-bug-report.sh, and attach the resulting nvidia-bug-report.log.gz. nvidia-bug-report.log.gz