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.