r/cloudygamer • • Oct 18 '23

Made a Windows Virtual Display Driver that supports up to 8K 240hz.

I made a Virtual Display Driver that’s based on the IddSampleDriver that supports up to 8K 240hz along with lots of common resolutions and refresh rates like 90hz for VR. https://youtu.be/byfBWDnToYk

This creates a virtual display in Windows that acts and functions just like a real one. It's useful for streaming, virtual reality applications, recording, headless servers, etc. The benefit over a physical display is the ability to adjust resolutions and refresh rates beyond the physical displays capabilities. For example, this would enable the ability to stream a game from your home PC using game streaming software at 240hz at 8K while owning a 60hz 1080p monitor (unrealistic, but explains the abilities well). For servers without displays, this enabled remote desktop and screen streaming to other systems as if there were a display installed.

Supports emulating resolutions from 640 x 480 to 7680 x 4320 (8K), and refresh rates including 60hz, 75hz, 90hz, 120hz, 144hz, and 240hz.

154 Upvotes

122 comments sorted by

18

u/MikeTheTech Oct 18 '23

Working on an installer soon, and hopefully on the future, KMDOD integration for HDR support. https://github.com/itsmikethetech/Virtual-Display-Driver

6

u/finnjaeger1337 Oct 19 '23

awesome cant wait for hdr thats the big one for me

2

u/MikeTheTech Jun 30 '24

Forgot to mention it here, but HDR is working now as well. :)

5

u/Donkerz85 Oct 19 '23

Fantastic, I'll definitely use this when HDR is supported.

4

u/Kaytioron Oct 19 '23

I was about to ask if HDR is supported, then found Your comment:D Great work!

2

u/khampol Oct 12 '24

This totally save my new server AI life. Thanks to you Mike! 👍❤️

1

u/efebeyy07 Nov 04 '24

it isnt working now in me??

1

u/Outrageous-Wing-3289 Dec 16 '24

This won't work in some cases; which spec and VPS provider are you using?

1

u/AmusedFlamingo47 Nov 23 '23

You fuckin legend I appreciate you

1

u/amarinel Dec 07 '23

u/MikeTheTech this worked incredibly well, thank you! Had a lot of trouble figuring out why Moonlight had connection issues. I didn't realize the monitor needed to be left on. I had been turning it off not considering the implications.

3

u/Motorak Oct 19 '23

How to add any custom res and refresh rate? I would like to use it for my phone streaming. So its like 120hz 20:9 aspect ratio (2400x1080)

1

u/MikeTheTech Oct 20 '23

Just added it to the release. :)

2

u/ewrt101_nz Oct 18 '23

I have wanted something like this for years, but can I make the virtual display auto "turn and off" with steam vr starting and stopping?

1

u/MikeTheTech Oct 18 '23

It supports enabling and disabling in display settings like a normal monitor, but not sure how to trigger that with SteamVR. I’d have to look into it more.

2

u/Deadpool2715 Oct 19 '23

Scheduled tasks within windows would seem like the most direct

2

u/[deleted] Oct 19 '23

Looking forward to testing this on my iPad 2732x2048 120hz

5

u/MikeTheTech Oct 19 '23

Added 2732 x 2048 support.

2

u/Kaytioron Oct 19 '23

Could You also add whole set of 21:9 resolutions? Namely 3440x1440 and 2560x1080 with all those refresh rates plus 165 Hz (My AW3423DWF is natively 165Hz ;) )

2

u/[deleted] Oct 19 '23

Thanks look forward to trying it later my dummy plug doesn’t support it properly

2

u/MikeTheTech Oct 19 '23

Not sure if I’ve added that one yet! I’ll add it later tonight to be sure. 👍

2

u/Contract_Emergency Aug 25 '24

I know this is an older thread, but what is the best aspect ration to use when using an iPad Pro 12.9 through sunshine? When I use 2732x2048 is still has a lot of empty space around the edges.

1

u/MikeTheTech Aug 25 '24

