From owner-freebsd-x11@FreeBSD.ORG Mon Oct 1 18:34:30 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 E4C70106564A; Mon, 1 Oct 2012 18:34:29 +0000 (UTC) (envelope-from dantavious313@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 85E938FC0C; Mon, 1 Oct 2012 18:34:29 +0000 (UTC) Received: by ggnk4 with SMTP id k4so1502021ggn.13 for ; Mon, 01 Oct 2012 11:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=enKrb+BhUfeIAfsaGjhjLjZyM8c8WUJ2cymL2ZbcqPg=; b=kTJWGmmndVDnBZVzICsMejpLtApIDFf1Ou80nx5XaIUfxWn0rCSpuCHTYnDO0aPsG+ ALMCsqkbVDVBCIQ1LWz1jSgiJmk1QIUfgnU1f/bZhiZXhG5tbbKGsZZvmVpwqi4kM1hb UWHSnOA+w5UfqUr2EWEfrM8P8aKcJ3SE4Wyh+ks33NnP8Dj9ubLAWpZcdhrzwBiv7T4J GdO+6k4eU6FLQtqAJ88PhxHuSYnAEn4eyts9oYUTjAnO3GT3Y8+r6mjwQUl8cxxxhpFP iGvtCzMVPTB0DwphsvqhfAcSgySzcDj9i69MjljdhTInYUtWERynPtKWPL8e7vD1Jf66 Gihg== Received: by 10.236.139.233 with SMTP id c69mr16583181yhj.9.1349116462814; Mon, 01 Oct 2012 11:34:22 -0700 (PDT) Received: from joker.localnet (c-71-226-137-213.hsd1.ga.comcast.net. [71.226.137.213]) by mx.google.com with ESMTPS id x4sm5177252ang.3.2012.10.01.11.34.21 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Oct 2012 11:34:21 -0700 (PDT) From: Derrick Edwards To: Juergen Lock Date: Mon, 1 Oct 2012 14:34:20 -0400 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.8.4; amd64; ; ) References: <201209252359.44863.dantavious313@gmail.com> <20120930110017.GZ35915@deviant.kiev.zoral.com.ua> <20120930182252.GB22993@triton8.kn-bremen.de> In-Reply-To: <20120930182252.GB22993@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201210011434.20364.dantavious313@gmail.com> Cc: x11@freebsd.org, 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: Mon, 01 Oct 2012 18:34:30 -0000 On Sunday, September 30, 2012 02:22:52 PM Juergen Lock wrote: > 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 Juergen, I already have an compositing enabled xserver. I am using the enlightenment wm with compositing support. Let me know if you need anything else. xcompmgr -c Another composite manager is already running (0x80002d) Enlightenment composite port. e17-module-comp-scale-20111128 A comp-scale module for Enlightenment 17