You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your issue present in the latest beta/pre-release?
None
Describe the Bug
Hi,
I'm currently using Sunshine on Fedora 41, with KDE and an NVIDIA card.
I noticed that my system was randomly crashing before reaching the desktop when signing in.
I'd enabled sunshine as a user service in systemd using systemctl --user enable sunshine.service
When first logging in, it looks like KWin and Sunshine both try to access /dev/dri/card1 at the same time. This causes a race condition and crashes KWin.
Is it possible to add functionality to wait until the system is ready, or avoid locking access to the GPU somehow?
Expected Behavior
No response
Additional Context
No response
Host Operating System
Linux
Operating System Version
Fedora 41 Kinoite
Architecture
amd64/x86_64
Sunshine commit or version
v2025.209.200029
Package
Linux - Fedora Copr
GPU Type
NVIDIA
GPU Model
4070 Ti
GPU Driver/Mesa Version
565.77
Capture Method
KMS (Linux)
Config
Apps
Relevant log output
KWin failing to access GPU:
kwin_wayland: No backend specified, automatically choosing drm
kwin_wayland: kwin_core: Failed to open /dev/dri/card1 device (Device or resource busy)
kwin_wayland: kwin_wayland_drm: failed to open drm device at "/dev/dri/card1"
kwin_wayland: kwin_wayland_drm: No suitable DRM devices have been found
Sunshine:
systemd Started sunshine.service - Sunshine self-hosted game stream host for Moonlight..
sunshine Info: Sunshine version: v2025.203.34856
sunshine Info: Package Publisher: LizardByte
sunshine Info: Publisher Website: https://app.lizardbyte.dev
sunshine Info: Get support: https://app.lizardbyte.dev/support
sunshine Error: Failed to create session:
sunshine Info: /dev/dri/card1 -> nvidia-drm
...
sunshine Warning: Failed to create system tray
sunshine Info: Screencasting with KMS
sunshine Error: Couldn't open: /dev/dri/card1: Permission deniedsunshine Error: Couldn't find monitor [0]
sunshine Error: Couldn't open: /dev/dri/card1: Permission deniedsunshine Error: Couldn't find monitor [0]
sunshine Info: Screencasting with KMS
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
None
Describe the Bug
Hi,
I'm currently using Sunshine on Fedora 41, with KDE and an NVIDIA card.
I noticed that my system was randomly crashing before reaching the desktop when signing in.
I'd enabled sunshine as a user service in systemd using systemctl --user enable sunshine.service
When first logging in, it looks like KWin and Sunshine both try to access /dev/dri/card1 at the same time. This causes a race condition and crashes KWin.
Is it possible to add functionality to wait until the system is ready, or avoid locking access to the GPU somehow?
Expected Behavior
No response
Additional Context
No response
Host Operating System
Linux
Operating System Version
Fedora 41 Kinoite
Architecture
amd64/x86_64
Sunshine commit or version
v2025.209.200029
Package
Linux - Fedora Copr
GPU Type
NVIDIA
GPU Model
4070 Ti
GPU Driver/Mesa Version
565.77
Capture Method
KMS (Linux)
Config
Apps
Relevant log output
The text was updated successfully, but these errors were encountered: