FS#39844 - [vlc] Libvaapi bugs
Attached to Project:
Arch Linux
Opened by Mihail Ivanov (x0r) - Monday, 14 April 2014, 10:48 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 19 April 2015, 13:26 GMT
Opened by Mihail Ivanov (x0r) - Monday, 14 April 2014, 10:48 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 19 April 2015, 13:26 GMT
|
Details
Description:
I am using VLC with vaalib, the accel part works but I get screen tearing if I seek in the video. Also sometimes it segfaults when I start it. And once I've opened a file in it if I try to change it - it segfaults all the time, also when the video ends it segfaults as well. Errors such as: from vlc: [ 3525.495951] vlc[2954]: segfault at 0 ip 00007f13074fd9fb sp 00007f1322d6c948 error 4 in libvaapi_plugin.so[7f13074f9000+7000] [ 3526.113027] systemd-journald[231]: Failed to write entry (26 items, 201962098 bytes) despite vacuuming, ignoring: Argument list too long Additional info: Intel i5-3210m with HD4000 + nVidia 635M GT with Bumblebee(Propr. driver) 3.13.8-1-ARCH #1 SMP PREEMPT Tue Apr 1 12:19:51 CEST 2014 x86_64 GNU/Linux ffmpeg 1:2.2.1-1 intel-dri 10.1.0-4 libva-intel-driver 1.3.0-1 xf86-video-intel 2.99.911-2 flashplugin 11.2.202.350-1 vlc 2.1.4-2 libvdpau-va-gl 0.3.4-1 libvdpau 0.7-1 Steps to reproduce: Start a MKV(h264 encoded) file in VLC with VA-LIB accel option enabled, seek or try to change video. |
This task depends upon
Closed by Giovanni Scafora (giovanni)
Sunday, 19 April 2015, 13:26 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with VLC 2.2.0
Sunday, 19 April 2015, 13:26 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with VLC 2.2.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
[0x7fca18c0ecf8] avcodec decoder: Using VA API version 0.35 for hardware decoding.
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
[0x7fca18c0ecf8] avcodec decoder: Using VA API version 0.35 for hardware decoding.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7fca000b2348] freetype spu text error: Breaking unbreakable line
<unfinished ...>
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
here's strace log when I change the movie and it crashes
Works fine with va-api disabled so no HW accel.
Mine is a Dell laptop, 4th gen i5, pure intel graphics (no nvidia/ati)
VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be)
[0x25e4118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
[0x7fa5e8e316d8] avcodec decoder: Using VA API version 0.35 for hardware decoding.
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
[0x7fa5e8e316d8] avcodec decoder: Using VA API version 0.35 for hardware decoding.
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
Fontconfig warning: FcPattern object size does not accept value "0"
[0x7fa5b8001248] main vout display error: Failed to resize display
Segmentation fault (core dumped)
I see sometimes the same behaviour on my system (Archlinux x86_64, intel video driver). Seems that upstream already knows about the issue, see
https://trac.videolan.org/vlc/ticket/12382
but the ticket is closed.