Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2012 20:22:52 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        x11@freebsd.org, Juergen Lock <nox@jelal.kn-bremen.de>, multimedia@freebsd.org, Derrick Edwards <dantavious313@gmail.com>
Subject:   Re: Intel kms xvideo/vaapi?  (was: Re: VLC problems)
Message-ID:  <20120930182252.GB22993@triton8.kn-bremen.de>
In-Reply-To: <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> <20120930110017.GZ35915@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120930182252.GB22993>