Sunshine
Sunshine copied to clipboard
Cannot connect a second time unless restart the system
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?
- [X] This issue is present in the latest pre-release
Describe the Bug
Clean install Windows and drivers Launch the VM Connect with moonlight Login windows Sunshine works perfect with hevc_qsv accelerate
Press Ctrl+Alt+Shift+Q to disconnect Reconnect Black screen and timeout "no video received from host" The log repeats "Detecting monitors..."
Restart the VM Sunshine works again
Expected Behavior
Moonlight can show the screen after disconnection and reconnection
Additional Context
I'm using Proxmox with SR-IOV to split & passthrough iGPU to the VM, with itsmikethetech's virtual display driver. #1614 Proxmox 8.2.2 with kernel 6.5.13-5-pve link
When Sunshine works the "Detecting monitors" has "Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]" and "Frame 1: IDR Keyframe (AV_FRAME_FLAG_KEY)". When it repeats the "Detecting monitors" there is no "Capture format" and "IDR Keyframe". https://github.com/LizardByte/Sunshine/blob/e1f0ca829da495197a43e47502b59f6ccffd5805/src/platform/windows/display_wgc.cpp#L237-L253 Maybe capture_status is not capture_e::ok ?
Host Operating System
Windows
Operating System Version
windows 10 22h2
Architecture
64 bit
Sunshine commit or version
v2024.610.122248
Package
Windows - installer
GPU Type
Intel
GPU Model
Intel(R) UHD Graphics 770 (i7-14700k)
GPU Driver/Mesa Version
31.0.101.4338
Capture Method (Linux Only)
No response
Config
min_log_level = 1
Apps
No response
Relevant log output
There was an error creating your issue: body is too long (maximum is 65536 characters).
https://pastebin.com/cRsi0zbk
Does increasing channels to 2 solve the problem?
Does increasing channels to 2 solve the problem?
no. I think it's a DXGI capture issue. Just start windows and restart sunshine in WebUI first. It's black screen.
Might be fixed with #3002 but not sure, the symptoms sort of match, where it causes black screens if it happens to pick the wrong GPU
I observe the same issue with ubuntu 24.04, nvidia 550.107 and v2024.1025.12635. You can't connect second time, unless restart sunshine
I have the same issue. After starting the Windows system, I can only connect normally once. When I try to connect a second time, the screen goes black, and after a while, I receive a prompt asking me to check the firewall settings. The only way to resolve this is by restarting the Windows system, after which I can connect again.
Version: v2025.122.141614 Windows 11 NVIDIA GeForce RTX 3090
It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!
not stale
It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!
This issue was closed because it has been stalled for 10 days with no activity.