Intel kms xvideo/vaapi? (was: Re: VLC problems)
nox at jelal.kn-bremen.de
Sun Sep 30 18:25:46 UTC 2012
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
More information about the freebsd-multimedia