-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moonlight throwing error: "No video received from Host" when using Virtual Display #9
Comments
Do you have something like iGPU Multi-Monitor enabled in your bios? I am having this same issue with that enabled on my ASUS motherboard, but if I disable it I have no issues. |
Apologies if this is the wrong place to ask this question. I'm happy to post it elsewhere if needed. @yoshi43 Unfortunately I do not see a setting like this in the BIOS. I may just be missing the setting however.
I think I'm seeing a couple of errors in the Sunshine logs. If i'm reading this correctly, Sunshine is trying to use my integrated graphics to run this virtual display. If I force it to run using the 4090 in Sunshine setting, I get a different error. Is a Dummy Plug required to make this work with a 4090? When initiating Sunshine, I immediately see the error below related to the virtual display:
When connecting and forcing the virtual display in Sunshine settings, I can see a black screen, hear Playnite Audio, and can register controller inputs from the steam deck for a few seconds. I even get a mouse cursor on the screen for a moment just before it disconnects. After the disconnect, I found this in the logs:
|
i experience similar issue on my hyper-v GPU-P setup running this driver. attempting to connect multiple times in a row eventually allows moonlight to connect to the stream coming from sunshine. this happened for all the idd drivers i tested (usbmmidd, iddriver original, parsec). it looks more like a bug with sunshine when there is no real display. my guess - it tries other adapter first and eventually after some retries it flags it as unusable. then, the display name is passed to another adapter (might be the duplicate warning) which allows eventually to connect.. quite confusing i know and i might be wrong what i found helping, at some extent is to:
! However I still get firewall warnings on first connection attempts, but at least no more black screens of death. I am usually able to connect after 3-4 attempts which is a bit of an annoyance but eventually connects and stays connected (stable/ no crash unlike with parsec). Result for me is pretty good. On my RTX 2060 OC, i am able to play cyperpunk in VM almost maxed out at around 40-60 fps with some drops in dogtown (though no raytracing, no DLSS/DLAA but xess or fsr instead) on full hd 120 hz with HDR. stream is done on 2K resolution with vsync on 60 mbps H.265 via moonlight through NAT (internal hyper-v switch) Running win 11 23h2 patched with all updates and latest moonlight/sunshine, idd driver and nvidia driver |
Disabling the core graphics will do the trick |
This works for me. In my case, the integrated graphic card does not need to be always disabled. It still works if I re-enable it. However, I will have to disable and re-enable it everytime if I reboot my PC. |
This worked for me! Thanks!
Device Manager -> Display Adapters -> Disable AMD Radeon(TM) Graphics -> Restart |
I have the same problem. But i have a amd 5600x so no integrated graphics to disable. Any suggestions. Thanks. Im also using the monitor swap automation. Without it and choosing the \.\display5 directly on sushine settings the problem was even worse. Sunshine didnt even find a monitor |
I've fixed this issue on sunshine, commenting here to keep track of which issues to notify once the PR gets approved. |
I am seeing this happen as well on a CPU with no integrated graphics (AMD Ryzen 5 5600X) and no toggle in BIOS to disable it. @Nonary, do you believe that your fix would correct this as well? Can I help test that somehow? |
I also encounters the same problem. |
Sorry forgot to tag this after submitting the PR. Right now it still under code review but have had already multiple confirmed reports from users it fixes the issue for them You can download the version of sunshine that contain the fix from this link Artifact download URL: https://github.com/LizardByte/Sunshine/actions/runs/10527479630/artifacts/1847524623 |
Link to PR: LizardByte/Sunshine#3002 Adding this so it shows it as referenced on both sides |
Thanks @Nonary , I will try it as soon as possible :) |
@Nonary I tried your version of Sunshine, it now correctly opens the desktop on the virtual monitor. Unfortunately, the resolutions seems extremely low (maybe 640x480)... But in Windows, I put the resolution to 4k 120Hz, and also in Moonlight settings. If I remove the "do" and undo" commands : it displays at the correct resolution (but opens Steam on first monitor...) |
Make sure you use https://github.com/Nonary/MonitorSwapAutomation to swap monitors, it works much better than the sunshine one currently (which will eventually be updated to do the same thing as the script linked above is doing) |
Thanks a lot for your advice ! It worked perfectly with MonitorSwapAutomation ! :-) |
Link to Pre-release https://github.com/LizardByte/Sunshine/releases/tag/v2024.1012.170838 that includes @Nonary 's fix. It finally works for me! |
I am trying to run Moonlight on a Steam Deck using this virtual display, but keep hitting an error. This error only occurs for the virtual display. If I adjust to using one of my "real" monitors, it works fine.
Issue: When attempting to launch Desktop, Steam Big Picture, or Playnite through Moonlight, I get the following:
I believe this may be an issue with my Sunshine configuration settings, but I'm unsure what exactly is wrong. If I switch the display to one of my other 3 "real" displays, Moonlight connects and works just fine. This only appears to happen on the virtual display.
The text was updated successfully, but these errors were encountered: