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 27th January 2020, 06:29   #1001  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,646
Quote:
Originally Posted by nsnhd View Post
What a mess.
https://www.windowscentral.com/how-d...tes-windows-10
ryrynz is offline   Reply With Quote
Old 29th January 2020, 10:33   #1002  |  Link
oldpainlesskodi
Registered User
 
Join Date: Apr 2017
Posts: 366
So, still no fix in sight for the AMD Navi cards not sending the BT2020 flag.....
__________________
LG OLED55BX6LB, Zidoo Z1000 Pro, Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Polk Signature HTS 10 Sub, DSPeaker Antimode 8033 Cinema
oldpainlesskodi is offline   Reply With Quote
Old 29th January 2020, 13:42   #1003  |  Link
Fandangos
Registered User
 
Join Date: Aug 2019
Posts: 27
Hi everyone,

I'm the developer of the Kodi HDR Edition and I'm trying for quite sometime to fix the Ryzen bug that does not send the BT2020 flag.
I have a RX 550 here that I use for testing and with this gpu everything is correct.

The user _DMU_ has been of great help and tested several builds without any changes.
The entire metadata is passed perfectly, Red X and Y, Blue X and Y, Green X and Y, White X and Y, min Master, max Master, max FALL, max CLL, the HDR flag is triggered and it stays at RGB and not RGB BT.2020.

So I was looking at my TV EDID and it is a Sony X905E, corresponding model in the US is X900E I believe.
Which is HDMI 2.0 level B.

For everyone suffering with this problem, can you post a picture of the EDID capture of the colorimetry and if HDMI 2.0 support shows up in your EDID when capturing data with Custom Resolution Utility?

Here's the colorimetry of my TV for reference.
https://ibb.co/dGvtKk4

It shows 600mhz and HDMI 2.0 support.

I want to exclude that this is not a display problem because on the software side, there's nothing much else I can do using AMD AGS API.
Fandangos is offline   Reply With Quote
Old 29th January 2020, 14:20   #1004  |  Link
oldpainlesskodi
Registered User
 
Join Date: Apr 2017
Posts: 366
Mine shows HDMI 2 support, and, same here, HDR is triggered, but the TV reports RGB Colour space, but when using the Win HDR Toggle, the set reports the colour space as BT2020.

https://ibb.co/DYxvCDB
__________________
LG OLED55BX6LB, Zidoo Z1000 Pro, Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Polk Signature HTS 10 Sub, DSPeaker Antimode 8033 Cinema
oldpainlesskodi is offline   Reply With Quote
Old 29th January 2020, 15:12   #1005  |  Link
Fandangos
Registered User
 
Join Date: Aug 2019
Posts: 27
Thanks for trying.

I've compiled the AGS Sample that will output some information gathered by the AMD driver, if you can give this exe a go:
https://mega.nz/#!LUsk0KzK!hVcfg1ki4...6zmz9orPkajYIA

Source code is here:
https://github.com/GPUOpen-Libraries...ter/ags_sample

As I was explaining in the Kodi HDR thread, I could add an automatic way to trigger the Windows HDR switch to ON when playback starts and off when it ends but it comes with a caveat.
When we do this it will revert movie playback from 23hz to 60hz.
The only other way around this for my fork is adding a shortcut that the user would have to press prior to starting the video to toggle this switch on, this would cause correct colors as BT.2020 would be sent.

Still I would like to find the cause of this bug to avoid such solution.
Fandangos is offline   Reply With Quote
Old 29th January 2020, 15:27   #1006  |  Link
oldpainlesskodi
Registered User
 
Join Date: Apr 2017
Posts: 366
Does the program create a log for me to share? or an image? if so, let me know where - happy to assist.

Screenshot of results:

https://ibb.co/3v1xR0M
__________________
LG OLED55BX6LB, Zidoo Z1000 Pro, Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Polk Signature HTS 10 Sub, DSPeaker Antimode 8033 Cinema

Last edited by oldpainlesskodi; 29th January 2020 at 15:31.
oldpainlesskodi is offline   Reply With Quote
Old 29th January 2020, 15:37   #1007  |  Link
Fandangos
Registered User
 
Join Date: Aug 2019
Posts: 27
Quote:
Originally Posted by oldpainlesskodi View Post
Does the program create a log for me to share? or an image? if so, let me know where - happy to assist.

Screenshot of results:

