X Error of failed request: BadValue (integer parameter out of range for operation)

I was getting errors like this:

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:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  35
  Current serial number in output stream:  36
name of display: :99

On a remote machine, with nvidia graphics card. Solved the problem by installing the NVIDIA driver from .run file, with the option –no-opengl-files (Inspired from here: https://gist.github.com/wangruohui/df039f0dc434d6486f5d4d098aa52d07)

Hope this helps!

Leave a Comment