itsmikethetech / Virtual-Display-Driver

Add virtual monitors to your windows 10/11 device! Works with VR, OBS, Sunshine, and/or any desktop sharing software.
1.97k stars 89 forks source link

Headless sunshine + moonlight issue #6

Open Dont-Know-Nothing opened 7 months ago

Dont-Know-Nothing commented 7 months ago

Hi!. First, thanks for this! it's working great. The issue is when I try to run headless sunshine on windows 11 the virtual monitor (Linux FHD) attaches itself to "Virtual Display Driver by MTT" and this device can't be used by sunshine to stream. Can this be changed some way? or is just how this driver works? Thanks Again!

kayti commented 7 months ago

Did You try to set Linux FHD as primary monitor and disable anything else, if You have anything? In my case in win11 Linux FHD is "connected" to my RTX 3080 (dxgi-info).

Even though i have also headless setup, somehow it was "remembering" old display i used for installing windows on it. After changing Linux FHD as primary and "Show only on X screen" it worked flawlessly.

Dont-Know-Nothing commented 7 months ago

Did You try to set Linux FHD as primary monitor and disable anything else, if You have anything? In my case in win11 Linux FHD is "connected" to my RTX 3080 (dxgi-info).

Even though i have also headless setup, somehow it was "remembering" old display i used for installing windows on it. After changing Linux FHD as primary and "Show only on X screen" it worked flawlessly.

Tried all possible combinations primary, secondary, mirrored, extended etc. Must be an issue with my strange setup Ryzen 7 5700g (APU) + RX6800 both working at the same time. Does Virtual Display Driver by MTT shows on Display settings > Graphics settings > power saver / high performance on your setup?

Uj947nXmRqV2nRaWshKtHzTvckUUpD commented 6 months ago

disable integrated gpu in bios

Dont-Know-Nothing commented 6 months ago

disable integrated gpu in bios

Can't, I'm using it to stream. Replaced virtual driver with a cheap dummy plug.

TsaiTung-Chen commented 6 months ago

disable integrated gpu in bios

Can't, I'm using it to stream. Replaced virtual driver with a cheap dummy plug.

Try this, temporarily disabling it also works for me. https://github.com/itsmikethetech/Virtual-Display-Driver/issues/9#issuecomment-1880010850