-
wendyju
Howdy folks-
Long time reader, first time writing in with a problem.
I'm running Pd-extended on a Beagleboard-xM with Ubuntu Linux. I can get the GEM sample code (e.g. Help->Gem->examples->01.basic/*.pd) working fine when I run Pd on the board locally. However, when I ssh into the Beagleboard using X11, I am able to run Pd but get the following errors when I try to create gemwin:
error: GEM: Unable to create single buffer window
error: GEM: Error creating const context
error: GEM: A serious error occured creating const Context
error: GEM: Continue at your own risk!
error: GEM: Unable to create double buffer window
error: GEM: Unable to create window
error: [gemwin]: no window made
... you might be able to track this down from the Find menu.
error: GEM: Create window first!I should note that I have no problems getting Xwindows to work for the rest of Pd, and when I start PD, it says that I'm running GEM version: 0.92.3.
-
wendyju
Howdy folks-
Here is the solution to this problem. The issue has to do with Mac OS X's XQuartz and OpenGL, and isn't specific to Beagleboards or PD. Some bug in the remote mesa... no idea.
start pd from the terminal with:
ccrma@satellite:~$ LIBGL_ALWAYS_INDIRECT=1 pd &or, alternately:
ccrma@satellite:~$ set LIBGL_ALWAYS_INDIRECT=1
ccrma@satellite:~$ pd &Then GEM will work.
This assumes bash. For csh or tcsh, you probably need 'setenv LIBGL_ALWAYS_INDIRECT=1'
W