All of lore.kernel.org
 help / color / mirror / Atom feed
* vaapi intel-driver (vaapi-ext): assertion failed
@ 2012-01-31 16:32 Christoph Evers
  2012-02-01  1:43 ` Xiang, Haihao
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Evers @ 2012-01-31 16:32 UTC (permalink / raw)
  To: intel-gfx

Hi folks,

i am not sure whether this issue belongs to the libva mailinglist or 
this one. I'll give it a try :-)

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:

> 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).

If I force NV12 in i965_media_mpeg2.c:517 playback is working (even 
deinterlaced on Clarkdale) but naturally with the wrong color space.

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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: vaapi intel-driver (vaapi-ext): assertion failed
  2012-01-31 16:32 vaapi intel-driver (vaapi-ext): assertion failed Christoph Evers
@ 2012-02-01  1:43 ` Xiang, Haihao
  0 siblings, 0 replies; 2+ messages in thread
From: Xiang, Haihao @ 2012-02-01  1:43 UTC (permalink / raw)
  To: Christoph Evers; +Cc: intel-gfx

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-01  1:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-31 16:32 vaapi intel-driver (vaapi-ext): assertion failed Christoph Evers
2012-02-01  1:43 ` Xiang, Haihao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.