Hi,
I've been breaking my head trying to get Bumblebee to work. After some generous help on #bumblebee IRC channel, I started doing some low-level testing, and managed to narrow down the problem.
Distro is Gentoo. Kernel version is 3.2 (I can try with 3.5 or other kernels but I suspect the problem will persist). Driver versions I have tried are 304.22, 304.43 and 304.48.
Either doing this:
Code:
# modprobe nvidia
# nvidia-xconfig -query-gpu-info
or this:
Code:
# nvidia-xconfig -query-gpu-info
from a tty as soon as the system has started (no X running though I suspect with X the results would be the same), yields this on dmesg:
Code:
[ 48.990268] nvidia: module license 'NVIDIA' taints kernel.
[ 48.990271] Disabling lock debugging due to kernel taint
[ 49.030980] nvidia 0000:01:00.0: power state changed by ACPI to D0
[ 49.030984] nvidia 0000:01:00.0: power state changed by ACPI to D0
[ 49.030987] nvidia 0000:01:00.0: enabling device (0004 -> 0007)
[ 49.030992] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 49.030999] nvidia 0000:01:00.0: setting latency timer to 64
[ 49.031003] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[ 49.031104] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 304.22 Mon Jul 9 21:07:07 PDT 2012
[ 54.728024] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[ 54.728039] NVRM: os_pci_init_handle: invalid context!
[ 54.728041] NVRM: os_pci_init_handle: invalid context!
[ 54.728045] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[ 54.728048] NVRM: os_pci_init_handle: invalid context!
[ 54.728049] NVRM: os_pci_init_handle: invalid context!
[ 54.971061] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1181)
[ 54.971071] NVRM: rm_init_adapter(0) failed
[ 54.974870] NVRM: RmInitAdapter failed! (0x23:0x2f:675)
[ 54.974873] NVRM: rm_init_adapter(0) failed
lspci output:
Code:
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0ffc] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: nvidia
No bumblebee component (bbswitch, bumblebeed, optirun) was run, like I said, I managed to narrow down the problem to this.
Any ideas?
Thanks in advance
Cheers
GODLiKE