AVS Forum banner

Madvr HDR Passthrough isn't working.

159K views 563 replies 93 participants last post by  MCBEARy 
#1 · (Edited)
Hello everyone and thank you for reading me. [Edit : attachments removed]

As stated in the title I'm having trouble getting HDR content from MPCHC+Madvr to my Samsung HDR SUHD TV.

The screenshots attached are showing my madvr settings, which i think are correct but I'm not sure at all.

When I play a 4k HDR 10 bit video, the TV doesn't show the HDR logo that it shows for every other HDR content I play, which means it doesn't get it as HDR.

The colors as some screenshots can show are kind of washed out, and the light intensities are clearly SDR.

Now I've found a workaround, and it seems that madvr should be able to do this automatically but it doesn't :

I've got the display mode automatic switch enabled in madvr to match the framerate of the film on my tv.

So in this case, it automatically switches to 23 fps.

When this happens i'm allowed to change the nvidia output color depth to 12 bpc, and the windows HDR and Advanced Color switch to ON. (as shown in the' screenshots)

This makes my TV SHOW the HDR logo. (screenshots)

But the colors are even more washed out in windowed view for MPC, since madvr doesn't passthrough **** unless it's using the fullscreen exclusive mode.

BUT when I swithc the video to fullscreen, it seems that the lightness of the colors really IS HDR, but everything is RED. (photos of my creen attached)

So I don't know what I'm getting and I don't know how I can get HDR whenb I play a video but normal windows colors when I don't, since the HDR windows setting shows terrible, washed out colors on everything except fullscreen reddish MPC HC.

I don't knoiw if I've been clear enough but thank you for your help !
 
See less See more
#2 · (Edited)
You're probably only missing this:


You also need to watch it fullscreen, HDR passthrough does not work windowed.

If it's still red looking, that's because you are playing a fake HDR upscale of Rogue one ( this movie doesnt exist in UHD-BD). You should stay away from Visionplushdr releases, he's FOS.

Start by playing LEGAL HDR demo to see if it's working properly:
http://demo-uhd3d.com/fiche.php?cat=uhd&id=159
 
#3 ·
You're probably only missing this:


You also need to watch it fullscreen, not windowed.

If it's still red looking, that because you are playing a fake HDR upscale of Rogue one ( this movie doesnt exist in UHD-BD). You should stay away from Visionplushdr releases, he's BS.
Thank you for your answer I appreciate it very much.


But I am very sorry that I vasn't very clear, english isn't my native language. So I've already activated the automatic exclusive mode, in fact I already stated in my original post that the exclusive mode worked.

For example : when I don't mess with the windows HDR option and Nvidia 12bpc : I get a normal SDR whether I am in windowed OR in fullscreen.

When I turn nvidia's 12bpc on, but leave the windows HDR and advanced color setting off, I get the same result.

BUT when I turn on both nvidia 12bpc and windows HDR, I get VERY washed out colors on desktop and MPCHC windowed, AND an HDR looking video when in exclusive fullscreen... but with a very strange tint of RED.... Also, this is the only way to get my tv show the HDR logo and display a message that says "This is HDR !"

Again, very sorry if I don't say things very clearly
 
#4 ·
hdr doest work in windowed mode, only fullscreen exclusive mode using madvr. Windows 10 Movies and tvs app can play hdr video windowed and fullscreen.

Just try with a real hdr video (not the fake Rogue one upscale).
http://demo-uhd3d.com/fiche.php?cat=uhd&id=159

English is not my native language either.. sorry if i misunderstood you
 
#6 · (Edited)
oui, je suis Québécois.

Hdr not working at all in fullscreen exclusive mode or is it just the red thing again ??
Did you activate HDR in Windows display setting ?You have to do it manually everytime you play an HDR video.

what's your GPU ?
 
#7 ·
Ok faisons cela en Français pour le moment.

