You are not logged in.

#1 2013-03-06 17:25:41

johannesg00
Member
Registered: 2010-11-30
Posts: 74

Bumblebee problem: nvidia module loaded on start up

Hello,

i have an ASUS UX32VD notebook with an intel and nvidia graphics chip.
Since a few days the internal nvidia card isn't disabled during startup, but i don't know whats wrong... here's the console output where you can see whats happening:

[root@UX32VD /]# cat /proc/acpi/bbswitch 
0000:01:00.0 ON

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

[root@UX32VD /]# cat /proc/acpi/bbswitch 
0000:01:00.0 ON

[root@UX32VD /]# dmesg | grep bbswitch
[   26.763125] bbswitch: version 0.5
[   26.763130] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[   26.763135] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[   26.763320] bbswitch: detected an Optimus _DSM function
[   26.763326] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[   26.764873] bbswitch: disabling discrete graphics
[  606.243386] bbswitch: device 0000:01:00.0 is in use by driver 'nvidia', refusing OFF

[root@UX32VD /]# cat /etc/modprobe.d/disable_nvidia.conf 
blacklist nvidia

[root@UX32VD /]# cat /etc/modprobe.d/nouveau_blacklist.conf 
blacklist nouveau

[root@UX32VD /]# systemctl status bumblebeed.service 
bumblebeed.service - Bumblebee C Daemon
	  Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
	  Active: active (running) since Wed 2013-03-06 18:12:38 CET; 10min ago
	Main PID: 476 (bumblebeed)
	  CGroup: name=systemd:/system/bumblebeed.service
		  └─476 /usr/sbin/bumblebeed

Mar 06 18:12:38 UX32VD bumblebeed[476]: [   26.696948] [INFO]/usr/sbin/bumblebeed 3.1 started
Mar 06 18:12:40 UX32VD systemd[1]: Started Bumblebee C Daemon.


[root@UX32VD /]# rmmod nvidia 
[root@UX32VD /]# tee /proc/acpi/bbswitch <<<OFF
OFF
[root@UX32VD /]# cat /proc/acpi/bbswitch 
0000:01:00.0 OFF

why is the nvidia module loaded? it is blacklistet and bbswitch disables the card during startup...

Offline

#2 2013-03-09 20:24:49

TH3L0N3W0LF
Member
Registered: 2012-11-22
Posts: 3

Re: Bumblebee problem: nvidia module loaded on start up

Hi,
I had the same problem on an ASUS N56VJ, but I didn't blacklist it like you. I'm not sure why it would continue to load while it's blacklisted, but I tried something else that seemed to work.
In my case, I added the bbswitch module into the initramfs so it loaded before the nvidia module and that fixed the problem.

It's probably not the best solution, but it's the only one that I've used that works.

Offline

#3 2013-03-10 03:57:36

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Bumblebee problem: nvidia module loaded on start up

What kernel version are you using?
There is an open issue with 3.8 kernel.
https://github.com/Bumblebee-Project/bbswitch/issues/46


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#4 2013-03-10 22:22:51

johannesg00
Member
Registered: 2010-11-30
Posts: 74

Re: Bumblebee problem: nvidia module loaded on start up

I'm using the recent 3.7 kernel.
Deleting the blacklist files and adding bbswitch to the mkinitcpio didn't solve the problem :-/

Offline

#5 2013-03-11 00:16:21

TH3L0N3W0LF
Member
Registered: 2012-11-22
Posts: 3

Re: Bumblebee problem: nvidia module loaded on start up

How did you blacklist it?
EDIT: Saw first post.
If blacklisting isn't working, I'd assume the nvidia module was in the initramfs or something else is loading it.
You can try this which was pulled from the wiki:

Note: The blacklist command will blacklist a module so that it will not be loaded automatically, but the module may be loaded if another non-blacklisted module depends on it or if it is loaded manually.
However, there is a workaround for this behaviour; the install command instructs modprobe to run a custom command instead of inserting the module in the kernel as normal, so you can force the module to always fail loading with:

/etc/modprobe.d/blacklist.conf

...
install module_name /bin/false
...

This will effectively blacklist that module and any other that depends on it.

Last edited by TH3L0N3W0LF (2013-03-11 00:34:57)

Offline

Board footer

Powered by FluxBB