Hi, Im here because I have this particular situation. I tried to google but couldnt find an answer.
I have an ASUS N53SV laptop with a Geforce 540M with Nvidia Optimus technology.
I had installed bumblebee and It worked perfectly fine, until 2 days ago, In wich I have no clue, BBSwitch wont load, I see the Nvidia video card ON, sucking on my battery and heating up my computer.
Im runing Slackware 14.1 x86_64 with multilib enabled.
What really bothers me is that it was working perfectly fine, and put of the nowehere it stoped loading.
First time, I installed it following this guide (a month ago, right after Slackware14.1 released and clean install)
http://docs.slackware.com/howtos:har...nvidia_optimus
I even installed it enabling COMPAT32 (32bits compatibility on a 64bits system)
then, when I noticed It wasnt working I decided to reinstall it, no changes.
Then, reinstalled it without COMPAT32. Nothing
Then, I checked this:
https://github.com/Bumblebee-Project/bbswitch
Where I tried to:
Code:
# cat /proc/acpi/bbswitch
and echoes this:
Quote:
cat: /proc/acpi/bbswitch: No such file or directory
|
I wondered what happened..
So, I decided to download and reinstall Bbswitch..
Donloaded from here:
https://github.com/Bumblebee-Project/bbswitch
and following the instruction:
Code:
make
make install
make load
Code:
n4rf@ASUS:~\>> cd Downloads/
n4rf@ASUS:~/Downloads\>> cd bbswitch-master
n4rf@ASUS:~/Downloads/bbswitch-master\>> su
Password:
root@ASUS:/home/n4rf/Downloads/bbswitch-master# make
make -C /lib/modules/3.10.17/build M="$(pwd)" modules
make[1]: Entering directory `/usr/src/linux-3.10.17'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-3.10.17'
root@ASUS:/home/n4rf/Downloads/bbswitch-master# make install
mkdir -p /lib/modules/3.10.17/misc/bbswitch
install -m 0755 -o root -g root bbswitch.ko /lib/modules/3.10.17/misc/bbswitch
depmod -a
root@ASUS:/home/n4rf/Downloads/bbswitch-master# make load
rmmod bbswitch
rmmod: ERROR: Module bbswitch is not currently loaded
make: [load] Error 1 (ignored)
insmod bbswitch.ko
root@ASUS:/home/n4rf/Downloads/bbswitch-master#
then
if I go:
Code:
# cat /proc/acpi/bbswitch
0000:01:00.0 ON
Now it seems BBswitch is loaded..
but
I get this issue
Turn the card off, respectively on:
Code:
# tee /proc/acpi/bbswitch <<<OFF
# tee /proc/acpi/bbswitch <<<ON
If the card stays on when trying to disable it, you've probably forgotten to unload the driver,
Code:
$ dmesg |tail -1
bbswitch: device 0000:01:00.0 is in use by driver 'nouveau', refusing OFF
Do not attempt to load a driver while the card is off or the card won't be usable until the PCI configuration space has been recovered (for example, after writing the contents manually or rebooting).
If I go:
Code:
dmesg | grep -C 10 bbswitch
[ 32.054778] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 35.414690] wlan0: authenticate with 1c:bd:b9:75:97:7c
[ 35.436856] wlan0: send auth to 1c:bd:b9:75:97:7c (try 1/3)
[ 35.439130] wlan0: authenticated
[ 35.439154] ath9k 0000:03:00.0 wlan0: disabling HT as WMM/QoS is not supported by the AP
[ 35.439157] ath9k 0000:03:00.0 wlan0: disabling VHT as WMM/QoS is not supported by the AP
[ 35.439904] wlan0: associate with 1c:bd:b9:75:97:7c (try 1/3)
[ 35.442653] wlan0: RX AssocResp from 1c:bd:b9:75:97:7c (capab=0x411 status=0 aid=2)
[ 35.442963] wlan0: associated
[ 35.442976] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 844.568296] bbswitch: version 0.7
[ 844.568306] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 844.568313] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.GFX0
[ 844.569080] bbswitch: detected an Optimus _DSM function
[ 844.569094] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
Code:
root@ASUS:/home/n4rf/Downloads/bbswitch-master# uname -a
Linux ASUS 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013 x86_64 Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz GenuineIntel GNU/Linux
BUt, here is the BIG BUT!
If I reboot, BBswitch is NO LONGER LOADED NEITHER AVAILABLE!
Im back to this!
Code:
# cat /proc/acpi/bbswitch
Quote:
cat: /proc/acpi/bbswitch: No such file or directory
|
Any ideas????