GLX problems with nvidia Quadro K420 (X Error of failed request)

I’m using ubuntu gnome 16.04.2 on a 64bit Desktop PC mounting a nvidia Quadro K420. I already tested many driver versions (up to 378), but the problem seems to persist.

I have problems whan starting the GUI of some applications (like Abaqus CAE) and the output of

glxinfo -i

reads:

david@igtdodav:~$ glxinfo -i
name of display: :1
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  39
  Current serial number in output stream:  40

Attached you can find the nvidia-bug-report.

My kernel version is

david@igtdodav:~$ uname -r
4.8.0-39-generic

Can I do something to avoid this annoying problem?

nvidia-bug-report.log.gz (219 KB)

Modern X servers don’t allow indirect GLX contexts to be created, because they’ve been a source of security problems in the past. You can reenable them by staring the X server with the +iglx option or with the “IndirectGLX” server flag in xorg.conf.

I’m not sure why you’d be getting indirect contexts, though. Does your user have permission to open /dev/nvidia0 and /dev/nvidiactl?

Yes, it has permission.

I’m actually facing problems with Abaqus CAE and have thought it was related to this. Now that the problem persists I know that I have to search in other directions. Thanks for the help!