[Intel-gfx] vaapi intel-driver (vaapi-ext): assertion failed
Xiang, Haihao
haihao.xiang at intel.com
Wed Feb 1 02:43:27 CET 2012
On Tue, 2012-01-31 at 17:32 +0100, Christoph Evers wrote:
> Hi folks,
>
> i am not sure whether this issue belongs to the libva mailinglist or
> this one. I'll give it a try :-)
You can send all VAAPI related mail to libva at lists.freedesktop.org
> For testing purpose I switched to vaapi-ext branch of intel-driver and
> libva (master is working fine).
>
> I am using xine-lib-vaapi for playback with xine which uses a vaapi
> accelerated ffmpeg: https://github.com/huceke/xine-lib-vaapi
>
> H.264 (non interlaced) files are played fine, but with MPEG2
> (interlaced/non-interlaced) the vaapi intel driver throws an exception:
Do you mean playing with a frame coded video also triggers the Assert?
> > xine: i965_drv_video.c:2075: i965_check_alloc_surface_bo: assertion
> > obj_surface->fourcc == fourcc failed.
>
> Obviously, the obj_surface fourcc (NV12) does not fit to the fourcc of
> the media (I420).
>
It seems there are other operations on this surface before decoding in
xine-lib-vaapi. I can't reproduce this issue with mplayer-vaapi
> If I force NV12 in i965_media_mpeg2.c:517 playback is working (even
> deinterlaced on Clarkdale) but naturally with the wrong color space.
The native pixel format for MPEG-2 decoding on Core i3 530 is I420.
>
> Do you guys have any idea?
>
> Christoph
>
> Hardware: Core i3 530
> Software: Ubuntu 11.11 x86 minimal with latest xorg stuff (edgers:ppa) and
> vaapi-ext branch for libva and intel-vaapi (git 30012012)
>
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
More information about the Intel-gfx
mailing list