OpenGamepadUI icon indicating copy to clipboard operation
OpenGamepadUI copied to clipboard

Fails with Failed to run vulkaninfo

Open ASLopesJR opened this issue 1 year ago • 1 comments

I've both installed the bin version and compiled myself, both give the same error.

Relevant system information:

┌─────────────────────────── System Information ───────────────────────────┐

    OS           ->   Arch Linux x86_64
    Kernel       ->   Linux 6.11.6-arch1-1
    Resolution   ->   1920x1080 @ 60Hz, 3440x1440 @ 160Hz
    WM           ->   KWin (Wayland)
    DE           ->   KDE Plasma 6.2.3
    CPU          ->   AMD Ryzen 5 3600 (12) @ 4.21 GHz
    GPU          ->   AMD Radeon RX 6700 XT [Discrete]
    Memory       ->   10.35 GiB / 31.28 GiB (33%)


└──────────────────────────────────────────────────────────────────────────┘

Program output:

❯ opengamepadui
Executing: gamescope -w 1920 -h 1080 -f --xwayland-count 2 -- /usr/share/opengamepadui/opengamepad-ui.x86_64 
[gamescope] [Info]  console: gamescope version 3.15.14 (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.
[gamescope] [Info]  vulkan: selecting physical device 'AMD Radeon RX 6700 XT (RADV NAVI22)': queue family 1 (general queue family 0)
[gamescope] [Info]  vulkan: physical device supports DRM format modifiers
[gamescope] [Info]  wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info]  xdg_backend: Seat name: seat0
[gamescope] [Info]  vulkan: supported DRM formats for sampling usage:
[gamescope] [Info]  vulkan:   AR24 (0x34325241)
[gamescope] [Info]  vulkan:   XR24 (0x34325258)
[gamescope] [Info]  vulkan:   AB24 (0x34324241)
[gamescope] [Info]  vulkan:   XB24 (0x34324258)
[gamescope] [Info]  vulkan:   RG16 (0x36314752)
[gamescope] [Info]  vulkan:   NV12 (0x3231564E)
[gamescope] [Info]  vulkan:   AB4H (0x48344241)
[gamescope] [Info]  vulkan:   XB4H (0x48344258)
[gamescope] [Info]  vulkan:   AB48 (0x38344241)
[gamescope] [Info]  vulkan:   XB48 (0x38344258)
[gamescope] [Info]  vulkan:   AB30 (0x30334241)
[gamescope] [Info]  vulkan:   XB30 (0x30334258)
[gamescope] [Info]  vulkan:   AR30 (0x30335241)
[gamescope] [Info]  vulkan:   XR30 (0x30335258)
[gamescope] [Info]  wlserver: Using explicit sync when available
[gamescope] [Info]  wlserver: Running compositor on wayland display 'gamescope-0'
[gamescope] [Info]  wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope] [Info]  wlserver: Successfully initialized libei for input emulation!
[gamescope] [Info]  wlserver: [xwayland/server.c:107] Starting Xwayland on :1
[gamescope] [Info]  wlserver: [xwayland/server.c:107] Starting Xwayland on :2
[gamescope] [Info]  pipewire: stream state changed: connecting
[gamescope] [Info]  pipewire: stream state changed: paused
[gamescope] [Info]  pipewire: stream available on node ID: 147
[gamescope] [Info]  xwm: Embedded, no cursor set. Using left_ptr by default.
[gamescope] [Info]  xwm: Embedded, no cursor set. Using left_ptr by default.
[gamescope] [Info]  vblank: Using timerfd.
[gamescope] [Info]  xdg_backend: PreferredMetadata: Red: 0.64 0.33, Green: 0.3 0.6, Blue: 0.15 0.06, White: 0.3127 0.329, Max Luminance: 200 nits, Min Luminance: 0.05 nits, Max Full Frame Luminance: 200 nits
[gamescope] [Info]  edid: Patching res 800x1280 -> 1920x1080
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
[Gamescope WSI] Application info:
  pApplicationName: Open Gamepad UI
  applicationVersion: 0
  pEngineName: Godot Engine
  engineVersion: 16789504
  apiVersion: 4202496
[Gamescope WSI] Executable name: opengamepad-ui.x86_64
[Gamescope WSI] Creating Gamescope surface: xid: 0x400002
[Gamescope WSI] Atom of T was wrong type. Expected XCB_ATOM_CARDINAL.
[Gamescope WSI] Made gamescope surface for xid: 0x400002
[Gamescope WSI] Surface state:
  steam app id:                  0
  window xid:                    0x400002
  wayland surface res id:        5
  layer client flags:            0x0
  server hdr output enabled:     false
  hdr formats exposed to client: false
[Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1.
[gamescope] [Warn]  xwm: got the same buffer committed twice, ignoring.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
> Warning:          Could not resolve keysym XF86KbdInputAssistPrevgrou
> Warning:          Could not resolve keysym XF86KbdInputAssistNextgrou
> Warning:          Could not resolve keysym XF86KbdInputAssistPrevgrou
> Warning:          Could not resolve keysym XF86KbdInputAssistNextgrou
Errors from xkbcomp are not fatal to the X server
Errors from xkbcomp are not fatal to the X server
[gamescope] [Info]  xdg_backend: Changed refresh to: 159.962hz
[Gamescope WSI] Creating swapchain for xid: 0x400002 - minImageCount: 3 - format: VK_FORMAT_B8G8R8A8_UNORM - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
[Gamescope WSI] Created swapchain for xid: 0x400002 - imageCount: 3
WARNING: Unable to send message org.freedesktop.DBus.GetNameOwner(["org.shadowblip.InputPlumber"]): org.freedesktop.DBus.Error.NameHasNoOwner The name does not have an owner
     at: push_warning (core/variant/variant_utility.cpp:1112)
WARNING: Unable to send message org.freedesktop.DBus.ObjectManager.GetManagedObjects([]): org.freedesktop.DBus.Error.ServiceUnknown The name is not activatable
     at: push_warning (core/variant/variant_utility.cpp:1112)
ERROR: 1101 [ERROR] [HardwareManager] :0: Failed to run vulkaninfo
   at: push_error (core/variant/variant_utility.cpp:1092)
ERROR: 1101 [ERROR] [HardwareManager] :0: Unable to identify display adapters
   at: push_error (core/variant/variant_utility.cpp:1092)
[gamescope] [Error] xwm: appid clash was 4194306 now 769
[gamescope] [Info]  launch: Primary child shut down!
(EE) failed to read Wayland events: Broken pipe
(EE) failed to read Wayland events: Broken pipe

I've tried running with multiple monitors, and single monitor setup, all fail with the same problem.

Cheers!

ASLopesJR avatar Nov 06 '24 17:11 ASLopesJR

Are you able to run any other applications in gamescope? E.g. gamescope -- vkcube

ShadowApex avatar Dec 22 '24 05:12 ShadowApex

same problem here with the latest v0.39.2, the AUR opengamepadui-bin 0.35.7-1 is working

OS: Arch Linux x86_64
Kernel: Linux 6.14.6-arch1-1
Display (Monitor): 3440x1440 @ 240 Hz in 34"
DE: KDE Plasma 6.3.5
WM: KWin (Wayland)
CPU: AMD Ryzen Threadripper 3970X 32-Core (64) @ 4.92 GHz
GPU: AMD Radeon RX 6900 XT [Discrete]
Memory: 17.46 GiB / 125.65 GiB (14%)
[opengamepadui-bin]$ opengamepadui
Executing: gamescope -e -w 1920 -h 1080 -f --xwayland-count 2 -- /usr/share/opengamepadui/opengamepad-ui.x86_64
[gamescope] [Info]  console: gamescope version 3.16.4+ (gcc 15.1.1)
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
[gamescope] [Info]  scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts'
[gamescope] [Info]  scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope'
[gamescope] [Info]  scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/common'
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/inspect.lua' (id: 0)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/modegen.lua' (id: 1)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/util.lua' (id: 2)
[gamescope] [Info]  scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/displays'
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/asus.rogally.lcd.lua' (id: 3)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/deckhd.steamdeck.deckhd-lcd.lua' (id: 4)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/gpd.win4.lcd.lua' (id: 5)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongo.lcd.lua' (id: 6)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua' (id: 7)
[gamescope] [Info]  scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.oled.lua' (id: 8)
[gamescope] [Info]  scriptmgr: Loading scripts from: '/etc/gamescope/scripts'
[gamescope] [Warn]  scriptmgr: Directory '/etc/gamescope/scripts' does not exist
[gamescope] [Info]  scriptmgr: Loading scripts from: '/home/andrea/.config/gamescope/scripts'
[gamescope] [Warn]  scriptmgr: Directory '/home/andrea/.config/gamescope/scripts' does not exist
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
[gamescope] [Info]  vulkan: selecting physical device 'AMD Radeon RX 6900 XT (RADV NAVI21)': queue family 1 (general queue family 0)
[gamescope] [Info]  vulkan: physical device supports DRM format modifiers
[gamescope] [Info]  wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info]  xdg_backend: Seat name: seat0
[gamescope] [Info]  vulkan: supported DRM formats for sampling usage:
[gamescope] [Info]  vulkan:   AR24 (0x34325241)
[gamescope] [Info]  vulkan:   XR24 (0x34325258)
[gamescope] [Info]  vulkan:   AB24 (0x34324241)
[gamescope] [Info]  vulkan:   XB24 (0x34324258)
[gamescope] [Info]  vulkan:   RG16 (0x36314752)
[gamescope] [Info]  vulkan:   NV12 (0x3231564E)
[gamescope] [Info]  vulkan:   AB4H (0x48344241)
[gamescope] [Info]  vulkan:   XB4H (0x48344258)
[gamescope] [Info]  vulkan:   AB48 (0x38344241)
[gamescope] [Info]  vulkan:   XB48 (0x38344258)
[gamescope] [Info]  vulkan:   AB30 (0x30334241)
[gamescope] [Info]  vulkan:   XB30 (0x30334258)
[gamescope] [Info]  vulkan:   AR30 (0x30335241)
[gamescope] [Info]  vulkan:   XR30 (0x30335258)
[gamescope] [Info]  wlserver: Using explicit sync when available
[gamescope] [Info]  wlserver: Running compositor on wayland display 'gamescope-0'
[gamescope] [Info]  wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope] [Info]  wlserver: Successfully initialized libei for input emulation!
[gamescope] [Info]  wlserver: [xwayland/server.c:107] Starting Xwayland on :1
[gamescope] [Info]  wlserver: [xwayland/server.c:107] Starting Xwayland on :2
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86RefreshRateToggle
> Warning:          Could not resolve keysym XF86Accessibility
> Warning:          Could not resolve keysym XF86DoNotDisturb
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86RefreshRateToggle
> Warning:          Could not resolve keysym XF86Accessibility
> Warning:          Could not resolve keysym XF86DoNotDisturb
Errors from xkbcomp are not fatal to the X server
[gamescope] [Info]  pipewire: stream state changed: connecting
[gamescope] [Info]  pipewire: stream state changed: paused
[gamescope] [Info]  pipewire: stream available on node ID: 137
[gamescope] [Info]  vblank: Using timerfd.
[gamescope] [Info]  wlserver: Updating mode for xwayland server #0: 1280x720@60
Initialize godot-rust (API v4.3.stable.official, runtime v4.4.stable.official)
Godot Engine v4.4.stable.official.4c311cbee - https://godotengine.org
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment.
[Gamescope WSI] Application info:
  pApplicationName: Open Gamepad UI
  applicationVersion: 0
  pEngineName: Godot Engine
  engineVersion: 16793600
  apiVersion: 4202496
