roshkins / IddSampleDriver

Add virtual monitors to your windows 10 device! Works with Oculus software, obs, and any desktop sharing software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any way to enable HDR?

andyktaylor opened this issue · comments

commented

Great little driver, very useful. Is there any way to edit the file to enable HDR?

commented

Did you create a folder and drop ini file like it said in the instructons?

I also installed that other one and edited the file to allow 2160p @ 120hz

commented

I used this version

https://github.com/ge9/IddSampleDriver/releases/tag/0.0.1.2

Instructons on that page:

Use "C:\IddSampleDriver\option.txt" to set the number of monitors and resolutions (doesn't work without this file).
See option.txt .
See https://github.com/roshkins/IddSampleDriver/releases for a basic installation.

commented

Well it doesn't explicitly say create a folder, but based off those instructions I just worked it out.

So just create a folder in C: call it "IddSampleDriver"

Copy the options.txt file into it.

Apologies, ignore the ".ini" thing, I was working off memory and have been doing loads of tweaks to my system and got confused about the files needed.

commented

Bat didn't work for me, I just ran the certmgr.exe.
Can't recall exactly what steps I followed. I think I just copied the whole contents of that zip into the folder.
Then followed all the instructions on the github about adding legacy and it worked

commented

Looks alright, although no need to delete resolutions from the text file, once it's installed, you just right click on your desktop and can set the resolution based on what ones are in that file.

commented

Man not sure what to suggest then, it just kinda works for me. Congrats on the giant penis and brain by the way 👏

lmao thanks, sry I highjacked ur post gamer
now I'm off to fix newer problems :'D

The OP is asking about enabling HDR. From the second post onwards the discussion is about general installation instructions (not HDR-related). Is it possible to tidy up this thread and bring the topic back to the HDR one?

I'm also interested in HDR. Maybe using CRU?

What is CRU?

commented

What is CRU?

Custom Resolution Utility

@roshkins P.S., Can you mark the previous comments above as "off-topic" so this thread can be cleaned up?

Sry bout that fellas
@andyktaylor I'll b deleting those since a good amount were screenshots that end up taking a fair amount of page space
Feel free to do the same 👍

commented

@RudyTheNinja Instead of deleting them, you can mark your own comments as "off-topic" so it gets hidden and it stays out of the way:
image
image

But it seems you have already deleted them

Damn, didn't know u could do that
I was even thinking of waiting a bit before doing so
But then thought "not like anyone is ever around to respond this late"

Now we've got that sorted, can you mark the "how to mark a post as off-topic" posts as off-topic?

so......Any one got HDR worked?

commented

I simply changed the EDID data in Driver.cpp (in reference to the EDID data of another HDR display), but it was not successful...

Hello.

Any progress on this? It would really solve a ton of HDR related problems when streaming games.

commented

https://github.com/MicrosoftDocs/windows-driver-docs-ddi/issues/199 seems to be saying that HDR options are not available in the IDD technology, which is used in IddSampleDriver.
Using the KMDOD (kernel mode display-only miniport driver) technology instead may solve the issue but it seems much more complicated than IDD.

I've set a bounty as an incentive to develop the more complicated KMDOD driver

MicrosoftDocs/windows-driver-docs-ddi#199 seems to be saying that HDR options are not available in the IDD technology, which is used in IddSampleDriver. Using the KMDOD (kernel mode display-only miniport driver) technology instead may solve the issue but it seems much more complicated than IDD.

commented

I don't want to be that guy.. but aren't display-only drivers, well, only able to display basic stuff?
Not only the original docs suggests that they aren't even available on non-server windows, but there's a strong hint they'd force you to use WARP (also confirmed by one super expert insider). Short of repurposing a whole ass "full" driver like VirtIO, the only other alternative would sound WDDM hooking.

I'm also interested in HDR. Maybe using CRU?

I found some related information on https://superuser.com/questions/1707661/how-can-i-turn-on-the-hdr-windows-setting-on-an-unsupported-display-by-force

Matheus Antônio dos Santos said, "You are going to need software named CRU then you are going to need to edit some options at monitor you are going to test.

Go to Extension blocks and double-click on cta-861, it will open a new window. At this window you are going to edit some things at Data blocks.

Go to HDMI support and enable 30-bit deep color (10bpc) and click “Ok.” Now go in Colorimetry, if you can’t find this option go to the button Add... and select colorimetry.

Now open Colorimetry and select DCI-P3 and BT.2020 RGB, you can also enable suport for others colors standards.

And at last step here, at Add..., go and enable HDR Static Metadata, select all 5 options, at luminace you can leave empty.

Now just click “OK,” “OK” and “OK.” After all this its time to test it. In the same folder that you find CRU.exe, go to restart64.exe (here you gonna select what tipy of system you using) and double-click, this is going to force your GPU to restart the driver.

The display is going to blink and a small window is going to appear on the screen. It will show 3 options:

Restart again
Recovery mode [F8]
Exit
If you double-click restart64.exe, and your display blinked but no image appears just press F8 and all of the changes will reset to default."

Ambidex said, "flash the modified EDID to the monitor using another application made by Toasty (same person who created CRU). forums.blurbusters.com/viewtopic.php?f=7&t=9889 I would not suggest doing this on a monitor, only do that for an EDID emulator/ HDMI Dummy Adapter. Otherwise, you could potentially break your monitor, do not risk it unless you know what you're doing. It's technically possible to "unbrick" your bricked monitor if you back it up and RDP."

Microsoft recently updated its idd driver doc page and added a new upcoming 1.10 driver version. According to the release note, this new version supports HDR10 and SDR Wide Color Gamut.
https://learn.microsoft.com/en-us/windows-hardware/drivers/display/iddcx1.10-updates

I guess we will finally get HDR support for idd based driver?

commented

Yeah, though it's not exactly clear if it's going to be W11 22H2-some-update or 23H2 only.

commented

As mirh said in a post to my repository, my current Windows seems already support the new IddCx version 1.10. At least I confirmed IddCxGetVersion function returns 0x1A00 in my Windows 11 machine. (Note: to test this, you may have to change IDDCX_VERSION_MINOR from 0 to 2 or higher in the Visual Studio settings).
However, I don't have substantial knowledge on IDD technology, so I think I can't do this task for the time being.

commented

Thankfully @baloukj made an experimental version supporting HDR.
https://github.com/baloukj/IddSampleDriver/releases/tag/0.1.0
It worked on my Windows 11 22H2.
Refer to ge9#7 for details.

A few users on the Moonlight discord have also confirmed it is working for them as well, the HDR change.

It appears that the latest IDD driver also fixes a few bugs with using DXGI capture, but not entirely sure if it is Windows 11 exclusive just yet. I will keep testing it the next few weeks, but you might see a huge uptick of users once I add documentation to the monitor swap script for Moonlight users

We had been previously avoiding it and suggesting hardware solutions since there were confirmed problems and odd behaviors. This latest version seems a lot more stable for me so far, nice to see Microsoft didn't completely abandon it.

i am using fork https://github.com/itsmikethetech/Virtual-Display-Driver which allows HDR

no hdr support on windows 10

I'm working on HDR support on Win10 for more than1 month, and I find that KMDOD could be the only way to implement it.
Is there any other way to implement virtual monitor which supports HDR(actually 10-bit color depth)?

commented

Display-only-drivers can't be hardware accelerated