Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
1st July 2017, 21:28 | #44241 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
HDR metadata passthrough
In the last couple of days I've talked to Microsoft and NVidia about HDR metadata passthrough. And the current situation is as follows: 1) In Windows 10 Creator's Update there's a new option in the OS display settings dialog named "HDR and advanced color". If you turn this option off, your TV will always be running in SDR mode. If you turn this option on, your TV will always be running in HDR mode. Windows does currently *not* support dynamically switching HDR mode on/off while you're playing an HDR movie (or playing an HDR game)! Microsoft may consider dynamic switching in the future, but don't hold your breath, I'm not too optimistic that they'll add that any time soon (if ever). But let's wait and see. 2) If you switch the "HDR and Advanced Color" option off, your TV will always receive SDR from the PC. If you play an HDR movie in this situation with the madVR option "passthrough HDR content to the display" activated, the OS/GPU will perform a low quality HDR -> SDR conversion behind madVR's back. Consequently, HDR content will look "ok", but the quality is not really good. SDR content will look "perfect", though. 3) If you switch the "HDR and Advanced Color" option on, your TV will always receive HDR from the PC. If you tell madVR to "passthrough HDR content to the display" in this situation, HDR movies should look "perfect". If you play SDR content in this situation, the OS/GPU will convert SDR to HDR behind madVR's back. Consequently, SDR content will look "ok", but it will not be perfect. 4) Currently HDR and fullscreen exclusive mode is a problematic combination. It's partially the fault of the OS, partially of the GPU drivers. It's not clear yet if this will be fixed, or when. Generally, Microsoft wants to get rid of fullscreen exclusive mode. It might suddenly disappear in a future Windows 10 version. I'm not happy about that at all. Which is one of the reasons I've been recommending Windows 8.1 for months now. 5) Nvidia comes to the rescue of all HTPC users who want perfect quality for both SDR and HDR content: Nvidia's private HDR API allows madVR to dynamically switch the TV into and out of HDR mode, as needed. For this to work, you need to deactivate the OS "HDR and advanced color" switch. 6) madVR v0.91.10 had a bug where Nvidia's private HDR API was only called properly in the 32bit madVR version, but not in 64bit. This bug is fixed in madVR v0.91.11. 7) All Nvidia drivers starting with 381.xx up to the latest (384.76) have a bug which results in madVR not being able to switch the TV into HDR, when using FSE mode. You can workaround the issue by disabling FSE mode. Alternatively, using any driver between 376.xx and 380.xx should make dynamic HDR switching work perfectly. As it stands right now, for all Windows users who want to do both SDR and HDR playback in perfect quality, I can only recommend Nvidia GPUs, because only Nvidia's private API allows madVR to dynamically switch the TV between SDR <-> HDR atm. I'm talking to Intel, maybe they will add a private API, too. Unfortunately my AMD contacts have gone silent. There's still hope for Windows 10, but I'm not overly optimistic atm. Last edited by madshi; 2nd July 2017 at 09:34. |
1st July 2017, 21:37 | #44242 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
|
Quote:
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
1st July 2017, 21:42 | #44243 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Usually you get the best quality if you disable the ICC and create a new 3DLUT which does everything. But that might not be what you want? Quote:
Basically there's a chance everything might already work perfectly for all Nvidia users with the latest drivers. If it doesn't, then downgrading to an older driver should definitely do the trick. |
||
1st July 2017, 22:06 | #44244 | Link | |
Registered User
Join Date: Jul 2011
Posts: 33
|
Quote:
The monitor itself has several modes (like Full wide gamut, sRGB, Adobe RGB). I usually switch between Full (native) and sRGB mode. And here system monitor ICC profile changes (when done in NEC MultiProfiler, not via monitor own controls) - it's actually convenient, because all color-managed programs know how to convert the colors. Except for madVR, which still uses wrong 3D LUT. So, if I could access the name of the current system display ICC profile, I could use another 3D LUT in madVR (or disable usage of it at all). Here is example of display profile in Windows: Last edited by igvk; 1st July 2017 at 22:16. |
|
1st July 2017, 22:51 | #44246 | Link | ||
Registered User
Join Date: Oct 2012
Posts: 7,926
|
Quote:
Quote:
i mean you have trouble with downscaling because you are following random settings from other people... |
||
1st July 2017, 23:34 | #44247 | Link |
Registered User
Join Date: Jan 2005
Posts: 171
|
Preliminary results from the new version running on a GTX 1060, Latest Nvidia Drivers (384.76), latest Fast Ring Insider Build of Windows 10 (16232).
Switching in and out of HDR mode works "the Nvidia way". Basically, it's identical to how invoking HDR mode on an Nvidia card worked prior to the Creator's Update. UI colors go all wonky, etc. But it does show the video in HDR. When viewing an HDR video madVR default settings "Use DXVA chroma upscaling.." under "trade quality for performance" cause incorrect colors when in fullscreen. FSE still doesn't present HDR for me, but non-FSE fullscreen doesn't crash anymore when passing HDR metadata so I can finally watch an HDR video in fullscreen. Both closing MPC-HC and playing a non-HDR video after an HDR video trigger an Nvidia HDR to SDR mode change. So, for me, your workaround is working. Edit:Also, if you follow up an HDR video with another HDR video it triggers the mode change again (and a few seconds of black screen) even though you're already in HDR mode. Last edited by mrcorbo; 2nd July 2017 at 01:18. |
2nd July 2017, 00:30 | #44248 | Link | |
Registered User
Join Date: Mar 2009
Posts: 37
|
Quote:
Otherwise, I tried to make the "D3D11 windowed mode now supports 10bit, if "HDR and Advanced Color" is on" feature work, no go on 32bit MPC-BE : getting a black screen as soon as I go fullscreen using a HDR clip. Same on 64bit. 10bit with FSE works fine (but Reclock goes bonkers). Anyway, these are uncharted territories you're exploring, keep up the great work. Edit : nevermind, didn't see that nvidia released a new driver this week. Updated to 384.76, everything working as described. Last edited by mitchmalibu; 2nd July 2017 at 00:59. |
|
2nd July 2017, 04:40 | #44249 | Link | |
Registered User
Join Date: Sep 2012
Posts: 174
|
Quote:
Since the BD specs only support 29.97fps interlaced, they encoded this with MBAFF interlacing which should decode to 29.97 progressive frames (like most 25fps BDs and european TV) |
|
2nd July 2017, 05:01 | #44250 | Link | |
X Cinema Projectionist NZ
Join Date: Feb 2006
Location: Auckland NZ
Posts: 310
|
Quote:
I have so much trouble playing this film on my 1080ti card, it keeps repeating 100s of frames constantly into the 1000s! Even though my render times are very low, 15 odd. I must have things not set correctly for playing 29.97 progressive material. I set madvr to 4K for all my ripped BDs, 23.97 materiel plays perfectly. Any pointers in the setup would be greatly appreciated... |
|
2nd July 2017, 08:31 | #44253 | Link |
Soul Seeker
Join Date: Sep 2013
Posts: 716
|
I'm asking for these crop functions because the last time I used the zooming options, madVR was non stop looking for changes in the video-if the aspect ratio is changed even with one pixel like on some encodes "dirty lines" it crashed my pc, and I had to reboot manually... Since then I stopped uisng this feature, so my point was madVR to crop the picture without looking for even the slightest change in the aspect ratio etc. 1 or 2 pixel changes.
|
2nd July 2017, 09:03 | #44254 | Link | ||
Registered User
Join Date: Sep 2016
Posts: 89
|
Quote:
Quote:
Last edited by sauma144; 2nd July 2017 at 09:07. |
||
2nd July 2017, 09:27 | #44255 | Link | ||
Registered User
Join Date: Mar 2009
Posts: 3,650
|
Quote:
Quote:
I'm being rather broad sweeping with this statement, but I feel the "quality" of the final image is more dependent on the scalers you're using more than anything else.. there are a few exceptions here though. If you want a hand with deciding, take some screenshots of your content with various settings, let people download the files (PNG) and ask for recommendations. Last edited by ryrynz; 2nd July 2017 at 11:05. |
||
2nd July 2017, 09:30 | #44256 | Link | |||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Quote:
Quote:
Nah, just be patient... Quote:
Let's work on fixing the bugs instead, ok? If you get a crash, please press on the "show bug report" button, then press Ctrl+C to copy the bug report into the clipboard, then upload it somewhere (not here) for me to look at. If you have videos where madVR constantly changes the black bar detection rectangle, please upload a sample for me. |
|||||
2nd July 2017, 09:44 | #44258 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
If you activate the "HDR and advanced color" option, your TV will always be in HDR mode. In this case the Nvidia API won't work. So having an option to let you choose the Nvidia API doesn't make sense in this situation. If you deactivate the "HDR and advanced color" option, madVR won't be able to switch your TV into HDR mode at all, except by using the Nvidia API. So in this situation, the Nvidia API is clearly the better (or rather the only) choice. So again it doesn't make sense to let you choose. Basically madVR automatically chooses what is best in your situation. If "HDR and advanced color" is turned on, madVR will use the D3D11/DXGI APIs. If "HDR and advanced color" is turned off, madVR will use the Nvidia APIs (if your GPU is Nvidia). If your GPU is AMD or Intel, madVR of course always uses the D3D11/DXGI APIs. |
|
2nd July 2017, 10:02 | #44259 | Link |
Registered User
Join Date: Jun 2016
Posts: 39
|
What happens if I have a Nvidia and an Intel GPU? Right now it doesn't trigger the tv to switch into HDR mode when I try to passthrough HDR when playing HDR content, but I never had the option to activate or deactivate HDR and advanced color from the display menu even with the creator's update installed so I'm not quite sure what happened here
|
2nd July 2017, 10:13 | #44260 | Link |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
I think with an Nvidia+Intel system probably the display is driven by the Intel GPU, even if the Nvidia GPU might do the heavy lifting. The current Intel GPU drivers unfortunately do not support HDR properly at all yet.
|
Tags |
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling |
|
|