Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

migrated from stackoverflow.com Feb 8 '10 at 2:30

This question came from our site for professional and enthusiast programmers.

    
What (kind of) application are we talking about? –  Bobby Sep 24 '10 at 8:13
add comment

2 Answers

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.

share|improve this answer
add comment

If this is about your own application, you can link to the software OpenGL implementation Mesa3D.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.