https://ibb.co/3v1xR0M
Just run it, click on the left corner of the command pront, edit, select all.
Again into edit and copy, paste it here.

EDIT: Can you run it with windows HDR enabled and disabled?
Fandangos is offline   Reply With Quote
Old 29th January 2020, 15:39   #1008  |  Link
oldpainlesskodi
Registered User
 
Join Date: Apr 2017
Posts: 366
Display Device: 0: AMD Radeon RX 5700 XT, \\.\DISPLAY1 (primary)
Display Device: 1: AMD Radeon RX 5700 XT, \\.\DISPLAY2 [disabled]
Display Device: 2: AMD Radeon RX 5700 XT, \\.\DISPLAY3 [disabled]
Display Device: 3: AMD Radeon RX 5700 XT, \\.\DISPLAY4 [disabled]
Display Device: 4: AMD Radeon RX 5700 XT, \\.\DISPLAY5 [disabled]
Display Device: 5: AMD Radeon RX 5700 XT, \\.\DISPLAY6 [disabled]
Display Device: 6: AMD Radeon RX 5700 XT, \\.\DISPLAY7 [disabled]
Display Device: 7: AMD Radeon RX 5700 XT, \\.\DISPLAY8 [disabled]

Driver check could not determine the driver version for 18.8.randombetadriver
Driver check shows the installed 18.8.123randomdriver driver is newer or the same as the 18.8.2 required version
Driver check shows the installed 18.9.randomdriver driver is newer or the same as the 18.8.2 required version
Driver check shows the installed 18.8.2 driver is newer or the same as the 18.8.2 required version
Driver check shows the installed 18.8.2 driver is newer or the same as the 18.8.1 required version
Driver check shows the installed 18.8.2 driver is older than the 18.8.3 required version


AGS Library initialized: v5.4.0
Is *not* WACK compliant for use in UWP apps
-----------------------------------------------------------------
Radeon Software Version: 20.1.3
Driver Version: 19.50.15.01-200117a1-351045E-RadeonSoftwareAdrenalin2020
-----------------------------------------------------------------

---------- Device 0 [primary], AMD Radeon RX 5700 XT
Vendor id: 0x1002 (AMD)
Device id: 0x731F
Revision id: 0x00C1

Architecture: RDNA, 40 CUs, 20 WGPs, 64 ROPs
core clock 1755 MHz, memory clock 1750 MHz
9.0 Tflops
local memory: 7805 MBs (437.5 GB/s), shared memory: 8150 MBs


Eyefinity not enabled on this device

---------- Display 0 [primary]----------------------------------------
device name: \\.\DISPLAY1
monitor name: AV Receiver

Max resolution: 3840 x 2160, 60.0 Hz
Current resolution: 3840 x 2160, Offset (0, 0), 60.0 Hz
Visible resolution: 3840 x 2160, Offset (0, 0)

chromaticity red: 0.065600, 0.034000
chromaticity green: 0.032000, 0.062400
chromaticity blue: 0.015600, 0.005600
chromaticity white point: 0.000000, 0.000000

luminance: [min, max, avg] 0.000000, 0.000000, 0.000000
screen reflectance diffuse 0.000000
screen reflectance specular 0.000000

HDR10 supported
Dolby Vision supported

logical display index: 12
ADL adapter index: 0


-----------------------------------------------------------------
Primary Display detected
Display name: x
Device name:
DisplayFlags: 0

done
__________________
LG OLED55BX6LB, Zidoo Z1000 Pro, Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Polk Signature HTS 10 Sub, DSPeaker Antimode 8033 Cinema
oldpainlesskodi is offline   Reply With Quote
Old 29th January 2020, 15:55   #1009  |  Link
oldpainlesskodi
Registered User
 
Join Date: Apr 2017
Posts: 366
Win HDR toggle enabled:

Display Device: 0: AMD Radeon RX 5700 XT, \\.\DISPLAY10 (primary)
Display Device: 1: AMD Radeon RX 5700 XT, \\.\DISPLAY11 [disabled]
Display Device: 2: AMD Radeon RX 5700 XT, \\.\DISPLAY12 [disabled]
Display Device: 3: AMD Radeon RX 5700 XT, \\.\DISPLAY13 [disabled]
Display Device: 4: AMD Radeon RX 5700 XT, \\.\DISPLAY14 [disabled]
Display Device: 5: AMD Radeon RX 5700 XT, \\.\DISPLAY15 [disabled]
Display Device: 6: AMD Radeon RX 5700 XT, \\.\DISPLAY16 [disabled]
Display Device: 7: AMD Radeon RX 5700 XT, \\.\DISPLAY17 [disabled]

