In my 17.04 desktop session,
LIBGL_ALWAYS_SOFTWARE=1
is set in the environment for all processes. That's clearly a bad idea.
I suspect that this happened because I temporarily had a bad OpenGL setup, and something decided to fall back to software rendering. The problem is that there is no indication whatsoever how to get unstuck.
FWIW, OpenGL works just fine with hardware acceleration when removing the environment variable:
unset LIBGL_ALWAYS_SOFTWARE=1; glxinfo
gives the expected output and so on.
Furthermore, LIBGL_ALWAYS_SOFTWARE
is not set when logging into the system via ssh
.
~/.bashrc
,~/.profile
or~/.bash_profile
if you have one, back through/etc/profile.d/*
,/etc/profile
,/etc/environment
)? – steeldriver Apr 24 '17 at 14:48/etc/X11/Xsession.d/50_check_unity_support
script. What is the result of executing/usr/lib/nux/unity_support_test -p -f -d :0
manually? – steeldriver Apr 29 '17 at 22:14