Bumblebee installation with proprietary driver fails

Dear Community,

yesterday I installed a fresh Leap 42.1 on my Laptop, an ASUS N61Jv with Optimus hybrid graphics card and a Geforce 325m chip.

I wanted to get the discrete card to work using bumblebee. I followed the instructions of https://en.opensuse.org/SDB:NVIDIA_Bumblebee but I used https://build.opensuse.org/package/show/home:NickLion:nv/nvidia-bumblebee instead,
since I need driver version 340.96 for my graphics chip according to the NVIDIA homepage.

Unfortunately the installation failed with output

“cannot stat <some_path>/libnvidia-gtk3.so”

and in the make.log:

‘no rule for target “modules”’

As a result the nvidia modules did not show up when I did

hwinfo --gfxcard

and expectantly testing with

optirun glxspheres

failed with the
[XORG] (EE) intel(0): [drm] failed to set drm interface version: Permission denied

message.

I guess the package is a bit broken, so is there any alternative for installing bumblebee with the nvidia driver on my system?

An aside: I wanted to install bosim’s suse-prime package, but this is only provided for Geforce 400 and later cards. Would be cool to have this also for earlier cards such as mine.

Cheers

Hi, the Nvidia package you installed is built by a single user that might have specific configurations, try to add the official Bumblebee repo:
http://download.opensuse.org/repositories/home:/Bumblebee-Project:/nVidia:/340.96/openSUSE_Leap_42.1/
and install the x11-video-nvidia-340.96-66.1.x86_64.rpm package from there.
Make sure to have “Installed Recommended packages” set, so that all dependencies are installed as well.
Be aware that building the needed kernel modules might take a few minutes, so don’t panic if you get a longer boot with a “black screen” on the first reboot.

Thx for the reply and your hint. -> I’ll give it a try.

I also found:
http://download.opensuse.org/repositories/home:Bumblebee-Project:nVidia:340.96/openSUSE_Tumbleweed/home:Bumblebee-Project:nVidia:340.96.repo
Wouldn’t that also contain the “official” packages?

Cheers

That is the repo for Tumbleweed, but apparently you are running Leap 42.1?

Forget the previous post. I also did not see (before posting) that you were already pointing me to the 340.96 repo for Leap. I assumed that you were pointing to the bumblebee repo containing the current nvidia driver. Sry :wink:

But I have good news: The installation worked perfectly and GLX Spheres is now running… Thank you! → Issue resolved.

One minor thing: During startup it complained that it could not load all modules and

systemclt status systemd-modules-load.service

reported:

~] λ systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
Active: active (exited) since Thu 2016-06-30 12:01:48 CEST; 9min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 427 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS)
Main PID: 427 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/systemd-modules-load.service

Jun 30 12:01:48 Rechensklave systemd-modules-load[427]: Inserted module ‘bbswitch’
Jun 30 12:01:48 Rechensklave systemd[1]: Started Load Kernel Modules.

Is there a problem?

Cheers

Did you remove the normal NVIDIA driver before installing the bumblebee version? That can leave stuff behind if not removed.

I did not even install the normal driver. It seems that I just picked the wrong package.

But there is a followup problem of this with primusrun not working:

https://forums.opensuse.org/showthread.php/518692-primusrun-not-working-after-flawless-bumblebee-installation

I also noticed that skype now requires optirun to work. I think it does not look the the driver of the intel chip. Any idea how can reconfigure this?

Cheers