From owner-freebsd-x11@FreeBSD.ORG Sun Sep 30 11:00:24 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA739106566B; Sun, 30 Sep 2012 11:00:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2D0A98FC12; Sun, 30 Sep 2012 11:00:23 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q8UB0Tte074661; Sun, 30 Sep 2012 14:00:29 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q8UB0Hn8029284; Sun, 30 Sep 2012 14:00:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q8UB0Hub029283; Sun, 30 Sep 2012 14:00:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 30 Sep 2012 14:00:17 +0300 From: Konstantin Belousov To: Juergen Lock Message-ID: <20120930110017.GZ35915@deviant.kiev.zoral.com.ua> References: <201209252359.44863.dantavious313@gmail.com> <201209261839.35551.dantavious313@gmail.com> <20120927183716.GA6608@triton8.kn-bremen.de> <201209271806.40743.dantavious313@gmail.com> <20120928173216.GA44127@triton8.kn-bremen.de> <20120928175119.GX35915@deviant.kiev.zoral.com.ua> <20120928210206.GA49736@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YPOU9eFKIy6Wf5kE" Content-Disposition: inline In-Reply-To: <20120928210206.GA49736@triton8.kn-bremen.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: x11@freebsd.org, Derrick Edwards , multimedia@freebsd.org Subject: Re: Intel kms xvideo/vaapi? (was: Re: VLC problems) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2012 11:00:25 -0000 --YPOU9eFKIy6Wf5kE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 28, 2012 at 11:02:06PM +0200, Juergen Lock wrote: > On Fri, Sep 28, 2012 at 08:51:19PM +0300, Konstantin Belousov wrote: > > On Fri, Sep 28, 2012 at 07:32:16PM +0200, Juergen Lock wrote: > > > Well ok, that explains why vlc had problems using xvideo. (xvideo > > > is preferred if available as it reduces cpu load playing video, > > > there also is vaapi that offloads video decoding to the gpu too > > > but the userland libs needed for that aren't in ports and I wonder > > > if intel kms kernel support for it is missing too if xvideo support > > > is already missing... I've Cc'd -x11, maybe someone there knows.) > > >=20 > > > Thanx, > > > Juergen (who doesn't have intel video hw here only maintains > > > a few multimedia ports and updated vlc) > >=20 > > Kernel driver does support the VCS ring batches. We should be on par wi= th > > the Linux kernel version which was used for the last import. > >=20 > > I never compiled/tested vaapi 965 driver myself. Sure, there may be bug= s, > > which I think are even inevitable, but VCS engine is quite similar and > > simpler then render, so I expect that bugs can be fixed if reported. > >=20 > > Obvious first step is to get libva 965 driver compiling and added to po= rts. > > The sources are available at git://anongit.freedesktop.org/vaapi/intel-= driver. >=20 > Ok that is good news. But is it expected that xvideo isn't supported? >=20 I cannot really comment on your last question. Kernel driver does support sprite or overlay (depending on the GPU generation). Everything else depends on the usermode stack, which should convert overlay into XVideo interface, and on harware capabilities. E.g., I am almost sure that compositing migh affect xvideo. --YPOU9eFKIy6Wf5kE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlBoJkEACgkQC3+MBN1Mb4iglwCfdaoAXLM8ELth8JbpV40TujqR 1roAoJ0vATVt6QNzUbQkdSTbZEg1f1Vt =3Kt7 -----END PGP SIGNATURE----- --YPOU9eFKIy6Wf5kE--