Originally posted by darkbasic
View Post
Announcement
Collapse
No announcement yet.
[GMA X4500] GPU video decoding (VA-API?)
Collapse
X
-
Interesting, but what now?
I have Linux 2.6.35-rc2, libdrm git 20100609, and libva git HEAD.
After building with --enable-i965-driver I get:
Code:$ vainfo libva: libva version 0.31.1 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/dri/i965_drv_video.so libva: va_openDriver() returns 0 vainfo: VA API version: 0.31 vainfo: Driver version: i965 Driver 0.1 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD vainfo: i965_media.c:295: i965_media_terminate: Assertion `media_state->free_private_context' failed. Aborted
Code:$ mplayer -quiet -vo vaapi -va vaapi h264.mp4 MPlayer SVN-r31303-4.4.3 (C) 2000-2010 MPlayer Team Playing h264.mp4. libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 VIDEO: [H264] 320x240 24bpp 12.000 fps 1159.2 kbps (141.5 kbyte/s) Clip info: major_brand: isom minor_version: 512 compatible_brands: isomiso2avc1mp41 encoder: Lavf52.32.0 libva: libva version 0.31.1 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/dri/i965_drv_video.so libva: va_openDriver() returns 0 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [VD_FFMPEG] VA API accelerated codec. Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== Audio: no sound Starting playback... Unsupported PixelFormat 61 [VD_FFMPEG] Trying pixfmt=1. Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [vaapi] 320x240 => 320x240 H.264 VA-API Acceleration [fs] [VD_FFMPEG] XVMC-accelerated MPEG-2. mplayer: i965_avc_ildb.c:621: i965_avc_ildb_decode_init: Assertion `avc_ildb_context->urb.cs_start + avc_ildb_context->urb.num_cs_entries * avc_ildb_context->urb.size_cs_entry <= ((((&i965->intel)->device_id == 0x0042) || ((&i965->intel)->device_id == 0x0046)) ? 1024 : (((&i965->intel)->device_id == 0x2E02 || (&i965->intel)->device_id == 0x2E12 || (&i965->intel)->device_id == 0x2E22 || (&i965->intel)->device_id == 0x2E32) || ((&i965->intel)->device_id == 0x2A42)) ? 384 : 256)' failed.
Comment
-
I'm still not sure if the kernel side of things have been mainlined yet? And that assertion failure you're getting when just running vainfo seems to indicate badness...
A status update from the Intel devs, or a short Phoronix article would be very welcome.
Comment
Comment