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

No Option to Duplicate Display for Virtual Display #53

Open Rumik opened 4 months ago

Rumik commented 4 months ago

Hi there,

I have successfully installed the virtual display onto Windows 10, but I only have the option to Extend my desktop onto it; there is no option to Duplicate a real display onto the virtual one.

Any ideas what's going wrong?

Thanks

itsmikethetech commented 3 months ago

Is there a major difference between the displays? Either the refresh rate set, HDR, or aspect ratio?

Rumik commented 3 months ago

No major difference, no. They are both the same make (LG), and very similar models of 27 inch 4K display, though one of them has built-in speakers.

27UL850-W and 27UL650-W

Thanks

bud3699 commented 3 months ago

Can you attach a screenshot of the option box please where you set it to duplicate

Rumik commented 3 months ago
image

image

zjoasan commented 3 months ago

What is your goal,? I'm guessing 1 and 2 are physical screens, so what do yo want to do with the virtual screen?? I have been playing around with some scripting, and can setup a clone over all three or change which order left to right or even stack em horizontally if I understood the command descriptions. Via script we are a bit less limited, but also a bit harder to get to grips with.

Rumik commented 2 months ago

Hi there,

I'm using the virtual screen to improve the experience of game streaming via Moonlight/Sunshine, which require a display is turned on it order to stream that display. So what I want to do is duplicate the primary display onto a virtual one, and set Sunshine to stream the virtual display so I don't need to keep my displays on all the time.

Thanks

Poilaucul commented 2 months ago

Hi there,

I'm using the virtual screen to improve the experience of game streaming via Moonlight/Sunshine, which require a display is turned on it order to stream that display. So what I want to do is duplicate the primary display onto a virtual one, and set Sunshine to stream the virtual display so I don't need to keep my displays on all the time.

Thanks

Same here, did you figure it out?

Rumik commented 2 months ago

Same here, did you figure it out?

Nope, still waiting on a response unfortunately.

pn-minh commented 2 months ago

Hi there,

I'm using the virtual screen to improve the experience of game streaming via Moonlight/Sunshine, which require a display is turned on it order to stream that display. So what I want to do is duplicate the primary display onto a virtual one, and set Sunshine to stream the virtual display so I don't need to keep my displays on all the time.

Thanks

Hi, got some bad news for you guys. I had the same idea about streaming a duplicated virtual display while the actual display is turned off. Unfortunately, doing so prevented me from playing games on fullscreen mode (tested with The Witcher 3 and Cyberpunk 2077). I switched to window borderless (haven't tested window-only but really who plays on window mode?) and had the stream running smoothly for about 5-10 minutes, then eventually the video would froze, but the audio kept playing. I would have to Ctrl+Alt+Shift+Q back to the Moonlight homepage, and reconnecting would result in "failed to start video capturing" - or something like that. I ran tools/dxgi-info.exe provided by Sunshine, it seems that duplicating the displays registers as only one display output. Also, duplicating will make Windows fail to recognize HDR capabilities, everything goes back to SDR. image

zjoasan commented 2 months ago

Have you guys tried to manage brightness and other monitor settings with DDC/CI and WMI. Should work and those are limited to a display, and I do believe it wont get cloned, and it last i check there was limit support for that in the driver.

Since if you turn of the physical monitor, what should the driver clone, since windows stop sending data to that displayh if it's powered down. Same goes for my "android as extra screen" if i mirror em and power down the main monitor, but if they are individual monitors there is no problem.

I still don't understand how you can think it's possible to clone something that doesn't exist according to the OS?