[Gamescope WSI] Executable name: opengamepad-ui.x86_64
[Gamescope WSI] Creating Gamescope surface: xid: 0x400002
[Gamescope WSI] Atom of T was wrong type. Expected XCB_ATOM_CARDINAL.
[Gamescope WSI] Made gamescope surface for xid: 0x400002
[Gamescope WSI] Surface state:
  steam app id:                  0
  window xid:                    0x400002
  wayland surface res id:        5
  layer client flags:            0x0
  server hdr output enabled:     false
  hdr formats exposed to client: false
[Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1.
[gamescope] [Warn]  xwm: got the same buffer committed twice, ignoring.
Vulkan 1.4.305 - Forward+ - Using Device #0: AMD - AMD Radeon RX 6900 XT (RADV NAVI21)

[Gamescope WSI] Creating swapchain for xid: 0x400002 - oldSwapchain: (nil) - provided minImageCount: 3 - minImageCount: 3 - format: VK_FORMAT_B8G8R8A8_UNORM - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
[Gamescope WSI] Created swapchain for xid: 0x400002 swapchain: 0x411af890 - imageCount: 3
0 [INFO] [Core] core/src/lib.rs:52: Initializing OpenGamepadUI Core
371 [INFO] [SettingsManager] :0: Loaded settings
62 [ERROR] [Core] core/src/input/inputplumber.rs:175: Failed to get managed objects: ServiceUnknown("The name is not activatable")
62 [ERROR] [Core] core/src/input/inputplumber.rs:207: Failed to get managed objects: ServiceUnknown("The name is not activatable")
OpenGamepadUI v0.39.2
593 [INFO] [WatchdogThread] :0: Watchdog thread started
294 [INFO] [Core] /home/build/.cargo/git/checkouts/gamescope-x11-client-3ed61f87c4fca835/9d3ef5a/src/xwayland.rs:116: Connected to: 0
294 [INFO] [Core] /home/build/.cargo/git/checkouts/gamescope-x11-client-3ed61f87c4fca835/9d3ef5a/src/xwayland.rs:116: Connected to: 0
761 [INFO] [Sandbox] :0: Using sandboxing: bubblewrap
761 [INFO] [LaunchManager] :0: Loading gamepad profile: user://data/gamepad/profiles/global_default.json
448 [ERROR] [Core] core/src/input/inputplumber.rs:175: Failed to get managed objects: ServiceUnknown("The name is not activatable")
ERROR: 1190 [ERROR] [HardwareManager] :0: Failed to run vulkaninfo
   at: push_error (core/variant/variant_utility.cpp:1098)
1190 [ERROR] [HardwareManager] :0: Failed to run vulkaninfo
ERROR: 1190 [ERROR] [HardwareManager] :0: Unable to identify display adapters
   at: push_error (core/variant/variant_utility.cpp:1098)
1190 [ERROR] [HardwareManager] :0: Unable to identify display adapters
[gamescope] [Info]  launch: Primary child shut down!
(EE) failed to read Wayland events: Broken pipe
(EE) failed to read Wayland events: Broken pipe

amigthea avatar May 11 '25 14:05 amigthea

Closing for now due to inactivity on the issue. Reopen if this issue still exists.

pastaq avatar Jun 30 '25 08:06 pastaq