BadMatch error in X_GLXSwapBuffers running OpenGL apps with nvidia-driver-390

Bug #1768390 reported by Rocko on 2018-05-02
This bug affects 14 people
Affects Status Importance Assigned to Milestone
libglvnd (Ubuntu)
nvidia-graphics-drivers-390 (Ubuntu)

Bug Description

With bumblebee installed with modified library paths for the libglvnd setup used by nvidia-graphics-drivers-390 (see, 3D apps run fine in wine, but I get an error calling X_GLXSwapBuffers error running OpenGL apps, eg:

$ optirun glxheads
glxheads: exercise multiple GLX connections (any key = exit)
  glxheads xdisplayname ...
  glxheads :0 mars:0 venus:1
Name: :1
  Display: 0x55b464525ce0
  Window: 0x2c00002
  Context: 0x55b46468a208
  GL_VERSION: 4.6.0 NVIDIA 390.48
  GL_VENDOR: NVIDIA Corporation
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

This might be an issue with libglvnd rather than with the nvidia driver.

Other users report the same issue, eg see comment #6 on the aforementioned bug and (comment by MrDeepPurple).

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nvidia-driver-390 390.48-0ubuntu3
Uname: Linux 4.17.0-041700rc3-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed May 2 10:47:34 2018
InstallationDate: Installed on 2017-08-16 (258 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: nvidia-graphics-drivers-390
UpgradeStatus: Upgraded to bionic on 2017-11-17 (165 days ago)

Rocko (rockorequin) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Confirmed
JORGETECH (jorgetech) wrote :

I can confirm this bug too with the same configuration. Seems like the nvidia 390 driver is broken in Bionic (for primus at least).

Tae Lim Kook (tkook11) wrote :

Also happens with 396.

Still broken as of today on Ubuntu 18.04 with kernel 4.16.7.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libglvnd (Ubuntu):
status: New → Confirmed
andrei (andrei-u) wrote :

This issue still occurs on kernel 4.18 with nvidia 415. The workaround is to export __GLVND_DISALLOW_PATCHING=1

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers