Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
(2015-11-10, 23:27)fritsch Wrote: The official OpenELEC version from www.openelec.tv is in no way to be compared / confused with the version in this thread.

The builds posted here, use:

"Passthrough 16:235" Mode by default in combination with kodi's Limited Range Setting. All Video colors are transfered untouched to the TV, which should be Limited Range. All Pictures are scaled to 16:235 range within kodi and then output without further scaling. To add, if you disable "Use Limited Range" in this kodi version, the Video data is expanded to 0..255 and banding is cared for by adding dithering. Pictures and menu are output as full rgb (0..255) and not touched. If your TV is limited range - disabling that "Use Limited range" setting makes kodi look much too dark. If your TV is full range - it should look okay - as our kernel mode does not interfer, it just lets everything you set out onto the display.

Official OE release uses:
A fucked up mode, called "Limited 16:235" - where the driver rescales everything it gets to 16:235 by its own while it is assuming full range input (!). So it is perfectly clear, that when you enable "Use Limited Range in kodi", that kodi scales to 16:235 but then _the driver_ does that again ... you end up with a super bright menus. For the Video output of VAAPI that does not count - as this nightmare code has blown up the Limited to full range by itself while the surfaces were copied. (Read the first post, please).

If you run the ubuntu tutorial version without a "Passthrough 16:235" kernel - you should set the kernel to Full Range and then use kodi's setting to choose the Range as described in the first post.

In short:
Official OpenELEC should not be used if you care a single bit about colors ...

This is a good summary, and should go into post #1 or #2.

BTW, there is a third alternative for effective passthrough which can work for some folks using the Official OE... (Works for me on good old OE 5)... Set Kodi Limited, disable VAAPI rendering, force the driver (xrandr) Full at startup, and set your TV to Limited.
Reply


Messages In This Thread
New Era: VAAPI with EGL interoperation - by VirtualRain - 2015-11-11, 10:01
Live TV broken again? - by schamane - 2016-02-29, 19:56
Random crashes - by hal2100 - 2016-03-08, 22:03
Strange Behaviour - by MicTie - 2016-12-07, 10:46
Working lirc with mce remote - by fr1day - 2019-08-10, 17:36
Logout Mark Read Team Forum Stats Members Help
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server18