[gl2ps] Problem in X11
Duncan Murdoch
murdoch at stats.uwo.ca
Sun Dec 31 17:00:23 CET 2006
We're using gl2ps in the rgl package in R. It works fine in Windows and
OSX, but we get a crash when running on Red Hat. I'm not very familiar
with Linux or X11; can someone on this list tell me if we're doing
things wrong?
Here's the error:
X Error of failed request: GLXBadContextState
Major opcode of failed request: 145 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 183
Current serial number in output stream: 183
This happens during a glXMakeCurrent call just after a call to
gl2psBeginPage, and kills the process. Is that expected? There's no
crash in X11 on OSX, or when using wglMakeCurrent in Windows. If I
delete the glXMakeCurrent call things seem to work, so I have a workaround.
Duncan Murdoch