From: zaverel <za...@fr...> - 2014-09-11 12:39:53
|
hello, i upgrade libva and libva-intel-driver to latest git version in master branch and now vaapi is broken in xine-lib (svn): image is corrupted every second with green frame . libva info: VA-API version 0.36.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so libva info: Found init function __vaDriverInit_0_36 libva info: va_openDriver() returns 0 video_out_vaapi vaapi_open: Vendor : Intel i965 driver for Intel(R) Ivybridge Desktop - 1.3.3.pre1 (1.3.2-49-g238d807) video_out_vaapi vaapi_init : Context width 1920 height 1080 video_out_vaapi vaapi_init : Profile: 7 (VAProfileH264High) Entrypoint 1 (VAEntrypointVLD) Surfaces 50 video_out_vaapi vaapi_init : guarded render : 1 video_out_vaapi vaapi_init : glxrender : 0 video_out_vaapi vaapi_init : glxrender tfp : 0 video_out_vaapi vaapi_init : is_bound : 1 video_out_vaapi vaapi_init : scaling level : name default value 0x00000000 ffmpeg_video_dec: color matrix #1 [ITU-R 709 / HDTV] [h264 @ 0x7f30b4057030] mmco: unref short failure [h264 @ 0x7f30b4057030] hardware accelerator failed to decode picture video_out_vaapi: b 0 c 50 s 50 h 0 [ITU-R 470 BG / SDTV] video_out_vaapi: b 0 c 50 s 50 h 0 [ITU-R 709 / HDTV] WARNING: Invalid RefPicListX[] entry!!! It is not included in DPB [h264 @ 0x7f30b4057030] mmco: unref short failure 200 frames delivered, 18 frames skipped, 0 frames discarded [h264 @ 0x7f30b4057030] hardware accelerator failed to decode picture [h264 @ 0x7f30b4057030] hardware accelerator failed to decode picture [h264 @ 0x7f30b4057030] hardware accelerator failed to decode picture [h264 @ 0x7f30b4057030] hardware accelerator failed to decode picture [h264 @ 0x7f30b4057030] hardware accelerator failed to decode picture [h264 @ 0x7f30b4057030] hardware accelerator failed to decode picture it's seem that this commit in libva-intel-driver is the guilty Report BUSY surface state accordingly. Return VA_STATUS_ERROR_SURFACE_BUSY for key interfaces. This covers for va{Get,Put}Image(), as originally mandated by the VA-API specs; vaBeginPicture() as this is the entry-point to any decode, encode or video processing operation; but also for plain vaMapBuffer() operation. http://cgit.freedesktop.org/vaapi/intel-driver/commit/?id=c27d56290a150b44a87ba2d2df4d0c36ca5ab218 If i revert it that's work again with xine-lib but with vlc or mpv that's not necessary. See you. <http://cgit.freedesktop.org/vaapi/intel-driver/> |