Adding XV capabilities to a driver
Alex Deucher
alexdeucher at gmail.com
Tue Jun 5 15:18:40 PDT 2007
On 5/26/07, Helmut Auer <vdr at helmutauer.de> wrote:
> Hello Alex
> >> ...
> >> but xvinfo tells me:
> >>
> >> X-Video Extension version 2.2
> >> screen #0
> >> no adaptors present
> >>
> >> I cannot see any errors, but xv is not present :(
> >>
> >
> > Make sure that your initvideo() function is called in your driver's
> > screeninit() function and that your initvideo() function actually
> > allocates an adapter and calls xf86XVScreenInit(). Take a look at
> > another driver for an example. radeon calls RADEONInitVideo() from
> > RADEONScreenInit() and RADEONInitVideo() allocates the Xv adapter and
> > calls xf86XVScreenInit().
> >
> >
> the xf86XVScreenInit will be called ( See code below ).
> The log shows:
> (EE) Tvia(0): Init XvInit (0)
> (EE) Tvia(0): Init XvInit new
> (EE) Tvia(0): num_adaptors:1
>
The function seems to be doing the right thing. Are you sure your Xv
libs are built properly? and your driver is linking with the correct
things?
Alex
More information about the xorg
mailing list