MolotovCherry / virtual-display-rs

A Windows virtual display driver to add multiple virtual monitors to your PC! For Win10+. Works with VR, obs, streaming software, etc
MIT License
564 stars 46 forks source link

Add HDR, WCG, and SDR options #31

Open MolotovCherry opened 11 months ago

MolotovCherry commented 11 months ago

HDR support is coming in idd 1.10^1, which enables us to support HDR and WCG. This is only possible in Windows 11 22H2 Sept Update + however, since it is a brand new feature^2. This should enable more options in HDR applications for our monitor. We should be able to still support Windows 10 2004+ by using runtime checks for this, but compiling against the newest version, though the functionality will only be available in the newest version of windows.

I think there should be a toggle per monitor for this feature in the app, one for each mode.

To figure out the version for runtime checks, check against IddCxGetVersion which returns 0x1A00 (IDDCX_VERSION_SV3) for the newest update.

mdrejhon commented 10 months ago

Also support HDR wrapper around SDR, and the ability for plug-in shaders (#35), that can strategically do custom boost-curves of boost SDR brightness to a HDR framebuffer -- providing more ways to boost SDR quality, or to solve issues (e.g. BFI darkness)

This is great for brightening global software-based BFI (see #35 and #19).

Night1099 commented 6 months ago

Mind if I bump this feature? looking for a alternative to vdd and parsecs implementation to be able use rtx HDR from browser streaming to tv. This project looks promising Thanks!

MolotovCherry commented 5 months ago

This is not hard to implement. But windows headers are currently in preview, so I can not stably implement this until Microsoft releases updates to their sdk.

guaycuru commented 3 months ago

Does this mean that HDR will never be supported on Windows 10?

MolotovCherry commented 3 months ago

Does this mean that HDR will never be supported on Windows 10?

That is correct. Microsoft made the HDR part Windows 11 only.

guaycuru commented 3 months ago

Oh that's a bummer, but thank you!