Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04
Hi,

I am facing a segfault when using libva-1.2.1 & libva-intel-driver-1.2.1
with xbmc 13.alpha-7f45288 (downloaded from sources.openelec.tv)
which does not occur with libva-1.1.1 & libva-intel-driver-1.0.20.

CPU is a i3-3220T, Linux kernel version is 3.11.0, the system is
uClibc-based, the binaries are cross-compiled using buildroot.

The segfault happens when playing h264 content:
Code:
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/va/i965_drv_video.so
[New Thread 0xa49faba0 (LWP 6221)]
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa49faba0 (LWP 6221)]
vaCreateSurfaces_0_32_0 (dpy=0xd0ec8f8, width=1920, height=800, format=1, num_surfaces=219852252,
    surfaces=0xa) at va_compat.c:40
I fixed the segfault by reverting this patch:
http://cgit.freedesktop.org/libva/patch/...222ff704f9

Unfortunately my knowledge is too low to tell why the
revert fixes the bug, my guess is that the libva compat
layer was introduced later than this xbmc commit:
https://github.com/xbmc/xbmc/commit/da65...1477b1bbab

Reverting the xbmc commit in question and using a patch
similar to this MythTV patch
http://code.mythtv.org/trac/changeset/3b...eb0/mythtv
did not fix the xbmc segfault however.
Kodi 19.5-Matrix/OpenGLES/gbm (+ PR19558 ) - Linux kernel 5.14.21 x86_64 - ffmpeg 4.4-git (+ patch )
Mesa 22.3.7 with iris driver - VA-API version 1.16.0 + Intel iHD driver version 22.6.3 - libdrm 2.4.116 - libcec 6.0.2
Intel i9-11900T - ASRock Z590 Extreme - BIOS version 2.20


Messages In This Thread
RE: vaapi-vpp: Deinterlacing Testing - by bkuhls - 2013-09-30, 22:00
EDID / HDMI Handshake workaround - by Ney - 2014-10-29, 13:58
Thank you! - by Sta11ion - 2015-01-02, 01:51
Logout Mark Read Team Forum Stats Members Help
VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.0416