Closed Metalhead666 closed 12 years ago
What system, driver, their version ? Bumblebee version ?
toshiba qosmio x770, Geforce GTX 560M, nvidia driver 304.22 beta (with 295.40 didn't work too), bumblebee 3.0.1
Arch or Ubuntu (or else) ?
Could you paste the result of following commands :
sudo modprobe bbswitch sudo modprobe nvidia_current sudo modprobe nvidia
Also, could you give the content of /etc/bumblebee/bumblebee.conf ?
ubuntu 12.04 btw kernel is 3.5
from "sudo modprobe bbswitch":
FATAL: Module bbswitch not found.
from "sudo modprobe nvidia_current":
FATAL: Module nvidia_current not found.
from "sudo modprobe nvidia":
FATAL: Module nvidia not found.
I'm a newbie in ubuntu, I started using it last week, and I really want this to work. Thanks :)
bumblebee.conf:
(Removed by ArchangeGabriel, it was the default one, so nothing interesting here)
Ok, so I guess you're using xorg-edgers ?
Please do the following :
sudo apt-get install --reinstall bbswitch-dkms nvidia-current
Copy the output by the way.
Then :
sudo gedit /etc/bumblebee/bumblebee.conf
Change Driver= by Driver=nvidia and KernelDriver=nvidia-current by KernelDriver=nvidia.
After that, reboot and try again optirun.
I guess, I'm not sure...
I tried "optirun glxgears" and now it has another error:
[ 77.087504] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect. [ 77.087531] [ERROR]Could not connect to bumblebee daemon - is it running?
Hum, ok so change back Driver=nvidia to Driver= and KernelDriver=nvidia-current to KernelDriver=nvidia. And please copy the output of :
sudo apt-get install --reinstall bbswitch-dkms nvidia-current
Yes sure, I forgot before, sorry.. And by the way, it's in portuguese, so sorry about that:
A ler as listas de pacotes... Pronto
A construir árvore de dependências
A ler a informação de estado... Pronto
O seguinte pacote foi instalado automaticamente e já não é necessário:
libjpeg62
Utilize 'apt-get autoremove' para os remover.
0 pacotes actualizados, 0 pacotes novos instalados, 2 reinstalados, 0 a remover e 0 não actualizados.
É necessário obter 0 B/60,2 MB de arquivos.
Após esta operação, serão utilizados 0 B adicionais de espaço em disco.
(A ler a base de dados ... 280607 ficheiros e directórios actualmente instalados.)
A preparar para substituir nvidia-current 304.22-beta-precise (a usar .../nvidia-current_304.22-beta-precise_amd64.deb) ...
Removing all DKMS Modules
Done.
A descompactar substituto nvidia-current ...
A preparar para substituir bbswitch-dkms 0.4.2-2~preciseppa1 (a usar .../bbswitch-dkms_0.4.2-2~preciseppa1_all.deb) ...
Deleting module version: 0.4.2
Done. A descompactar substituto bbswitch-dkms ... A processar 'triggers' para man-db ... A instalar nvidia-current (304.22-beta-precise) ... INFO:Enable nvidia-current DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude DEBUG:Processing quirk ThinkPad T420s DEBUG:Failure to match TOSHIBA with LENOVO DEBUG:Quirk doesn't match DEBUG:Processing quirk Latitude E6530 DEBUG:Failure to match TOSHIBA with Dell Inc. DEBUG:Quirk doesn't match Loading new nvidia-current-304.22 DKMS files... Building only for 3.5.0-030500-generic Building for architecture x86_64 Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed. A instalar bbswitch-dkms (0.4.2-2~preciseppa1) ... Loading new bbswitch-0.4.2 DKMS files... Building only for 3.5.0-030500-generic Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed. A processar 'triggers' para bamfdaemon ... Rebuilding /usr/share/applications/bamf.index...
Ok, same issue than #216, could you please ppa-purge Up-Ubuntu repos and try again on stock kernel.
how can I do that? I'm sorry, trying really hard to learn
Can you give me the content of : /etc/apt/sources.list
Here it is:
deb cdrom:[Ubuntu 12.04 LTS Precise Pangolin - Release amd64 (20120425)]/ dists/precise/main/binary-i386/
deb cdrom:[Ubuntu 12.04 LTS Precise Pangolin - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/ deb cdrom:[Ubuntu 12.04 LTS Precise Pangolin - Release amd64 (20120425)]/ precise main restricted
See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to newer versions of the distribution. deb http://pt.archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://pt.archive.ubuntu.com/ubuntu/ precise main restricted
Major bug fix updates produced after the final release of the distribution. deb http://pt.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://pt.archive.ubuntu.com/ubuntu/ precise-updates main restricted
N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team. Also, please note that software in universe WILL NOT receive any review or updates from the Ubuntu security team. deb http://pt.archive.ubuntu.com/ubuntu/ precise universe deb-src http://pt.archive.ubuntu.com/ubuntu/ precise universe deb http://pt.archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://pt.archive.ubuntu.com/ubuntu/ precise-updates universe
N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team, and may not be under a free licence. Please satisfy yourself as to your rights to use the software. Also, please note that software in multiverse WILL NOT receive any review or updates from the Ubuntu security team. deb http://pt.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://pt.archive.ubuntu.com/ubuntu/ precise multiverse deb http://pt.archive.ubuntu.com/ubuntu/ precise-updates multiverse deb-src http://pt.archive.ubuntu.com/ubuntu/ precise-updates multiverse
N.B. software from this repository may not have been tested as extensively as that contained in the main release, although it includes newer versions of some applications which may provide useful features. Also, please note that software in backports WILL NOT receive any review or updates from the Ubuntu security team. deb http://pt.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://pt.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu precise-security main restricted deb-src http://security.ubuntu.com/ubuntu precise-security main restricted deb http://security.ubuntu.com/ubuntu precise-security universe deb-src http://security.ubuntu.com/ubuntu precise-security universe deb http://security.ubuntu.com/ubuntu precise-security multiverse deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
Uncomment the following two lines to add software from Canonical's 'partner' repository. This software is not part of Ubuntu, but is offered by Canonical and the respective vendors as a service to Ubuntu users. deb http://archive.canonical.com/ubuntu precise partner deb-src http://archive.canonical.com/ubuntu precise partner deb http://packages.linuxmint.com/ lisa main upstream import
This software is not part of Ubuntu, but is offered by third-party developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main deb http://archive.canonical.com/ natty partner deb-src http://archive.canonical.com/ natty partner deb-src http://linux.dropbox.com/ubuntu precise main deb http://download.learnfree.eu/repository/skss / #SKSS deb-src http://download.learnfree.eu/repository/skss / #SKSS
Ok, what gives :
ls /etc/apt
"ls /etc/apt":
apt.conf.d sources.list sources.list.d trustdb.gpg trusted.gpg~ preferences.d sources.list~ sources.list.save trusted.gpg trusted.gpg.d
Ok, and now : ls /etc/apt/sources.list.d/
"ls /etc/apt/sources.list.d/":
bumblebee-stable-precise.list bumblebee-stable-precise.list~ bumblebee-stable-precise.list.save danielrichter2007-grub-customizer-precise.list danielrichter2007-grub-customizer-precise.list.save dropbox.list dropbox.list.save google-chrome.list google-chrome.list.save jd-team-jdownloader-precise.list jd-team-jdownloader-precise.list.save libreoffice-ppa-precise.list libreoffice-ppa-precise.list.save medibuntu.list medibuntu.list.save opera.list opera.list.save rvm-smplayer-precise.list rvm-smplayer-precise.list.save scopes-packagers-ppa-precise.list scopes-packagers-ppa-precise.list.save shnatsel-zram-precise.list shnatsel-zram-precise.list.save tualatrix-ppa-precise.list tualatrix-ppa-precise.list.save ubuntu-wine-ppa-precise.list ubuntu-wine-ppa-precise.list.save upubuntu-com-kernel-amd64-precise.list upubuntu-com-kernel-amd64-precise.list.save upubuntu-com-nvidia-unstable-precise.list wallch-version-3-ppa-precise.list wallch-version-3-ppa-precise.list.save webupd8team-java-precise.list webupd8team-java-precise.list.save yannubuntu-boot-repair-precise.list yannubuntu-boot-repair-precise.list.save
Ok, then do the followings :
sudo apt-get install ppa-purge sudo apt-get purge bumblebee bumblebee-nvidia bbswitch-dkms nvidia-current sudo ppa-purge ppa:upubuntu-com/nvidia-unstable sudo ppa-purge ppa:upubuntu-com/kernel-amd64
Please make sure that the 3.5 kernel is completely and properly removed and that you're booting on the stock 3.2 one.
Reboot and verify that your system works, then do the following :
sudo apt-get install bumblebee
well it actually worked with kernel 3.2.0-27 and nvidia driver 295.40
is there a way to update kernel back to 3.5 and bumblebee still working?
Thank you :D
Why do you need Kernel 3.5 urgently ? If you really want it, better use ubuntu team ones, which you could install this way :
mkdir kernel3.5.0 && cd kernel3.5.0
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5-quantal/linux-headers-3.5.0-030500_3.5.0-030500.201207211835_all.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5-quantal/linux-headers-3.5.0-030500-generic_3.5.0-030500.201207211835_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5-quantal/linux-image-3.5.0-030500-generic_3.5.0-030500.201207211835_amd64.deb
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5-quantal/linux-image-extra-3.5.0-030500-generic_3.5.0-030500.201207211835_amd64.deb
sudo dpkg -i *.deb
cd ..
rm -r kernel3.5.0
But if it's just to run the latest kernel, it's not advised, it has just been published last weeks, and is recommended only for developers and advanced users.
I noted kernel 3.5 faster than 3.2 in my laptop, and I love speed :)
Thanks, for everything :D
That's normal, and I'm personnaly using bleeding edge packages because I like to have the latest up-to-date things. But when you live this way, you can't come and complain that things don't work.
Closing since everything is fine now.
when I run "optirun glxspheres":
[ 1987.680061] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver
[ 1987.680170] [ERROR]Aborting because fallback start is disabled.
The "sudo bumblebeed --debug":
[ 2132.665050] [INFO]Loading driver bbswitch (module bbswitch) [ 2132.665314] [DEBUG]Process modprobe started, PID 29469. FATAL: Module bbswitch not found. [ 2132.668296] [DEBUG]Process with PID 29469 returned code 1 [ 2132.668929] [ERROR]Module bbswitch could not be loaded (timeout?) [ 2132.668982] [DEBUG]bbswitch is not available, perhaps you need to insmod it? [ 2132.669039] [INFO]Skipping switcheroo PM method because it is not explicitly selected in the configuration. [ 2132.669091] [WARN]No switching method available. The dedicated card will always be on. [ 2132.669148] [DEBUG]Active configuration: [ 2132.669190] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 2132.669233] [DEBUG] X display: :8 [ 2132.669269] [DEBUG] LD_LIBRARY_PATH: [ 2132.669310] [DEBUG] Socket path: /var/run/bumblebee.socket [ 2132.669354] [DEBUG] pidfile: /var/run/bumblebeed.pid [ 2132.669394] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nouveau [ 2132.669436] [DEBUG] ModulePath: [ 2132.669478] [DEBUG] GID name: bumblebee [ 2132.669521] [DEBUG] Power method: auto [ 2132.669552] [DEBUG] Stop X on exit: 1 [ 2132.669583] [DEBUG] Driver: nouveau [ 2132.669613] [DEBUG] Driver module: nouveau [ 2132.669644] [DEBUG] Card shutdown state: 1 [ 2132.669857] [DEBUG]Process /sbin/modinfo started, PID 29470. [ 2132.669976] [DEBUG]Hiding stderr for execution of /sbin/modinfo [ 2132.673901] [DEBUG]SIGCHILD received, but wait failed with No child processes [ 2132.673966] [DEBUG]Configuration test passed. [ 2132.674080] [ERROR]Daemon already running, pid 13834
Please, help? Thanks