Release Kodi Matrix 19.0 HDR Edition
#1
Kodi Matrix 19.0 HDR Edition.

This version aims to bring support for full HDR10 pass through on Windows 10 using Nvidia GPUs. 

Version 2.2b 

Updated FFmpeg to 4.3r94501

Releases are now available on github.


Version 2.2:

10 bit output set to true by default - no need for advancedsettings.xml anymore
Tone mapping set to off by default - no need to change anything in video settings
Install comes now packed with libbluray 1.1.2.

Out of all UHD BD menus I tested only 2001 a space odyssey had some problems.

version: 2.1
Updated with Kodi git up to 8/16/2019
Improved compatibility of HDR with UHD BD Menus.
Updated link below with Libbluray 1.1.2


Download link:
Kodi Matrix 19.0 HDR Edition version 2.2:

https://github.com/fandangos/xbmc/releases/


 
Instructions:
Install and start kodi

For BD-J playback you will need java runtime environment 8.
Download it from the official java website here:
https://www.java.com/en/download/

Source code:
https://github.com/fandangos/xbmc


Comparison: OPPO 203 vs Kodi HDR Editon
Image
Image



Special thanks to:
fritsch
Anton @afedchin 
Mathias @madshi 
Wanilton @Wanilton

Disclaimer:
This is a not-for-profit open source project. 
No proprietary code is available or shipped with this software.
Aditional files needed to properly compile this project needs to be supplied by the end user. 
This project has absolute no connection with any GPU manufacture company, it's not endorsed and uses no logo or name of any company and will stay this way.
Reply
#2
Is this exclusively for Kodi 19? Would love to test but not looking to upgrade to v19 until we have a stable build.
Kodi Matrix 19.0 HDR Edition - Aeon MQ8 2.9.0 - RTX 2080 Ti - i9 9900K - LG C7 OLED
Reply
#3
(2019-07-22, 11:10)HomeTheatreGuru Wrote: Is this exclusively for Kodi 19? Would love to test but not looking to upgrade to v19 until we have a stable build.

If this do actually work and I have access to a v18 source code I can port it, as long as try10bitouput is already present.

At the moment there's not much difference from Leia to Matrix as far as I know, by the way.
Reply
#4
Used your installer compiled above ^ leaving at default.  (all options were installed)
Started KODI after installation.
Windows HDR engaged.
Turned off Windows HDR.
HDR was still engaged (I presume nVidia HDR)
No way to turn it off.
Closed KODI.
HDR still engaged.
Toggled display off/on.
HDR disengaged.

Restarted your KODI fork.
Repeated exactly as above.


Installed latest official nightly Matrix which uninstalled your fork.
All is back to normal I think.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
W10/1903 MPC-BE\HC PDVD19 DVDFab3 KODI 19 PotPlayer 960-4GB/RGB 4:4:4/Desktop=60Hz/Video=Matched Refresh rates 8bit/65JS8500 UHD HDR 3D
Reply
#5
That's really good news. So switching into hdr worked.

Can you tell me:

1. HDR turned on when you started a movie or opened Kodi?
2. Did you try to play an hdr movie so you could see if colors were correct?
Reply
#6
1.  Just as I wrote, when I started KODI.  
2.  I didn't attempt to play a movie because HDR was engaged.  Once by Windows and again by nVidia.  Colors didn't concern me at that point.

This wouldn't work well if I was to play SDR with HDR already engaged by two different mechanisms.
It also doesn't work well to have HDR engaged while browsing the KODI library let alone Windows desktop.

Imo, HDR should not engage until an HDR title is opened.  Not before.  As it stands, it's the same as engaging HDR permanently and then opening KODI to play something.  At least you have compiled switcher.exe into the fork now which is great.  Now just need to find out how to control it.  I don't think engaging Windows HDR is your intention.  Why that engages is something to consider.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
W10/1903 MPC-BE\HC PDVD19 DVDFab3 KODI 19 PotPlayer 960-4GB/RGB 4:4:4/Desktop=60Hz/Video=Matched Refresh rates 8bit/65JS8500 UHD HDR 3D
Reply
#7
(2019-07-22, 21:12)brazen1 Wrote: 1.  Just as I wrote, when I started KODI.  
2.  I didn't attempt to play a movie because HDR was engaged.  Once by Windows and again by nVidia.  Colors didn't concern me at that point.

This wouldn't work well if I was to play SDR with HDR already engaged by two different mechanisms.
It also doesn't work well to have HDR engaged while browsing the KODI library let alone Windows desktop.

