Latest Xgl code

David Reveman davidr at novell.com
Tue Jan 3 07:00:23 PST 2006


On Tue, 2006-01-03 at 15:48 +0100, David Reveman wrote:
> You're building the Xglx server, right? Don't do that, it wont work with
> GLX support. You just want to build Xgl server and the xglx module. I
> though about removing support for building Xglx, Xegl servers but I kept
> it as it might be useful for debugging purposes. I haven't used those in
> quite a while and that's why they are out of sync and not building. I
> should fix so they actually builds and probably also add a big warning
> message for when running configure with --enable-xglxserver or
> --enable-xeglserver.
> 
> Just use:
> 
> /configure --enable-xglserver --enable-glx --enable-xkb

you have to point it to the mesa source as well so:

/configure --enable-xglserver --enable-glx --enable-xkb
--with-mesa-source=$MESA_SOURCE_DIR

> 
> and something like this to start it:
> 
> 'Xgl :1 -ac'
> 
> for GLX and XV acceleration, try 'Xgl :1 -ac -accel xv -accel
> glx:pbuffer' if you're using nvidia's driver and 'Xgl :1 -ac -accel
> xv:pbuffer -accel glx:pbuffer' if you're using the fglrx driver.
> 
> 
> On Tue, 2006-01-03 at 14:00 +0000, Rich Wareham wrote:
> > Dave Airlie wrote:
> > 
> >  > Okay I've merged up your current tree to kdrive server, it should work
> >  > the same as the codedrop you've given out, except you'll need Mesa
> >  > CVS....
> > 
> > I get a lovely build error which might be due to a mis-sync:
> > 
> > xglxinit.c: In function âInitOutputâ:
> > xglxinit.c:56: warning: implicit declaration of function âxglLoadGLXModulesâ
> > xglxinit.c:56: warning: nested extern declaration of âxglLoadGLXModulesâ
> > xglxinit.c:61: warning: passing argument 1 of âxglxInitOutputâ from 
> > incompatible pointer type
> > xglxinit.c:61: warning: passing argument 2 of âxglxInitOutputâ makes 
> > integer from pointer without a cast
> > xglxinit.c:61: warning: passing argument 3 of âxglxInitOutputâ makes 
> > pointer from integer without a cast
> > xglxinit.c:61: error: too many arguments to function âxglxInitOutputâ
> > 
> > Which is a real error since xglxinit.c calls:
> > 
> > xglxInitOutput (&xglxScreenInfo, pScreenInfo, argc, argv);
> > 
> > But it is only defined in xglx.[ch] as:
> > 
> > void
> > xglxInitOutput (ScreenInfo *pScreenInfo,
> >                  int        argc,
> >                  char       **argv)
> > 
> > Just did a cvs up and it is still like that.
> > 
> 
> -David
> 
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg

-David




More information about the xorg mailing list