Skip to contentSkip to conversation

vaapi intel-driver (vaapi-ext): assertion failed

DISCUSSION Christoph Evers 2 participants 2 messages Jan 31, 2012 – Feb 1, 2012

lore
Share & tools
lore
#0 lore raw

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:

Quoted 1 line

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)

#1 lore raw
Quoted 4 lines · Christoph Evers

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 [email protected]

Quoted 8 lines

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?

Quoted 6 lines
Quoted 2 lines

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

Quoted 2 lines

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.

Quoted 14 lines

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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx