[Libva] G45 status

Xiang, Haihao haihao.xiang at intel.com
Sun Jan 23 18:05:26 PST 2011


On Mon, 2011-01-24 at 09:26 +0800, Sebastian Reichel wrote:
> Hi,
> 
> I guessed, that it's not yet supported. My questions are:
H.264 decoding is not done on G45 :( and we don't announce the support 
is done, but someone are working on it. 

If you think it really bother you, we can  remove this entrypoint from 
our backend driver and add it later.

As for VC1, We don't have a plan for it on G45. It is a vainfo issue,
and I sent a patch to fix it. 

Thanks
Haihao


> * Are there are still plans to add support for G45? I read
>   somewhere, that support was supposed to be added in Q3/2010.
>   Is there a new release plan? :)
> * Why does libva announce H264/VC1 on G45 platform if it
>   does not work? This way players, which check for libva
>   support will crash instead of using software fallback.
> 
> -- Sebastian
> 
> On Sun, Jan 23, 2011 at 10:11:13PM +0800, Lan, Hai wrote:
> > Currently H264/VC1 is not supported on G45.
> > For the detailed vaapi supporting information, please refer to
> > http://intellinuxgraphics.org/vaapi.html
> > 
> > Hai
> > 
> > > -----Original Message-----
> > > From: libva-bounces+hai.lan=intel.com at lists.freedesktop.org
> > > [mailto:libva-bounces+hai.lan=intel.com at lists.freedesktop.org] On Behalf
> > > Of Sebastian Reichel
> > > Sent: Saturday, January 22, 2011 1:20 AM
> > > To: libva at lists.freedesktop.org
> > > Subject: [Libva] G45 status
> > > 
> > > Hi,
> > > 
> > > Is anybody working on getting H264/VC1 decoding working on the G45
> > > platform? Currently libva announces support for these codecs:
> > > 
> > > sre at earth ~ % 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
> > >       VAProfileVC1Simple              : VAEntrypointVLD
> > >       VAProfileVC1Main                : VAEntrypointVLD
> > >       VAProfileVC1Advanced            : VAEntrypointVLD
> > > 
> > > But when actually trying to play something it crashes with the following
> > > assertion:
> > > 
> > > 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 ==
> > > 0x0102 || (&i965->intel)->device_id == 0x0112 || (&i965->intel)->device_id
> > > == 0x0122 || (&i965->intel)->device_id == 0x0106 ||
> > > (&i965->intel)->device_id == 0x0116 || (&i965->intel)->device_id == 0x0126
> > > || (&i965->intel)->device_id == 0x010A) ? 1024 : (((&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.
> > > 
> > > If H264/VC1 is not supported, why is support announced for it?
> > > 
> > > PS: I know the chip is not the last model, but I think it may be worth to
> > > implement support, since almost all new thinkpads have it built in, see
> > > http://www.thinkwiki.org/wiki/Intel_GMA_4500MHD.
> > > 
> > > -- Sebastian




More information about the Libva mailing list