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-11-17

New build is up.

Fernet is currently rewriting the handling of RAW audio - so if you are a passthrough user - check for regressions :-)


RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-11-18

no problem from my newbie experience (tested flac,dolby, dts and dts hd in passthrough mode)


RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-18

(2015-11-07, 13:11)BigL-New Wrote:
(2015-11-07, 11:52)fritsch Wrote: Nope - not yet. Please go to bugs.freedesktop.org and file it accordingly if this did not already happen.

Edit: Check if your kernel contains this commit, mentioned in here: https://bugs.freedesktop.org/show_bug.cgi?id=91579
Edit2: You can try drm-intel-nightly before, please: http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-nightly/current/CHANGES
The same with drm-intel-nightly. Message is little bit more informative, but still happens:

[drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=141704 end=141705) time 255 us, min 1073, max 1079, scanline start 1067, end 1084
It looks like kernel 4.4-rc1 helped a lot with this issue - no errors during 24h playback. So it looks like 4.4 will be the way to go for smooth playback (at least on BSW).


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-18

Nice. Now I only need someone to report back _if_ 44.1 khz audio for some Onkyo / Pioneer receivers also starts to work now magically.


RE: New Era: VAAPI with EGL interoperation - scf2k - 2015-11-18

Only Onkyo/Pioneer is relevant?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-18

Or if it 44.1 khz did not work _before_ for you ... but as you ask like that - you don't have an issue :-)


RE: New Era: VAAPI with EGL interoperation - rome - 2015-11-18

When watching live tv and it goes to commercials I get a lot of dropped and skipped frames.
kodi log : http://paste.ubuntu.com/13334117/
Also when starting certain channels I get this in the log.
ERROR: ffmpeg[7FE92AFFD700]: [mpeg2video] Invalid frame dimensions 0x0
Is that a tvheadend problem or a ffmpeg problem?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-18

tvheadend ... (as always) ....


RE: New Era: VAAPI with EGL interoperation - rome - 2015-11-18

OK I will file a issue and see what he says.


RE: New Era: VAAPI with EGL interoperation - lusephur - 2015-11-18

This obviously isn't of major concern to the work you're doing. But would it be possible to re introduce this into the kernel
http://forum.kodi.tv/showthread.php?tid=79616&pid=1936114#pid1936114

Without it, my remote ends up with limited functionality. (Last version to work fine is the one I'm currently using. OpenELEC-Generic.x86_64-6.0-devel-20151031104725-r21512-g3421da2 )


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-18

Send a PR to upstream OpenELEC, please - that's where it belongs ... then I pick it up. No need to carry it downstream.


RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-18

(2015-11-18, 12:11)fritsch Wrote: Nice. Now I only need someone to report back _if_ 44.1 khz audio for some Onkyo / Pioneer receivers also starts to work now magically.
If someone is interested here are packages with 4.4-rc1 vanilla kernel with passthrough colours patch applied (only this single patch):

http://37.235.60.68/linux-headers-4.4.0-rc1-passthrough_4.4.0-rc1-passthrough-10.00.Custom_amd64.deb
http://37.235.60.68/linux-image-4.4.0-rc1-passthrough_4.4.0-rc1-passthrough-10.00.Custom_amd64.deb

To use passthrough patch in Kodi put this into ~kodi/.config/openbox/autostart (please copy, don't try to write it from screen):
Code:
OUTPUT=`xrandr -q | sed '/ connected/!d;s/ .*//;q'`
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Video 16:235 pass-through"
xrandr -display :0 --output $OUTPUT --off ; xrandr -display :0 --output $OUTPUT --auto
/usr/bin/kodi --standalone
Big thanks goes to d0dger for providing space on web-server!


RE: New Era: VAAPI with EGL interoperation - lusephur - 2015-11-18

Will do.
Although they usually have it included in their kernel. And since your builds are using a more up to date version I thought I'd ask.
Thank you.


RE: New Era: VAAPI with EGL interoperation - scf2k - 2015-11-18


(2015-11-18, 23:20)lusephur Wrote: Without it, my remote ends up with limited functionality. (Last version to work fine is the one I'm currently using. OpenELEC-Generic.x86_64-6.0-devel-20151031104725-r21512-g3421da2 )

Are you using this remote with some x86 box? With built in bluetooth?



RE: New Era: VAAPI with EGL interoperation - lusephur - 2015-11-18

(2015-11-18, 23:30)scf2k Wrote:
(2015-11-18, 23:20)lusephur Wrote: Without it, my remote ends up with limited functionality. (Last version to work fine is the one I'm currently using. OpenELEC-Generic.x86_64-6.0-devel-20151031104725-r21512-g3421da2 )

Are you using this remote with some x86 box? With built in bluetooth?

Using the remote on a Asus Chromebox running Fritch's openelec builds. (Well, the Oct 31st build as the remote works fine with that one.) It's connected via the supplied dongle fromTivo (it's the slide pro model that was recently released)