Hi, With LIBGL_ALLOW_SOFTWARE=1, I still get:
env LIBGL_ALLOW_SOFTWARE=1 LIBGL_DIAGNOSTIC=1 glxgears -stereo initializing libGL in apple_init_glx DIAG: CGL major 1 minor 0 DIAG: Software rendering is not being excluded. Not using kCGLPFAAccelerated. error: invalid pixel format X Error of failed request: GLXBadContext Major opcode of failed request: 0 () Serial number of failed request: 22 Current serial number in output stream: 22
Martin On Mar 25, 2009, at 1:16 PM, George Peter Staplin wrote:
Quoted Martin Otte <otte@duke.edu>:
Using AppleSGLX-55 and xorg-server-1.4.2-apple37 from macports, I can now compile a working X-server with accelerated OpenGL on Tiger.
The only difference I noted compared to the system X11 is that a glx program which tries to use a stereo visual crashes. I can replicate the same crash with glxgears -stereo:
env LIBGL_DIAGNOSTIC=1 glxgears -stereo initializing libGL in apple_init_glx DIAG: CGL major 1 minor 0 error: invalid pixel format X Error of failed request: GLXBadContext Major opcode of failed request: 0 () Serial number of failed request: 22 Current serial number in output stream: 22
So far, this is the only problem that I have experienced with xorg-server-1.4.2-apple37 on Tiger.
Thanks for the Tiger support, Martin
Can you try adding: LIBGL_ALLOW_SOFTWARE=1 ? I'm not sure if 55 had that though. That could allow the stereo pixel format to work. It could also be that a shared context is involved. There are some restrictions with shared contexts that CGL adds, that X11 implementations usually don't.
As I understand it, some changes that Jeremy made to force accelerated renderers by default in AppleSGLX also made more shared contexts work.
George -- http://people.freedesktop.org/~gstaplin/ _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev