Posts: 23,468
Joined: Aug 2011
Reputation:
1,101
fritsch
Team-Kodi Developer
Posts: 23,468
I think we need a section about "How to setup your TV". As this has - as you also pointed out - nothing to do with EGL / VAAPI anymore. It has been proven that this new method of colors processing and surface transfering is able to properly transfer colors.
Anyone with TV issues feel free to open a Thread in the Hardware Forum. I will link to it in the first post.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 315
Joined: Mar 2013
Reputation:
7
2015-09-30, 09:22
(This post was last modified: 2015-09-30, 09:23 by Sunflux.)
Yeah, I'm not seeing anything that's messing up colors in any way. Although, I still think the video drivers need to be hacked to allow a "Limited 16:235" mode that does NOT actually compress RGB, and instead outputs what its fed as-is.
Posts: 315
Joined: Mar 2013
Reputation:
7
2015-09-30, 09:40
(This post was last modified: 2015-09-30, 09:42 by Sunflux.)
I guess that depends on how the range conversion process works now. Currently, I know xrandr resets the signal when going from full to limited, but I don't know if that's something necessitude by the process of enabling/disabling range conversion, or whether that's just a result of toggling the limited flag on/off which causes the TV to adjust itself.
If the latter, and range conversion could be enabled/disabled on the fly for at least "range aware" full-screen applications, then I would say that switching from Kodi back to the desktop should definitely return to compressing 0-255 as 16-235 as default. So, for example, have a desktop where 0-255 is automatically compressed as 16-235, and a "range aware" application where 0-255 remains as such. Seems like similar capabilities exist for hardware-accelerated video playback, where the video playback overlay can have entirely different color properties from everything else.
If that's impossible, and the only option would be to continue to crush blacks on the desktop, then I still say this feature would be useful for standalone media boxes like OpenElec, where there is no desktop to worry about, and the priority is providing a top-notch media experience.
Posts: 315
Joined: Mar 2013
Reputation:
7
Wait a minute, is that the ENTIRE thing? Comment out that calculation and limited mode gets outputted as full mode?
I'd love if that could be turned into a toggleable setting that could be enabled/disabled inside OpenElec, as my primary viewing TV can't be forced into limited mode.
Posts: 315
Joined: Mar 2013
Reputation:
7
2015-09-30, 10:05
(This post was last modified: 2015-09-30, 10:07 by Sunflux.)
"hope the TV does not read the info frame and force it to Full Range" -> exactly what needs to be worked around. We want the correct info frame so that televisions can operate properly, while sending 0-255 untouched.
Posts: 23,468
Joined: Aug 2011
Reputation:
1,101
fritsch
Team-Kodi Developer
Posts: 23,468
Yeah - that's exactly the problem.
Short term workaround, add a "passthrough" mode - that just skips the conversion, but still sends info frame limited :-)
What daniels wants: DRM buffers that have a color attribute and then intel handles it internally accordingly, which is - i have to admit the "king way" of doing things. But DRM / MESA is not there yet and kernel is also not.
So - let's come up with a passthrough kernel patch.
Who is up for the task?
1.) add passthrough
2.) add passsthrough_mode bool
3.) check for passthrough_mode -> don't clamp.
4.) add this attribute to the list where you find Full and "Limited 16:235"
5.) Passthrough should force "Limited 16:235" but not to scale :-)
@Sunflux: Sounds like a job for you, isn't it?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 315
Joined: Mar 2013
Reputation:
7
LOL, you keep trying that, but I still don't know C++! Nor, frankly, much about 'nix-style O/Ss or anything close to the complexity of kernel code. My experience is limited to good ol' Perl programming for web applications, which is basically not useful for anything.
Posts: 23,468
Joined: Aug 2011
Reputation:
1,101
fritsch
Team-Kodi Developer
Posts: 23,468
Yeah - I will take a look tonight :-)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.