LizardByte / LizardByte/Sunshine
Sunshine connections fail after using certain Moonlight clients
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 41.3k
- Forks
- 2.1k
- Avg merge
- 23h 47m
- Merged PRs (30d)
- 124
Description
### 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
When certain clients connect to Sunshine, sunshine no longer accepts connections from any other client. If the one allowed client gracefully disconnects from Sunshine, it still won't allow any connections from any other client. If the one client disgracefully disconnects (wifi lost), Sunshine will no longer accept connections from it too.
Clients known to initiate this bug include [Moonlight-Switch](https://github.com/XITRIX/Moonlight-Switch/issues/215) and [Moonlight-N3DS](https://github.com/zoeyjodon/moonlight-N3DS/issues/82).
To reproduce:
1. Find an affected Moonlight client
2. Connect it to Sunshine
3. Attempt to connect any other client to Sunshine
### Expected Behavior
A client connecting should not cause Sunshine to stop responding to any other connections.
### Additional Context
Clients that report when a Sunshine host is available on the network show Sunshine as offline after this bug. This bug affects versions of Sunshine newer than v0.23.1, and given its nature I suspect it has something to do with [commit 73d777f](https://github.com/LizardByte/Sunshine/commit/73d777fa0b2e9d6f8242bb71201ba53a9f9e973c). This failure to connect applies to every client, including ones that can't initiate the bug. At one point this bug only occurred on disgraceful disconnect, but now it always happens.
### Host Operating System
Linux
### Operating System Version
Linux Mint 22 (Ubuntu 24.04)
### Architecture
amd64/x86_64
### Package
Linux - deb
### GPU Type
AMD
### GPU Model
RX 5500 OEM
### GPU Driver/Mesa Version
Mesa 25.2.8
### Capture Method
KMS (Linux)
### Apps
```json
```
### Log output
```shell
(These are the logs after connecting Moonlight-N3DS, attempting to connect my Android Phone, and then disgracefully disconnecting the N3DS)
[2026-06-13 20:46:51.400]: Info: Sunshine version: 2026.611.125516 commit: ea88d71c29123a7f799aa77ee615351872c936e6
[2026-06-13 20:46:51.400]: Info: Package Publisher: LizardByte
[2026-06-13 20:46:51.400]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-06-13 20:46:51.400]: Info: Get support: https://app.lizardbyte.dev/support
[2026-06-13 20:46:51.400]: Info: config: 'encoder' = vaapi
[2026-06-13 20:46:51.400]: Info: config: 'file_state' = /home/enoch/Documents/Sunshine/apps_backup.json
[2026-06-13 20:46:51.400]: Info: config: 'capture' = kms
[2026-06-13 20:46:51.400]: Info: config: 'channels' = 5
[2026-06-13 20:46:51.400]: Info: config: 'adapter_name' = /dev/dri/renderD129
[2026-06-13 20:46:51.400]: Info: config: 'upnp' = enabled
[2026-06-13 20:46:51.400]: Info: config: 'file_apps' = /home/enoch/Documents/Sunshine/apps.json
[2026-06-13 20:46:51.400]: Info: config: 'credentials_file' = /home/enoch/Documents/Sunshine/sunshine_state.json
[2026-06-13 20:46:51.400]: Info: config: 'log_path' = /home/enoch/Documents/Sunshine/sunshine.log
[2026-06-13 20:46:51.401]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:46:51.401]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:46:51.402]: Error: [wayland] Environment variable WAYLAND_DISPLAY has not been defined
[2026-06-13 20:46:51.425]: Warning: Gamepad ds5 is disabled due to Permission denied
[2026-06-13 20:46:51.425]: Info: Trying encoder [vaapi]
[2026-06-13 20:46:51.425]: Info: Screencasting with KMS
[2026-06-13 20:46:51.425]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:46:51.425]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:46:51.425]: Info: Found monitor for DRM screencasting
[2026-06-13 20:46:51.425]: Info: Found connector ID [114]
[2026-06-13 20:46:51.426]: Info: Found cursor plane [81]
[2026-06-13 20:46:51.441]: Info: Creating encoder [h264_vaapi]
[2026-06-13 20:46:51.441]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:46:51.441]: Info: Color depth: 8-bit
[2026-06-13 20:46:51.441]: Info: Color range: JPEG
[2026-06-13 20:46:51.450]: Info: EGL: context priority set to HIGH
[2026-06-13 20:46:51.455]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:46:51.455]: Info: Streaming bitrate is 1000000
[2026-06-13 20:46:51.455]: Info: Using normal encoding mode
[2026-06-13 20:46:51.455]: Info: Using default rate control
[2026-06-13 20:46:51.484]: Info: Creating encoder [hevc_vaapi]
[2026-06-13 20:46:51.484]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:46:51.484]: Info: Color depth: 8-bit
[2026-06-13 20:46:51.484]: Info: Color range: JPEG
[2026-06-13 20:46:51.493]: Info: EGL: context priority set to HIGH
[2026-06-13 20:46:51.502]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:46:51.503]: Info: Streaming bitrate is 1000000
[2026-06-13 20:46:51.503]: Info: Using normal encoding mode
[2026-06-13 20:46:51.503]: Info: Using default rate control
[2026-06-13 20:46:51.537]: Info: Creating encoder [av1_vaapi]
[2026-06-13 20:46:51.537]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:46:51.537]: Info: Color depth: 8-bit
[2026-06-13 20:46:51.537]: Info: Color range: JPEG
[2026-06-13 20:46:51.546]: Info: EGL: context priority set to HIGH
[2026-06-13 20:46:51.550]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:46:51.550]: Info: Streaming bitrate is 1000000
[2026-06-13 20:46:51.550]: Error: [av1_vaapi @ 0x5c7fa076b100] No usable encoding profile found.
[2026-06-13 20:46:51.550]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2026-06-13 20:46:51.552]: Info: Screencasting with KMS
[2026-06-13 20:46:51.552]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:46:51.552]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:46:51.552]: Info: Found monitor for DRM screencasting
[2026-06-13 20:46:51.552]: Info: Found connector ID [114]
[2026-06-13 20:46:51.552]: Info: Found cursor plane [81]
[2026-06-13 20:46:51.558]: Info: Creating encoder [hevc_vaapi]
[2026-06-13 20:46:51.558]: Info: Color coding: SDR (Rec. 709)
[2026-06-13 20:46:51.558]: Info: Color depth: 10-bit
[2026-06-13 20:46:51.558]: Info: Color range: JPEG
[2026-06-13 20:46:51.567]: Info: EGL: context priority set to HIGH
[2026-06-13 20:46:51.574]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:46:51.574]: Info: Streaming bitrate is 1000000
[2026-06-13 20:46:51.574]: Info: Using normal encoding mode
[2026-06-13 20:46:51.574]: Info: Using default rate control
[2026-06-13 20:46:51.603]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-06-13 20:46:51.603]: Info:
[2026-06-13 20:46:51.603]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-06-13 20:46:51.603]: Info:
[2026-06-13 20:46:51.603]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-06-13 20:46:51.603]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-06-13 20:46:51.604]: Info: Starting system tray
[2026-06-13 20:46:51.605]: Info: Adding avahi service enochsCPU
[2026-06-13 20:46:51.607]: Info: Configuration UI available at [https://localhost:47990]
[2026-06-13 20:46:51.651]: Info: System tray created
[2026-06-13 20:46:51.651]: Info: Starting main loop
[2026-06-13 20:46:52.483]: Info: Avahi service enochsCPU successfully established.
[2026-06-13 20:46:53.703]: Info: Completed UPnP port mappings to 192.168.50.119 via http://192.168.50.1:34537/rootDesc.xml
[2026-06-13 20:47:24.870]: Info: Trying encoder [vaapi]
[2026-06-13 20:47:24.870]: Info: Screencasting with KMS
[2026-06-13 20:47:24.870]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:47:24.870]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:47:24.870]: Info: Found monitor for DRM screencasting
[2026-06-13 20:47:24.870]: Info: Found connector ID [114]
[2026-06-13 20:47:24.871]: Info: Found cursor plane [81]
[2026-06-13 20:47:24.880]: Info: Creating encoder [h264_vaapi]
[2026-06-13 20:47:24.880]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:47:24.880]: Info: Color depth: 8-bit
[2026-06-13 20:47:24.880]: Info: Color range: JPEG
[2026-06-13 20:47:24.891]: Info: EGL: context priority set to HIGH
[2026-06-13 20:47:24.895]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:47:24.896]: Info: Streaming bitrate is 1000000
[2026-06-13 20:47:24.896]: Info: Using normal encoding mode
[2026-06-13 20:47:24.896]: Info: Using default rate control
[2026-06-13 20:47:24.928]: Info: Creating encoder [hevc_vaapi]
[2026-06-13 20:47:24.928]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:47:24.928]: Info: Color depth: 8-bit
[2026-06-13 20:47:24.928]: Info: Color range: JPEG
[2026-06-13 20:47:24.939]: Info: EGL: context priority set to HIGH
[2026-06-13 20:47:24.942]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:47:24.943]: Info: Streaming bitrate is 1000000
[2026-06-13 20:47:24.943]: Info: Using normal encoding mode
[2026-06-13 20:47:24.943]: Info: Using default rate control
[2026-06-13 20:47:24.973]: Info: Creating encoder [av1_vaapi]
[2026-06-13 20:47:24.973]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:47:24.973]: Info: Color depth: 8-bit
[2026-06-13 20:47:24.973]: Info: Color range: JPEG
[2026-06-13 20:47:24.982]: Info: EGL: context priority set to HIGH
[2026-06-13 20:47:24.985]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:47:24.985]: Info: Streaming bitrate is 1000000
[2026-06-13 20:47:24.986]: Error: [av1_vaapi @ 0x7cfd101127c0] No usable encoding profile found.
[2026-06-13 20:47:24.986]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2026-06-13 20:47:24.987]: Info: Screencasting with KMS
[2026-06-13 20:47:24.987]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:47:24.988]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:47:24.988]: Info: Found monitor for DRM screencasting
[2026-06-13 20:47:24.988]: Info: Found connector ID [114]
[2026-06-13 20:47:24.988]: Info: Found cursor plane [81]
[2026-06-13 20:47:24.994]: Info: Creating encoder [hevc_vaapi]
[2026-06-13 20:47:24.994]: Info: Color coding: SDR (Rec. 709)
[2026-06-13 20:47:24.994]: Info: Color depth: 10-bit
[2026-06-13 20:47:24.994]: Info: Color range: JPEG
[2026-06-13 20:47:25.002]: Info: EGL: context priority set to HIGH
[2026-06-13 20:47:25.005]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:47:25.006]: Info: Streaming bitrate is 1000000
[2026-06-13 20:47:25.006]: Info: Using normal encoding mode
[2026-06-13 20:47:25.006]: Info: Using default rate control
[2026-06-13 20:47:25.034]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-06-13 20:47:25.034]: Info:
[2026-06-13 20:47:25.034]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-06-13 20:47:25.034]: Info:
[2026-06-13 20:47:25.034]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-06-13 20:47:25.034]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-06-13 20:47:25.034]: Info: Executing [Desktop]
[2026-06-13 20:47:25.120]: Info: New streaming session started [active sessions: 1]
[2026-06-13 20:47:25.601]: Info: Setting default sink to: [sink-sunshine-stereo]
[2026-06-13 20:47:25.601]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2026-06-13 20:47:25.623]: Info: Opus initialized: 48 kHz, 2 channels, 96 kbps (total), LOWDELAY
[2026-06-13 20:47:29.439]: Info: CLIENT CONNECTED
[2026-06-13 20:47:29.455]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:47:29.456]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:47:29.456]: Info: Screencasting with KMS
[2026-06-13 20:47:29.456]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:47:29.457]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:47:29.457]: Info: Found monitor for DRM screencasting
[2026-06-13 20:47:29.457]: Info: Found connector ID [114]
[2026-06-13 20:47:29.457]: Info: Found cursor plane [81]
[2026-06-13 20:47:29.471]: Info: Creating encoder [h264_vaapi]
[2026-06-13 20:47:29.471]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:47:29.471]: Info: Color depth: 8-bit
[2026-06-13 20:47:29.471]: Info: Color range: MPEG
[2026-06-13 20:47:29.493]: Info: EGL: context priority set to HIGH
[2026-06-13 20:47:29.499]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:47:29.500]: Info: Streaming bitrate is 3068000
[2026-06-13 20:47:29.500]: Info: Using normal encoding mode
[2026-06-13 20:47:29.500]: Info: Using default rate control
[2026-06-13 20:47:29.513]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-06-13 20:47:29.562]: Info: Gamepad 0 will be Xbox One controller (default)
[2026-06-13 20:47:51.498]: Info: CLIENT DISCONNECTED
[2026-06-13 20:47:51.504]: Info: Setting default sink to: [alsa_output.pci-0000_0f_00.6.analog-stereo]
[2026-06-13 20:49:28.849]: Info: Trying encoder [vaapi]
[2026-06-13 20:49:28.849]: Info: Screencasting with KMS
[2026-06-13 20:49:28.849]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:49:28.850]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:49:28.851]: Info: Found monitor for DRM screencasting
[2026-06-13 20:49:28.851]: Info: Found connector ID [114]
[2026-06-13 20:49:28.852]: Info: Found cursor plane [81]
[2026-06-13 20:49:28.870]: Info: Creating encoder [h264_vaapi]
[2026-06-13 20:49:28.870]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:49:28.870]: Info: Color depth: 8-bit
[2026-06-13 20:49:28.870]: Info: Color range: JPEG
[2026-06-13 20:49:28.878]: Info: EGL: context priority set to HIGH
[2026-06-13 20:49:28.882]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:49:28.882]: Info: Streaming bitrate is 1000000
[2026-06-13 20:49:28.882]: Info: Using normal encoding mode
[2026-06-13 20:49:28.882]: Info: Using default rate control
[2026-06-13 20:49:28.900]: Info: Creating encoder [hevc_vaapi]
[2026-06-13 20:49:28.900]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:49:28.900]: Info: Color depth: 8-bit
[2026-06-13 20:49:28.900]: Info: Color range: JPEG
[2026-06-13 20:49:28.909]: Info: EGL: context priority set to HIGH
[2026-06-13 20:49:28.912]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:49:28.913]: Info: Streaming bitrate is 1000000
[2026-06-13 20:49:28.913]: Info: Using normal encoding mode
[2026-06-13 20:49:28.913]: Info: Using default rate control
[2026-06-13 20:49:28.939]: Info: Creating encoder [av1_vaapi]
[2026-06-13 20:49:28.940]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:49:28.940]: Info: Color depth: 8-bit
[2026-06-13 20:49:28.940]: Info: Color range: JPEG
[2026-06-13 20:49:28.949]: Info: EGL: context priority set to HIGH
[2026-06-13 20:49:28.952]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:49:28.952]: Info: Streaming bitrate is 1000000
[2026-06-13 20:49:28.952]: Error: [av1_vaapi @ 0x7cfd104dab00] No usable encoding profile found.
[2026-06-13 20:49:28.952]: Error: Could not open codec [av1_vaapi]: Function not implemented
[2026-06-13 20:49:28.954]: Info: Screencasting with KMS
[2026-06-13 20:49:28.954]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:49:28.954]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:49:28.954]: Info: Found monitor for DRM screencasting
[2026-06-13 20:49:28.954]: Info: Found connector ID [114]
[2026-06-13 20:49:28.955]: Info: Found cursor plane [81]
[2026-06-13 20:49:28.960]: Info: Creating encoder [hevc_vaapi]
[2026-06-13 20:49:28.960]: Info: Color coding: SDR (Rec. 709)
[2026-06-13 20:49:28.960]: Info: Color depth: 10-bit
[2026-06-13 20:49:28.960]: Info: Color range: JPEG
[2026-06-13 20:49:28.968]: Info: EGL: context priority set to HIGH
[2026-06-13 20:49:28.972]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:49:28.972]: Info: Streaming bitrate is 1000000
[2026-06-13 20:49:28.972]: Info: Using normal encoding mode
[2026-06-13 20:49:28.972]: Info: Using default rate control
[2026-06-13 20:49:29.004]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-06-13 20:49:29.004]: Info:
[2026-06-13 20:49:29.004]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-06-13 20:49:29.004]: Info:
[2026-06-13 20:49:29.004]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2026-06-13 20:49:29.004]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2026-06-13 20:49:29.086]: Info: New streaming session started [active sessions: 1]
[2026-06-13 20:49:29.567]: Info: Setting default sink to: [sink-sunshine-stereo]
[2026-06-13 20:49:29.568]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2026-06-13 20:49:29.593]: Info: Opus initialized: 48 kHz, 2 channels, 96 kbps (total), LOWDELAY
[2026-06-13 20:49:33.405]: Info: CLIENT CONNECTED
[2026-06-13 20:49:33.425]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:49:33.426]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:49:33.426]: Info: Screencasting with KMS
[2026-06-13 20:49:33.426]: Info: /dev/dri/card0 -> amdgpu
[2026-06-13 20:49:33.426]: Info: /dev/dri/card1 -> amdgpu
[2026-06-13 20:49:33.427]: Info: Found monitor for DRM screencasting
[2026-06-13 20:49:33.427]: Info: Found connector ID [114]
[2026-06-13 20:49:33.427]: Info: Found cursor plane [81]
[2026-06-13 20:49:33.436]: Info: Creating encoder [h264_vaapi]
[2026-06-13 20:49:33.436]: Info: Color coding: SDR (Rec. 601)
[2026-06-13 20:49:33.436]: Info: Color depth: 8-bit
[2026-06-13 20:49:33.436]: Info: Color range: MPEG
[2026-06-13 20:49:33.447]: Info: EGL: context priority set to HIGH
[2026-06-13 20:49:33.450]: Info: vaapi vendor: Mesa Gallium driver 25.2.8-0ubuntu0.24.04.1 for AMD Radeon RX 5500 (radeonsi, navi14, LLVM 20.1.2, DRM 3.64, 6.17.0-29-generic)
[2026-06-13 20:49:33.451]: Info: Streaming bitrate is 3068000
[2026-06-13 20:49:33.451]: Info: Using normal encoding mode
[2026-06-13 20:49:33.451]: Info: Using default rate control
[2026-06-13 20:49:33.460]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-06-13 20:49:33.503]: Info: Gamepad 0 will be Xbox One controller (default)
[2026-06-13 20:56:44.373]: Info: 192.168.50.17: Ping Timeout
[2026-06-13 20:56:44.374]: Info: Setting default sink to: [alsa_output.pci-0000_0f_00.6.analog-stereo]
```
### Online logs
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the connection behavior introduced around commit 73d777f and reproduce the failure with Moonlight-Switch or Moonlight-N3DS, including graceful and disgraceful disconnects. Use the supplied logs and reproduction steps to trace why later clients cannot connect; done means affected clients no longer make Sunshine reject subsequent connections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100