Leap 42.3 Optimus laptop - nvidia-prime - bumblebee

glxinfo | grep Vendor

OpenGL Renderer: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)

This seems to be the Nouveau driver, not the Nvidia.
Maybe the Nouveau driver was not blacklisted?

I have not checked openSUSE package, but normally bumblebee expects both nouveau and nVidia drivers to be blacklisted (and thus not loaded by default) and loads driver on demand (after powering on card) as defined in configuration. It supports (at least, supported) both and it is up to user to chose.

Something certainly was missing.
I wrote a script to be sure not to forget things : http://paste.opensuse.org/78380357

After removing and reinstalling result seems better.
And yes Nvidia and Nouveau are blacklisted.

user_install@linux-u6go:~> optirun /usr/bin/glxgears
14156 frames in 5.0 seconds = 2831.191 FPS
14328 frames in 5.0 seconds = 2865.418 FPS
14705 frames in 5.0 seconds = 2940.898 FPS
14840 frames in 5.0 seconds = 2967.877 FPS
14481 frames in 5.0 seconds = 2896.105 FPS
15060 frames in 5.0 seconds = 3011.857 FPS
13825 frames in 5.0 seconds = 2764.861 FPS
12351 frames in 5.0 seconds = 2470.141 FPS
12702 frames in 5.0 seconds = 2540.283 FPS
12533 frames in 5.0 seconds = 2506.421 FPS
12584 frames in 5.0 seconds = 2516.670 FPS
12687 frames in 5.0 seconds = 2537.366 FPS
13077 frames in 5.0 seconds = 2615.255 FPS
12845 frames in 5.0 seconds = 2568.977 FPS
[VGL] ERROR: in readback--
[VGL]    254: Window has been deleted by window manager

user_install@linux-u6go:~> /usr/bin/glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
339 frames in 5.0 seconds = 67.709 FPS
301 frames in 5.0 seconds = 60.036 FPS
301 frames in 5.0 seconds = 60.036 FPS
301 frames in 5.0 seconds = 60.037 FPS
301 frames in 5.0 seconds = 60.037 FPS
301 frames in 5.0 seconds = 60.038 FPS
301 frames in 5.0 seconds = 60.037 FPS
301 frames in 5.0 seconds = 60.037 FPS
301 frames in 5.0 seconds = 60.037 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 2856 requests (1457 known processed) with 0 events remaining.

user_install@linux-u6go:~> optirun /usr/bin/glxspheres
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GTX 880M/PCIe/SSE2
342.479913 frames/sec - 382.207583 Mpixels/sec
382.822887 frames/sec - 427.230341 Mpixels/sec
381.749114 frames/sec - 426.032011 Mpixels/sec
379.531005 frames/sec - 423.556601 Mpixels/sec
381.231140 frames/sec - 425.453952 Mpixels/sec
383.131740 frames/sec - 427.575022 Mpixels/sec
382.601508 frames/sec - 426.983283 Mpixels/sec
381.318037 frames/sec - 425.550929 Mpixels/sec
382.642291 frames/sec - 427.028797 Mpixels/sec
383.118280 frames/sec - 427.560000 Mpixels/sec
383.799650 frames/sec - 428.320409 Mpixels/sec
385.362046 frames/sec - 430.064043 Mpixels/sec
384.633735 frames/sec - 429.251248 Mpixels/sec
386.495393 frames/sec - 431.328858 Mpixels/sec
388.869552 frames/sec - 433.978420 Mpixels/sec
387.164509 frames/sec - 432.075593 Mpixels/sec
388.704415 frames/sec - 433.794127 Mpixels/sec
388.103458 frames/sec - 433.123459 Mpixels/sec
380.410936 frames/sec - 424.538604 Mpixels/sec
385.528649 frames/sec - 430.249972 Mpixels/sec
370.007354 frames/sec - 412.928207 Mpixels/sec
378.405000 frames/sec - 422.299980 Mpixels/sec
386.537184 frames/sec - 431.375498 Mpixels/sec
387.921709 frames/sec - 432.920627 Mpixels/sec
386.963465 frames/sec - 431.851227 Mpixels/sec
378.979731 frames/sec - 422.941380 Mpixels/sec
385.148075 frames/sec - 429.825252 Mpixels/sec
388.267325 frames/sec - 433.306335 Mpixels/sec
383.995322 frames/sec - 428.538779 Mpixels/sec
379.638130 frames/sec - 423.676153 Mpixels/sec
390.032023 frames/sec - 435.275738 Mpixels/sec

user_install@linux-u6go:~> /usr/bin/glxspheres
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
Visual ID of window: 0xb5
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Haswell Mobile 
63.012067 frames/sec - 70.321467 Mpixels/sec
60.007549 frames/sec - 66.968425 Mpixels/sec
60.038805 frames/sec - 67.003307 Mpixels/sec
60.041526 frames/sec - 67.006343 Mpixels/sec
59.995516 frames/sec - 66.954996 Mpixels/sec
60.042797 frames/sec - 67.007762 Mpixels/sec
60.010366 frames/sec - 66.971568 Mpixels/sec
60.026158 frames/sec - 66.989193 Mpixels/sec
60.024419 frames/sec - 66.987252 Mpixels/sec
60.096470 frames/sec - 67.067661 Mpixels/sec
59.988101 frames/sec - 66.946720 Mpixels/sec
60.017690 frames/sec - 66.979742 Mpixels/sec
60.058422 frames/sec - 67.025199 Mpixels/sec
60.111404 frames/sec - 67.084327 Mpixels/sec
60.025945 frames/sec - 66.988955 Mpixels/sec
60.013176 frames/sec - 66.974704 Mpixels/sec
60.040595 frames/sec - 67.005304 Mpixels/sec
60.052147 frames/sec - 67.018196 Mpixels/sec

user_install@linux-u6go:~> glxinfo | grep Vendor
    Vendor: Intel Open Source Technology Center (0x8086)

Any comments are welcome.

Last question :
When I want to use the nvidia cards, I just prepend the command with ‘optirun’. Is not it?

Thank you everybody for helping.

OK, that looks like a normal bumblebee operation.
To use the Nvidia card you just type “optirun <command>”; if you have applications that always need discrete graphics you could even incorporate that in the desktop launchers. For instance, check:

nano /usr/share/applications/nvidia-settings.desktop

You should edit the Exec line as follows:

Exec=optirun -b none nvidia-settings -c :8

for the applet to run properly. You might also check:

bruno@LT_B:~> glxinfo | grep 'vendor string'
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel Open Source Technology Center
bruno@LT_B:~> optirun glxinfo | grep 'vendor string'
server glx vendor string: NVIDIA Corporation
client glx vendor string: primus
OpenGL vendor string: NVIDIA Corporation
bruno@LT_B:~>

thank you.