Phoronix: Finally, Intel G45 VA-API Support Is Available
The Intel G45 chipset was released in the summer of 2008, but only this week is it now possible to take advantage of VA-API video playback acceleration for this Intel integrated graphics processor...
I didn't beleive it will EVER happen. Finally!
What will I have to update, to make this work? I don't quite understand it from the article
Unfortunately I only have the 965GM chipset doesn't support H264 decoding as I understand it though ;/
Is this the same as Quick Sync for Linux? (Probably not, since QS is a Sandy Bridge feature) I'm confused I can't find any info on the subject of Quick Sync for Linux.
2011-04-28 07:50:14 (GMT)
test/encode/avcenc: a simple encoder based on VA API for H.264
avcenc <width> <height> <input file> <output file> [qp]
Singed-off-by: Zhou Chang <firstname.lastname@example.org>
Singed-off-by: Lan Hai <email@example.com>
Signed-off-by: Xiang, Haihao <firstname.lastname@example.org>
did anyone try this on a I3/5/and 7 Sandybridge yet ? or port and write the imitiallibAV/ffmpeg patch !
[QUOTE=phoronix;208467]Phoronix: Finally, Intel G45 VA-API Support Is Available
Sadly, the Mythbuntu folks recently disabled packaging VA-API support, AFAICT you now need to build MythTV from source on your own to use it. I'm curious if this is going to change, but I fear that the nvidia-ization has already gone too far in the media playback scene...
I've compiled the G45 branch for my GM45 chipset, I've tried running VLC with accelaration enabled but get this output:
I have tried vainfo, and get this output:Code:libva: libva version 0.32.0 libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib/dri/i965_drv_video.so libva: va_openDriver() returns 0 vlc: i965_media.c:348: g4x_dec_hw_context_init: Insurance "0" false. Avbruten (SIGABRT)
What might I have done wrong?Code:libva: libva version 0.32.0 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.32 vainfo: Driver version: i965 Driver 0.1 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD
This little patch got the vaapi_h264 test working for me;Now to find an mplayer ebuild with vaapi support...Code:--- i965_drv_video/i965_media.c.orig 2011-05-17 19:59:00.126115745 +0100 +++ i965_drv_video/i965_media.c 2011-05-17 20:00:51.048731380 +0100 @@ -341,6 +341,9 @@ case VAProfileH264Baseline: case VAProfileH264Main: case VAProfileH264High: + i965_media_h264_dec_context_init(ctx, media_context); + break; + case VAProfileVC1Simple: case VAProfileVC1Main: case VAProfileVC1Advanced: