Posts: 17,430
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,430
Thanks for the contribution.
Posts: 42
Joined: Jan 2016
Reputation:
2
Thanks a lot for this great improvement!
It is much better than it was before.
If I understood the meaning of this change correctly, the kodi gui should look "exactly" the same in both sdr and hdr mode.
Here that is not the case however, the colors are more muted and white is greyish in hdr mode. I don't know how I can show it. Would print screens or something work?
I use an nuc8i3bek with an oled55c7v via denon avr 3400h. Image mode technicolor expert in hdr and sdr. Using a different image mode in the tv in hdr does have an effect but it never becomes the same as sdr.
For testing I disabled the automatic hdr switch and did it manually with F11 to be able to easily toggle the two.
At a certain point while toggling while playing video, the colors of kodi became very washed out.Also I managed to crash kodi with that a few times. At the moment I can not reproduce and don't have logs.
Will look into it more later, or maybe it does already ring a bell.
Any way, much better then before! Thanks for your efforts!
Posts: 1,119
Joined: Oct 2011
Reputation:
380
jogal
Team-Kodi Member
Posts: 1,119
2020-12-27, 13:30
(This post was last modified: 2020-12-27, 13:35 by jogal.)
Well the OSD / GUI should look like screenshoot 1 in both HDR and SDR. I understand that this is so with normal operation (auto HDR switch / Use HDR display capabilities = ON).
In the second screenshoot you have managed to get playing SDR with the GUI still mapped to HDR (SDR => HDR). If you look at it, it looks dimmed just like when you watch an HDR video on an SDR screen with out tone mapping.
It is a small bug in the switching logic probably because the GUI status is not updated while the video is paused. Anyway I will look to see if it is possible to fix it easily.
Posts: 42
Joined: Jan 2016
Reputation:
2
The kodi GUI in HDR mode (either automatic or via F11) looks like something in between the two screenshots.
I don't know if that is a flaw in your code or if it is a setting or feature of my tv. Whichever of the two it is: it is a huge improvement over how it was before your changes and I am happy with it!
Posts: 3,874
Joined: Mar 2006
Reputation:
158
Jogal for president! :-D
Thanks for all your work.
For troubleshooting and bug reporting please make sure you
read this first (usually it's enough to follow instructions in the second post).
Posts: 133
Joined: Jun 2014
Reputation:
9
working great! one minor nitpick after this PR gets into master: can you add a setting for white point? currently it's hardcoded at 100 nits, right?