Get OpenGL working on Edge

I’m building a lightweight Ubuntu Server + GUI. Official server image + xorg package and libglu1-mesa-dev freeglut3-dev mesa-common-dev packages.

Libs seem to be installed correctly, but when running test app “glxgears”, it gives error:

libGL: Can’t open configuration file /etc/drirc: No such file or directory.
libGL: Can’t open configuration file /etc/drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 32
Current serial number in output stream: 31

I have spent hours to solve it but can’t find the fix. How should I correct this?

Thanks!
Joel

Hello @quatro,

You need a patched xserver if you need to use GPU under X11.