Donc, j'ai bien compris qu'il faut être en plein écran pour que ça marche, mais je donnais les exemples en mode fenêtré à titre comparatif, pour bien montrer qu'il y a une différence entre fenêtré et plein écran, justement quand le HDR semble fonctionner.

En l'occurrence ça ne marche pas avec la vidéo test parce qu'elle est en 60hz et ma télé ne peut pas faire du 10bit 60Hz.
 
#8 ·
J'ai remarqué en effet qu'il fallait activer manuellement le HDR dans les paramètres windows, et c'est relou, ce pourquoi ça ne marche pas en 60Hz parce que la télé ne le supporte pas donc windows ne me permet pas de l'activer.

quand je l'active, la télé passe en HDR, tout a l'air de marcher, sauf le fait que la bureau windows devient affreux ainsi que tout le reste du coup... C'est quand même dommage qu'il n'y ait pas une fonction de dither pour activer le HDR en permanence, ou alors une activation permanente qui ne s'activerait réellement que quand une video HDR est jouée.
 
#9 ·
En forçant le HDR j'ai réussi à bidouiller pour voir la video test en HDR mais j'ai toujours le problème avec le rouge, cela dit c'est beaucoup moins maquré mais par exe:ple pendant la scène ou on voit le soleil passer à travers une fenêtre et des gens, ou la grenouille, on voit bien que le rouge est oversaturé
 
#10 · (Edited)
Ta tv ne supporte pas 60hz mais elle supporte HDR??? **Samsung KS8000 est meme 120hz en frame interpolation.
Ton cable HDMI ne supporte p-e pas le débit, mais ta TV est définitivement 60hz.
Il faut des cables certifiés HDR comme ceux de MONOPRICE : https://www.amazon.ca/Monoprice-Cer...498499186&sr=8-1&keywords=monoprice+hdr+cable
Si tu as l'option HDR dans windows display setting, j'imagine que ton GPU est HDMI 2.0 et compatible 4k/60/HDR

Si tu joue la video HDR dans l'app de windows10 ''Film et télé'', es ce que le rouge est oversatured aussi ?

Oui pour l'instant le bureau windows en HDR est tres pale et bizare. Le prochain Fall Creator Uupdate de Windows10 devrait corriger tout ce qui ce rapporte au HDR.

en passant tu devrais supprimer tes screenshots de Rogue one, on ne peut pas parler de contenu illégal sur se site.

 
#22 ·
Je sais exactement ce que supporte ma télé, et en l'occurrence, elle ne supporte PAS 4k HDR 60Hz 4:4:4, Mais elle le supporte en 4:2:0. elle supporte très bien 4k HDR jusqu'à 30Hz en 4:4:4.
L'ennui était donc ceci : je suis sur le bureau windows en 4k SDR 60Hz 4:4:4, et quand je lance une video HDR, Madvr ne sait que changer la résolution de l'écran et sa fréquence de rafraîchissement, mais il ne sait pas changer l'option de windows qui permet le passthrough de l'HDR.

Il est finalement impossible de régler ce problème, donc je dois changer à chaque fois le paramètre dans windows, ce qui fait passer la télé en mode HDR.

L'autre souci était donc la saturation des couleurs en HDR qui n'était pas bonne, et ce même sur le fichier de test de samsung avec la grenouille. E

t cela s'explique finalement par ce que windows et Nvidia ne transmettent pas à la télévision les métadonnées nécessaires à appliquer le bon espace colorimétrique par la télé.

j'ai donc réglé ce souci en paramétrant un profil de calibration pour le HDR windows dans la télévision, ce qui normalement est automatique.

Merci pour votre aide.


EN CE QUI CONCERNE LE FILM : je dispose du blu-ray, il n'est donc pas illégal pour moi de récupérer le même contenu par une autre voie, ce qui constitue une copie de sauvegarde de mon support. La véritable raison est que je n'ai plus de lecteur blu-ray, mais ça reste légal, d'autant plus que ces captures pourraient très bien être d'un upscale que j'aie fait moi-même avec mon propre disque.
 
