Environment: -------------- Platform: IVB libva: (staging)bc49c42bcbfb24286c06b3e7cdb171b2a01c6f80 intel-driver: (staging)232ef48766c1f91a87a3d41f951fd2ac26dcf2ae mplayer: (hwaccel-vaapi)f1ad459a263f8537f6cba3bf479daea61c6104b9 gstreamer: (0.10)fa4da8fe6b3bed0bdf0233d321561b823c318742 gst-plugins-base: (0.10)1e1e6eaf3f0dd11f6618154d9739cbe3e007d206 gst-plugins-bad: (0.10)7d5b8e37287699c434628c63a35258f0f9619fe3 gst-plugins-good: (0.10)2720105682681ef652ee42c1e5a59e20d8146f3d gst-plugins-ugly: (0.10)5ddd97ff27ffeb03298be3a02ed18e8c2674d365 gst-plugins-vaapi: (0.4)6de506a2e2309adbe70c998e2c8297d7307beeda Bug Info: -------------- intel-driver conponent regression when testing CSC Log: gst-launch-0.10 filesrc location=/root/media_tools/Mux_Stream/H264_640x368_frame300.MP4 ! qtdemux ! vaapidecode ! vaapipostproc ! video/x-surface,type=vaapi,format=\(fourcc\)YV12 ! vaapidownload ! video/x-raw-yuv,format='(fourcc)'YV12 ! filesink location=HW.yuv libva info: VA-API version 0.34.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /opt/X11R7/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_34 libva info: va_openDriver() returns 0 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Invalid atom size. Additional debug info: qtdemux.c(2724): gst_qtdemux_loop_state_header (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0: Header atom ' Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Caught SIGSEGV accessing address 0x192 #0 0x00007f44cf217313 in ?? () #1 0x0000000000c5a230 in ?? () #2 0x00000000000000fa in ?? () #3 0x0000000000000001 in ?? () #4 0x0000000000bc0350 in ?? () #5 0x0000000000000001 in ?? () #6 0x00007f44cf753036 in ?? () #7 0x0000000000c5a230 in ?? () #8 0x000000fa7fffffff in ?? () #9 0x0000000000000001 in ?? () #10 0x0000000000d98bd0 in ?? () #11 0x0000000000bec300 in ?? () #12 0x0000000000608420 in ?? () #13 0x00000000ffffffff in ?? () #14 0x0000000000000028 in ?? () #15 0x0000000000000000 in ?? () Spinning. Please run 'gdb gst-launch 8437' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core. Reproduce steps: 1. xinit & 2. gst-launch-0.10 filesrc location=/root/media_tools/Mux_Stream/H264_640x368_frame300.MP4 ! qtdemux ! vaapidecode ! vaapipostproc ! video/x-surface,type=vaapi,format=\(fourcc\)YV12 ! vaapidownload ! video/x-raw-yuv,format='(fourcc)'YV12 ! filesink location=HW.yuv
BTW, it can work when the intel-driver commit number is as follow: b3afeef8092dc4eb7cb73fce672ddf7a55205f34
back trace: #0 i965_proc_picture (ctx=0x6abd90, profile=<optimized out>, codec_state=0x7fc088, hw_context=0x7fffe401a420) at i965_post_processing.c:5532 #1 0x00007fffed48a534 in vaEndPicture (dpy=0x6abd40, context=33554433) at va.c:1112 #2 0x00007fffed2496ca in gst_vaapipostprocess_process (postprocess=0x7fffe4010ec0, in_surface=0x7dd5e0, out_surface=0x7dd730) at gstvaapipostprocess.c:398 #3 0x00007fffee63b4ac in gst_vaapipostproc_process (buf=0x804a20, postproc=0x7d5010) at gstvaapipostproc.c:432 #4 gst_vaapipostproc_chain (pad=<optimized out>, buf=0x804a20) at gstvaapipostproc.c:710 #5 0x00007ffff7b4ef9a in gst_pad_push (pad=0x7b0530, buffer=0x804a20) at gstpad.c:4715 #6 0x00007fffee636cf7 in gst_vaapidecode_step (decode=0x7d2090) at gstvaapidecode.c:266 #7 0x00007ffff7b4ef9a in gst_pad_push (pad=0x7dc960, buffer=0x7fffe4002dc0) at gstpad.c:4715 #8 0x00007fffef52a4d3 in gst_qtdemux_decorate_and_push_buffer (qtdemux=0x7c2110, stream=<optimized out>, buf=0x7fffe4002dc0, timestamp=133333333, duration=33333333, keyframe=0, position=133333333, byte_position=21898) at qtdemux.c:3738 #9 0x00007fffef53e90c in gst_qtdemux_loop_state_movie (qtdemux=0x7c2110) at qtdemux.c:3817 #10 gst_qtdemux_loop (pad=0x7b0230) at qtdemux.c:3868 #11 0x00007ffff7b75aec in gst_task_func (task=0x804020) at gsttask.c:328 #12 0x00007ffff7616248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #13 0x00007ffff76159e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #14 0x00007ffff7396e9a in start_thread (arg=0x7fffea949700) at pthread_create.c:308 #15 0x00007ffff70c3ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #16 0x0000000000000000 in ?? ()
it is a gst vaapi issue which has been fixed by halley. commit c91a038d35b4ff6130f8d660bd466a4b93f06351 Author: Zhao Halley <halley.zhao@intel.com> Date: Wed Aug 7 16:34:04 2013 +0800 vaapipostproc: memset VAProcPipelineParameterBuffer
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.