What model and year is it? You’ll want to match the screen res. Could also be using it in the wrong order. 2048 x 2732px For example. Or setting it in sunshine but not moonlight.

1

u/RegularFun6961 Jan 17 '25

Is there a way to make a virtual monitor so that I can stream to my 57" or 49" monitor?

The resolution is 7680 x 2160 - the GPU is a Nvidia 4090

I tried to change the resolution in Windows but it looks like its maxes out at 3840x2160

1

u/MikeTheTech Jan 18 '25

Yup. Just add the resolution to the xml.

1

u/Contract_Emergency Aug 25 '24 edited Aug 25 '24

It is a iPad Pro 12.9 6th Gen (2022). I was mostly messing with the display settings on the actual pc itself. I didn’t think about sunrise and moonlight so I will try those next.

Edit: That solved it! Thanks!

2

u/[deleted] Oct 18 '23

lol the only changes you made was updating a few config files and editing the readme, this could easily be merged upstream https://github.com/ge9/IddSampleDriver/compare/master...itsmikethetech:Virtual-Display-Driver:master

7

u/MikeTheTech Oct 18 '23 edited Oct 18 '23

That’s fair! I hadn’t uploaded the installer at the time of posting. It makes the process a lot easier. But isn't this what forks on open source software are for? Trying out your own implementations and adding new features? That way it still credits the original creator and remains open.

Also, I just added the early installer to the source. Not finished yet, but will better show what I’m working on. Also planning to add KMDOD drivers to support HDR and have designed an EDID for that purpose. Just didn't feel like it made sense to share yet until it was fully functional. Added it though!

5

u/lashram32 Oct 18 '23 edited Nov 02 '24

fact offbeat governor society late plate crown violet jeans noxious

This post was mass deleted and anonymized with Redact

7

u/MikeTheTech Oct 18 '23

I found that there seems to be a KMDOD driver that works the same way and shows potential for HDR and 10-bit+ support. I'm doing early testing with it and have made a custom EDID that supports HDR to attempt the process. No promises, but it's on the books to at least attempt it. :)

4

u/lashram32 Oct 19 '23 edited Nov 02 '24

scarce forgetful innate dazzling salt late cable fine wise gaze

This post was mass deleted and anonymized with Redact

1

u/MikeTheTech Oct 20 '23

Sorry to hear about your health issues, but best of luck on your new career path! Feel free to reach out. I've got a discord that I check more often but I jump on reddit pretty regularly. discord.mikethetech.com

1

u/MikeTheTech Jun 30 '24

Forgot to post here, but HDR works now. :)

5

u/[deleted] Oct 19 '23

No one else did it so props the OP

6

u/MikeTheTech Oct 19 '23

Much Appreciated!

1

u/o94kiwi Jun 29 '24

Is it easy to add other refresh rates myself? Or would you need to do it? I want to use 180hz for streaming to Steam deck OLED 90hz

1

u/MikeTheTech Jun 29 '24

Yup. Just edit options.txt and reinstall.

1

u/o94kiwi Jun 29 '24

OK thanks, reading through the comments I wasn't sure if that was only possible on an older version, I wanted to use the HDR version.

1

u/MikeTheTech Jun 29 '24

Ah nah. It works for both. :)

1

u/Oni87_rdt Sep 27 '24

can you add 1200x540 resolution from 60 / 90 / 120 hz? for streaming via the internet it is half the display of most smartphones and would be very convenient. Thank you

1

u/MikeTheTech Sep 27 '24

Sure. It can also be added to options.txt and it will work right away. 👍

1

u/Firm_Prize6105 Oct 04 '24

I tried adding my custom resolution (2992x1334 @ 120hz) via the options txt but it is not showing when I got to change the virtual monitor's resolution. What did I do wrong?

1

u/MikeTheTech Oct 04 '24

Did you restart or reinstall the driver after editing?

1

u/Firm_Prize6105 Oct 04 '24

I did not. That fixed it, thank you! :D

1

u/MikeTheTech Oct 04 '24

Nice! Great to hear. :)

1

u/Single_House_1293 Oct 18 '24