#12 ·
Make sure your use the 32bit version of MPC-HC if you want HDR metadata passthru. Took me a while to figure it out.
 
#13 ·
No it doesnt matter, I'm using the 64bit version of mpc / madvr and lavfilters. HDR is working perfectly.
 
#14 ·
I've just talked to Microsoft and NVidia. 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 in switched into SDR mode. If you turn this option on, your TV will always be switched into HDR mode. Windows does *not* support dynamically switching HDR mode on/off while you're playing an HDR movie (or playing an HDR game)! It's currently not supported, and there are no plans to add support for that. Basically Microsoft believes that if you want to use HDR at all, then you want your PC to always drive your TV via HDR mode.

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 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 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 atm. It's partially the fault of the OS, partially of the GPU drivers, partially of madVR. 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.

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.

6) The current madVR build has a bug where Nvidia's private HDR API is only called properly in the 32bit madVR version, but not in 64bit. This will be fixed in the next build.

7) All post-Creator's-Update Nvidia drivers have a bug which result in madVR being able to switch the TV into HDR mode, but switching the TV back into SDR mode fails. You can work around this by either using Windows 8.1 instead of Windows 10. Or by installing older Nvidia drivers. E.g. with Nvidia driver 376.33 dynamic HDR switching works perfectly fine in Windows 10. Nvidia is aware of the bug in newer drivers and plans to fix that soon.

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. I'm talking to Intel, maybe they will add a private API, too. Unfortunately my AMD contacts have gone silent.

I still recommend Windows 8.1 as the best media play OS right now, as I've done for months. Windows 10 still has many stability issues, furthermore Microsoft is going into a direction which is very bad for HTPC users.
 
#23 ·
Thank you for your answer and research !

So, about 1)2)3) I'd figured that out thank you for the confirmation, I suppose I have to switch it everytime but well there aren't too many HDR movies around (or true for that matter) so I'll settle with that until microsoft changes his mind ?

5) I'm very happy to read that, can you please explain to me the right way to use it ?

6) So I just have to wait the next madvr build and enable the nvidia private API, and i'll be hapi ?

7 : thank you for the information and research again :)

