FS#48953 - [nvidia] bumblebee doesn't work anymore

Attached to Project: Arch Linux
Opened by Simon Solinas (ksolsim) - Thursday, 14 April 2016, 18:42 GMT
Last edited by Jan de Groot (JGC) - Friday, 15 April 2016, 14:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
After today's upgrade (kernel, nvidia, bumblebee and bbswitch packages) nvidia discrete card is always on.

Additional info:
* package versions : linux 4.5-1, nvidia 364.16-2, nvidia-utils 364.16-2, bumblebee 3.2.1-10, bbswitch 0.8-45

Steps to reproduce:
from terminal:

[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

[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.

if I give:
[root@arch cylon-gnome]# tee /proc/acpi/bbswitch <<<OFF
OFF

but the card stays on when trying to disable it:
[root@arch cylon-gnome]# 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 cylon-gnome]# modprobe -v -r nvidia
modprobe: FATAL: Module nvidia is in use.

or rmmod [driver name]
[root@arch cylon-gnome]# rmmod nvidia
rmmod: ERROR: Module nvidia is in use by: nvidia_modeset


This task depends upon

Closed by  Jan de Groot (JGC)
Friday, 15 April 2016, 14:57 GMT
Reason for closing:  Duplicate
Additional comments about closing:  https://bugs.archlinux.org/task/47140
Comment by Alessio (spidernet) - Thursday, 14 April 2016, 19:51 GMT
Same for me. The nvidia-drm module might be the cause of it, because it was working fine with the older driver (pre 364).
Comment by Simon Solinas (ksolsim) - Thursday, 14 April 2016, 20:45 GMT
see this bug report, https://bugs.archlinux.org/task/47140, for the solution. You have to compile the bumblebee patched version.

Loading...