-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Describe the Bug
With channels > 1 in sunshine.conf, Sunshine is supposed to allow multiple devices to connect to the same stream. However, this appears to be currently broken on Windows. If one client is already in the stream, and then a second client joins, both clients show nothing but black after that. The Sunshine log is flooded with this message when this occurs:
[2023:01:17:03:52:37]: Error: Failed to acquire encoder mutex [0x887A0001]
This is a recent regression. I was able to fix the problem by reverting the following three commits in order: e2fce25, 00aa23b, and 0439d7a The reverts all apply cleanly to b2fe042, when done in the right order. The oldest of these commits is only about two weeks old, so this regression is very recent.
Operating System Version
Windows 11 21H2 (Build 22000.1455)
Architecture
64 bit
GPU Type
Nvidia
GPU Model
GeForce RTX 3090
GPU Driver/Mesa Version
GeForce Game Ready Driver 528.02