I currently am using windows 10 and would have a lot of work going back to 8.1, and also am very happy with some of windows 10 features and solution for all my other applications for this computer (it's my only PC and I use it to work, for gaming and as a HTPC, which makes things difficult to combine)

I thank you again for this reply which was exaclty what I was asking.

Good day to you !
 
#16 ·
Thanks for doing this - it's nuts how broken it is yet works 100% on xbox one

I hate having to choose between 4k forza 3 or hdr 900p


Sent from my iPhone using Tapatalk
 
#18 · (Edited)
Latest madVR v0.91.11 out now:

http://madshi.net/madVR.zip

Should work well now with Nvidia GPUs, at least, even with newest drivers. Just make sure you have "HDR and advanced color" turned off.

thank you so much for this update, it seems to be working now.
My tv is now switching in HDR without having to turn on the win10 HDR slidder.

Edit: it's not switching to HDR in FSE, so i think i'm getting some banding since we cannot get 10bit output in windowed mode.
 
#19 · (Edited)
Confirm. My display is also switching HDR and advanced color ON when title is started and back OFF when closed.
GTX 960 - 22.21.13.8476
RGB Full or YCbCr Limited.
Only windowed, FSE not working.
No longer see NVidia API vs Windows API setting.


Very, very, nice to see the HDR dynamic switch AT LAST!
Thank you very much madshi. You are answering the community and you are very close.
 
#35 · (Edited)
But I'm getting banding.
what dithering option should i use to eliminate this:


 
#21 ·
I can confirm dynamic HDR switching not working in FSE mode with latest drivers. This is a driver bug that I can't work around. It will be fixed in a future Nvidia driver. For now, you can either disable FSE mode and live with 8bit windowed mode. Probably not a dramatic problem. Or alternatively, use any driver between 376.xx and 380.xx.
 
#26 ·
LAV Video Decoder sends HDR information upstream. If you use ffdshow raw video filter, ffdshow doesn't pass the HDR information along, so it gets lost. As a result madVR doesn't know that the video is actually HDR. There's currently no solution for this problem. ffdshow would have to be updated, but there's no developer left that's working on ffdshow.
 
#29 ·
378.92 driver with FSE on goes into HDR mode but does not switch back to SDR when finished for me. It remains stuck in HDR mode. Does render 10 bit though. This driver is also the last before the HDR and advanced color switch was implemented. Going to just use the latest driver and turn FSE off and accept 8 bit. Hopefully NVidia will address it in the next few weeks or MS will do us all a favor and support 10 bit windowed. Thanks for getting it to dynamically switch. That in itself is a huge leap forward toward complete automation.
 
#45 ·
378.92 driver with FSE on goes into HDR mode but does not switch back to SDR when finished for me. It remains stuck in HDR mode.
Works for me!

I'm getting a blackscreen with the win10 hdr slider on + windowed mode. Screen stays black even when I close MPC-BE. The only way to get the image back, is by switching to FSE.

Only FSE is working with the win10 hdr slider on.
Why would you want to switch the HDR slider on? It's bad to do that. Leave it off, then madVR can dynamically switch on HDR when you play HDR videos. That only works with an Nvidia GPU, though.

HDR and advanced color ON
Why would you want to switch the HDR slider on? DON'T (if you have an Nvidia GPU).

But I'm getting banding.
Did you turn dithering off in the madVR settings? Is your GPU set to RGB? TV or PC output levels?
 
#30 · (Edited)
I'm getting a blackscreen with the win10 hdr slider on + windowed mode. Screen stays black even when I close MPC-BE. The only way to get the image back, is by switching to FSE.

Only FSE is working with the win10 hdr slider on.
 
#33 ·
PC levels 0-255
Bitdepth 10 bit or higher
Already calibrated (if it is)
BT.2020
Passthrough HDR
In general settings check everything except - 'present a frame for every VSync' and 'enable auto fullscreen exclusive' (for now). Uncheck both of those.
Uncheck everything in 'trade quality for performance'.
YMMV.
 
#32 ·
HDR and advanced color ON with FSE OFF = Blackscreen. Close = Return to desktop.
HDR and advanced color ON and FSE On = Plays but no HDR mode. Close = Return to desktop.
Latest driver
Best to let HDR and advanced color switch dynamic windowed 8bit for now.
 
#34 ·
HDR and advanced color ON with FSE OFF = Blackscreen. Close = Return to desktop.
HDR and advanced color ON and FSE On = Plays but no HDR mode. Close = Return to desktop.
Latest driver
Best to let HDR and advanced color switch dynamic windowed 8bit for now.
Something is wrong with latest driver (384.76) . Desktop looks very dark and HDR is not displayed correctly in madvr (when win10 hdr slider is on).

Version 382.53 is working well.
 
#52 ·
Then why don't you use a driver between 376.xx and 380.xx and enable FSE mode, as I suggested before? That said, last time I checked, 3D worked fine for me in windowed mode.

The problem for me has been that HDR never worked (GTX 1050 Ti, i5-6500, LG E6 via a receiver or direct) for both mpc-hc/be with madVR/LAV and Shadow Warrior 2. Windows doesn't even show me the "HDR and advanced color" option but that might not be an issue as many others are getting HDR even with that setting off.
Also 12bit seems to be missing in the Nvidia GPU control panel, according to your screenshots?

It seems to me that your TV doesn't report the capability to do HDR and 12bit to the PC, for some reason. This could have various reasons: Maybe some device in between PC and TV (e.g. receiver) doesn't support HDR and 12bit and thus swallows that information. Or maybe you've set the HDMI port to "PC" mode and maybe in that mode the TV doesn't support HDR and 12bit? Or maybe some HDMI ports support HDR and 12bit and others don't? Or maybe you need to enable HDR and 12bit somewhere in the TV setup?
 
#53 ·
Originally Posted by brazen1 Just realized, with FSE OFF (so HDR works), 3D MVC frame packed will not render. Bummer :(
Then why don't you use a driver between 376.xx and 380.xx and enable FSE mode, as I suggested before? That said, last time I checked, 3D worked fine for me in windowed mode.


378.92 is the driver I've tried many times. I used it in the past also. Everything worked well (then). Of course the HDR and advanced color setting switch was not implemented yet and still isn't to this day using that driver. But, everything worked well including 3D, HDR with PowerDVD. PDVD was the only player that rendered HDR without manually having to switch settings. Along came the newer drivers. Now the HDR and advanced color setting was/is implemented and HAD/HAS to be enabled for HDR playback for any and all capable players incl. MPC with madVR. You just updated madVR to dynamically switch it for us which is a godsend. But, FSE must be off. No problem except, that kills 3D MVC. So, you say roll back the driver and leave FSE enabled. No problem except we're using a stone age driver now but we can get over that if all works and get by until something better comes in the future. We lose some audio enhancements but so what? Why mess with a good thing? Because it isn't working here and I wish it was.


A few things come into play. Users want options. MPC is main movie, no menu but circumvents DRM. PDVD is menu but with DRM. DRM with PDVD can be fixed at a price. Those that want free options with limitations are bound to MPC/madVR. Some want 3D. Some don't. Some want HDR. Some don't. Some want menus, some don't. Some want it all. That's me. I'm at the point I can forego menus, one stop shop using MPC/madVR, have 3D MVC, HDR, SDR, etc., but most importantly, have everything automated so users don't have to mess around after setting up software one time and one time only. From there on out it's simply click on a title (any title, any format, etc) and sit back and enjoy. YOU are completing that mission. There is only one dilemma now.


As I stated a few posts ago, using the new madVR release, every format works perfectly up until I play HDR. Windows switches into native HDR mode and playback is perfect. Using newer Nvidia drivers, when playback is stopped, HDR mode releases and all is well. Using older drivers (pre 380.xx) HDR does not release. Windows is permanently stuck in HDR mode.


I have played many titles and all is well. The 1st time I play HDR, it remains in HDR. I can attempt to play SDR, 3D, different players, etc. (attempting to release HDR mode) the panel flickers through it's modes but still HDR remains. I can turn the panel off and on. I can change color formats, output depths, dynamic range, etc in the driver control panel, still HDR remains engaged. I can unplug the display from the wall and it's still engaged. I can log out and it's still engaged. However, I can reboot and it comes out of HDR mode but, the color space is expanded and saturated. ALL this tells me there is a residual registry setting that never released to go back to default once HDR was initiated via madVR. The only way I can fix this is to uninstall and reinstall GPU drivers. Btw, exactly which driver version worked for you?


This isn't a complaint. This is ammo to help you help me/us and I will supply any other feedback or testing you require. I fear you will inform me your test bed doesn't exhibit this behavior. If that's the case, I will accept I have a hardware/software clash causing this on my end (I will never figure out). Hopefully others will chime in their experiences to deny or confirm. Thanks for sticking with us on this. You are much appreciated.
 
#62 ·
Originally Posted by brazen1 Just realized, with FSE OFF (so HDR works), 3D MVC frame packed will not render. Bummer :(
Then why don't you use a driver between 376.xx and 380.xx and enable FSE mode, as I suggested before? That said, last time I checked, 3D worked fine for me in windowed mode.


378.92 is the driver I've tried many times. I used it in the past also. Everything worked well (then). Of course the HDR and advanced color setting switch was not implemented yet and still isn't to this day using that driver. But, everything worked well including 3D, HDR with PowerDVD. PDVD was the only player that rendered HDR without manually having to switch settings. Along came the newer drivers. Now the HDR and advanced color setting was/is implemented and HAD/HAS to be enabled for HDR playback for any and all capable players incl. MPC with madVR. You just updated madVR to dynamically switch it for us which is a godsend. But, FSE must be off. No problem except, that kills 3D MVC. So, you say roll back the driver and leave FSE enabled. No problem except we're using a stone age driver now but we can get over that if all works and get by until something better comes in the future. We lose some audio enhancements but so what? Why mess with a good thing? Because it isn't working here and I wish it was.


A few things come into play. Users want options. MPC is main movie, no menu but circumvents DRM. PDVD is menu but with DRM. DRM with PDVD can be fixed at a price. Those that want free options with limitations are bound to MPC/madVR. Some want 3D. Some don't. Some want HDR. Some don't. Some want menus, some don't. Some want it all. That's me. I'm at the point I can forego menus, one stop shop using MPC/madVR, have 3D MVC, HDR, SDR, etc., but most importantly, have everything automated so users don't have to mess around after setting up software one time and one time only. From there on out it's simply click on a title (any title, any format, etc) and sit back and enjoy. YOU are completing that mission. There is only one dilemma now.


As I stated a few posts ago, using the new madVR release, every format works perfectly up until I play HDR. Windows switches into native HDR mode and playback is perfect. Using newer Nvidia drivers, when playback is stopped, HDR mode releases and all is well. Using older drivers (pre 380.xx) HDR does not release. Windows is permanently stuck in HDR mode.


I have played many titles and all is well. The 1st time I play HDR, it remains in HDR. I can attempt to play SDR, 3D, different players, etc. (attempting to release HDR mode) the panel flickers through it's modes but still HDR remains. I can turn the panel off and on. I can change color formats, output depths, dynamic range, etc in the driver control panel, still HDR remains engaged. I can unplug the display from the wall and it's still engaged. I can log out and it's still engaged. However, I can reboot and it comes out of HDR mode but, the color space is expanded and saturated. ALL this tells me there is a residual registry setting that never released to go back to default once HDR was initiated via madVR. The only way I can fix this is to uninstall and reinstall GPU drivers. Btw, exactly which driver version worked for you?


This isn't a complaint. This is ammo to help you help me/us and I will supply any other feedback or testing you require. I fear you will inform me your test bed doesn't exhibit this behavior. If that's the case, I will accept I have a hardware/software clash causing this on my end (I will never figure out). Hopefully others will chime in their experiences to deny or confirm. Thanks for sticking with us on this. You are much appreciated.

I figured out why HDR mode was not switching back to SDR mode when exiting a title. Yay!
madVR setting - Restore original display mode...
...when media player leaves fullscreen - is what I had set.
...when media player is closed - is the correct setting.
Everything is automated now. Just waiting on MS to support 10bit and maybe 12bit\16bit in windowed mode and/or NVidia to update dynamic HDR switching in FSE so we can use newer drivers.
 
#54 ·
For me, I've tested both 376.33 and 378.92 and they both work perfectly for me, including FSE, and including turning HDR off. I don't know why it doesn't work for you. Have you tried 376.33? Have you tried totally cleaning the Nvidia driver installation (I think there are some helper tools for that? not sure)? If all else fails, you could try reinstalling the OS. Not much fun, but it might help.

Of course we all want the latest drivers to work, and hopefully they might soon. As I said, Nvidia is aware of the problem, so chances are good that it will be fixed soon.
 
#56 ·
hello Madshi, and thank you again for all the greatly valuable information that you have posted on this thread.

I understand that everything I asked for to begin with is now possible at the condition of either disabling FSE, or rerolling to an older Nvidia driver.

I would like you to explain to me why I need and IF i need the FSE, what it does exaclty, so that I don't go through the bother of installing old GPU drivers to make it work with HDR if I don't really need or want it.

My specs are FX8320 16Go (watercooling) and GTX970 4Go, 2SSDs and a 4K HDR Samsung KS8000 TV.
 
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top