ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.13k stars 211 forks source link

Keyboard input not working on 3.14.24 #1460

Closed Virkkunen closed 3 months ago

Virkkunen commented 3 months ago

When launching a game with gamescope, the game will only recognise the first keyboard input and nothing else. I'm still able to use my mouse without issues, and I can alt+tab or alt+F4 (as my keyboard works fine in the desktop).

I've tried Deep Rock Galactic, Tekken 8 and Helldivers 2, all games have the same issue. I've tried reconnecting my keyboard, connecting a second keyboard, using a gamepad, but I cannot get any input.

I'm using:

My minimal launch command where this issue happens:

gamescope -W 3840 -H 2160 -r 165 -f -e -- %command%

Some logs running a game:

x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.555.58.02 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "/home/vrkknn/.local/share/Steam/ubuntu12_32:/home/vrkknn/.local/share/Steam/ubuntu12_32/panorama:/usr/lib32:/usr/lib/libfakeroot:/usr/lib", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
wine: using kernel write watches, use_kernel_writewatch 1.
fsync: up and running.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
chdir "/home/vrkknn/.local/share/Steam/steamapps/common/Helldivers 2"
ERROR: ld.so: object '/home/vrkknn/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
[gamescope] [Info]  console: gamescope version 3.14.24+
Adding process 19726 for gameID 553850
[gamescope] [Info]  vulkan: selecting physical device 'NVIDIA GeForce RTX 3080': queue family 2
[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: 
[gamescope] [Error] vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344241 (VkResult: 0)
[gamescope] [Error] vulkan: vkGetPhysicalDeviceFormatProperties2 returned zero modifiers for DRM format 0x38344258 (VkResult: 0)
[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:   AB30 (0x30334241)
[gamescope] [Info]  vulkan:   XB30 (0x30334258)
[gamescope] [Info]  vulkan:   AR30 (0x30335241)
[gamescope] [Info]  vulkan:   XR30 (0x30335258)
[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
syntax error: line 109 of inet
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Error interpreting include file "inet"
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
syntax error: line 109 of inet
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Error interpreting include file "inet"
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server
[gamescope] [Debug] wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x591952dec650 (res 0x5919530ca040)
[gamescope] [Debug] wlserver: [xwayland/server.c:272] Xserver is ready
[gamescope] [Info]  pipewire: stream state changed: connecting
[gamescope] [Info]  pipewire: stream state changed: paused
[gamescope] [Info]  pipewire: stream available on node ID: 88
[gamescope] [Info]  xwm: Embedded, no cursor set. Using left_ptr by default.
[gamescope] [Info]  vblank: Using timerfd.
[gamescope] [Info]  xdg_backend: PreferredMetadata: Red: 0.708 0.292, Green: 0.17 0.797, Blue: 0.131 0.046, White: 0.3127 0.329, Max Luminance: 1000 nits, Min Luminance: 0 nits, Max Full Frame Luminance: 351 nits
[gamescope] [Info]  josh edid: Patching res 800x1280 -> 3840x2160
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.555.58.02 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
ProtonFixes[19970] INFO: Running protonfixes
ProtonFixes[19970] INFO: Running checks
ProtonFixes[19970] INFO: All checks successful
ProtonFixes[19970] INFO: Using global defaults for "HELLDIVERS™ 2" (553850)
ProtonFixes[19970] INFO: No global protonfix found for "HELLDIVERS™ 2" (553850)
wine: using kernel write watches, use_kernel_writewatch 1.
fsync: up and running.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
wine: using kernel write watches, use_kernel_writewatch 1.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
wine: using kernel write watches, use_kernel_writewatch 1.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
wine: using kernel write watches, use_kernel_writewatch 1.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
wine: using kernel write watches, use_kernel_writewatch 1.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
wine: using kernel write watches, use_kernel_writewatch 1.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
Setting breakpad minidump AppID = 553850
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198016808295 [API loaded no]
wine: using kernel write watches, use_kernel_writewatch 1.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescope] [Debug] wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x591953141720 (res 0x5919530d0900)
[gamescope] [Debug] xwm: Unhandled initial NET_WM_STATE property: _KDE_NET_WM_STATE_SKIP_SWITCHER
[gamescope] [Debug] xwm: Unhandled initial NET_WM_STATE property: _NET_WM_STATE_ABOVE
[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.
> Warning:          Could not resolve keysym XF86KbdInputAssistPrevgrou
> Warning:          Could not resolve keysym XF86KbdInputAssistNextgrou
Errors from xkbcomp are not fatal to the X server
[gamescopereaper] [Info]  reaper: "mangoapp" process shut down. Restarting.
[gamescope] [Debug] wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x5919531420e0 (res 0x5919530d0670)
[gamescope] [Debug] xwm: Unhandled initial NET_WM_STATE property: _KDE_NET_WM_STATE_SKIP_SWITCHER
[gamescope] [Debug] xwm: Unhandled initial NET_WM_STATE property: _NET_WM_STATE_ABOVE
[gamescope] [Warn]  xwm: got the same buffer committed twice, ignoring.
wine: using kernel write watches, use_kernel_writewatch 1.
[gamescope] [Debug] wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x591953142bb0 (res 0x5919530e0870)
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: using kernel write watches, use_kernel_writewatch 1.
wine: setpriority 2 for pid -1 failed: 3
[gamescope] [Debug] wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x59195314ad60 (res 0x5919530e4490)
[gamescope] [Warn]  xwm: got the same buffer committed twice, ignoring.
[gamescope] [Debug] wlserver: [types/wlr_pointer_constraints_v1.c:278] new confined_pointer 0x59195314b4a0 (res 0x5919530e5570)
[gamescope] [Debug] wlserver: [types/wlr_pointer_constraints_v1.c:378] constrained 0x59195314b4a0
[gamescope] [Debug] wlserver: [types/wlr_pointer_constraints_v1.c:46] destroying constraint 0x59195314b4a0
[gamescope] [Debug] wlserver: [types/wlr_pointer_constraints_v1.c:278] new locked_pointer 0x59195314b4a0 (res 0x5919530e2d80)
[gamescope] [Debug] wlserver: [types/wlr_pointer_constraints_v1.c:378] constrained 0x59195314b4a0
wine: setpriority -2 for pid -1 failed: 3
[Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1.
Fossilize INFO: Overriding serialization path: "/home/vrkknn/.local/share/Steam/steamapps/shadercache/553850/fozpipelinesv6/steamapprun_pipeline_cache".
[Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1.
[Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1.
Fossilize INFO: Overriding serialization path: "/home/vrkknn/.local/share/Steam/steamapps/shadercache/553850/fozpipelinesv6/steamapprun_pipeline_cache".
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _KDE_NET_WM_STATE_SKIP_SWITCHER
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _KDE_NET_WM_STATE_SKIP_SWITCHER
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
Fossilize WARN: Pipeline library handle 0x0000763990172a70 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639a41cf1d0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
[Gamescope WSI] Creating Gamescope surface: xid: 0x1400056
[Gamescope WSI] Atom of T was wrong type. Expected XCB_ATOM_CARDINAL.
[Gamescope WSI] Atom of T was wrong type. Expected XCB_ATOM_CARDINAL.
[gamescope] [Debug] wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x59195314fa60 (res 0x5919530e7330)
[Gamescope WSI] Made gamescope surface for xid: 0x1400056
[Gamescope WSI] Surface state:
  steam app id:                  553850
  window xid:                    0x1400056
  wayland surface res id:        5
  layer client flags:            0x4
  server hdr output enabled:     false
  hdr formats exposed to client: false
Fossilize WARN: Pipeline library handle 0x00007639901d5f90 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763980447ad0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076399c32e4f0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763990211800 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639804868c0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763980476bf0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639842dc9d0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639982f4170 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639902e25f0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763998304590 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076399831c4a0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763984365590 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639a4266200 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076399c42b9d0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639843ab230 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763990337820 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639805cf240 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639a42d4840 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076399c45fe50 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639a42e0f50 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639843feba0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639984b94a0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639984ac6c0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076398c2ef570 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639903fa630 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639844c83d0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076399850e440 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076398c3a6030 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639844ef170 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763980671ba0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076398c3c9f00 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076398c3eb050 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076399041e010 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639a4456a80 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _KDE_NET_WM_STATE_SKIP_SWITCHER
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _KDE_NET_WM_STATE_SKIP_SWITCHER
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
[gamescope] [Debug] xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
wine: setpriority -1 for pid -1 failed: 3
wine: setpriority -1 for pid -1 failed: 3
wine: setpriority -1 for pid -1 failed: 3
wine: setpriority -10 for pid -1 failed: 3
Fossilize WARN: Pipeline library handle 0x000076398c498050 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076395c03a760 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076398c4bca50 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076398c4bfce0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
[Gamescope WSI] Creating swapchain for xid: 0x1400056 - minImageCount: 3 - format: VK_FORMAT_R8G8B8A8_UNORM - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
[Gamescope WSI] Created swapchain for xid: 0x1400056 - imageCount: 3
[Gamescope WSI] Creating swapchain for xid: 0x1400056 - minImageCount: 3 - format: VK_FORMAT_R8G8B8A8_UNORM - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
[Gamescope WSI] Created swapchain for xid: 0x1400056 - imageCount: 3
wine: setpriority -10 for pid -1 failed: 3
wine: setpriority -10 for pid -1 failed: 3
wine: setpriority -10 for pid -1 failed: 3
wine: setpriority -1 for pid -1 failed: 3
Fossilize WARN: Pipeline library handle 0x0000763984a960d0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763978223940 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763990f021d0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763990f19730 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763990f2bc10 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076399cf450d0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763990f3f2f0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763984e2d380 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763984e63b10 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763998805490 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763990f46640 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
reaping pid: 20658 -- steam
Fossilize WARN: Pipeline library handle 0x00007639997549f0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
wine: setpriority -1 for pid -1 failed: 3
Fossilize WARN: Pipeline library handle 0x00007638cd321da0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007638cd3681d0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076399dc50890 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076399dcd1330 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007638cd3a9eb0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007638cd3bf6f0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007638cd3dd7c0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007638cd3ed6c0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007638cd3f9b30 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007638cd3fc820 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007638cd3ff510 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007638cd402220 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007638cd405a00 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763981c115e0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076399dd195a0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076398dab1030 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076398dab3d20 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
wine: setpriority -1 for pid -1 failed: 3
Fossilize WARN: Pipeline library handle 0x00007638cd667150 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763999a07a60 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x0000763978492d80 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639682636b0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639784a8db0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639784993e0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076396c24db00 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076397849c0d0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x000076397849edc0 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
Fossilize WARN: Pipeline library handle 0x00007639784aeb00 is not registered.
It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
wine: setpriority -1 for pid -1 failed: 3
[gamescopereaper] [Info]  reaper: Parent of gamescopereaper was killed. Killing children.
[gamescopereaper] [Info]  reaper: Parent of gamescopereaper was killed. Killing children.
[gamescope] [Debug] wlserver: [types/wlr_pointer_constraints_v1.c:46] destroying constraint 0x59195314b4a0
[gamescope] [Info]  launch: Primary child shut down!
(EE) failed to read Wayland events: Broken pipe
Game 553850 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 553850 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / 
Game 553850 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / 
Game 553850 created interface SteamController008 / 
Game 553850 created interface SteamFriends017 / 
Game 553850 created interface SteamInput006 / 
Game 553850 created interface SteamMatchMaking009 / 
Game 553850 created interface SteamNetworking006 / 
Game 553850 created interface SteamUser021 / 
Game 553850 created interface SteamUser021 / User
Game 553850 created interface SteamUtils010 / 
Game 553850 method call count for IClientControllerSerialized::GetHandleForGamepadIndex : 4
Game 553850 method call count for IClientRemoteStorage::IsCloudEnabledForApp : 1
Game 553850 method call count for IClientRemoteStorage::IsCloudEnabledForAccount : 1
Game 553850 method call count for IClientRemoteStorage::FileExists : 2
Game 553850 method call count for IClientRemoteStorage::GetFileSize : 2
Game 553850 method call count for IClientRemoteStorage::FileRead : 2
Game 553850 method call count for IClientRemoteStorage::FileWrite : 7
Game 553850 method call count for IClientNetworking::ReadP2PPacket : 6070
Game 553850 method call count for IClientUserStats::DeprecatedPublic_RequestCurrentStats : 1
Game 553850 method call count for IClientAppManager::GetCurrentLanguage : 2
Game 553850 method call count for IClientAppManager::GetActiveBeta : 4
Game 553850 method call count for IClientApps::BGetDLCDataByIndex : 26
Game 553850 method call count for IClientApps::GetDLCCount : 2
Game 553850 method call count for IClientMatchmaking::GetLobbyOwner : 1
Game 553850 method call count for IClientMatchmaking::SetLobbyJoinable : 1
Game 553850 method call count for IClientMatchmaking::GetLobbyMemberLimit : 1769
Game 553850 method call count for IClientMatchmaking::SetLobbyData : 23
Game 553850 method call count for IClientMatchmaking::GetLobbyMemberByIndex : 3539
Game 553850 method call count for IClientMatchmaking::GetNumLobbyMembers : 5308
Game 553850 method call count for IClientMatchmaking::CreateLobby : 1
Game 553850 method call count for IClientUtils::RecordSteamInterfaceCreation : 14
Game 553850 method call count for IClientUtils::FilterText : 1
Game 553850 method call count for IClientUtils::InitFilterText : 1
Game 553850 method call count for IClientUtils::SetOverlayNotificationPosition : 1
Game 553850 method call count for IClientUtils::GetAPICallResult : 1
Game 553850 method call count for IClientUtils::GetAppID : 18
Game 553850 method call count for IClientFriends::GetFriendPersonaName_Public : 3163
Game 553850 method call count for IClientFriends::SetRichPresence : 8
Game 553850 method call count for IClientFriends::GetUserRestrictions : 1
Game 553850 method call count for IClientFriends::GetFriendGamePlayed : 275
Game 553850 method call count for IClientFriends::GetFriendPersonaState : 275
Game 553850 method call count for IClientFriends::GetFriendRelationship : 825
Game 553850 method call count for IClientUser::GetAuthSessionTicket : 3
Game 553850 method call count for IClientUser::GetSteamID : 2895
Game 553850 method call count for IClientUser::BLoggedOn : 8562
Uploaded AppInterfaceStats to Steam
Game Recording - game stopped [gameid=553850]
Removing process 19726 for gameID 553850
Virkkunen commented 3 months ago

I've tried on 3.14.28 and this is also happening. I've also noticed when playing Helldivers that the keyboard icons do not show any key: 20240807_055531 (it should show which key to press or controller button)

Virkkunen commented 3 months ago

I've updated to gamescope 3.14.28.r0.g4ccc6647-1 and nvidia-beta-dkms 560.31.02-1 and noticed some things:

misyltoad commented 3 months ago

what is your keyboard layout/lang/etc?

Virkkunen commented 3 months ago

I forgot about that, and decided to test. I usually use the en-US international with dead keys and https://github.com/raelgc/win_us_intl so I decided to remove it and use a simple en-US UTF-8 layout, but nothing changed. 3.14.22-5-gb44ea3c was the last known version I used where everything was working fine, I haven't done any hardware changes and I don't remember anything updated or installed that could contribute to an issue like this

Virkkunen commented 3 months ago

I reverted to 3.14.22 but this issue is still present, so this indicates something on my system did change, but I am clueless as to what. One interesting thing to note is that on 3.14.22 and Helldivers 2, I can press ESC twice to skip the intro videos, and then no more inputs are recognised, though the game displays some DualShock facebuttons on the hotkeys, and back to blank as soon as I move my mouse 20240810_053119

The last known config I had gamescope working fine was:

So what changed from this:

I really don't know what I can do to properly troubleshoot this, it's weird that it really changes depending on the game and runtime, which device will work or not (3 different keyboards with 2 being QMK and a Xinput controller). Without gamescope my keyboards and controller work perfectly fine.

Virkkunen commented 3 months ago

Well I think I found the issue. I dug deep on my command story (thanks atuin) looking for anything that could be related to keyboard input and found out that sometime ago I made an edit to /usr/share/X11/xkb/symbols/inet, where I commented out the line with

key <FK20>   {      [ XF86AudioMicMute      ]       };

and added

key <KEY_F13>   {      [ F13                   ]       };
key <KEY_F14>   {      [ F14                   ]       };
key <KEY_F15>   {      [ F15                   ]       };
key <KEY_F16>   {      [ F16                   ]       };
key <KEY_F17>   {      [ F17                   ]       };
key <KEY_F18>   {      [ F18                   ]       };
key <KEY_F19>   {      [ F19                   ]       };
key <KEY_F20>   {      [ F20                   ]       };
key <KEY_F21>   {      [ F21                   ]       };

because I was trying to make Plasma recognise keys F13 through F21 since my macro keyboard was set to those, but it didn't work out and I didn't care to revert the file. I've reverted the commend on key <FK20> and commented the F13-F21 lines and my keyboard input is working again on my games (tried on Helldivers 2 and Deep Rock Galactic).