I am running Ubuntu 16.10 in Virtualbox (v5.1.10 latest) on a Windows 7 guest. All OS are x64.

Since forever, Virtualbox has had the problem that enabled "3D HW acceleration" crashes some OPenGL based applications, prominently among them QtCreator. There has been the workaround to force software rendering for the problematic application like so:


This used to be an acceptable compromise (Ubuntu is otherwise unusable without 3d acceleration), but it has stopped working after upgrading to Ubuntu 16.10 from Ubuntu 14.04.

What has changed? How do I now force SW rendering? Can you think of any other workarounds? Thanks.

$ LIBGL_ALWAYS_SOFTWARE=1 ./the_program_name


$ QT_XCB_FORCE_SOFTWARE_OPENGL=1 ./the_program_name

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.