I'm trying to use Xvfb, but it can't even run glxgears for some reason, and I don't know how to debug that, maybe I'm missing something. Here's the commands I'm using:
Xvfb :99 +extension GLX -screen 0 640x480x24
DISPLAY=:99 glxgears
And glxgears fails with the following error message:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 151 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 23
Current serial number in output stream: 24
Edit: I've just asked a friend to run the same commands and it worked on his PC, but not on mine for some reason. Is there any way to debug X?