This issue still occurs on kernel 4.18 with nvidia 415. The workaround is to export __GLVND_DISALLOW_PATCHING=1
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libglvnd in Ubuntu. https://bugs.launchpad.net/bugs/1768390 Title: BadMatch error in X_GLXSwapBuffers running OpenGL apps with nvidia- driver-390 Status in libglvnd package in Ubuntu: Confirmed Status in nvidia-graphics-drivers-390 package in Ubuntu: Confirmed Bug description: With bumblebee installed with modified library paths for the libglvnd setup used by nvidia-graphics-drivers-390 (see https://bugs.launchpad.net/ubuntu/+source/bumblebee/+bug/1758243), 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) Usage: glxheads xdisplayname ... Example: 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 GL_RENDERER: GeForce GTX 1050/PCIe/SSE2 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 https://github.com/Bumblebee- Project/Bumblebee/issues/951 (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) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libglvnd/+bug/1768390/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp