Skip to content
This repository

Bumblebee doesn't find the drivers and the deamon #335

Closed
MaikKlein opened this Issue · 45 comments

7 participants

Maik Klein Peter Wu MFH86 bjornwsv eugenio Alexander Bruno Pagani
Maik Klein

I am having the problem for hours and I read though several threads but nothing really `
worked.

Currently I have installed ubuntu 12.04 with the kernel 3.7.9. If i try to run "optirun" I get the following error.

[ 788.217507] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 788.217568] [ERROR]Could not connect to bumblebee daemon - is it running?

And my syslog reports :
Feb 26 08:33:04 maikklein-UX32VD bumblebeed[1366]: Invalid configuration: no driver configured

also lspci only find my intel controller:
00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
and not my nvidia gpu.

Also nvidia-settings gives me the following error:

You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run
nvidia-xconfigas root), and restart the X server.
I have an Asus UX32VD with and 620m.

To be honest I followed so many guides that I have no idea anymore what is going on.

Here is my bumblebee conf http://pastebin.com/m9qFaP3U

Peter Wu
Owner

What lspci command? grepping for VGA is not always sufficient, some report it as 3D controller.

What bumblebee version? See https://github.com/Bumblebee-Project/Bumblebee/wiki/Reporting-Issues

Maik Klein

Oh yeah you are right, it is listed under 3d controller. I am using version 3.1

MFH86

Same problem. Yesterday everything worked fine, today after an update the fan went crazy and the graphic card is always on.
Distro: Ubuntu 12.04.2 LTS
Kernel: Linux mfh-Aspire-4830TG 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Manufacturer and model:

baseboard-manufacturer: Acer
baseboard-product-name: JM40_HR
baseboard-version     : Base Board Version
system-manufacturer   : Acer
system-product-name   : Aspire 4830TG
system-version        : V1.05
bios-vendor           : Acer
bios-version          : V1.05
bios-release-date     : 06/08/2011

Bumblebee version: 3.1
I have an nvidia geforce GT 540M.

Trying to start bumblebee manually doesn't work:

$ sudo bumblebeed -vv
[ 7837.257081] [DEBUG]Found card: 01:00.0 (discrete)
[ 7837.257169] [DEBUG]Found card: 00:02.0 (integrated)
[ 7837.257207] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 7837.258389] [DEBUG]Process /sbin/modprobe started, PID 3837.
[ 7837.258510] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 7837.261532] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 7837.261786] [DEBUG]Process /sbin/modprobe started, PID 3838.
[ 7837.261885] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 7837.264673] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 7837.264845] [DEBUG]bbswitch has been detected.
[ 7837.264867] [INFO]Switching method 'bbswitch' is available and will be used.
[ 7837.264883] [DEBUG]Active configuration:
[ 7837.264897] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 7837.264914] [DEBUG] X display: :8
[ 7837.264929] [DEBUG] LD_LIBRARY_PATH: 
[ 7837.264944] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 7837.264959] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 7837.264974] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.DRIVER
[ 7837.264989] [DEBUG] ModulePath: 
[ 7837.265004] [DEBUG] GID name: bumblebee
[ 7837.265020] [DEBUG] Power method: auto
[ 7837.265035] [DEBUG] Stop X on exit: 1
[ 7837.265050] [DEBUG] Driver: 
[ 7837.265064] [DEBUG] Driver module: 
[ 7837.265080] [DEBUG] Card shutdown state: 1
[ 7837.265095] [ERROR]Invalid configuration: no driver configured.

Same if the driver is specified:

$ sudo bumblebeed -vv --driver nvidia
[ 7907.445680] [DEBUG]Found card: 01:00.0 (discrete)
[ 7907.445716] [DEBUG]Found card: 00:02.0 (integrated)
[ 7907.445741] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 7907.445942] [DEBUG]Skipping auto-detection, using configured driver 'nvidia'
[ 7907.446039] [DEBUG]Process /sbin/modprobe started, PID 3845.
[ 7907.446080] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 7907.447368] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 7907.447514] [DEBUG]bbswitch has been detected.
[ 7907.447530] [INFO]Switching method 'bbswitch' is available and will be used.
[ 7907.447541] [DEBUG]Active configuration:
[ 7907.447551] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 7907.447561] [DEBUG] X display: :8
[ 7907.447570] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[ 7907.447580] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 7907.447590] [DEBUG] pidfile: /var/run/bumblebeed.pid
[ 7907.447599] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 7907.447609] [DEBUG] ModulePath: /usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
[ 7907.447619] [DEBUG] GID name: bumblebee
[ 7907.447628] [DEBUG] Power method: auto
[ 7907.447637] [DEBUG] Stop X on exit: 1
[ 7907.447646] [DEBUG] Driver: nvidia
[ 7907.447655] [DEBUG] Driver module: nvidia-current
[ 7907.447665] [DEBUG] Card shutdown state: 1
[ 7907.447864] [DEBUG]Process /sbin/modprobe started, PID 3846.
[ 7907.447956] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 7907.450634] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 7907.450677] [ERROR]Module 'nvidia-current' is not found.

Same thing with nouveau. I noticed also that in /etc/modprobe.d/blacklist.conf there is

blacklist nvidia-current 
blacklist nvidiafb

but commenting the first line and rebooting doesn't change the situation.
cat /proc/acpi/bbswitch yelds 0000:01:00.0 ON, when it worked it was OFF unless I launched a program with optirun.
lspci -nnk yelds

00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel driver in use: agpgart-intel
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port [8086:0101] (rev 09)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel driver in use: i915
    Kernel modules: i915
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel driver in use: mei
    Kernel modules: mei
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b4)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 [8086:1c14] (rev b4)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b4)
    Kernel driver in use: pcieport
    Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel driver in use: ehci_hcd
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 04)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel modules: iTCO_wdt
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 04)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel modules: i2c-i801
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df4] (rev a1)
    Subsystem: Acer Incorporated [ALI] Device [1025:0550]
    Kernel modules: nvidia, nouveau, nvidiafb
02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel driver in use: atl1c
    Kernel modules: atl1c
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) [168c:002e] (rev 01)
    Subsystem: Foxconn International, Inc. Device [105b:e034]
    Kernel driver in use: ath9k
    Kernel modules: ath9k
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader [10ec:5209] (rev 01)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel driver in use: rts_pstor
    Kernel modules: rts_pstor
04:00.1 SD Host controller [0805]: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader [10ec:5209] (rev 01)
    Subsystem: Realtek Semiconductor Co., Ltd. RTS5116 PCI Express Card Reader [10ec:5209]
    Kernel driver in use: sdhci-pci
    Kernel modules: sdhci-pci
05:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 04)
    Subsystem: Acer Incorporated [ALI] Device [1025:054f]
    Kernel driver in use: xhci_hcd

In detail:

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df4] (rev a1)
    Subsystem: Acer Incorporated [ALI] Device [1025:0550]
    Kernel modules: nvidia, nouveau, nvidiafb

There should be only the first line, except when a program is running through optirun.
I notice now that there is no kernel driver in use, I don't remember if this was the situation before I installed bumblebee.

I hope these are enough details on my situation.
Thanks for the help.

Peter Wu
Owner

That is odd, the ModulePath and LibraryPath are empty. Can you post the output of:

ls -ld /usr/lib/nvidia*/libGL.so
MFH86

They are empty only if I don't specify the driver (in the command line or in bumblebee.conf)
Here it is:

lrwxrwxrwx 1 root root 10 ago 16  2012 /usr/lib/nvidia-current/libGL.so -> libGL.so.1

(I think I'll edit my previous post now that I know there is the possibility to put code in nice boxes)

Peter Wu
Owner

Have you installed linux-headers-generic? It seems that your nvidia module is missing.

bjornwsv

I think i might have the same issue, i also have a Asus UX32VD with and 620m., and i get the same error when trying to run optirun.

I Have manage to run bumblebee on a earlier kernel.

I have installed and reinstalled linux-headers-generic

i have purge everything and started over several times.

using:

sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get purge nvidia-current
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install bumblebee bumblebee-nvidia

gksu gedit /etc/bumblebee/bumblebee.conf

[bumblebeed]
Driver=nvidia
[driver-nvidia]
KernelDriver=nvidia
Module=nvidia

Distro: Ubuntu 12.10
Kernel: 3.7.9-030709-generic

lspci -nn | grep '[030[02]]:'

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller 8086:0166
01:00.0 3D controller [0302]: NVIDIA Corporation Device 10de:1140

When i install sudo apt-get install --reinstall nvidia-current

Building initial module for 3.7.9-030709-generic
ERROR (dkms apport): kernel package linux-headers-3.7.9-030709-generic is not supported
Error! Bad return status for module build on kernel: 3.7.9-030709-generic (x86_64)
Consult /var/lib/dkms/nvidia-current/304.64/build/make.log for more information.

sudo gedit /var/lib/dkms/nvidia-current/304.64/build/make.log

*** Unable to determine the target kernel version. ***

make: *** [select_makefile] Error 1

This is my first comment on github please dont hesitate to tell me if i'm doing anything wrong

how do you get the pretty boxes?

MFH86

Yes, it's one of the many solutions I found on the web. It's already the most recent version.
To be precise, I purged bumblebee, bumblebee-nvidia and bbswitch-dkms, installed linux-heades-generic (which was already the most recent version), reinstalled the three packages and rebooted. No change.

Peter Wu
Owner

@bjornwsv Pretty boxes, see https://help.github.com/articles/github-flavored-markdown

@MFH86 wait, you have also the same Ubuntu "mainline" PPA 3.7.9 kernel installed as bjorn? The nvidia drivers needs a patch in order to build for those kernels, see the linked branches for nvidia-graphics-drivers on https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-updates/+bug/1075937

MFH86

@Lekensteyn No, uname -r yelds 3.2.0-38-generic.

Peter Wu
Owner

@MFH86 If you install it on Ubuntu from the PPA, bumblebeed will be started on boot. (to start it manually if it failed to start for some reason, use sudo start bumblebeed). If optirun complains that bumblebeed is not running, read your /var/log/syslog.

MFH86
$ sudo start bumblebeed
bumblebeed start/running, process 5544

Seems good, but:

$ cat /proc/acpi/bbswitch 
0000:01:00.0 ON
$ optirun -vv firefox
[17092.356390] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[17092.357325] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[17092.357402] [DEBUG]Socket closed.
[17092.357469] [ERROR]Could not connect to bumblebee daemon - is it running?

From syslog:

Feb 26 23:36:40 mfh-Aspire-4830TG bumblebeed[5544]: Invalid configuration: no driver configured.
Feb 26 23:36:40 mfh-Aspire-4830TG kernel: [17024.431944] init: bumblebeed main process (5544) terminated with status 1
Feb 26 23:36:40 mfh-Aspire-4830TG kernel: [17024.431977] init: bumblebeed main process ended, respawning

repeated 10 more times, then

Feb 26 23:36:41 mfh-Aspire-4830TG kernel: [17024.689380] init: bumblebeed respawning too fast, stopped
bjornwsv

@Lekensteyn Thank you for taking the time.

Can you tell me how to install the patch?

[Impact]
Nvidia and fglrx drivers need to be updated in order to build against Linux 3.7

[Test case]
1. Install the latest upstream kernel as described at https://wiki.ubuntu.com/Kernel/MainlineBuilds
2. confirm that the nvidia and fglrx drivers fail to compile against this kernel, and that rebooting to this kernel gives no binary driver.
3. upgrade to the packages in precise-proposed.
4. confirm that the new version of the package successfully builds the kernel module.

I have quantal-proposed checked of in updates, but as I’m running 12.10 I don't have precise-proposed. Do i need to upgrade to Presise to get it to work? Kernel 3.5* and 3.6* doesn’t work very well with my computer so I rather not downgrade. Is Presise stable these days?

Maik Klein

On 3.5.2 it runs smoothly, it just was 3.7.9 that causes problems. Didn't try the fix yet. thanks

MFH86

I'm thinking if it isn't better to downgrade bumblebee to the previous version for the moment instead of trying to solve the problem.

eugenio

I have the same problem and lately the os detected a close series of gpu hangs and the temps are high... I'm worried for the health of my hardware... does any one know a temporary fix for this?
OS = ubuntu quantal
uname -r = 3.5.0-26-generic

MFH86

I found on another topic this solution:

sudo rmmod nvidia
sudo tee /proc/acpi/bbswitch 

Obviously it's temporary, there is still no way to use optirun, but at least the hardware won't fry.
Check if it worked ba running

cat /proc/acpi/bbswitch

If it's OFF, you are safe.

I still don't know if it will work after rebooting. In case check with the last command and repeat the operation.

eugenio

sorry @MFH86 the above solution does not work for me :(

eugenio@eugenio-N53SV-ubuntu:~$ sudo rmmod nvidia
[sudo] password for eugenio:
ERROR: Module nvidia does not exist in /proc/modules
eugenio@eugenio-N53SV-ubuntu:~$ sudo tee /proc/acpi/bbswitch
^Ceugenio@eugenio-N53SV-ubuntu:~$ sudo tee /proc/acpi/bbswitch

^Ceugenio@eugenio-N53SV-ubuntu:~$
eugenio@eugenio-N53SV-ubuntu:~$ sudo tee /proc/acpi/bbswitch
^Ceugenio@eugenio-N53SV-ubuntu:~$
eugenio@eugenio-N53SV-ubuntu:~$
eugenio@eugenio-N53SV-ubuntu:~$ cat /proc/acpi/bbswitch
0000:01:00.0 ON

MFH86

Sorry, I gave you the wrong commands:

sudo modprobe nvidia
sudo tee /proc/acpi/bbswitch << OFF
eugenio

not working either:
eugenio@eugenio-N53SV-ubuntu:~$ sudo modprobe nvidia
[sudo] password for eugenio:
Sorry, try again.
[sudo] password for eugenio:
FATAL: Module nvidia not found.
eugenio@eugenio-N53SV-ubuntu:~$ sudo tee /proc/acpi/bbswitch << OFF

^C
eugenio@eugenio-N53SV-ubuntu:~$ cat /proc/acpi/bbswitch
0000:01:00.0 ON

MFH86

Can you post here lspci -nnk?

eugenio

eugenio@eugenio-N53SV-ubuntu:~$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller 8086:0104
Subsystem: ASUSTeK Computer Inc. Device [1043:1147]
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port 8086:0101
Kernel driver in use: pcieport
Kernel modules: shpchp
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller 8086:0116
Subsystem: ASUSTeK Computer Inc. Device [1043:1642]
Kernel driver in use: i915
Kernel modules: i915
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 8086:1c3a
Subsystem: ASUSTeK Computer Inc. Device [1043:1147]
Kernel driver in use: mei
Kernel modules: mei
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 8086:1c2d
Subsystem: ASUSTeK Computer Inc. Device [1043:1147]
Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller 8086:1c20
Subsystem: ASUSTeK Computer Inc. Device [1043:1063]
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 8086:1c10
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 8086:1c12
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 8086:1c16
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 8086:1c1a
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 8086:1c26
Subsystem: ASUSTeK Computer Inc. Device [1043:1147]
Kernel driver in use: ehci_hcd
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller 8086:1c49
Subsystem: ASUSTeK Computer Inc. Device [1043:1147]
Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller 8086:1c03
Subsystem: ASUSTeK Computer Inc. Device [1043:1147]
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller 8086:1c22
Subsystem: ASUSTeK Computer Inc. Device [1043:1147]
Kernel modules: i2c-i801
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 540M] 10de:0df4
Subsystem: ASUSTeK Computer Inc. Device [1043:1642]
Kernel modules: nvidia_current, nouveau, nvidiafb
03:00.0 Network controller [0280]: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) 168c:002b
Subsystem: AzureWave AW-NB037H 802.11bgn Wireless Half-size Mini PCIe Card [AR9002WB-1NGCD] [1a3b:2c37]
Kernel driver in use: ath9k
Kernel modules: ath9k
04:00.0 USB controller [0c03]: Fresco Logic FL1000G USB 3.0 Host Controller 1b73:1000
Subsystem: ASUSTeK Computer Inc. Device [1043:1039]
Kernel driver in use: xhci_hcd
05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller 10ec:8168
Subsystem: ASUSTeK Computer Inc. U6V/U31J laptop [1043:16d5]
Kernel driver in use: r8169
Kernel modules: r8169

MFH86

Ok, then try this:

sudo modprobe nvidia-current
sudo tee /proc/acpi/bbswitch << OFF
eugenio

Ok for the first part... but it seem I can't do :

   sudo tee /proc/acpi/bbswitch << OFF

see

   eugenio@eugenio-N53SV-ubuntu:~$ sudo tee /proc/acpi/bbswitch << OFF
   > OFF
   eugenio@eugenio-N53SV-ubuntu:~$ cat /proc/acpi/bbswitch
   0000:01:00.0 ON
MFH86

Ok, now:

sudo rmmod nvidia-current
sudo tee /proc/acpi/bbswitch << OFF
eugenio

unfortunately it doesn't work again :'( :

 eugenio@eugenio-N53SV-ubuntu:~$ sudo rmmod nvidia-current
 [sudo] password for eugenio: 
 Sorry, try again.
 [sudo] password for eugenio: 
 +ERROR: Module nvidia_current does not exist in /proc/modules
 eugenio@eugenio-N53SV-ubuntu:~$ sudo modprobe nvidia-current
 eugenio@eugenio-N53SV-ubuntu:~$ sudo rmmod nvidia-current
 ERROR: Module nvidia_current does not exist in /proc/modules
MFH86

Post here lsmod | grep nvidi and lsmod | grep nouveau, maybe I can find there what to stop with rmmod.

Peter Wu
Owner

rmmod always operated on nvidia:

sudo rmmod nvidia

@bjornwsv Your issue is different than this issue, please try to figure out how to install kernel headers for your kernel and if you really cannot figure it out after asking around, create a new GH issue. Hint: you need to grab the linux-headers-...generic...amd64.deb and linux-headers-.._all.deb from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.7.9-raring/. Google around when you still fail to install nvidia, Linux 3.7 needs a kernel patch (see one of the dozen other issues here....)

@MFH86 can you create a separate issue for your problem?

bjornwsv

@Lekensteyn I have the right headers, (......all.deb and ...amd64.deb) the kernel seams to install fine. the problem is the Nvidia drivers and bumblebee. I'll see if I can find out how to install the patch, if not I'll just have to go back to an earlier kernel, and wait for 3.9.

Alexander

same problem for me. Ubuntu 12.10 - kernel 3.8.0 ; ASUS UX32VD and GT620M

pekopt@pekopt-UX32VD:~$ optirun firefox
[ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ERROR]Could not connect to bumblebee daemon - is it running?

/var/log/syslog:
Mar 3 00:14:22 pekopt-UX32VD bumblebeed[2087]: Invalid configuration: no driver configured.

eugenio
Alexander

@eugenio primus ?
I'm newbie to linux overall, Can you please explain widely ?

eugenio
Alexander

@eugenio, I have Ubuntu 12.10 and kernel 3.8.0

eugenio
Alexander

@eugenio
pekopt@pekopt-UX32VD:~$ uname -a
Linux pekopt-UX32VD 3.8.0-030800-generic #201302181935 SMP Tue Feb 19 00:36:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

It's stable version from Ubuntu 13.04. and it's recomended here https://help.ubuntu.com/community/AsusZenbookPrime#Upgrading_Linux_kernel_manually

eugenio
Alexander

@eugenio
so, you have kernel 3.5.0 and bumblebee 3.1 and everything is ok ?

eugenio
Peter Wu
Owner

How do you upgrade your software? If you performs updates via the terminal, you would see that the nvidia kernel module failed to build because of an incompatibility with the new kernel. Try applying the uapi patch for kernel 3.8 (google for it, plenty results).

Alexander

@Lekensteyn according to http://www.cyberwizzard.nl/site/blog-linux-gentoo-linux/175-ubuntu-kernel-38-and-nvidia-drivers.html
I've patch files and here's the result:

pekopt@pekopt-UX32VD:~$ sudo dkms autoinstall -k 3.8.0-030800-generic
Kernel preparation unnecessary for this kernel.  Skipping...
Building module:

cleaning build area....
make KERNELRELEASE=3.8.0-030800-generic module KERNDIR=/lib/modules/3.8.0-030800-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/3.8.0-030800-generic/build LD=/usr/bin/ld.bfd....(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-3.8.0-030800-generic is not supported
Error! Bad return status for module build on kernel: 3.8.0-030800-generic (x86_64)
Consult /var/lib/dkms/nvidia-current/304.64/build/make.log for more information.
pekopt@pekopt-UX32VD:~$ 

wtf ?!

pekopt@pekopt-UX32VD:~$ sudo apt-get install --reinstall bumblebee bumblebee-nvidia 
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
обновлено 0, установлено 0 новых пакетов, переустановлено 2 переустановлено, для удаления отмечено 0 пакетов, и 2 пакетов не обновлено.
Необходимо скачать 0 B/60,7 kB архивов.
После данной операции, объём занятого дискового пространства возрастёт на 0 B.
(Чтение базы данных ... на данный момент установлено 221434 файла и каталога.)
Подготовка к замене пакета bumblebee 3.1-1~quantalppa1 (используется файл .../bumblebee_3.1-1~quantalppa1_amd64.deb) ...
Распаковывается замена для пакета bumblebee ...
Подготовка к замене пакета bumblebee-nvidia 3.1-1~quantalppa1 (используется файл .../bumblebee-nvidia_3.1-1~quantalppa1_amd64.deb) ...
Распаковывается замена для пакета bumblebee-nvidia ...
Обрабатываются триггеры для man-db ...
Обрабатываются триггеры для ureadahead ...
Настраивается пакет bumblebee (3.1-1~quantalppa1) ...
update-initramfs: deferring update (trigger activated)
bumblebeed start/running, process 29800
Настраивается пакет bumblebee-nvidia (3.1-1~quantalppa1) ...
bumblebeed start/running, process 29948
Обрабатываются триггеры для initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.8.0-030800-generic
Обрабатываются триггеры для libc-bin ...
ldconfig deferred processing now taking place

and bumblee don't say me that it's not support kernel 3.8.0

Peter Wu
Owner

Have you googled for your specific nvidia driver version and kernel 3.8? What does make.log tell you?

Alexander

@Lekensteyn Finally. I've downgraded kernel to 3.5.0-25 and reinstall nvidia-current
Everything ok now.

But f5 and f6 keys don't work, again(((

Bruno Pagani

@PekopT Are you aware that using mainline kernel in Ubuntu needs you to perform some extra actions to be able to build dkms module?

Bruno Pagani

Closing, all people having issues here were trying non-mainline kernel, with either unadapted toolchain or incompatible nvidia driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.