Hi. Does the software let me output at a custom refresh rate? I have a 165 Hz panel and would like to be able to set it to 82.5 Hz. 

1

u/MikeTheTech Oct 18 '24

Yup! The latest beta supports it.

1

u/Single_House_1293 Oct 18 '24

Fantastic! Thanks. 

1

u/Single_House_1293 Oct 19 '24 edited Oct 19 '24

Ah fuck. I installed the software and setup the virtual display. After restarting, I now am only seeing a black screen on my laptop display and any display I connect to with hdmi. I can see my mouse, and can move it off screen, so I presume it defaulted to extended monitor mode and I can't see the main monitor (presumably that is the virtual display). Any ideas?

EDIT: I managed to boot into safe mode and disable the virtual display adapter. 

Any idea what went wrong there and how it can be avoided in the future? 

Also, before the incident, I managed to set the virtual display to 4k resolution, but the only refresh rate I could select in the windows display settings was 60. Do I need to setup a custom resolution in MVCP to get that to some other value? 

One more thing is that when streaming after setting to 4k, the frame rate on the stream tanked down to around 15fps despite my host machine running just fine. Any idea why? 

1

u/Custerly Oct 19 '24

Hi. I've installed the latest version, but I don't know how to set custom refresh rates. In advanced display, I'm only seeing an option for 60 hz.

1

u/MikeTheTech Oct 20 '24

You need to add them to the config file before installing.

1

u/Custerly Oct 20 '24

Thank you very much for the tip.

1

u/MikeTheTech Oct 20 '24

Sure thing. It will be in options.txt in the stable release and the xml file in the beta.

1

u/ptb_ Mar 18 '25

Quick FYI: Sophos recognizes this as a threat.

1

u/MikeTheTech Mar 18 '25

Interesting. What version of windows?

1

u/ptb_ Mar 20 '25

Sorry, my bad. Had to update Sophos and now it seems to work. Thanks for this!

Quick question: I have it installed on a Windows Server VM. Still I get two displays, one 800*600 and the VDD display. Is it possible to override the first display resolution with the VDD display resolution?

1

u/rainerzufal Oct 21 '23

Somehow i can only select 3 resolutions for the virtual display. 8640x3600, 1920x1080 and 640x480. Am i missing something?

2

u/MikeTheTech Oct 21 '23

You could try the older release, and manually add the resolution and refresh rate you’d like you use to the options.txt file. That should fix it up for you.

The most recent update is attempting to enable refresh rates and resolutions in a new way that seems to be causing issues on some installs. (Seems to work on my Windows 11 install, but not on another users Windows 11). Will update with testing.

1

u/rainerzufal Oct 21 '23

Didnt expect to get such a fast answer. With the older release (23.10.20.2) it works fine, thank you!

1

u/MikeTheTech Oct 21 '23

Great to hear!

1

u/Imagination_Void Nov 25 '24

I have just one issue with it. My Display Port in my Intel iGPu only sends Limited color range 16-235 instead of full, so Blacks are crushed when connecting to host and set TV to Limited. Is there a way to Set the color range of the virtual Driver/Display?? Thank you!!

1

u/Imagination_Void Nov 25 '24

Its w bandwith limitation with 4k hdr RGB 120hz...thats why only Limited works..Intel also removed the settings for it on Display Port connected montors :/

1

u/MikeTheTech Nov 26 '24

The beta allows for hdr settings that might help. Also lets you choose a gpu.

1

u/Imagination_Void Nov 26 '24

Hm...installed, but apart from some 10bit sdr settings nothing Changed. In GeForce settings Monitor settings are Not displayed when in use. :/

1

u/MikeTheTech Nov 26 '24

You use windows display settings for the vdd. Not nvidia.

1

u/Imagination_Void Nov 26 '24

Yes, but that has no Option for that.

What is the GPU friendly Name in the xml? What to put and what will it do?

Thanks for answering so quickly

1

u/MikeTheTech Nov 26 '24

It will switch the default gpu the screen uses. So if it’s attaching to the integrated card, you can specify the nvidia dedicated card. Or the opposite.

