2023-09-21, 20:54
Hi everyone,
I think there is a bug making Kodi ignore the Limited/Full range setting when DRM Prime decoder is enabled, making Kodi always output in Full range.
But from the beginning:
I recently installed LibreELEC (11.0.3 (RPi4.arm)) to my RPi4 and I tried to set up video levels correctly. I read this page:
https://kodi.wiki/view/Video_levels_and_...ed%20range.
What I have learned is that the best setting is:
Kodi: Limited
GPU: Full
TV: Limited
The GPU was set to "auto" by default, and I was unsure if this actually works with my >15 years old LCD, so I set GPU to "Full" via modetest in autostart.sh. (EDIT: Before, I wrote I set GPU to "Limited" which was wrong!)
Anyway, the problem:
Regardless if I configure Kodi to "Limited" or "Full", when playing video, it always looks the same. The actual Kodi menus and when viewing images change as expected.
So I think the video level settings in Kodi are ignored when playing video files using RPi4.
I could get it to work by disabling DRM Prime Decoding in the Kodi settings. When I do that, then the video looks (and changes) as expected in regard to the video level setting.
When enabling DRM Prime, then I get the same looks as when putting Kodi to "Full".
So, I think when DRM Prime is enabled, then Kodi always outputs video as "Full" even when Kodi is configured to "Limited". I hope, I could make myself clear
PS.
When doing the same on my Intel NUC, then the Kodi Full/Limited setting has an effect when showing videos. So I think this bug (if it is a bug) is RPi specific.
I think there is a bug making Kodi ignore the Limited/Full range setting when DRM Prime decoder is enabled, making Kodi always output in Full range.
But from the beginning:
I recently installed LibreELEC (11.0.3 (RPi4.arm)) to my RPi4 and I tried to set up video levels correctly. I read this page:
https://kodi.wiki/view/Video_levels_and_...ed%20range.
What I have learned is that the best setting is:
Kodi: Limited
GPU: Full
TV: Limited
The GPU was set to "auto" by default, and I was unsure if this actually works with my >15 years old LCD, so I set GPU to "Full" via modetest in autostart.sh. (EDIT: Before, I wrote I set GPU to "Limited" which was wrong!)
Anyway, the problem:
Regardless if I configure Kodi to "Limited" or "Full", when playing video, it always looks the same. The actual Kodi menus and when viewing images change as expected.
So I think the video level settings in Kodi are ignored when playing video files using RPi4.
I could get it to work by disabling DRM Prime Decoding in the Kodi settings. When I do that, then the video looks (and changes) as expected in regard to the video level setting.
When enabling DRM Prime, then I get the same looks as when putting Kodi to "Full".
So, I think when DRM Prime is enabled, then Kodi always outputs video as "Full" even when Kodi is configured to "Limited". I hope, I could make myself clear

PS.
When doing the same on my Intel NUC, then the Kodi Full/Limited setting has an effect when showing videos. So I think this bug (if it is a bug) is RPi specific.