4

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.

1 Answers1

2

Running the following command once and then logging in again fixed the issue:

systemctl --user unset-environment LIBGL_ALWAYS_SOFTWARE

Unfortunately, I still don't know what caused the setting in the first place.