Differences between revisions 1 and 2
Revision 1 as of 2011-11-11 11:52:39
Size: 480
Editor: bonaccos
Comment:
Revision 2 as of 2011-11-11 14:48:54
Size: 519
Editor: bonaccos
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
What does {{{LIBGL_ALWAYS_INDIRECT}}} do? See: http://unix.stackexchange.com/questions/1437/what-does-libgl-always-indirect-1-actually-do What does {{{LIBGL_ALWAYS_INDIRECT}}} do? See: http://unix.stackexchange.com/questions/1437/what-does-libgl-always-indirect-1-actually-do and http://www.mesa3d.org/envvars.html

Problem

When trying to launch an application within a vncserver Session which needs OpenGL the application crashes.

Possible Workaround

Set the environment variable LIBGL_ALWAYS_INDIRECT to yes:

For tcsh:

setenv LIBGL_ALWAYS_INDIRECT yes

For bash:

export LIBGL_ALWAYS_INDIRECT=yes

What does LIBGL_ALWAYS_INDIRECT do? See: http://unix.stackexchange.com/questions/1437/what-does-libgl-always-indirect-1-actually-do and http://www.mesa3d.org/envvars.html