Leap + Bumblebee

HI,

On Asus laptop with a Nvidia 960m GTX I am trying to get bumblebee to work. Based on the instructions from https://en.opensuse.org/SDB:NVIDIA_Bumblebee

I added the repository from

https://software.opensuse.org/download.html?project=X11%3ABumblebee&package=nvidia-bumblebee

Then ran


zypper in nvidia-bumblebee
systemctl enable dkms
zypper in nvidia-bumblebee-32bit

Rebooted.

Tried to find optirun, it doesn’t appear to be installed

Looking at systemctl -a, and bumblebee is not listed.

Would therefore seem the install didn’t complete. The system appears to still be using Nouveau.

Any thoughts please?

Thanks

You have to install some more packages and add the right repository:

http://download.opensuse.org/repositories/X11:/Bumblebee/openSUSE_Leap_42.1/

You might take a look at these threads:

https://forums.opensuse.org/showthread.php/505270-ultimate-tutorial-installing-Bumblebee-driver-for-SUSE

and

https://forums.opensuse.org/showthread.php/510739-LEAP-42-1-optirun-nvidia-poor-performance

THanks - tried that. No joy. I will leave it for now.

Same setup here, followed exactly that guide (with the “Leap42.1” version of repos and a final ‘dracut --host-only --force’ just for safety) and everything ok…:slight_smile:

But be sure to configure your Yast2-Software (or whatever you are using) to “Install recommended packages”, otherwise you miss some essential packages that are not explicitly mentioned in the guide.

Thanks - I gave it another try given your experience. I now have bumblebee installed and started, but it doesn’t appear to be running with the Nvidia drivers?! Which I did install.

:
systemctl status bumblebeed
bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
Active: active (running) since Thu 2015-11-19 18:09:42 GMT; 47s ago
Main PID: 1528 (bumblebeed)
CGroup: /system.slice/bumblebeed.service
└─1528 /usr/sbin/bumblebeed

Yet if I run nvidia-settings

ERROR: libnvidia-gtk3.so.352.55: cannot open shared object file: No such file or directory
libnvidia-gtk3.so: cannot open shared object file: No such file or directory
libnvidia-gtk2.so.352.55: cannot open shared object file: No such file or directory
libnvidia-gtk2.so: cannot open shared object file: No such file or directory

ERROR: A problem occured when loading the GUI library. Please check your installation and library path. You may need to
specify this library when calling nvidia-settings. Please run nvidia-settings --help for usage information.

Any ideas please? I’m running KDE.

Thank you

Further info


ben@Gibson:~$ optirun nvidia-smi
Thu Nov 19 18:28:17 2015       
+------------------------------------------------------+                       
| NVIDIA-SMI 352.55     Driver Version: 352.55         |                       
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 960M    Off  | 0000:01:00.0     Off |                  N/A |
| N/A   42C    P0    N/A /  N/A |     12MiB /  2047MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|    0      2293    G   Xorg                                             4MiB |
+-----------------------------------------------------------------------------+
ben@Gibson:~$ optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

nvidia-settings should be directed at Xserver :8 and should load the Nvidia GL libraries to work as intended.
Start it with:


optirun -b none nvidia-settings -c :8

You may edit the desktop launcher accordingly by issuing:


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

and making sure that line 6 reads:


Exec=optirun -b none /usr/bin/nvidia-settings -c :8

The first line worked fine - thank you!!