Closed ghost closed 13 years ago
Yes, a suggestion : could you try to replace your enable and disable scripts by those linked here : https://github.com/MrMEEE/bumblebee/blob/master/install-files/ubuntu/bumblebee-enablecard.asus.1215N https://github.com/MrMEEE/bumblebee/blob/master/install-files/ubuntu/bumblebee-disablecard.asus.1215N
See if there are any changes, and come back with the results.
Hi, I replaced the files as you told. then,
gorkem@gorkem-1215N:~$ sudo /usr/local/bin/bumblebee-disablecard ERROR: Module nvidia does not exist in /proc/modules _DSM Disabling nVidia card succeeded. _PS3 Disabling nVidia card failed (Error: AE_AML_INFINITE_LOOP). gorkem@gorkem-1215N:~$
what I should to do?
Can you do that : modprobe acpi_call
Then echo "\_SB.PCI0.P0P4.GFX0._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x1A {0x1,0x0,0x0,0x3}" > /proc/acpi/call
And finally cat /proc/acpi/call
Write here what the last command return or if the others commands returns something...
gorkem@gorkem-1215N:~$ modprobe acpi_call gorkem@gorkem-1215N:~$ echo "_SB.PCI0.P0P4.GFX0._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x1A {0x1,0x0,0x0,0x3}" > /proc/acpi/call gorkem@gorkem-1215N:~$ cat /proc/acpi/call {0x41, 0x00, 0x00, 0x11}gorkem@gorkem-1215N:~$
Ok, could you now call first the enablecard script and after that the disable script (as your card is already off right now).
when I look the additional drivers in ubuntu administration, my driver is "nvidia_current" and below says "this driver is activated but not currently in use"
Yep, that's normal.
gorkem@gorkem-1215N:~$ /usr/local/bin/bumblebee-enablecard _PS0 Enabling nVidia card succeeded. FATAL: Error inserting nvidia_current (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): Operation not permitted gorkem@gorkem-1215N:~$ sudo /usr/local/bin/bumblebee-enablecard _PS0 Enabling nVidia card succeeded. FATAL: Error inserting nvidia_current (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No such device gorkem@gorkem-1215N:~$ /usr/local/bin/bumblebee-disablecard ERROR: Module nvidia does not exist in /proc/modules _DSM Disabling nVidia card succeeded. _PS3 Disabling nVidia card succeeded. gorkem@gorkem-1215N:~$ sudo /usr/local/bin/bumblebee-disablecard ERROR: Module nvidia does not exist in /proc/modules _DSM Disabling nVidia card succeeded. _PS3 Disabling nVidia card failed (Error: AE_AML_INFINITE_LOOP). gorkem@gorkem-1215N:~$
Ok, thank you for a so detailed error report, I already have the solution to the problem, as it was a feature that I was wanting to add, now that I know it's solving a bug, I will make it top priority !
How ever, it seems you're having one other problem : the no such device one. We are currently working on it, as it happen to a lot of users, but don't have any solution for it right now.
By the way, my fix should make your system usable, so the nvidia problem is not as urgent...
Ok, I'm really busy for right now, I have an idea of temporary fix that may also show us if it is the problem : could you please remove the content of enable and disable scripts and see what happen ? (replace them by blank file, because we need them to exist, but don't need them to do something).
I click wrong button sorry:) so what should I do now?? I'm agree if I turn back my old configuration. should I uninstall or what?
No, for now, just remove the content that is in enable and disable scripts.
hımm.. maybe I did mistake when installing bumblebee. can u tell me instructions about it?
Ok, did you install bumblebee via git or via PPA ?
I think we may try to reinstall it. I suggest you to do the followings :
sudo bumblebee-uninstall sudo apt-get install ppa-purge sudo ppa-purge ppa:ubuntu-x-swat/x-updates sudo ppa-purge ppa:xorg-edgers/ppa sudo apt-add-repository ppa:mj-casalogic/bumblebee sudo apt-get update sudo apt-get install bumblebee
And come back say if there is any change.
sudo bumblebee-uninstall I did this then it asks y/n. and I type y then blank screen shown then ubuntu start page opened. is it normal? Now I reboot pc so its boot normally. will I go on?
I got these, in this step gorkem@gorkem-1215N:~$ sudo ppa-purge ppa:xorg-edgers/ppa PPA to be removed: xorg-edgers ppa Warning: Could not find package list for PPA: xorg-edgers ppa gorkem@gorkem-1215N:~$
whats wrong?
I fixed last comment by the way.
For your last message, that's normal, don't worry !
For the precedent, please do the followings ; 1) run bumblebee-enablecard (with sudo) 2) replace bumble-enablecard and bumble-disablecard with blank files. 3) run the above list of commands
now I realize , I couldnt uninstall bumblebee cuz I did last step now and it say:
gorkem@gorkem-1215N:~$ sudo apt-get install bumblebee
Reading package lists... Done
Building dependency tree
Reading state information... Done
bumblebee is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
gorkem@gorkem-1215N:~$
so what do you think?
Ok, what does bumblebee-uninstall ?
it ask yes or no then I type y and enter. and blank screen show up 2 sec. later ubuntu opening page display! I checked the usr/local/bin folder, scripts still there. I think that means I couldnt uninstall it. whats wrong?
Did you make what I've said ?
1) run bumblebee-enablecard (with sudo) 2) replace bumble-enablecard and bumble-disablecard with blank files. 3) run bumble-uninstall
sorry I missed your comment:( now I did and no problem with uninstalling now. thanks.
so what do you think should I try installing again with you? like this, sudo apt-get install ppa-purge sudo ppa-purge ppa:ubuntu-x-swat/x-updates sudo ppa-purge ppa:xorg-edgers/ppa sudo apt-add-repository ppa:mj-casalogic/bumblebee sudo apt-get update sudo apt-get install bumblebee
by the way should I add repository these two before run? : sudo ppa-purge ppa:ubuntu-x-swat/x-updates sudo ppa-purge ppa:xorg-edgers/ppa cuz console says could not find package list for...
Ok, now that you have correctly uninstall bumblebee, just make this as you said : sudo apt-add-repository ppa:mj-casalogic/bumblebee sudo apt-get update sudo apt-get install bumblebee
Don't add the repositories, these command were here for precaution, now that I know you didn't use these repos, I know it safe to continue...
so continue without run these two: sudo ppa-purge ppa:ubuntu-x-swat/x-updates sudo ppa-purge ppa:xorg-edgers/ppa ?? did I understand right?
Exactly, because we don't need to run these commands more than once !
ok. thanks. I installed. when install finished console asks: select a configuration profile or manual ? which one should I select?
Select a configuration profile
I'll select, but which one should I select?
What is proposed to you (I can't guess it, as it is fetch from the DB...) ?
ok I selected and install completed. now what should I do?
gorkem@gorkem-1215N:~$ sudo apt-get install bumblebee
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
nvidia-current virtualgl
The following NEW packages will be installed:
bumblebee nvidia-current virtualgl
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/30.9MB of archives.
After this operation, 90.0MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package nvidia-current.
(Reading database ... 190688 files and directories currently installed.)
Unpacking nvidia-current (from .../nvidia-current_275.09.07-0ubuntu2~maverick_i386.deb) ...
Selecting previously deselected package virtualgl.
Unpacking virtualgl (from .../virtualgl_2.2.2svn-6~maverick_i386.deb) ...
Selecting previously deselected package bumblebee.
Unpacking bumblebee (from .../bumblebee_2.0.0-8~maverick_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up nvidia-current (275.09.07-0ubuntu2~maverick) ...
update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/GL.conf (gl_conf) in auto mode.
update-alternatives: warning: skip creation of /usr/lib32/vdpau/libvdpau_nvidia.so.1 because associated file /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so.1 (of link group gl_conf) doesn't exist.
update-alternatives: warning: skip creation of /usr/lib32/libvdpau_nvidia.so because associated file /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so (of link group gl_conf) doesn't exist.
update-initramfs: deferring update (trigger activated)
Loading new nvidia-current-275.09.07 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.35-30-generic
Building for architecture i686
Building initial module for 2.6.35-30-generic
Done.
nvidia-current.ko: Running module version sanity check.
depmod....
DKMS: install Completed. Setting up virtualgl (2.2.2svn-6~maverick) ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Setting up bumblebee (2.0.0-8~maverick) ...
Setting up and Downloading Configuration... Please wait
15 33 50 75 100 Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.35-30-generic Processing triggers for python-support ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place gorkem@gorkem-1215N:~$
Ok, could you replace your enable and disable scripts by those linked here : https://github.com/MrMEEE/bumblebee/blob/master/install-files/ubuntu/bumblebee-enablecard.asus.1215N https://github.com/MrMEEE/bumblebee/blob/master/install-files/ubuntu/bumblebee-disablecard.asus.1215N
Then try to run the followings : 1) sudo bumblebee-enablecard 2) sudo bumblebee-disablecard 3) sudo bumblebee-disablecard (yes, again)
Then report the terminal output.
I replaced and, first step:
gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-enablecard [sudo] password for gorkem: FATAL: Module acpi_call not found. _PS0 Enabling nVidia card succeeded. gorkem@gorkem-1215N:/usr/local/bin$
What is missing?
acpi_call ;)
In fact I've just see you post the installation output, and I don't see acpi_call anywhere...
I'm looking for a solution please wait...
ok:) thank you very much your help. I'm waiting...
Ok first run this and give me the result (or say me if there isn't result) : dkms status |grep acpi_call
there is no result....
Ok, so acpi_call is really not installed.
Here we go for a very long list of commands :
sudo apt-get install dkms git
ln -s /usr/lib/dkms/dkms_autoinstaller /etc/init.d/dkms
update-rc.d dkms defaults
rm -rf /usr/src/acpi_call*
cd /tmp
git clone http://github.com/mkottman/acpi_call.git
mv acpi_call /usr/src/acpi_call-1.0
The following list should be copied/pasted in one time :
echo 'PACKAGE_NAME="acpi_call" PACKAGE_VERSION="'$ACPICALLVERSION'" CLEAN="make clean" BUILT_MODULE_NAME[0]="acpi_call" DEST_MODULE_NAME[0]="acpi_call" MAKE[0]="make IGNORE_CC_MISMATCH=1 KDIR=$kernel_source_dir PWD=$dkms_tree/acpi_call/1.0/build" DEST_MODULE_LOCATION[0]="/updates/dkms/" AUTOINSTALL="yes"' > /usr/src/acpi_call-$ACPICALLVERSION/dkms.conf
And finally :
dkms add -m acpi_call -v 1.0
dkms build -m acpi_call -v 1.0
dkms install -m acpi_call -v 1.0
in this step;
gorkem@gorkem-1215N:/tmp$ echo 'PACKAGE_NAME="acpi_call"
PACKAGE_VERSION="'$ACPICALLVERSION'" CLEAN="make clean" BUILT_MODULE_NAME[0]="acpi_call" DEST_MODULE_NAME[0]="acpi_call" MAKE[0]="make IGNORE_CC_MISMATCH=1 KDIR=$kernel_source_dir PWD=$dkms_tree/acpi_call/1.0/build" DEST_MODULE_LOCATION[0]="/updates/dkms/" AUTOINSTALL="yes"' > /usr/src/acpi_call-$ACPICALLVERSION/dkms.conf bash: /usr/src/acpi_call-/dkms.conf: No such file or directory gorkem@gorkem-1215N:/tmp$
Yes, sorry, try again this step with :
echo 'PACKAGE_NAME="acpi_call" PACKAGE_VERSION="1.0" CLEAN="make clean" BUILT_MODULE_NAME[0]="acpi_call" DEST_MODULE_NAME[0]="acpi_call" MAKE[0]="make IGNORE_CC_MISMATCH=1 KDIR=$kernel_source_dir PWD=$dkms_tree/acpi_call/1.0/build" DEST_MODULE_LOCATION[0]="/updates/dkms/" AUTOINSTALL="yes"' > /usr/src/acpi_call-1.0/dkms.conf
ok install complete now. I'll do followings now: 1) sudo bumblebee-enablecard 2) sudo bumblebee-disablecard 3) sudo bumblebee-disablecard (yes, again)
outputs:
gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-enablecard _PS0 Enabling nVidia card succeeded. gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-disablecard _DSM Disabling nVidia card succeeded. _PS3 Disabling nVidia card succeeded. gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-disablecard ERROR: Module nvidia does not exist in /proc/modules _DSM Disabling nVidia card succeeded. _PS3 Disabling nVidia card failed (Error: AE_AML_INFINITE_LOOP). gorkem@gorkem-1215N:/usr/local/bin$
Ok, perfect, we are ongoing to make it work !
Now try : 1) sudo bumblebee-enablecard 2) sudo bumblebee-disablecard
And give me the output (it's to see what happen if you try this after getting the error).
gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-enablecard _PS0 Enabling nVidia card succeeded. FATAL: Error inserting nvidia_current (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No such device gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-disablecard ERROR: Module nvidia does not exist in /proc/modules _DSM Disabling nVidia card succeeded. _PS3 Disabling nVidia card succeeded. gorkem@gorkem-1215N:/usr/local/bin$
wierd:)
So here is the problem : if you call twice the bumblebee-disablecard script, it results in a huge problem...
Can you try to run twice the enable script ? Or even more, to see what happen...
gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-enablecard _PS0 Enabling nVidia card succeeded. FATAL: Error inserting nvidia_current (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No such device gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-enablecard _PS0 Enabling nVidia card succeeded. FATAL: Error inserting nvidia_current (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No such device gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-enablecard _PS0 Enabling nVidia card succeeded. FATAL: Error inserting nvidia_current (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No such device gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-enablecard _PS0 Enabling nVidia card succeeded. FATAL: Error inserting nvidia_current (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No such device gorkem@gorkem-1215N:/usr/local/bin$ sudo bumblebee-enablecard _PS0 Enabling nVidia card succeeded. FATAL: Error inserting nvidia_current (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No such device gorkem@gorkem-1215N:/usr/local/bin$
all same
Ok... Could you try to reboot ? (You will probably be back to the blank screen, but no one knows).
I rebooted and it worked fine no blank screen shown up. it says bumblebee enablecard succeeded. but you know I wanna disable nvidia card when I use ubuntu cuz I wanna save batterylife.
hi,
I have a asus 1215N with ubuntu 10.10. so I tried to install bumblebee for switch off nvidia card for save battery. but now I cant boot ubuntu without recovery mode cuz a blank screen say: disabling nvidia card. but nothing happen. ıt freeze. only way to reboot is ctrl-alt-del:(
any suggestion....?
Gorkem