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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th December 2020, 12:53   #8001  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
I enable OS HDR before open file for test. If not - madVR activate NV HDR, but it's working only in exclusive full-screen.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 10th December 2020, 13:09   #8002  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by huhn View Post
about HLG.
at my side madVR is incapable of displaying hlg outside SDR which technical is ok.
Nothing here as well, with using madvr beta 114: it displays SDR.
Quote:
Originally Posted by Aleksoid1978 View Post
At my side - madVR output HLG as HDR10, hdr passthrough.
How? Which version of madvr? Can you post a screenshot about madvr OSD?
I tried these 2 files from the links you posted:
Sony_Another_World_4K_Demo-184047-tmu_hlg10_hevc.mkv
TravelXP 4K HDR HLG Demo.ts
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config
chros is offline   Reply With Quote
Old 10th December 2020, 13:11   #8003  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by Aleksoid1978 View Post
I enable OS HDR before open file for test. If not - madVR activate NV HDR, but it's working only in exclusive full-screen.
What happens with non exclusive mode? Only SDR?

Edit: same SDR using fullscreen exclusive mode here.
Edit2: same SDR when I toggle Windows HDR button. So I'm pretty sure it has nothing to do with madvr. Even Envy users asked about HLG support recently.

Btw, I use Lav filters. Do you use the internal ts / mkv filter of mpc-be?
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config

Last edited by chros; 10th December 2020 at 13:16.
chros is offline   Reply With Quote
Old 10th December 2020, 13:14   #8004  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
sorry i can't test this fullscreen exclusive doesn't work on my system with OS HDR active. could be AMD "issue".

i would really like to know if it is the same "wrong" HLG as mpcVR is showing me where everything is to bright.

and HLG to HDR10 with OS HDR and exclusive mode doesn't sound like something madshi would implement this sounds more like a bug. very interesting.
huhn is offline   Reply With Quote
Old 10th December 2020, 13:19   #8005  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
I'm using in MPC-BE using internal video decoder. I think you are using LAV - it's don't send information about HDR for HLG to madVR, but send to MPCVR
Here screen - https://i.imgur.com/GAnSUYL.png
Here from input pin info from madVR(from MPC Video Decoder):
Code:
VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000081
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 16
dwPictAspectRatioY: 9
dwControlFlags: 0x82422581
- VideoChromaSubsampling: 5 (MPEG-2)
- NominalRange          : 2 (16-235)
- VideoTransferMatrix   : 4 (BT.2020)
- VideoLighting         : 0
- VideoPrimaries        : 9 (BT.2020)
- VideoTransferFunction : 16 (ARIB STD-B67 (HLG))
dwReserved2: 0x00000000
see - VideoTransferFunction : 16 (ARIB STD-B67 (HLG)), compare when using LAV
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215

Last edited by Aleksoid1978; 10th December 2020 at 13:22.
Aleksoid1978 is offline   Reply With Quote
Old 10th December 2020, 13:31   #8006  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Thanks, I'll take a look later.
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config
chros is offline   Reply With Quote
Old 10th December 2020, 13:39   #8007  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
you should be careful with DXVA2 decode. madVR has troubles with it and the image can be altered in an unforeseen way it can't access the image without DXVA2 altering it. could be true for mpcVR too. that's why lav filter is used with copyback or d3d11 just to remove it as a potential issue.

i will test this in detail later with mpc-be internal decoder.
huhn is offline   Reply With Quote
Old 10th December 2020, 13:51   #8008  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
In MPC VR, even if use DXVA2 decoding in decoder, if use shader - data copied from Direct3D9 surfaceto local memory(like DXVA2 copy-back in LAV) without "lose" data. Yes it takes longer - but picture perfect as software or DX11 native.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 10th December 2020, 14:34   #8009  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
Can you clarify a bit to avoid confusion?
Do you mean that if using DXVA2 native input, MPCVR will always do a copyback internally, or only when using shaders?
And what counts as shaders in this case, just user supplied ones from the player, or also the internal HDR2SDR shader and resize shaders (if DXVA2 video processor unchecked)?

Maybe show something like "CopySurface" in the OSD on postprocessing line, when this extra step is performed. It is useful to know this when helping people to identify possible causes of performance issues.

Small bug report (unrelated to above):
When opening MPCVR settings using rundll32, the dropdown menus do not display correctly when clicking in them. They display with height of just one entry.
clsid is offline   Reply With Quote
Old 10th December 2020, 14:37   #8010  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
Quote:
Originally Posted by clsid View Post
Can you clarify a bit to avoid confusion?
Do you mean that if using DXVA2 native input, MPCVR will always do a copyback internally, or only when using shaders?
And what counts as shaders in this case, just user supplied ones from the player, or also the internal HDR2SDR shader and resize shaders (if DXVA2 video processor unchecked)?
Only when using shaders. In this case shaders use for YUV2RGB conversion. When using DX9/DX11 VP - it's use for YUV2RGB conversion.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 10th December 2020, 14:42   #8011  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
if i understand him correctly. using shaders in mpcVR with DXVA2 native results in DXVA2 copyback.
so as long as shaders are used we only have to care that we don't use DXVA2 native with madVR.
huhn is offline   Reply With Quote
Old 10th December 2020, 14:43   #8012  |  Link
Zulithe
Registered User
 
Join Date: Jan 2006
Posts: 42
Windows 10 is identifying the 5798 x64 installer build on https://yadi.sk/d/hlf1lfC8mKU58/!_last as containing a virus. As confident as I am about it being a false positive, I just wanted to mention it.
Zulithe is offline   Reply With Quote
Old 10th December 2020, 15:54   #8013  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
You can submit Windows Defender false positives here:
https://www.microsoft.com/en-us/wdsi/filesubmission

