Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gamescope crashes instantly #1702

Open
4 of 6 tasks
holy-elbow opened this issue Jan 11, 2025 · 5 comments
Open
4 of 6 tasks

gamescope crashes instantly #1702

holy-elbow opened this issue Jan 11, 2025 · 5 comments

Comments

@holy-elbow
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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

  • 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)
  • DRM (default for embedded gamescope, i.e. gamescope-session)
  • 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.
@matte-schwartz
Copy link

first error was fixed with #1548

Second error - are you running that from a VT?

@holy-elbow
Copy link
Author

second one is just included because i was testing the backends and it had a different error

@holy-elbow
Copy link
Author

first error was fixed with #1548

Second error - are you running that from a VT?

im not sure how #1548 fixed my issue is the arch repo version not updated?

@matte-schwartz
Copy link

The linked PR is not in a Gamescope release yet. It should be in 3.16.2 whenever that is tagged and released. Arch picks up new versions pretty quickly.

gamescope --backend drm only works from TTY/VT (virtual terminal) so if you're running that nested on Plasma or Gnome then that error is expected.

@holy-elbow
Copy link
Author

The linked PR is not in a Gamescope release yet. It should be in 3.16.2 whenever that is tagged and released. Arch picks up new versions pretty quickly.

gamescope --backend drm only works from TTY/VT (virtual terminal) so if you're running that nested on Plasma or Gnome then that error is expected.

oh ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants