[Libva] G45 status

Sebastian Reichel elektranox at gmail.com
Fri Jan 21 09:19:39 PST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libva/attachments/20110121/c1e1ac10/attachment.pgp>


More information about the Libva mailing list