Intel kms xvideo/vaapi? (was: Re: VLC problems)
Derrick Edwards
dantavious313 at gmail.com
Mon Oct 1 18:34:30 UTC 2012
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
More information about the freebsd-multimedia
mailing list