I just build MPCVR rev1509. Some bugs:
- The passthrough checkbox isn't unchecked when its greyed out (on Win7). The code currently uses "if (1)" for always greying out. I assume that is intentional for testing.
- OSD still says "Convert to SDR" when I uncheck that option
clsid is offline   Reply With Quote
Old 10th December 2020, 18:10   #8014  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
ok i tested the sample with madVR the result has to be incorrect is far far to bright.

i use the sushi sample.

edit: i will create a bug report for madVR so we know if madVR is working correctly.

Last edited by huhn; 10th December 2020 at 18:13.
huhn is offline   Reply With Quote
Old 10th December 2020, 19:22   #8015  |  Link
JaylumX
Something Else
 
Join Date: Feb 2006
Location: Somewhere Else
Posts: 76
When playing SDR content, my monitor is able to switch to the correct matching refresh rate (or multiple) when "use autochange fullscreen monitor mode" is enabled but not when i play HDR content.
JaylumX is offline   Reply With Quote
Old 11th December 2020, 00:21   #8016  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
Quote:
Originally Posted by clsid View Post
You can submit Windows Defender false positives here:
https://www.microsoft.com/en-us/wdsi/filesubmission

I just build MPCVR rev1509. Some bugs:
- The passthrough checkbox isn't unchecked when its greyed out (on Win7). The code currently uses "if (1)" for always greying out. I assume that is intentional for testing.
- OSD still says "Convert to SDR" when I uncheck that option
Update code
About "Passthrough to display" and "Convert to SDR" - it's apply only on startup. There is no need to handle the changes right away - but the code will get very complicated.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 12th December 2020, 13:08   #8017  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by Aleksoid1978 View Post
But - if you device "HDRMetadata No" - it's all no matter, you device don't support/accept different hdr10 medatata
Thanks, then probably it's the nvidia driver version (v398.18). (Unfortunately I can't use newer for now due to bugs, maybe later.)


Quote:
Originally Posted by Aleksoid1978 View Post
I'm using in MPC-BE using internal video decoder. I think you are using LAV - it's don't send information about HDR for HLG to madVR, but send to MPCVR
Here screen - https://i.imgur.com/GAnSUYL.png
Here from input pin info from madVR(from MPC Video Decoder):
Code:
VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000081
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 16
dwPictAspectRatioY: 9
dwControlFlags: 0x82422581
- VideoChromaSubsampling: 5 (MPEG-2)
- NominalRange          : 2 (16-235)
- VideoTransferMatrix   : 4 (BT.2020)
- VideoLighting         : 0
- VideoPrimaries        : 9 (BT.2020)
- VideoTransferFunction : 16 (ARIB STD-B67 (HLG))
dwReserved2: 0x00000000
see - VideoTransferFunction : 16 (ARIB STD-B67 (HLG)), compare when using LAV
Thanks for this! Indeed lavfilter reports: "VideoTransferFunction : 5 (BT.709)" I'll ask @nevcairiel about it.
I just had to enable the internal filters and didn't ahve to change anything else on madvr side and it outputs HDR10

But I still think that's the case:
Quote:
Originally Posted by chros View Post
No, madvr doesn't support anything else just HDR10. And that's a big bummer
Quote:
Originally Posted by huhn View Post
i use the sushi sample.

edit: i will create a bug report for madVR so we know if madVR is working correctly.
madvr reports more than 5000 nits frequently for that sushi sample.
I think the problem is that HDR10 and HLG HDR use different eotf curves and madvr only understand the HDR10 one, so it deals with the HLG video incorrectly as it was HDR10.

I need to compare this way and with Plex on the TV, but it seems to be way off most of the times.
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config

Last edited by chros; 12th December 2020 at 13:19.
chros is offline   Reply With Quote
Old 12th December 2020, 13:14   #8018  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
Windows 10 support only HDR10 output-passthrough.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 12th December 2020, 13:21   #8019  |  Link
chros
Registered User
 
chros's Avatar
 
Join Date: Mar 2002
Posts: 2,323
Quote:
Originally Posted by Aleksoid1978 View Post
Windows 10 support only HDR10 output-passthrough.
I understand, but that's not the problem but this:
Quote:
Originally Posted by chros View Post
I think the problem is that HDR10 and HLG HDR use different eotf curves and madvr only understand the HDR10 one, so it deals with the HLG video incorrectly as it was HDR10.

I need to compare this way and with Plex on the TV, but it seems to be way off most of the times.
I checked with the "Sony_Another_World_2_4K_Demo-184046-tmu_hlg10_hevc.mkv" and mdavr's HDR10 output is way off.
Same with mpcvideorenderer.

So as far as I understand, madvr and your renderer has to convert HLG HDR to HDR10 at first and then do its/your thing
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config

Last edited by chros; 12th December 2020 at 13:25.
chros is offline   Reply With Quote
Old 12th December 2020, 14:19   #8020  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
Quote:
Originally Posted by chros View Post
I understand, but that's not the problem but this:

I checked with the "Sony_Another_World_2_4K_Demo-184046-tmu_hlg10_hevc.mkv" and mdavr's HDR10 output is way off.
Same with mpcvideorenderer.

So as far as I understand, madvr and your renderer has to convert HLG HDR to HDR10 at first and then do its/your thing
Give me a link for it's file, i checked.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:02.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.