Freezes Compositor when closing sunshine after prolonged use
Is there an existing issue for this?
- [x] I have searched the existing issues
Is your issue described in the documentation?
- [x] I have read the documentation
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
Sunshine freezes the compositor indefinitely(I am currently using hyprland) when closing sunshine after prolonged use
Expected Behavior
Should not freeze
Additional Context
Something to do here
void dmabuf_t::failed(zwlr_screencopy_frame_v1 *frame) {
cleanup_gbm();
auto next_frame = get_next_frame();
next_frame->destroy();
zwlr_screencopy_frame_v1_destroy(frame);
status = REINIT;
}
I tested cleanup_gbm() dont think anything's wrong there,something's going wrong in this function, maybe the screencopy manager is not present when destroying the frame or sth, i tried debugging , but I am neither that adept at the language nor know much about the protocol
Host Operating System
Arch Linux
Operating System Version
Rolling release
Architecture
amd64/x86_64
Sunshine commit or version
#c435d0f
Package
other (self built)
GPU Type
Nvidia
GPU Model
1660 super
GPU Driver/Mesa Version
nvidia-dkms 570.144
Capture Method
wlroots (Linux)
Config
adapter_name = /dev/dri/card0
output_name = 1
stream_audio = disabled
Apps
Relevant log output
[2025-05-05 10:57:01.000]: Info: Sunshine version: 0.0.0.dirty
[2025-05-05 10:57:01.000]: Info: Package Publisher: Third Party Publisher
[2025-05-05 10:57:01.000]: Info: Publisher Website:
[2025-05-05 10:57:01.000]: Info: Get support: https://app.lizardbyte.dev/support
[2025-05-05 10:57:01.000]: Info: config: 'adapter_name' = /dev/dri/card0
[2025-05-05 10:57:01.000]: Info: config: 'output_name' = 1
[2025-05-05 10:57:01.000]: Info: config: 'stream_audio' = disabled
[2025-05-05 10:57:01.068]: Info: System tray created
[2025-05-05 10:57:01.179]: Error: Failed to create session: Version mismatch between NvFBC and the X driver interface
[2025-05-05 10:57:01.179]: Info: Found display [wayland-1]
[2025-05-05 10:57:01.183]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:57:01.183]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:57:01.183]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:57:01.183]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:57:01.184]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:57:01.184]: Info: Resolution: 1600x900
[2025-05-05 10:57:01.184]: Info: Resolution: 1280x800
[2025-05-05 10:57:01.184]: Info: Name: HDMI-A-1
[2025-05-05 10:57:01.184]: Info: Found monitor: Microsoft 0x09FF (HDMI-A-1)
[2025-05-05 10:57:01.184]: Info: Offset: 0x0
[2025-05-05 10:57:01.184]: Info: Logical size: 1600x900
[2025-05-05 10:57:01.184]: Info: Name: sunshine1
[2025-05-05 10:57:01.184]: Info: Offset: -1280x0
[2025-05-05 10:57:01.184]: Info: Logical size: 1280x800
[2025-05-05 10:57:01.184]: Info: -------- Start of Wayland monitor list --------
[2025-05-05 10:57:01.184]: Info: Monitor 0 is HDMI-A-1: Microsoft 0x09FF (HDMI-A-1)
[2025-05-05 10:57:01.184]: Info: Monitor 1 is sunshine1:
[2025-05-05 10:57:01.184]: Info: --------- End of Wayland monitor list ---------
[2025-05-05 10:57:01.222]: Warning: Gamepad ds5 is disabled due to Permission denied
[2025-05-05 10:57:01.222]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-05-05 10:57:01.222]: Info: Trying encoder [nvenc]
[2025-05-05 10:57:01.223]: Info: Screencasting with Wayland's protocol
[2025-05-05 10:57:01.223]: Info: Found display [wayland-1]
[2025-05-05 10:57:01.223]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:57:01.223]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:57:01.223]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:57:01.223]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:57:01.223]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:57:01.223]: Info: Resolution: 1280x800
[2025-05-05 10:57:01.223]: Info: Name: sunshine1
[2025-05-05 10:57:01.223]: Info: Offset: -1280x0
[2025-05-05 10:57:01.223]: Info: Logical size: 1280x800
[2025-05-05 10:57:01.223]: Info: Selected monitor [] for streaming
[2025-05-05 10:57:01.223]: Info: Creating encoder [h264_nvenc]
[2025-05-05 10:57:01.223]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:57:01.223]: Info: Color depth: 8-bit
[2025-05-05 10:57:01.223]: Info: Color range: JPEG
[2025-05-05 10:57:01.450]: Info: Streaming bitrate is 1000000
[2025-05-05 10:57:01.713]: Info: Creating encoder [hevc_nvenc]
[2025-05-05 10:57:01.713]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:57:01.713]: Info: Color depth: 8-bit
[2025-05-05 10:57:01.713]: Info: Color range: JPEG
[2025-05-05 10:57:01.715]: Info: Streaming bitrate is 1000000
[2025-05-05 10:57:01.977]: Info: Creating encoder [av1_nvenc]
[2025-05-05 10:57:01.977]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:57:01.977]: Info: Color depth: 8-bit
[2025-05-05 10:57:01.977]: Info: Color range: JPEG
[2025-05-05 10:57:01.979]: Info: Streaming bitrate is 1000000
[2025-05-05 10:57:01.985]: Warning: [av1_nvenc @ 0x5fe4d3c0e080] Codec not supported
[2025-05-05 10:57:01.985]: Error: [av1_nvenc @ 0x5fe4d3c0e080] Provided device doesn't support required NVENC features
[2025-05-05 10:57:02.235]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2025-05-05 10:57:02.236]: Info: Screencasting with Wayland's protocol
[2025-05-05 10:57:02.236]: Info: Found display [wayland-1]
[2025-05-05 10:57:02.236]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:57:02.236]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:57:02.236]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:57:02.236]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:57:02.236]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:57:02.236]: Info: Resolution: 1280x800
[2025-05-05 10:57:02.236]: Info: Name: sunshine1
[2025-05-05 10:57:02.236]: Info: Offset: -1280x0
[2025-05-05 10:57:02.236]: Info: Logical size: 1280x800
[2025-05-05 10:57:02.236]: Info: Selected monitor [] for streaming
[2025-05-05 10:57:02.236]: Info: Creating encoder [hevc_nvenc]
[2025-05-05 10:57:02.236]: Info: Color coding: SDR (Rec. 709)
[2025-05-05 10:57:02.236]: Info: Color depth: 10-bit
[2025-05-05 10:57:02.236]: Info: Color range: JPEG
[2025-05-05 10:57:02.238]: Info: Streaming bitrate is 1000000
[2025-05-05 10:57:02.501]: Info:
[2025-05-05 10:57:02.501]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-05-05 10:57:02.501]: Info:
[2025-05-05 10:57:02.501]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-05-05 10:57:02.501]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-05-05 10:57:02.502]: Error: Failed to create client: Daemon not running
[2025-05-05 10:57:02.503]: Info: Configuration UI available at [https://localhost:47990]
[2025-05-05 10:57:25.956]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-05-05 10:57:25.956]: Info: Trying encoder [nvenc]
[2025-05-05 10:57:25.956]: Info: Screencasting with Wayland's protocol
[2025-05-05 10:57:25.956]: Info: Found display [wayland-1]
[2025-05-05 10:57:25.956]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:57:25.956]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:57:25.956]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:57:25.956]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:57:25.956]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:57:25.957]: Info: Resolution: 1280x800
[2025-05-05 10:57:25.957]: Info: Name: sunshine1
[2025-05-05 10:57:25.957]: Info: Offset: -1280x0
[2025-05-05 10:57:25.957]: Info: Logical size: 1280x800
[2025-05-05 10:57:25.957]: Info: Selected monitor [] for streaming
[2025-05-05 10:57:25.957]: Info: Creating encoder [h264_nvenc]
[2025-05-05 10:57:25.957]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:57:25.957]: Info: Color depth: 8-bit
[2025-05-05 10:57:25.957]: Info: Color range: JPEG
[2025-05-05 10:57:25.993]: Info: Streaming bitrate is 1000000
[2025-05-05 10:57:26.257]: Info: Creating encoder [hevc_nvenc]
[2025-05-05 10:57:26.257]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:57:26.257]: Info: Color depth: 8-bit
[2025-05-05 10:57:26.257]: Info: Color range: JPEG
[2025-05-05 10:57:26.260]: Info: Streaming bitrate is 1000000
[2025-05-05 10:57:26.523]: Info: Creating encoder [av1_nvenc]
[2025-05-05 10:57:26.523]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:57:26.523]: Info: Color depth: 8-bit
[2025-05-05 10:57:26.523]: Info: Color range: JPEG
[2025-05-05 10:57:26.525]: Info: Streaming bitrate is 1000000
[2025-05-05 10:57:26.531]: Warning: [av1_nvenc @ 0x76df9c3d2600] Codec not supported
[2025-05-05 10:57:26.531]: Error: [av1_nvenc @ 0x76df9c3d2600] Provided device doesn't support required NVENC features
[2025-05-05 10:57:26.782]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2025-05-05 10:57:26.783]: Info: Screencasting with Wayland's protocol
[2025-05-05 10:57:26.783]: Info: Found display [wayland-1]
[2025-05-05 10:57:26.783]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:57:26.783]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:57:26.783]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:57:26.783]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:57:26.783]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:57:26.783]: Info: Resolution: 1280x800
[2025-05-05 10:57:26.783]: Info: Name: sunshine1
[2025-05-05 10:57:26.783]: Info: Offset: -1280x0
[2025-05-05 10:57:26.783]: Info: Logical size: 1280x800
[2025-05-05 10:57:26.783]: Info: Selected monitor [] for streaming
[2025-05-05 10:57:26.783]: Info: Creating encoder [hevc_nvenc]
[2025-05-05 10:57:26.783]: Info: Color coding: SDR (Rec. 709)
[2025-05-05 10:57:26.783]: Info: Color depth: 10-bit
[2025-05-05 10:57:26.783]: Info: Color range: JPEG
[2025-05-05 10:57:26.785]: Info: Streaming bitrate is 1000000
[2025-05-05 10:57:27.048]: Info:
[2025-05-05 10:57:27.048]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-05-05 10:57:27.048]: Info:
[2025-05-05 10:57:27.048]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-05-05 10:57:27.048]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-05-05 10:57:27.048]: Info: Executing [Desktop]
[2025-05-05 10:57:27.059]: Info: New streaming session started [active sessions: 1]
[2025-05-05 10:57:27.065]: Info: CLIENT CONNECTED
[2025-05-05 10:57:27.066]: Info: Found display [wayland-1]
[2025-05-05 10:57:27.067]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:57:27.067]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:57:27.067]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:57:27.067]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:57:27.067]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:57:27.068]: Info: Resolution: 1600x900
[2025-05-05 10:57:27.068]: Info: Resolution: 1280x800
[2025-05-05 10:57:27.068]: Info: Name: HDMI-A-1
[2025-05-05 10:57:27.068]: Info: Found monitor: Microsoft 0x09FF (HDMI-A-1)
[2025-05-05 10:57:27.068]: Info: Offset: 0x0
[2025-05-05 10:57:27.068]: Info: Logical size: 1600x900
[2025-05-05 10:57:27.068]: Info: Name: sunshine1
[2025-05-05 10:57:27.068]: Info: Offset: -1280x0
[2025-05-05 10:57:27.068]: Info: Logical size: 1280x800
[2025-05-05 10:57:27.068]: Info: -------- Start of Wayland monitor list --------
[2025-05-05 10:57:27.068]: Info: Monitor 0 is HDMI-A-1: Microsoft 0x09FF (HDMI-A-1)
[2025-05-05 10:57:27.068]: Info: Monitor 1 is sunshine1:
[2025-05-05 10:57:27.068]: Info: --------- End of Wayland monitor list ---------
[2025-05-05 10:57:27.068]: Info: Screencasting with Wayland's protocol
[2025-05-05 10:57:27.068]: Info: Found display [wayland-1]
[2025-05-05 10:57:27.068]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:57:27.068]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:57:27.068]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:57:27.068]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:57:27.068]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:57:27.068]: Info: Resolution: 1280x800
[2025-05-05 10:57:27.068]: Info: Name: sunshine1
[2025-05-05 10:57:27.068]: Info: Offset: -1280x0
[2025-05-05 10:57:27.068]: Info: Logical size: 1280x800
[2025-05-05 10:57:27.068]: Info: Selected monitor [] for streaming
[2025-05-05 10:57:27.068]: Info: Creating encoder [h264_nvenc]
[2025-05-05 10:57:27.068]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:57:27.068]: Info: Color depth: 8-bit
[2025-05-05 10:57:27.068]: Info: Color range: MPEG
[2025-05-05 10:57:27.102]: Info: Streaming bitrate is 8108000
[2025-05-05 10:58:30.041]: Info: CLIENT DISCONNECTED
[2025-05-05 10:58:51.044]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-05-05 10:58:51.044]: Info: Trying encoder [nvenc]
[2025-05-05 10:58:51.044]: Info: Screencasting with Wayland's protocol
[2025-05-05 10:58:51.044]: Info: Found display [wayland-1]
[2025-05-05 10:58:51.045]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:58:51.045]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:58:51.045]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:58:51.045]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:58:51.045]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:58:51.046]: Info: Resolution: 1280x800
[2025-05-05 10:58:51.046]: Info: Name: sunshine1
[2025-05-05 10:58:51.046]: Info: Offset: -1280x0
[2025-05-05 10:58:51.046]: Info: Logical size: 1280x800
[2025-05-05 10:58:51.046]: Info: Selected monitor [] for streaming
[2025-05-05 10:58:51.046]: Info: Creating encoder [h264_nvenc]
[2025-05-05 10:58:51.046]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:58:51.046]: Info: Color depth: 8-bit
[2025-05-05 10:58:51.046]: Info: Color range: JPEG
[2025-05-05 10:58:51.052]: Info: Streaming bitrate is 1000000
[2025-05-05 10:58:51.337]: Info: Creating encoder [hevc_nvenc]
[2025-05-05 10:58:51.337]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:58:51.337]: Info: Color depth: 8-bit
[2025-05-05 10:58:51.337]: Info: Color range: JPEG
[2025-05-05 10:58:51.339]: Info: Streaming bitrate is 1000000
[2025-05-05 10:58:51.602]: Info: Creating encoder [av1_nvenc]
[2025-05-05 10:58:51.602]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:58:51.602]: Info: Color depth: 8-bit
[2025-05-05 10:58:51.602]: Info: Color range: JPEG
[2025-05-05 10:58:51.603]: Info: Streaming bitrate is 1000000
[2025-05-05 10:58:51.609]: Warning: [av1_nvenc @ 0x76df9c3d2600] Codec not supported
[2025-05-05 10:58:51.609]: Error: [av1_nvenc @ 0x76df9c3d2600] Provided device doesn't support required NVENC features
[2025-05-05 10:58:51.860]: Error: Could not open codec [av1_nvenc]: Function not implemented
[2025-05-05 10:58:51.861]: Info: Screencasting with Wayland's protocol
[2025-05-05 10:58:51.861]: Info: Found display [wayland-1]
[2025-05-05 10:58:51.861]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:58:51.861]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:58:51.861]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:58:51.861]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:58:51.861]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:58:51.861]: Info: Resolution: 1280x800
[2025-05-05 10:58:51.861]: Info: Name: sunshine1
[2025-05-05 10:58:51.861]: Info: Offset: -1280x0
[2025-05-05 10:58:51.861]: Info: Logical size: 1280x800
[2025-05-05 10:58:51.861]: Info: Selected monitor [] for streaming
[2025-05-05 10:58:51.861]: Info: Creating encoder [hevc_nvenc]
[2025-05-05 10:58:51.861]: Info: Color coding: SDR (Rec. 709)
[2025-05-05 10:58:51.861]: Info: Color depth: 10-bit
[2025-05-05 10:58:51.861]: Info: Color range: JPEG
[2025-05-05 10:58:51.863]: Info: Streaming bitrate is 1000000
[2025-05-05 10:58:52.125]: Info:
[2025-05-05 10:58:52.126]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-05-05 10:58:52.126]: Info:
[2025-05-05 10:58:52.126]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-05-05 10:58:52.126]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-05-05 10:58:52.138]: Info: New streaming session started [active sessions: 1]
[2025-05-05 10:58:52.144]: Info: CLIENT CONNECTED
[2025-05-05 10:58:52.145]: Info: Found display [wayland-1]
[2025-05-05 10:58:52.145]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:58:52.145]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:58:52.145]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:58:52.145]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:58:52.145]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:58:52.146]: Info: Resolution: 1600x900
[2025-05-05 10:58:52.146]: Info: Resolution: 1280x800
[2025-05-05 10:58:52.146]: Info: Name: HDMI-A-1
[2025-05-05 10:58:52.146]: Info: Found monitor: Microsoft 0x09FF (HDMI-A-1)
[2025-05-05 10:58:52.146]: Info: Offset: 0x0
[2025-05-05 10:58:52.146]: Info: Logical size: 1600x900
[2025-05-05 10:58:52.146]: Info: Name: sunshine1
[2025-05-05 10:58:52.146]: Info: Offset: -1280x0
[2025-05-05 10:58:52.146]: Info: Logical size: 1280x800
[2025-05-05 10:58:52.146]: Info: -------- Start of Wayland monitor list --------
[2025-05-05 10:58:52.146]: Info: Monitor 0 is HDMI-A-1: Microsoft 0x09FF (HDMI-A-1)
[2025-05-05 10:58:52.146]: Info: Monitor 1 is sunshine1:
[2025-05-05 10:58:52.146]: Info: --------- End of Wayland monitor list ---------
[2025-05-05 10:58:52.146]: Info: Screencasting with Wayland's protocol
[2025-05-05 10:58:52.146]: Info: Found display [wayland-1]
[2025-05-05 10:58:52.146]: Info: Found interface: zxdg_output_manager_v1(9) version 3
[2025-05-05 10:58:52.146]: Info: Found interface: zwlr_screencopy_manager_v1(41) version 3
[2025-05-05 10:58:52.146]: Info: Found interface: zwp_linux_dmabuf_v1(54) version 5
[2025-05-05 10:58:52.146]: Info: Found interface: wl_output(55) version 4
[2025-05-05 10:58:52.146]: Info: Found interface: wl_output(57) version 4
[2025-05-05 10:58:52.146]: Info: Resolution: 1280x800
[2025-05-05 10:58:52.146]: Info: Name: sunshine1
[2025-05-05 10:58:52.146]: Info: Offset: -1280x0
[2025-05-05 10:58:52.146]: Info: Logical size: 1280x800
[2025-05-05 10:58:52.146]: Info: Selected monitor [] for streaming
[2025-05-05 10:58:52.146]: Info: Creating encoder [h264_nvenc]
[2025-05-05 10:58:52.146]: Info: Color coding: SDR (Rec. 601)
[2025-05-05 10:58:52.146]: Info: Color depth: 8-bit
[2025-05-05 10:58:52.146]: Info: Color range: MPEG
[2025-05-05 10:58:52.180]: Info: Streaming bitrate is 8108000
[2025-05-05 11:38:56.069]: Info: Delete: 57
[2025-05-05 11:38:56.071]: Error: Frame capture failed
[2025-05-05 11:38:56.084]: Info: Process terminated
I'm having the same issue since switching to the new screencopy capture method from kms, and a similar setup (sunshine 2025.509, nvidia 570, hyprland 49).
- Short streams seem to stop and restart just fine
- After streaming for hours stopping the client always freezes the whole hyprland desktop
- Killing sunshine though ssh doesn't unfreeze it
- I can still hear the youtube audio playing in the background when it's frozen
- Freezing doesn't seem to happen after using the obs-wlroots-screencopy plugin for hours
- I still wouldn't rule out this being a hyprland issue, cause a protocol like this definitely shouldn't be able to break the whole system...
I am having the same issue using the nightly build. I am running AMD 7900 XTX on hyprland (EndeavorOS aka Arch derivative). I can start, stop and restart the service but if I stop it after a stream my entire desktop freezes. I have to power off and on again to make the system usable.
Exactly the same as @zatkinson08 but on NVIDIA
I am having the same issue.
OS: Arch Linux x86_64 Sunshine version: v2025.628.4510 Kernel: Linux 6.15.6-arch1-1.1-g14 WM: Hyprland 0.50.0 CPU: AMD Ryzen 7 5800HS (16) @ 4.46 GHz GPU: AMD Radeon Vega Series / Radeon Vega Mobile Series [Integrated]
I'm experiencing the same issue on arch with hyrpland. After exiting sunshine I have to fully reboot my machine
I'm having the same issue since switching to the new screencopy capture method from kms, and a similar setup (sunshine 2025.509, nvidia 570, hyprland 49).
- Short streams seem to stop and restart just fine
- After streaming for hours stopping the client always freezes the whole hyprland desktop
- Killing sunshine though ssh doesn't unfreeze it
- I can still hear the youtube audio playing in the background when it's frozen
- Freezing doesn't seem to happen after using the obs-wlroots-screencopy plugin for hours
- I still wouldn't rule out this being a hyprland issue, cause a protocol like this definitely shouldn't be able to break the whole system...
Switching to KMS also stops the issue for me. It does not freeze after long use. However, this capturing method does not recognize headless, so I can't have multiple screens.
I'm having the same issue since switching to the new screencopy capture method from kms, and a similar setup (sunshine 2025.509, nvidia 570, hyprland 49).
- Short streams seem to stop and restart just fine
- After streaming for hours stopping the client always freezes the whole hyprland desktop
- Killing sunshine though ssh doesn't unfreeze it
- I can still hear the youtube audio playing in the background when it's frozen
- Freezing doesn't seem to happen after using the obs-wlroots-screencopy plugin for hours
- I still wouldn't rule out this being a hyprland issue, cause a protocol like this definitely shouldn't be able to break the whole system...
Switching to KMS also stops the issue for me. It does not freeze after long use. However, this capturing method does not recognize headless, so I can't have multiple screens.
Thanks. I made this change on my system but don't have time to test on my end just yet. Will comeback to this one and report results. Hopefully it is a successful workaround. Appreciate you reporting back.
KMS screen capture method doesn't cause this issue, the issue is specific to wlroots capture method.
Switching to kms or nvfbc doesn't work at all for me? It just says Failed to start Desktop (error 503). What am I missing? I'm pretty sure nvfbc should be patched on cachyos by default which is what I'm using.