GLXBadContext problem with opengl app

I am trying to launch an application that has a dependency on libGL.

For some reason when I launch the app like when I try to run glxgears or glxinfo I get a:

X Error of failed request: GLXBadContext
   Major opcode of failed request: 154 (GLX)
   Minor opcode of failed request: 6 (X_GLXIsDirect)
   Serial number of failed request: 39
   Current serial number in output stream: 38

Any idea what it could be? I’ve been having this problem for days and I can’t find practically any information.


1 Like

I have found the solution by modifying /etc/lightdm/lightdm.conf and adding xserver-command=X -core +iglx

1 Like