Kodi Community Forum
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server (/showthread.php?tid=231955)



RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-20

Wake up from sleep is something else ... as most likely your edid feels like being absent. You can try: http://wiki.openelec.tv/index.php/Configuring_a_Custom_xorg.conf#tab=Intel after a 100% succesful boot.

Edit: The EDID part - xorg.conf might most likely not be needed but does not hurt.


RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-12-20

@fritsch: i have also the problem with kernel 4.4 and the color passthrough. when kodi is set to limited color the brightness is too high and in the test video the bars are all visible from 0 to 255. i have to disable limited color to have limited color. in the black test video from 16 and up are visible and in the white test video up to 235.

xrandr --verbose is showing that video "Video 16:235 pass-through" is enabled.

is something different to setup in new kernel?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-20

New kernel needed new code - as the old patch would not apply at all anymore, so I rewrote it and it works on all my systems.

Here find the issue and I happily fix it: https://github.com/fritsch/linux/commit/72d030ffa118d6981cb678dae0b97dea77f14b4c


RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-12-20

i will have a look. can you give me the link to the old patch for 4.3? so i have something to compare.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-20

See the other branch - https://github.com/fritsch/linux/commit/c5aae007e6a9e69358f207025c1b4af89d116e8b

What you can do first is: https://github.com/fritsch/linux/commit/72d030ffa118d6981cb678dae0b97dea77f14b4c#diff-e60dc40b50f756868d8d37dbd6f7494bR1509 <- set limited_color_range to false and see what happens.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-20

Oki invested 10 minutes: http://sprunge.us/DCiG <- can you try with that one? Thanks much highly appreciated (to replace the older patch).

Edit: http://fritsch.fruehberger.net/openelec/v17_videoplayer_testing/OpenELEC-Generic.x86_64-6.0-devel-20151220173846-r21610-gea86900-dreamer-thx-much.tar <- please wait (until it's fully up)


RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-12-20

okay, that was also the first thing i have seen in case INTEL_BROADCAST_RGB_VIDEO. because of that i have asked for the old patch. to compare.
until now i didn't build OE from your sources. Only from the official sources. Today i won't get time to setup up the envirionment to your ones. tomorrow i can try to build.

edit: i try the image instead ;-)


RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-12-20

@fritsch: old behaviour from 4.3 is restored. i have to say thank you very much!


RE: New Era: VAAPI with EGL interoperation - NightFlight - 2015-12-20

Apologies if this is off-topic.

Without having gone through the entire thread - has anyone already "Fedorized" post #1
The closest I can find is: Here

The wiki references nvidia configuration. I'm using the N3150 beebox - but unfamiliar with the equivalent intel nomenclature. For the rest of it setting up a standalone Kodi box seems fairly standard.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-20

(2015-12-20, 19:29)NightFlight Wrote: Apologies if this is off-topic.

Without having gone through the entire thread - has anyone already "Fedorized" post #1
The closest I can find is: Here

The wiki references nvidia configuration. I'm using the N3150 beebox - but unfamiliar with the equivalent intel nomenclature. For the rest of it setting up a standalone Kodi box seems fairly standard.
Nope. You are welcome to be the first.


RE: New Era: VAAPI with EGL interoperation - neox387 - 2015-12-20

Using latest build I allso have the problem when stopping a movie 'interface' restarts back at home screen or black screen with mouse pointer.


from 19:06 boot then 2x 'interface restart' on stop and at end of log hang at black screen with mouse pointer.
http://sprunge.us/bFKL
http://sprunge.us/RKUB
http://sprunge.us/LFQC
http://sprunge.us/AYYb


edit: when running a file untill it stops there seems to be no problem and I get back to folder where I started the video


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-20

(2015-12-20, 20:13)neox387 Wrote: Using latest build I allso have the problem when stopping a movie 'interface' restarts back at home screen or black screen with mouse pointer.


from 19:06 boot then 2x 'interface restart' on stop and at end of log hang at black screen with mouse pointer.
http://sprunge.us/bFKL
http://sprunge.us/RKUB
http://sprunge.us/LFQC
http://sprunge.us/AYYb


edit: when running a file untill it stops there seems to be no problem and I get back to folder where I started the video
@fernet: does that ring a bell?


RE: New Era: VAAPI with EGL interoperation - NightFlight - 2015-12-20

(2015-12-20, 20:05)fritsch Wrote:
(2015-12-20, 19:29)NightFlight Wrote: Apologies if this is off-topic.

Without having gone through the entire thread - has anyone already "Fedorized" post #1
The closest I can find is: Here

The wiki references nvidia configuration. I'm using the N3150 beebox - but unfamiliar with the equivalent intel nomenclature. For the rest of it setting up a standalone Kodi box seems fairly standard.
Nope. You are welcome to be the first.

In the interest of sanity I think I'll swallow the ubuntu pill for the first attempt and go from there. Big Grin


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-20

Not sure what you need to swallow - religious discussions happen in the Windows forum. Head over there.


RE: New Era: VAAPI with EGL interoperation - _Spook_ - 2015-12-21

Just wanted to add that "Refreshrate Switching not working" that is claimed to be fixed on page 1 is not working for me. If Iset refreshrate in GUI to 60Hz I have sync issues and not correct refreshrate when playing videos. I will try to add the xorg.conf settings when i'm back from holiday.