Comment 6 for bug 1758243

Juan Montero (jjmonrod) wrote :

Update: both optirun and primusrun crash when trying to load openGL.

They work as expected for non-opengl apps:
('optirun screenfetch' and 'primusrun screenfetch' both work and show the GPU correctly!)

Output of 'optirun glxgears':
X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 155 (GLX)
  Minor opcode of failed request: 11 (X_GLXSwapBuffers)
  Serial number of failed request: 37
  Current serial number in output stream: 38
primus: warning: dropping a frame to avoid deadlock
primus: warning: timeout waiting for display worker
terminate called without an active exception

Output of primusrun glxgears:
/usr/bin/primusrun: line 41: warning: command substitution: ignored null byte in input
primus: fatal: failed to load any of the libraries: /usr/lib/x86_64-linux-gnu/mesa/
/usr/lib/x86_64-linux-gnu/mesa/ cannot open shared object file: No such file or directory

This happens even after installing the full nvidia-driver-390 package (which includes nvidia-prime) and repeating all the steps mentioned in post #1.

Which package provides this openGL library and where is it located? Am I missing a symlink or a path?