1

u/Imagination_Void Nov 26 '24

But would still Not using Nvidia Control to Change settings? I dont have an integrated card

1

u/Imagination_Void Nov 26 '24

I would highly appreciate If a color range setting to the xml could be added. Limited, full.

Thanks!

2

u/sunrainsky Oct 19 '23

This would be useful. I am currently using a physical dongle for the higher refresh rate. I had a virtual display driver but that one was locked to 60hz

2

u/czm97176 Oct 19 '23

silly question : is all the virtual monitor must set as a extend monitor if my primary moniter is not 16:9 ? i am using ultra wide monitor , i found very annoying to use as extend option

2

u/darksupernova1 Oct 20 '23

Very cool! I only have 60hz on the dongle I use at the moment, will be nice to stream a little faster!

My use case: streaming non vr games using virtual desktop to a vr headset to play on a giant screen from anywhere.

2

u/JumpCritical9460 Oct 24 '23

How do I “connect” my graphics card to this. I cannot get Moonlight to stream it because moonlight doesn’t think it is connected to the Nvidia graphics driver.

2

u/nitroedge Nov 08 '23

In Sunshine on your PC you can select the Display Monitor to output to.

1

u/LiveTradingChannel Mar 23 '24

Life saver, saw someone do some black magic to create a virtual display once but wouldn't explain further, this stuff is not well documented on the internet either.
https://www.techpowerup.com/forums/threads/flashing-quadro-bios-on-rtx-to-access-quadro-exclusive-feature-possible.315789/post-5143029

1

u/thegamingdovahbat Apr 04 '24

Hey I know it’s been a while but I’ve got this working for the most part. However, I’m unable to get 120 Hz listed for 3440x1440 resolution even though I’ve tried adding it to the options.txt file.

Any idea what I could do?

1

u/hzwnrw Apr 30 '24

hi, is it possible to add touch screen option?

1

u/dutch03 Jun 05 '24

worked for me with tesla p4 datacenter card and parsec in a window 11 proxmox vm!!!

1

u/InternetAteMySteak Aug 24 '24 edited Aug 24 '24

I am trying this setup (on win10 pro in a qemu/kvm vm on Linux Mint 22/Ubuntu 24.04) with a Nvidia Telsa P4 in passthrough to the vm, and nothing is happening. Ie. I tried the stable and beta versions of Mike's VDD, I have version 560.94 of the Nvidia datacenter driver.

I go into display settings, and there's nothing new showing up in there.

Did you have to add a gpu friendly name in the vdd_settings.xml file, or use the previous adapter.txt file to point to your P4? What name did you use to reference it if that's the case?

