Ubuntu – Force software based opengl rendering

openglUbuntu

How may I force an application to use software based opengl rendering on Ubuntu?

Best Answer

If you're using Mesa's libGL, you can enable software rendering permanently by running:

sudo apt-get install libgl1-mesa-swx11

This will remove the libgl1-mesa-glx hardware-accelerated Mesa libraries and install the software-only renderer.

Alternately, you can set LIBGL_ALWAYS_SOFTWARE=1, which will only affect programs started with that environment variable, not the entire system.

Both these changes may not work if you're using the binary NVidia drivers, which supply their own libGL.

Related Question