From: Brian P. <bri...@tu...> - 2004-11-02 23:36:46
|
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 |