From: Jeremy W. S. <jw...@cs...> - 2004-11-03 16:15:38
|
Thanks for the input. I have things working now. As it turns out, I tried this first, before ever looking into Xorg, and it didn't work. What I didn't notice was that the install rule was producing an error and not making the symlink from libGL.so.1.5 to libGL.so, so I was still linking against the old library. I fixed this manually and now things are working great. I'll provide a patch in the next day or so. Jeremy On Tue, 2 Nov 2004, Brian Paul wrote: > Jeremy W. Sheaffer wrote: > > I'm working under FreeBSD on a machine with an ATI 9600 mobile, and need > > to be able to run OpenGL programs using, among others, the > > ARB_vertex_program, ARB_fragment_program, and ARB_occlusion_query > > extensions. These are all exported by Mesa-6.2. Xorg, as shipped with > > FreeBSD uses Mesa-5.1 as the renderer, so I upgraded from source to Xorg > > 6.8.1, which is current stable. This uses Mesa-6.1, which *should* give > > me the functionality I need--but it doesn't. glxinfo tells me my renderer > > version is OpenGL '1.2 (1.5 Mesa 6.1)'. So I manually replaced the Mesa > > subtree in Xorg with Mesa-6.2, hoping that might make a difference. I > > also went through the Mesa source and made certain that all conditionally > > compiled code that involves the extensions I need are built, and then > > rebuilt Xorg. Still no dice. Version string is '1.2 (1.5 Mesa 6.2)', and > > the extensions I need are not being exported. I don't know if this is a > > Mesa problem or an Xorg problem, but I'm trying here first. Does anyone > > have any idea what I might be missing? I realize, of course, that the > > drivers aren't there to really support my card (FYI I'm using the radeon > > driver, but I've also tried various others), but I could care less if I > > get acceleration! Mesa exports the functionality in software, and I need > > to be able to use it. Any suggestions? > > The problem is libGL.so and the server-side GLX protocol dispatcher > don't currently support the ARB extensions you mention above. > > The simplest solution would be for you to download/compile Mesa-6.2. > This will result in a "stand-alone" libGL.so library that renders with > Xlib, instead of going over the GLX protocol to the X server. > > -Brian > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Mesa3d-users mailing list > Mes...@li... > https://lists.sourceforge.net/lists/listinfo/mesa3d-users > -- Jeremy W. Sheaffer jw...@cs... http://cs.virginia.edu/~jws9c/ /********************************************* * The Moving Finger writes; and having writ, * * Moves on: nor all thy piety nor wit * * Shall lure it back to cancel half a line * * Nor all thy tears wash out a word of it. * * * * -Omar Khayyam * *********************************************/ |