Bumblebee-Project / bbswitch

Disable discrete graphics (currently nvidia only)
GNU General Public License v2.0
487 stars 78 forks source link

Not working after kernel update 3.11.0-20-generic #94

Closed dariuszp closed 10 years ago

dariuszp commented 10 years ago

Hi, bbswitch stopped working after kernel update. I tried to purge it and install it again. Didn't work. I used instructions from here: https://wiki.ubuntu.com/Bumblebee

uname -r

3.11.0-20-generic

dmesg | grep bbswitch

[   34.337169] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[   34.338288] bbswitch: version 0.8
[   34.338293] bbswitch: cannot find ACPI handle for VGA device 0000:00:02.0
[   34.338296] bbswitch: cannot find ACPI handle for VGA device 0000:01:00.0
[   34.338298] bbswitch: No discrete VGA device found
[  234.283069] bbswitch: version 0.8
[  234.283076] bbswitch: cannot find ACPI handle for VGA device 0000:00:02.0
[  234.283080] bbswitch: cannot find ACPI handle for VGA device 0000:01:00.0
[  234.283082] bbswitch: No discrete VGA device found

When I tried optirun I got:

[  925.450950] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

[  925.450988] [ERROR]Aborting because fallback start is disabled.

so I tried to follow instructions in:

/etc/bumblebee/xorg.conf.nvidia

but this:

lspci | egrep 'VGA|3D'

give me:

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] (rev a1)

And in

/etc/bumblebee/xorg.conf.nvidia

I already have

BusID "PCI:01:00:0"

lspci:

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 525M] (rev a1)
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 [Rainbow Peak] (rev 34)
03:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)

Suggestions? Everything worked fine before kernel update. Reinstalling didn't work for me.

Lekensteyn commented 10 years ago

Are you sure that you did not add noacpi or similar to the kernel command line (GRUB config in /etc/default/grub), either now or in the past? What does cat /proc/cmdline say?

amonakov commented 10 years ago

There were some regression w.r.t ACPI handle lookup in that timeframe; iirc 3.12.0 is when things finally stabilized.

dariuszp commented 10 years ago

Hi Lekensteyn, thank You for reply. You are right. I did start ubuntu installation with acpi=off noapic since without that, installation ui was just a black screen. But I removed it from /boot/grub/grub.cfg after installing nvidia drivers. And it worked fine.

/proc/cmdline

BOOT_IMAGE=/boot/vmlinuz-3.11.0-20-generic root=UUID=9233d2c6-4672-4833-98b2-45cf811679e4 ro acpi=off noapic quiet splash vt.handoff=7

How can I fix that?

dariuszp commented 10 years ago

Ok, I've edited /etc/default/grub and removed additional command lines

acpi=off noapic 

After that in terminal as root

update-grub

Then restart and things are back to normal. Thanks for suggestion!.