Driver check could not determine the driver version for 18.8.randombetadriver
Driver check shows the installed 18.8.123randomdriver driver is newer or the same as the 18.8.2 required version
Driver check shows the installed 18.9.randomdriver driver is newer or the same as the 18.8.2 required version
Driver check shows the installed 18.8.2 driver is newer or the same as the 18.8.2 required version
Driver check shows the installed 18.8.2 driver is newer or the same as the 18.8.1 required version
Driver check shows the installed 18.8.2 driver is older than the 18.8.3 required version


AGS Library initialized: v5.4.0
Is *not* WACK compliant for use in UWP apps
-----------------------------------------------------------------
Radeon Software Version: 20.1.4
Driver Version: 19.50.17.01-200124a-351282E-RadeonSoftwareAdrenalin2020
-----------------------------------------------------------------

---------- Device 0 [primary], AMD Radeon RX 5700 XT
Vendor id: 0x1002 (AMD)
Device id: 0x731F
Revision id: 0x00C1

Architecture: RDNA, 40 CUs, 20 WGPs, 64 ROPs
core clock 1755 MHz, memory clock 1750 MHz
9.0 Tflops
local memory: 7805 MBs (437.5 GB/s), shared memory: 8150 MBs


Eyefinity not enabled on this device

---------- Display 0 [primary]----------------------------------------
device name: \\.\DISPLAY10
monitor name: AV Receiver

Max resolution: 3840 x 2160, 60.0 Hz
Current resolution: 3840 x 2160, Offset (0, 0), 60.0 Hz
Visible resolution: 3840 x 2160, Offset (0, 0)

chromaticity red: 0.065600, 0.034000
chromaticity green: 0.032000, 0.062400
chromaticity blue: 0.015600, 0.005600
chromaticity white point: 0.000000, 0.000000

luminance: [min, max, avg] 0.000000, 0.000000, 0.000000
screen reflectance diffuse 0.000000
screen reflectance specular 0.000000

HDR10 supported
Dolby Vision supported

logical display index: 12
ADL adapter index: 0


-----------------------------------------------------------------
Primary Display detected
Display name: x
Device name:
DisplayFlags: 0

done
__________________
LG OLED55BX6LB, Zidoo Z1000 Pro, Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Polk Signature HTS 10 Sub, DSPeaker Antimode 8033 Cinema
oldpainlesskodi is offline   Reply With Quote
Old 29th January 2020, 16:07   #1010  |  Link
Fandangos
Registered User
 
Join Date: Aug 2019
Posts: 27
Yeah.........

It's not the first time I try to fix this and once again this is a dead end.
I can't find anything that might result in bt.2020 not being sent to the display.
Fandangos is offline   Reply With Quote
Old 29th January 2020, 16:11   #1011  |  Link
oldpainlesskodi
Registered User
 
Join Date: Apr 2017
Posts: 366
Well, at least thanks for looking.
__________________
LG OLED55BX6LB, Zidoo Z1000 Pro, Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Polk Signature HTS 10 Sub, DSPeaker Antimode 8033 Cinema
oldpainlesskodi is offline   Reply With Quote
Old 29th January 2020, 16:17   #1012  |  Link
DMU
Registered User
 
Join Date: Dec 2018
Posts: 207
Your post on the Kodi forum:
Quote:
the workaround is turning windows hdr toggle to on.
You can do this before opening kodi, just going into windows display settings, turning it on and colors will be correct.
This is not a good solution for the end user so i can make it automatic but.... And a huge but..
The code we have to turn hdr on will default the refresh rate back to 60hz.
So this will kill 23hz playback.
Solve this problem so that the frequency does not switch. Do not need anything else.
I don’t understand why the frequency is switched? This code simply activates the Windows HDR mode, the frequency does not change in the desktop!
__________________
R3 3200G / Vega8 / Samsung UE40NU7100
Win11Pro 21H2 / 4K RGB 59Hz / AMD last driver
MPC-HC 1.9.17 / madVR 0.92.17 / FSW / SM / 8bit
DMU is offline   Reply With Quote
Old 29th January 2020, 16:28   #1013  |  Link
Fandangos
Registered User
 
