gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

gamescope crashes instantly

Open holy-elbow opened this issue 1 month ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Are you using any gamescope patches or a forked version of gamescope?

  • [X] The issue occurs on upstream gamescope without any modifications

Current Behavior

gamescope refuses to launch with anything.

Steps To Reproduce

no launch options make a difference. just use gamescope in steam or the terminal and errors appear

Hardware information

- Distro: Arch Linux
- CPU: Intel(R) Core(TM) i7-9700F CPU @ 3.00GHz
- GPU: NVIDIA GeForce RTX 3060
- Driver Version: 565.77

Software information

- Desktop environment: bspwm
- Session type: x11
- Gamescope version: 3.16.1 (gcc 14.2.1)
- Gamescope launch command(s): any and all

Which gamescope backends have the issue you are reporting?

  • [ ] Wayland (default for nested gamescope)
  • [X] DRM (default for embedded gamescope, i.e. gamescope-session)
  • [X] SDL
  • [ ] OpenVR

Logging, screenshots, or anything else

gamescope:

[gamescope] [Info]  vulkan: selecting physical device 'NVIDIA GeForce RTX 3060': queue family 2 (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] [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: Creating Gamescope nested swapchain with format 44 and colorspace 0
gamescope: types/wlr_linux_dmabuf_v1.c:532: feedback_compile: Assertion `table_len > 0' failed.
Aborted (core dumped)

gamescope --backend drm:

[gamescope] [Info]  vulkan: selecting physical device 'NVIDIA GeForce RTX 3060': queue family 2 (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]  wlserver: [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
[gamescope] [Info]  wlserver: [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
[gamescope] [Info]  wlserver: [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
[gamescope] [Info]  wlserver: [backend/session/session.c:108] Successfully loaded libseat session
[gamescope] [Info]  drm: opening DRM node '/dev/dri/card0'
[gamescope] [Error] wlserver: [libseat] [libseat/backend/logind.c:124] Could not take device: Device or resource busy
[gamescope] [Error] wlserver: [backend/session/session.c:318] Failed to open device: '/dev/dri/card0': Resource temporarily unavailable
[gamescope] [Error] drm: Could not open KMS device
Failed to create backend.

holy-elbow avatar Jan 11 '25 04:01 holy-elbow