Imo, HDR should not engage until an HDR title is opened.  Not before.  As it stands, it's the same as engaging HDR permanently and then opening KODI to play something.  At least you have compiled switcher.exe into the fork now which is great.  Now just need to find out how to control it.  I don't think engaging Windows HDR is your intention.  Why that engages is something to consider.

Yeah I agree with you. The thing is as up to now I had no idea how to actually switch hdr mode on.
Now I know.

My intention is to trigger only when metadata is available.
I once saw a function that would do it.

And I think I know where to set it.

Going to work it when I get home.
Thank you very much for testing.

The next build at least will switch hdr off when exiting kodi, that I can say for sure.
Reply
#8
Exciting progress, thanks fandangos!
Kodi Matrix 19.0 HDR Edition - Aeon MQ8 2.9.0 - RTX 2080 Ti - i9 9900K - LG C7 OLED
Reply
#9
This may happen just in time for me to get an HDR TV! I'm watching this thread with anticipation!
Reply
#10
I installed your kodi installer.
turned windows HDR settings off
opened your kodi 19 build
when going from settings to other menu the picutre flickers
tried to play several HDR 4k mkv not seeing any HDR logo. if i tap info on my Samsung television its just say UDH not HDR
So not working for me.
Did i had to turn Windows HDR to ON before opening Kodi test build?
This are my TV i am testing on
https://www.samsung.com/dk/tvs/suhd-ks80...S8005TXXE/
Reply
#11
(2019-07-23, 15:01)SuperBilleN Wrote: I installed your kodi installer.
turned windows HDR settings off
opened your kodi 19 build
when going from settings to other menu the picutre flickers
tried to play several HDR 4k mkv not seeing any HDR logo. if i tap info on my Samsung television its just say UDH not HDR
So not working for me.
Did i had to turn Windows HDR to ON before opening Kodi test build?
This are my TV i am testing on
https://www.samsung.com/dk/tvs/suhd-ks80...S8005TXXE/

Two different results.
Other user reported that it worked just opening Kodi.
And a friend reported the same as him.

Honestly I had in mind the HDR switch would be triggered along with 10bit output color.
That's were I set the switch to take effect.

Are you using Windows 10?
Are you using the latest nvidia drivers?

Can you try it while disabling tone mapping in video settings.
Also set renderer to software, in expert settings in video player settings.

By the way there should be absolute zero need to enable hdr toggle in Windows. This should trigger hdr without it.

I'll keep working with the results by a friend and brazen1 because those match.

There's still a few things I need to figure out to make this a seamless solution so it might take some time.

Also in nvidia control panel set: let application to take control of color in the panel where you can switch resolutions.
Reply
#12
(2019-07-23, 15:01)SuperBilleN Wrote: This are my TV i am testing on
https://www.samsung.com/dk/tvs/suhd-ks80...S8005TXXE/

Your TV

Image

2019 model

Image

Notice for your TV there is nothing for HDR10 or HLG so are you sure your TV can display the type of HDR in the mkv you have.
Reply
#13
removed
Reply
#14
New version, calling this version 0.2. 

What's new:
1. Moved HDR code from rendering to videoplayer
This means HDR will be triggered only when videoplayer starts.

2. Added Set HDR Off when videoplayer exits. 

3. Added HDR code with MaxFALL and MaxCLL function.

4. Set primaries to BT.2020 when HDR is enabled. 


As always, I'm still away from my 4K TV and I need someone to play an HDR movie on a HDR screen and report with results.

Download link:
https://mega.nz/#!nBtnlAZI!gljWnp4y5uRga...liyewr7Wls

If this do work this can become an external player for main kodi since it will trigger HDR for every content on this build.
Also, the code has been updated on github.
Reply
#15
HDR engages/disengages when starting/stopping a title.
Unfortunately, this is true for SDR too.  It is not behaving for HDR titles exclusively.

Windows HDR is engaging and disengaging.  I have no evidence of nVidia being called for the duty nor how to check but Windows sure is.  I thought this was nVidia HDR exclusively?

The picture is too bright and washed out despite changing a few settings like software rendering.  Software rendering actually produces an unwatchable picture where pixel shaders or auto produces the too bright.  Windowed vs full screen has no affect although the panel does flash when toggling.

When I turn on Windows HDR, change renderer from madVR to default in MPC-BE settings, and play an HDR title from Windows Explorer, the picture looks pretty decent, not overly bright and washed out.  Way better than KODI VideoPlayer using this build.
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players
W10/1903 MPC-BE\HC PDVD19 DVDFab3 KODI 19 PotPlayer 960-4GB/RGB 4:4:4/Desktop=60Hz/Video=Matched Refresh rates 8bit/65JS8500 UHD HDR 3D
Reply
 
Thread Rating:
  • 2 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
Kodi Matrix 19.0 HDR Edition52