Date: Wed, 7 Jul 1999 15:55:52 +0200 (CEST) From: Malte Lance <malte.lance@gmx.net> To: vallo@matti.ee Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: How to actually link with GLX library? Message-ID: <199907071355.PAA02540@neuron.webmore.prv> In-Reply-To: <19990707145241.A30898@myhakas.matti.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7 Jul, Vallo Kallaste wrote: > On Wed, Jul 07, 1999 at 11:10:57AM +0200, Malte Lance <malte.lance@gmx.net> wrote: > >> When installing g200-glx you got ligGL.so.* >> Linking should be done with "-lGL" instead of "-lMesaGL". Maybe you >> have to recompile the whole xlock-port with the mentioned change. I >> don't know xlock, but have you tried the apps in Mesa-3.?/demos ? >> Are there any error-messages when starting the app ? Do you get the >> "@@Created GLX Context.." message ? > > Yes, I see the "Created GLX Context.." message, also the image appears > in the xlock window but that's all. The X server eats 98% of processor > time and X session hangs, also I can't switch to the console. Machine > otherwise is alive, I can ping and ssh in etc. The X server is SVGA with > truetype addon or how to say. Got it from Stephen Montgomery webpage > about two months ago. Mesa version is 3.0 from ports, the MesaCVS also > compiled cleanly so I can try this as last resort. Maybe you want to have a look at http://www.on.openprojects.net/glx/ That's the homeplace of the glx-lib and glx-module for g200 and nvidia. There you can checkout the CVS-tree of glx and it should compile out of the box with FreeBSD-3.x > I tried that -lGL switch to gcc but it generates bunch of errors for > either Mesademos or xlock (xscreensaver). So do you have the libGL.so.* installed in a place searchable by the linker ? > I'm going to try original SVGA > server from 3.3.3.1 release and MesaCVS. Any suggestions? Yes: 1. Install the CVS-version of glx for g200 (module and library) 2. Get the stink-normal SVGA-server from XFree86 3. Install Mesa-CVS 4. change the "-lMesaGL" to "-lGL" in the Makefile in Mesa-3.?/demos recompile the demos 5. Change your /etc/XF86Config to load the glx-module 6. Restart your X-Server 7. That's it. Malte. > > Thanks -- Malte Lance. --- composed with TkRat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907071355.PAA02540>