From: "Xiang, Haihao" Subject: Re: vaapi intel-driver (vaapi-ext): assertion failed Date: Wed, 01 Feb 2012 09:43:27 +0800 Message-ID: <1328060607.28973.25.camel@xhh-ctg32> References: <4F281793.5040001@christoph-evers.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 3E4A69E76D for ; Tue, 31 Jan 2012 17:46:24 -0800 (PST) In-Reply-To: <4F281793.5040001@christoph-evers.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Christoph Evers Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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@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@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx