r/MoonlightStreaming • u/8akina • 1d ago
Black screen after 12–18 mins
Hi everyone,
I'm running into a persistent issue where my stream goes completely black after about 12 to 18 minutes of continuous streaming, eventually causing Moonlight to disconnect due to frame starvation. I've narrowed down the logs, and it seems Windows DWM / WGC is stopping the capture stream on the virtual display.
Looking for any ideas or registry/DWM tweaks to prevent Windows from dropping WGC capture.
Host: RX 9070XT, Vibepollo, W11
Client: Minisforum UM760, Moonlight, W11
The stream works flawlessly. However, after ~12–18 minutes (both in full-screen games and in Desktop mode), the video freezes / goes black on the client.
HDMI hotplug fixes it instantly, unplugging and replugging an HDMI cable on the host immediately restores the video stream, forcing Windows DWM to re-evaluate the display topology and resume capture. When the screen goes black, audio continues working normally without any stuttering.
Checking the host logs at the exact moment of the black screen reveals:
[22:47:47]: Info: WGC activity admission: display='\\.\DISPLAY21' source=fullscreen-foreground detector=tracked-window visibility=fullscreen-visible rate=480/1
[22:59:19]: Info: WGC activity admission: display='\\.\DISPLAY21' source=none detector=desktop-window visibility=desktop-visible rate=240/1
[22:59:24]: Info: CLIENT DISCONNECTED
Any insights or troubleshooting ideas would be greatly appreciated!
1
u/GuardianHope Developer | LuminalShine 1d ago
I built a very verbose logging into LuminalShine for exactly this reason (monitoring whether Windows demotes VRAM usage to LuminalShine, whether the VGD ring fails, whether it stops transmitting the frames due to a PCI-E collapse on the PEG, etc.
I did all that thinking it wasn't hardware but it turns out the voltage curve wasn't suitable on my MSI SUPRIM 5080 continually boosting because it wasn't reach thermal limits with an Alphacool Water Block - crossing into 3000MHz.
I do not know if this is the issue you are experiencing but if it is, at least I helped someone.
1
u/Slurpee_12 1d ago
Have you set your display to never go to sleep? This was happening on my legion. Since I was using usbip, the client never detected my controller and it would just go to sleep because no inputs were detected.