User Tools

Site Tools


wiki:development:glx-xlib-workaround

This is an old revision of the document!


Workaround for getting GLX 1.4 working.

Applications will use libGL.so, which in turn uses the xlib interface to talk to the X server (nxagent) rather than the GLX interface.

From the applications' perspective, they have GLX 1.4.

Ubuntu 14.04 (with trusty-updates mesa 10.1.3-0ubuntu0.3):

sudo aptitude build-dep mesa
sudo aptitude install scons llvm-dev
apt-get source mesa
cd mesa
scons libgl-xlib
export LD_LIBRARY_PATH=`pwd`/build/linux-x86_64-debug/gallium/targets/libgl-xlib/:${LD_LIBRARY_PATH}
glxinfo | grep 'GLX version:'
wiki/development/glx-xlib-workaround.1425696320.txt.gz · Last modified: 2015/03/07 02:45 by mikedep333