gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

vulkan: vkCreateDevice failed (VkResult: -8)

Open ahduwheixjwo opened this issue 1 year ago • 2 comments

Compiled from master

[gamescope] [Info]  console: gamescope version 3.15.1
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
[gamescope] [Info]  vulkan: selecting physical device 'Intel(R) HD Graphics 5500 (BDW GT2)': queue family 0 (general queue family 0)
[gamescope] [Info]  vulkan: physical device supports DRM format modifiers
[gamescope] [Error] vulkan: vkCreateDevice failed (VkResult: -8)
SDL_Vulkan_CreateSurface failed: VK_KHR_wayland_surface extension is not enabled in the Vulkan instance.terminate called without an active exception
[1]    5398 IOT instruction (core dumped)  gamescope -e -- steam

Info that maybe can help

  • Mesa info
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics 5500 (BDW GT2) (0x1616)
    Version: 24.1.6
    Accelerated: yes
    Video memory: 3910MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.1.6-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.1.6-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.1.6-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
  • Vulkan version: 1.3.279
  • Sway version: 1.9

ahduwheixjwo avatar Aug 25 '24 13:08 ahduwheixjwo

@ahduwheixjwo what wayland desktop are you using?

sharkautarch avatar Aug 25 '24 15:08 sharkautarch

@ahduwheixjwo what wayland desktop are you using?

sway

ahduwheixjwo avatar Aug 25 '24 15:08 ahduwheixjwo

Fixed by using the latest version

ahduwheixjwo avatar Nov 05 '24 12:11 ahduwheixjwo

@ahduwheixjwo, still doesn't work on latest version (3.15.14).

sasha@fedora:~$ lsb_release -a
LSB Version:    n/a
Distributor ID: Fedora
Description:    Fedora Linux 41 (KDE Plasma)
Release:        41
Codename:       n/a
sasha@fedora:~$ dnf info gamescope
Updating and loading repositories:
Repositories loaded.
Installed packages
Name            : gamescope
Epoch           : 0
Version         : 3.15.14
Release         : 1.fc41
Architecture    : x86_64
Installed size  : 2.8 MiB
Source          : gamescope-3.15.14-1.fc41.src.rpm
From repository : updates
Summary         : Micro-compositor for video games on Wayland
URL             : https://github.com/Plagman/gamescope
License         : LicenseRef-Callaway-BSD
Description     : gamescope is the micro-compositor optimized for running video games on Wayland.
Vendor          : Fedora Project
sasha@fedora:~$ gamescope
[gamescope] [Info]  console: gamescope version  (gcc 14.2.1)
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
WARNING: radv is not a conformant Vulkan implementation, testing use only.
[gamescope] [Info]  vulkan: selecting physical device 'AMD Radeon R9 200 / HD 7900 Series (RADV TAHITI)': queue family 1 (general queue family 0)
[gamescope] [Info]  vulkan: physical device does not support DRM format modifiers
[gamescope] [Error] vulkan: vkCreateDevice failed (VkResult: -8)
SDL_Vulkan_CreateSurface failed: VK_KHR_wayland_surface extension is not enabled in the Vulkan instance.terminate called without an active exception
Aborted (core dumped)

user-naa avatar Nov 14 '24 15:11 user-naa

@user-naa , I'm sorry I can't help. I've switched back to X11.

ahduwheixjwo avatar Nov 16 '24 07:11 ahduwheixjwo