Join Date: Aug 2019
Posts: 27
Quote:
Originally Posted by DMU View Post
Your post on the Kodi forum:


Solve this problem so that the frequency does not switch. Do not need anything else.
I don’t understand why the frequency is switched? This code simply activates the Windows HDR mode, the frequency does not change in the desktop!
Me neither. I have no idea why it does, but it does.

I tried with both the code you provided and the refactored code made by Jogal both resulted in 60hz being activated again.

Tried with the code inside Kodi, tried with external .exe.

Tried switching at the start of video playback, tried switching a few seconds after playback starts.
Every scenario results in 23hz reverting to 60hz.

This is true for both AMD and Nvidia.

If I switch the refresh using Windows display settings and run the code it will mantain 23hz.
I even tried triggering kodi's updateresolution call that would set 23hz again, nothing.

And I can't activate it automatically prior to playback start because we have no means to know if the file played has HDR metadata or it's primaries are bt.2020 before playback starts.

So the only solution I see to not break refresh rate switching is to turn it ON before the playback starts manually.

Maybe some other dev could point a solution, I honestly have no idea how to overcome this limitation.

EDIT:
Opened another issue at the AMD AGS:
https://github.com/GPUOpen-Libraries..._SDK/issues/35

Last edited by Fandangos; 29th January 2020 at 16:31.
Fandangos is offline   Reply With Quote
Old 29th January 2020, 17:03   #1014  |  Link
DMU
Registered User
 
Join Date: Dec 2018
Posts: 207
Quote:
Originally Posted by Fandangos View Post
Tried switching at the start of video playback, tried switching a few seconds after playback starts.
Every scenario results in 23hz reverting to 60hz.
Is this the reason why Jogal does not want to automatically activate the HDR mode?

Quote:
Originally Posted by Fandangos View Post
Opened another issue at the AMD AGS:
https://github.com/GPUOpen-Libraries..._SDK/issues/35
Have you read my?
__________________
R3 3200G / Vega8 / Samsung UE40NU7100
Win11Pro 21H2 / 4K RGB 59Hz / AMD last driver
MPC-HC 1.9.17 / madVR 0.92.17 / FSW / SM / 8bit
DMU is offline   Reply With Quote
Old 29th January 2020, 17:17   #1015  |  Link
Fandangos
Registered User
 
Join Date: Aug 2019
Posts: 27
Quote:
Originally Posted by DMU View Post
Is this the reason why Jogal does not want to automatically activate the HDR mode?


Have you read my?
I don't know.
He is a far better dev than I am so I don't know if he faced another issue besides that one.

And yes I've seen yours, it's very informative, sadly I don't think anyone looks at the ags github anymore.
Fandangos is offline   Reply With Quote
Old 29th January 2020, 17:33   #1016  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
i just say it again they have more important things to do for now.

the 5600 is a very important product this one just has to work.
huhn is offline   Reply With Quote
Old 29th January 2020, 18:41   #1017  |  Link
oldpainlesskodi
Registered User
 
Join Date: Apr 2017
Posts: 366
Huhn - Not sure where you are coming from/what you mean.
__________________
LG OLED55BX6LB, Zidoo Z1000 Pro, Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Polk Signature HTS 10 Sub, DSPeaker Antimode 8033 Cinema
oldpainlesskodi is offline   Reply With Quote
Old 29th January 2020, 20:14   #1018  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,406
The drivers have issues that are a lot more serious than this bug with the HDR API.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 29th January 2020, 20:37   #1019  |  Link
oldpainlesskodi
Registered User
 
Join Date: Apr 2017
Posts: 366
Oh well. I don't game, so, here's to the next driver........
__________________
LG OLED55BX6LB, Zidoo Z1000 Pro, Yamaha RX-A3060, Polk Signature Fronts & Centre, Wharfedale D300 Atmos surrounds, Polk Signature HTS 10 Sub, DSPeaker Antimode 8033 Cinema
oldpainlesskodi is offline   Reply With Quote
Old 29th January 2020, 23:30   #1020  |  Link
mclingo
Registered User
 
Join Date: Aug 2016
Posts: 1,348
oddly, gaming on my 5700 is flawless
__________________
LG OLED EF950-YAM RX-V685-RYZEN 3600 - 16GBRAM - WIN10 RX 5700 - https://www.videohelp.com/software/madVR/old-versions
mclingo 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 12:02.


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