You are not logged in.

#1 2016-04-14 18:57:12

ksolsim
Member
Registered: 2012-06-26
Posts: 38

[solved] - [nvidia] bumblebee doesn't work anymore

After today's upgrade (linux 4.5-1, nvidia 364.16-2, nvidia-utils 364.16-2, bumblebee 3.2.1-10, bbswitch 0.8-45) nvidia discrete card is always on.

[ksolsim@arch ~]$ optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is on.

[ksolsim@arch ~]$ cat /proc/acpi/bbswitch
0000:01:00.0 ON

But systemctl tells me:

[root@arch ksolsim]#systemctl status bumblebeed.service
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since gio 2016-04-14 20:01:45 CEST; 13min ago
Main PID: 348 (bumblebeed)
    Tasks: 1 (limit: 512)
   CGroup: /system.slice/bumblebeed.service
           └─348 /usr/bin/bumblebeed

apr 14 20:01:45 arch systemd[1]: Started Bumblebee C Daemon.
apr 14 20:01:47 arch bumblebeed[348]: [   21.047266] [INFO]/usr/bin/bumblebeed 3.2.1 started
apr 14 20:01:48 arch bumblebeed[348]: rmmod: ERROR: Module nvidia is in use by: nvidia_modeset
apr 14 20:01:51 arch bumblebeed[348]: [   24.499586] [ERROR]Unloading nvidia driver timed out.

And if I give:

[root@arch ksolsim]# tee /proc/acpi/bbswitch <<<OFF
OFF

but the card stays on when trying to disable it:

[root@arch ksolsim]# dmesg |tail -1
[ 1002.535058] bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF

and if i try to unload the nvidia kernel module via modprobe -v -r [driver name]

[root@arch ksolsim]# modprobe -v -r nvidia
modprobe: FATAL: Module nvidia is in use.

or rmmod [driver name]

[root@arch ksolsim]# rmmod nvidia
rmmod: ERROR: Module nvidia is in use by: nvidia_modeset


I opened a bug report here.... someone else has the same problem? some advice?

Last edited by ksolsim (2016-04-14 20:49:58)

Offline

#2 2016-04-14 19:48:32

spider-net
Member
Registered: 2015-12-09
Posts: 31

Re: [solved] - [nvidia] bumblebee doesn't work anymore

Yeep, same issue. I used to do

# modprobe -r nvidia_modeset

But it doesn't work anymore. To my knowledge this issue appeared after the introduction of the nvidia-drm module.

EDIT: take a look here: https://bugs.archlinux.org/task/47140 there is a patched bumblebee at the bottom of the comments, that you can try.

EDIT 2: I've installed the patched version of bumblebee from the link above and I can confirm that it works.

Last edited by spider-net (2016-04-14 20:33:48)

Offline

#3 2016-04-14 20:48:56

ksolsim
Member
Registered: 2012-06-26
Posts: 38

Re: [solved] - [nvidia] bumblebee doesn't work anymore

thanks, patched version of bumblebee works.

Offline

#4 2016-04-15 13:27:44

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 388

Re: [solved] - [nvidia] bumblebee doesn't work anymore

The patched version is now the default version basically.

Offline

Board footer

Powered by FluxBB