Is your P4 showing up in task manager? (maybe that's required for the card to be addressable by IDD? My P4 driver breaks whenI try changing the registry to have the card show up in task manager... but it used to work)

1

u/InternetAteMySteak Aug 24 '24

I think the P4 not showing up in task manager is the issue.

I tried the registry edits, but AdapterType 1 results in the P4 driver not loading.

I have tried reinstalling multiple driver versions (grid and datacenter), and reinstalling drivers for the 3 display adapters in different orders (nvidia tesla p4, red hdat qxl controller, virtual display driver by mtt), though the qxl can't be removed.

Ideas?

1

u/dutch03 Aug 24 '24

make sure all other drivers are uninstalled including parsec virtual display driver and follow craft computing’s guide on youtube for this and just replace what he uses as the display driver for this solution.

1

u/Hanni_jo Jun 06 '24

SUPPORTS 640x480 and BLACK SCREEN! Computer won’t boot.

1

u/EddieEdit Jun 11 '24

I'm running into an issue. Whenever I restart my PC or when it goes to sleep, the PC automatically switches to the Virtual Monitor. Anyway to fix this?

1

u/ascotabroad Jul 08 '24

Tried to install the HDR version on Windows 11, but no matter what I do the device installation completes with a failed driver install: "This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)"

screenshot: https://imgur.com/DAKqHyc

I even tried ensuring Device Manager was running as admin, but nothing I try fixes it. I tried a fresh copy from the .zip and didn't even edit option.txt, but still no dice.

Anyone know how to fix this? I confirm I'm on latest Windows 11. I've found a couple of other people online sharing this same problem but none of them replied with a solution, so maybe I'm just out of luck?

1

u/Stock_Conference7512 Sep 13 '24

did u ever find the solution? im having the same issue

1

u/Useful-Raspberry-802 Aug 28 '24

So I know that it is a long time ago since you posted this and it's great but can I let it choose to use the Nvidia adapter instead of the integrated graphics card on my laptop?

1

u/FeatureComfortable23 Sep 05 '24

Tried to install a virtual display on ROG Ally, but the device installation completes, the screen turning black.

1

u/[deleted] Feb 21 '25

I know this is old but does it work with Steam Remote Play?

1

u/tomxinho Feb 26 '25 edited Feb 26 '25

hello, I know this is an old thread, but I would like to know, I want to use in my pc a resolution of 2880 x 1440 and play fh5, but when I open the game, I find the problem that there are black bars both above and below, also on the sides and I don't know how to remove them (something that with 4k resolution and 2560 x 1440) does not happen.

1

u/Yellow_Robes Feb 28 '25

Do you mean when you record on the virtual display then black bars appear?

1

u/tomxinho Feb 28 '25

no, the problem happens when I open a game, in this case almost fh5, black bars appear on the sides, top and bottom, but the resolution is fine on the desktop

1

u/Automatater Feb 26 '25

This is very cool! Using it at 2560x1440 with Radmin remote access (which seems to support only up to 2048x1152) to headless embedded PCs. Thank you!!

1

u/Androxylo May 01 '25

Hi, I am more interested in the virtual audio driver https://github.com/VirtualDrivers/Virtual-Audio-Driver/tree/main , but no build files, no downloadable packages.... how to use it?

1

u/DrDochard Jan 05 '26

Works great. I have been using Indirect Display Driver Sample (IDDSampler) virtual driver for a couple of years. It got better with the new installer and became flawless with the recently updated driver. Thank you for your work. There is no mouse trail anymore.

1

u/Knobi-Wan_Penobi Oct 21 '23

Did anyone test this driver while virtual desktop was installed?

I ask because on youtube one guy wrote, that his system crashed after installing this driver because he had another virtual display driver installed. He than had to boot in Safemode via usb boot device and deinstall the driver.

So...has anyone any experiences?

1

u/[deleted] Oct 21 '23

I have been using it with parsec virtual driver installed and it worked fine for me. Only issue is when playing MW2 the game will run at 120fps but the stream is limited to around 75fps
Playing dirt rally at 120fps and the stream is locked at 120fps

This is the same for 2560x1600 and 2732x2048

1

u/Knobi-Wan_Penobi Oct 21 '23 edited Oct 21 '23

THX!

Worked for me too.

But it seems as if we have to edit the options.txt by our own. After installing I have got a lot of resolutions for the new screen but there are only in the 1080p section more than 60Hz.

In the options.txt only the 1920 x 1080 resolution is listed with more than only 60Hz.

Neither in the youtube video nor in the github installation description it is mentioned, that there is more to do than just installing.

EDIT:

Yes! After editing and put "3840, 2160, 120" in the .txt file I can choose 120HZ in this resolution.

1

u/avksom Oct 22 '23

Will this eliminate the need for an hdmi dummy when remote streaming? I think amyuni did something similar, although crippled by 30fps.

2

u/[deleted] Oct 22 '23

Yes, it works well for me tbh

1

u/carl2187 Nov 08 '23

Thank you! This is great, just when I'm reading reviews about physical dummy hdmi plugs frying gpu's, I find your project! Thank you so much for releasing your work!

1

u/corban123 Nov 16 '23

Has there been any work recently on KMDOD integration? Desperately looking for an option for HDR, but noticed that your last work with KMDOD was about a month ago.

1

u/FireCrow1013 Nov 23 '23

Oh, is this like the software equivalent of using one of those dummy HDMI plugs? That's what I do now, but this sounds much nicer.

1

u/hectorvs Nov 29 '23

now that the Steam Deck oled is out and it's sporting the 90hz display, is the process to get an 800p 90hz virtual display to add the option to the options.txt file?

wondering if it's better to run a game at 90fps and virtual display at 90hz to match SD 90hz display or run the game at 120fps, virtual display at 60hz and SD at 60hz as well...

1

u/No_Gold_Bars Dec 20 '23

Mike, I'm struggling figuring out a solution to get 120hz. It is only showing 60hz. Any help would be greatly appreciated. Thanks for what you do!

1

u/gifred Jan 02 '24

Did you found a way?

1

u/bxfinest Dec 30 '23

Has anyone else had issues with specific games and apps not booting on the virtual monitor? For some reason, I can't get Assassin's Creed Mirage to work on it.

2

u/dev86 Jul 17 '24

I know this is six months late, but yours was the only report I could find of the same issue. AC Mirage crashes the instant the 'splash' screen disappears when using the virtual display driver. I actually had a weird issue with AC Valhalla as well where it would render black bars on the bottom and top of the screen for 16:9 resolutions in full screen mode. In borderless, it would appear in a tiny 4:3 area in the top left of my screen.

I ended up reverting back to using the dummy HDMI plug I had on the host (not HDR compatible) to play both games. I've ordered a HDR-compatible HDMI plug as a longer term solution, and will probably drop the VDD back to a secondary option. I'd been toying with the idea already given that VDD is incompatible with some of the newer Nvidia overlay/filter tweaks.

1

u/PopOutKev Dec 18 '24 edited Dec 18 '24

Hey, did AC: Mirage actually work when you switched to the dummy HDMI, aswell as the black bar issue on AC: Valhalla?

AC: Mirage does not launch when using virtual display driver for me and I noticed the black bar issue on AC: Odyssey aswell

1

u/dev86 Dec 18 '24

Yes.

1

u/Delicious-Reference1 Mar 02 '25

I'm also late. I can't find this issue reported anywhere else.

Apollo, a fork of Sunshine was the solution for me. It uses SudoVDA instead.

https://github.com/ClassicOldSong/Apollo

1

u/[deleted] Jan 04 '24

Sorry to be the guy that can't get it working. I'm 100% sure it's my low IQ.. Installed on windows 11, and that went fine. Signed into parsec on my client laptop (at work) and when selecting the idd display all I got was a black screen. My laptop at home is the host and has a broken screen, so I already have a second monitor I use. Essentially this is the 3rd screen. I want to be able to work at the cafe in private, without family memebrs seeing what I'm doing (no not porn lol) What did I do wrong? Is it something to do with extend vs duplicate? I had to go home and reboot in safe and disable the idd adapter as it was set as the main display and was just blacked out.

1

u/[deleted] Jan 09 '24

Got this error: This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)
The ALPC message requested is no longer available.

Any help?

1

u/talking_mudcrab Jan 15 '24

Is it possible to add the virtual display to the Nvidia Control Panel? The reason for this would be to enable DLDSR (the AI DSR thing).

1

u/rgferreira Feb 14 '24 edited Feb 14 '24

Great work! I just managed to run this on my Apple Vision Pro. The Moonlight client says it's HDR, my Windows 23H2 also says this virtual monitor is HDR...but for any reason my Windows is not "certifying" it and it's not rendering as such. Whan can I do?

1

u/Sander-140 Feb 17 '24

I would like to use it on my OnePlus 12 phone that has a display of 3168x1440. Could that be added as well?

And are additional resolutions just something that can be added to a file or are there any special requirements for aspect ratios?

0

u/[deleted] May 12 '24

[deleted]

1

u/MikeTheTech May 12 '24

Yup! Just add to the options.txt and reinstall. :)

1

u/[deleted] Jun 25 '24

[removed] — view removed comment

1

u/ChampionshipVivid133 Aug 23 '24

In the same boat, did it work for you?