On Fri, 21 Jun 2002, Stefan Lange wrote:

> >Another question. I am using the Gatos driver for hardware accelerated
> >DVD watching. Can I use them together with the DRI Mach64 drivers?
> >
> 
> I doubt that mixing these drivers will work, because gatos uses its own 
> drm-module (correct me if I'm wrong). You'd probably have to merge both 
> codebases, which is not trivial.

The gatos driver replaces the DDX driver modules with it's own, and the
gatos DDX driver is based on XFree86 CVS, so it doesn't have DRI support
for mach64 yet.  Because of this, there's no drm module for the mach64
gatos driver and the two drivers are mutually exclusive.  Marc LaFrance is
working on merging the gatos XVideo support into the mach64 DDX driver in
XFree86 CVS, but I don't know how long it will be before that's ready for
release.  Since both DRI and gatos are essentially branches of the XFree86
codebase, one of these projects will need to get merged into mainline
XFree86 before a merge between DRI and gatos can happen.  Once that
happens, I don't think a merge will really be that difficult, since the
gatos changes are mostly self-contained in source files that the DRI part
of the DDX driver doesn't touch.  The important thing will be to make sure
the registers shared by the scaler and 3D pipeline are left in a
consistent state on 3D/2D context switches.
 
> You could try a different approach to your problem: Have you tried 
> mplayer's xvidix video out driver? It should work fine with a mach64 
> card, and be at least as fast as xv, if not faster (i don't know the 
> exact numbers)

I just tried the mach64 vidix driver with the latest xine release and it
works for me with the mach64 DRI branch (though the vidix driver is new
and still a little buggy).  I haven't tried it with mplayer.  
Unfortunately, you need root privileges to use it, but this seems like a
possible workaround to get 3D and fast video playback with a single
Xserver until a merge happens.

-- 
Leif Delgass 
http://www.retinalburn.net



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to