From: Vittorio Mori Subject: Re: VA API on GM45 Date: Thu, 7 Oct 2010 11:27:32 +0000 (UTC) Message-ID: References: <20101003112251.GA31773@laptop.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by gabe.freedesktop.org (Postfix) with ESMTP id CA6EA9EB43 for ; Thu, 7 Oct 2010 04:45:05 -0700 (PDT) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P3ouG-0002y5-GC for intel-gfx@lists.freedesktop.org; Thu, 07 Oct 2010 13:45:04 +0200 Received: from net-93-146-110-137.cust.dsl.teletu.it ([93.146.110.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2010 13:45:04 +0200 Received: from vittorio.mori by net-93-146-110-137.cust.dsl.teletu.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Oct 2010 13:45:04 +0200 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Dmitry Nezhevenko inhex.net> writes: > > > Hi. > > I've finally tried to use VA API on my GM45-based laptop and got followed: Exactly the same situation as yours here. Laptop: Acer extensa 5635, GM45 chipset (Intel X4500MHD). What I did: - freshly installed Ubuntu 10.10rc - got the latest packages from xorg-edgers ppa (to get a working vaapi implementation) - vainfo reports: 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 - followed instructions (a little outdated) here : http://wiki.videolan.org/VLC_VAAPI - got ffmpeg from git - got vlc from git When I launch VLC I get same assert fail as yours: 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 [0x2a0ee40] avcodec decoder: Using VA API version 0.31 for hardware decoding. vlc: i965_avc_ildb.c:621: i965_avc_ildb_decode_init: Asserzione "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)" non riuscita. Aborted I compiled mplayer-vaapi from scratch, but I get "Error opening/initializing the selected video_out (-vo) device.". I guess it's still a work in progress, I've read thousands of posts and info on this subject (intel & vaapi), and I conclude that everything is still very messy and "fluid". It seems older chipsets (Cantiga) get, pretty obviously, lower piority. Most of the work is for the Clarkdale chipset.