bumblebee not running.

Hello, I have problem with optirun

optirun glxprimusrun  glxspheres  
  125.998975] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
  125.999058] [ERROR]Could not connect to bumblebee daemon - is it running?


primusrun glxspheres 
connect: No such file or directory
primus: fatal: failure contacting bumblebee daemon


Opensuse 12.2. Bumblebee installed by one-click-install from here software.opensuse.org:
No official nvidia drivers are installed. ( This is recomended for ubuntu distros)

I believe you can find enough information here:

https://forums.opensuse.org/english/get-technical-help-here/64-bit/479942-right-nvidia-optimus-driver-configuration.html

Note that it’s possible to install and take advantage of the propriarity Nvidia driver, given you’re installing it from the repo suggested in that thread. I don’t know if it matters in whitch order you install the Nvidia driver and Bumblebbe, I had the driver installed when i installed Bumblebee, doing it in the reversed order might be different.

I installed the NVIDIA driver from Index of /repositories/home:/Bumblebee-Project:/nVidia:/latest pick your version , did that once, DKMS takes care of whatever’s needed when I get a new kernel. Bumblebee is installed from Index of /repositories/home:/Overman79 pick your version. This works like a charm, i.e. intel works fine, nvidia is only activated on invocation of optirun or primusrun

Thanks. This is really helps. I just install nvidia driver from bumblebee repo. Curious that this is not dependency. But I have performance issues opposite then described in primus article https://forums.opensuse.org/english/get-technical-help-here/hardware/481405-nvidia-optimus-bumblebee-primus-tips.html

mf@mf-laptop:~> primusrun  glxspheres  
Polygons in scene: 62464
Visual ID of window: 0x92
Context is Direct
OpenGL Renderer: GeForce 610M/PCIe/SSE2
primus: sorry, not implemented: glXUseXFont
60.881381 frames/sec - 53.901940 Mpixels/sec
59.711791 frames/sec - 52.866431 Mpixels/sec
59.724637 frames/sec - 52.877805 Mpixels/sec
59.707966 frames/sec - 52.863045 Mpixels/sec
59.661961 frames/sec - 52.822314 Mpixels/sec
59.712429 frames/sec - 52.866996 Mpixels/sec
59.715610 frames/sec - 52.869812 Mpixels/sec
59.691955 frames/sec - 52.848870 Mpixels/sec
59.704403 frames/sec - 52.859891 Mpixels/sec
mf@mf-laptop:~> optirun  glxspheres  
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce 610M/PCIe/SSE2
123.415375 frames/sec - 109.267036 Mpixels/sec
130.456130 frames/sec - 115.500639 Mpixels/sec
136.826633 frames/sec - 121.140828 Mpixels/sec
129.914806 frames/sec - 115.021372 Mpixels/sec
130.893872 frames/sec - 115.888198 Mpixels/sec


I’ve just found that

vblank_mode=0

Really improtant with it I have dramatically improve primus performance
But it still curse too much.

 vblank_mode=0 primusrun glxspheres
Polygons in scene: 62464
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
Visual ID of window: 0x92
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: option value of option vblank_mode ignored.
Context is Direct
OpenGL Renderer: GeForce 610M/PCIe/SSE2
primus: sorry, not implemented: glXUseXFont
278.724054 frames/sec - 246.771128 Mpixels/sec
284.469039 frames/sec - 251.857508 Mpixels/sec
282.598367 frames/sec - 250.201291 Mpixels/sec
283.192150 frames/sec - 250.727002 Mpixels/sec
284.903952 frames/sec - 252.242563 Mpixels/sec
283.985544 frames/sec - 251.429442 Mpixels/sec
280.440326 frames/sec - 248.290647 Mpixels/sec