Primusrun can't runt applications (GLXBadFBConfig)

System info
– openSUSE Tumbleweed KDE 64 bits
– Kernel: 4.6.3-1-default
– Nvidia driver: 367.27 (Installed from X11:Bumblebee Repo)
– Intel HD 4000 / Nvidia 720m

The problem
When trying to run an application or game with primusrun, only the titlebar and the border of the window appears, nothing else. The next error is printed on the console (It’s always the same one):

Visual ID of window: 0xb4
Context is Direct
OpenGL Renderer: GeForce GT 720M/PCIe/SSE2
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  0 ()
  Serial number of failed request:  24
  Current serial number in output stream:  24

Tested with glxspheres and Left 4 Dead 2 (Using Wine, because Steam for Linux is not working right now)

When using optirun, glxspheres works correctly

I can confirm this issue,
TUMBLEWEED (20160625) (x86_64)
Linux 4.6.3-1-default
nvidia-bumblebee-367.27 (from X11:Bumblebee Repo)


tonatiuh@linux-bi2x:~> primusrun glxspheres
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0xb4
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
X Error of failed request:  GLXBadFBConfig
  Major opcode of failed request:  0 ()
  Serial number of failed request:  24
  Current serial number in output stream:  24
^C
tonatiuh@linux-bi2x:~> optirun glxspheres      
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
187.310626 frames/sec - 194.874199 Mpixels/sec
191.428254 frames/sec - 198.679556 Mpixels/sec
tonatiuh@linux-bi2x:~>

I would blame the upgrade to Kernel 4.6.3 (In 4.6.2 it did work fine).

I have the same error. Im tried to install kernel default from build repo, but i had the same error. I guess it will be fixed in next nvidia driver for bubmlebee.

Here’s the github discussion. Luke-Nukem seems to shred some light on the issue

So do we know whats the cause of the issue yet? And solution?