[Xquartz-dev] Tiger: OpenGL problem with stereo visuals with AppleSGLX-55
George Peter Staplin
georgeps at xmission.com
Wed Mar 25 10:16:07 PDT 2009
Quoted Martin Otte <otte at 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/
More information about the Xquartz-dev
mailing list