Bug 76425 - [Bisected] vaDeriveImage error during MPEG2 decoding
Summary: [Bisected] vaDeriveImage error during MPEG2 decoding
Status: VERIFIED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: haihao
QA Contact: Sean V Kelley
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 03:29 UTC by zhenxiang.li
Modified: 2014-03-25 01:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description zhenxiang.li 2014-03-21 03:29:02 UTC
Summary:
-------------------
The following bug info reproduced both using mplayer and gstreamer to decode mpeg2 files.
But mpeg2 clips displays normally when using mplayer or gstreamer:
 mplayer -nosound -fps 30 -vo vaapi -va vaapi /root/media_tools/decoder/bitstreams/tcela-7-slices.bits

Command line:
-------------------
LD_PRELOAD=/root/media_tools/decoder/i965_drv_video_hook_op.so mplayer -nosound -fps 30 -vo vaapi -va vaapi /root/media_tools/decoder/bitstreams/tcela-7-slices.bits

gst-launch-1.0 filesrc location=/root/media_tools/decoder/bitstreams/tcela-7-slices.bits '!' mpegvideoparse '!' vaapidecode '!' vaapisink sync=false

Log:
-------------------
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vaapi] 720x480 => 720x540 MPEG-2 VA-API Acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.
frame_count = 1
used size = 518400
srcx = 0
srcy = 0
srcw = 720
srch = 480
destx = 0
desty = 0
destw = 720
desth = 540
    i965_drv_video_hook_op.c, vaPutSurface, 70vaDeriveImage error
mplayer: i965_drv_video.c:1944: i965_MapBuffer: Assertion `0' failed.


MPlayer interrupted by signal 6 in module: flip_page
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

Bisect info:
-------------------
12c81227fd92fe028100af0cb32cc17b7f698b3d is the first bad commit
commit 12c81227fd92fe028100af0cb32cc17b7f698b3d
Author: Zhao, Halley 
Date: Fri Mar 14 17:12:41 2014 +0800
Comment 1 haihao 2014-03-24 04:17:25 UTC
This has been fixed by Halley

commit 41da810decbb2d64843b95384fc87f7a29152c88
Author: Zhao, Halley <halley.zhao@intel.com>
Date:   Fri Mar 21 01:56:39 2014 -0600

    Fix for check i965_check_alloc_surface_bo ret
Comment 2 zhenxiang.li 2014-03-25 01:57:48 UTC
close it


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.