Not working in Linux
Created by: dfelinto
oculusvr doesn't work in some Linux stations with the error:
undefined symbol: glXMakeCurrent
I can fix this by adding the line below to ~/.bashrc
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGL.so
But then Blender itself refuses to load:
libGL error: failed to load driver: swrast
found bundled python: /home/dfelinto/blendervr/blender-2.75-89edddb-linux-glibc211-x86_64/2.75/python
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 1 (X_GLXRender)
Serial number of failed request: 1615
Current serial number in output stream: 1616
Imported comments:
By dfelinto on 2015-08-06 21:38:16 UTC
It works if we use the proper opengl library export LD_PRELOAD="/usr/lib/nvidia-331/libGL.so"