• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 102
Release Kodi Matrix 19.0 HDR Edition
#1
Kodi Matrix 19.0 HDR Edition.
It's been a long time since I've updated this fork but @Wanilton picked it up and kept it updated.
You can find the link to his version down below. 

This fork of Kodi aims to bring support for full HDR10 pass through on Windows 10 using Nvidia and AMD GPUs.
For Intel use this fork instead: https://forum.kodi.tv/showthread.php?tid=349861


Download link:

Kodi Matrix 19.0 HDR Edition:
https://www.xbmcbrasil.net/thread-4527-post-36939.html

https://github.com/fandangos/Kodi-HDR-Edition/releases


 
Instructions:
Install and start kodi
Do NOT toggle windows HDR switch ON. Leave it off.

Extra instructions

This fork can force 12bits output on Nvidia Hardware, to do this create a advancedsettings.xml file in %AppData%\Kodi\userdata with the following:
<advancedsettings>
   <nvidia12bits>true</nvidia12bits>
</advancedsettings>

This fork can switch Windows HDR display settings toggle automaticly for content that is HDR10.
This can be used as a fix for Ryzen with dessaturated colors because the bt.2020 flag is not sent to the display.
This has a caveat, if you use display refresh rate change for 23.976 playback this will default the player to 60hz.
To use it create a advancedsettings.xml file in %AppData%\Kodi\userdata with the following:
<advancedsettings>
   <autohdr>true</autohdr>
</advancedsettings>
About Blurays and UHD Blurays with menus:

While playing a Bluray or UHD Bluray with menus if you can't click on the pop up of resume feature:
- Press M to bring the Kodi OSD menu and press video home menu button. This will bring the controller to the bluray menu. 

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/
and
https://javatutorial.net/set-java-home-windows-10

Source code:
updated:

https://github.com/Wanilton/Kodi-HDR-Edition

old
https://github.com/fandangos/Kodi-HDR-Edition/

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.


If you feel this is a cool project you can buy me a beer clicking here:
DONATE
Thank you!
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.
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 iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
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 iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
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!
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 iso menus
DIY HOME THEATER WIND EFFECT

W11 Pro 24H2 MPC-BE\HC madVR KODI 22 GTX960-4GB/RGB 4:4:4/Desktop 60Hz 8bit Video Matched Refresh rates 23,24,50,60Hz 8/10/12bit/Samsung 82" Q90R Denon S720W
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 102

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