From owner-freebsd-x11@FreeBSD.ORG Sun Sep 30 18:25:46 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 470691065672; Sun, 30 Sep 2012 18:25:46 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id EBA858FC15; Sun, 30 Sep 2012 18:25:45 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 2C04C1E00122; Sun, 30 Sep 2012 20:25:39 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q8UIMqR1023207; Sun, 30 Sep 2012 20:22:52 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q8UIMqME023206; Sun, 30 Sep 2012 20:22:52 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 30 Sep 2012 20:22:52 +0200 To: Konstantin Belousov Message-ID: <20120930182252.GB22993@triton8.kn-bremen.de> 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> <20120930110017.GZ35915@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120930110017.GZ35915@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: x11@freebsd.org, Juergen Lock , multimedia@freebsd.org, Derrick Edwards 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 18:25:46 -0000 On Sun, Sep 30, 2012 at 02:00:17PM +0300, Konstantin Belousov wrote: > 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.) > > > > > > > > Thanx, > > > > Juergen (who doesn't have intel video hw here only maintains > > > > a few multimedia ports and updated vlc) > > > > > > Kernel driver does support the VCS ring batches. We should be on par with > > > the Linux kernel version which was used for the last import. > > > > > > I never compiled/tested vaapi 965 driver myself. Sure, there may be bugs, > > > 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. > > > > > > Obvious first step is to get libva 965 driver compiling and added to ports. > > > The sources are available at git://anongit.freedesktop.org/vaapi/intel-driver. > > > > Ok that is good news. But is it expected that xvideo isn't supported? > > > 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. > Ah! Derrick, do you have compositing enabled in your xserver? Do you have xcompmgr running? If not, try enabling them and see if xvideo works then. HTH, Juergen