Bumblebee-Project / Bumblebee

Bumblebee daemon and client rewritten in C
http://www.bumblebee-project.org/
GNU General Public License v3.0
1.29k stars 144 forks source link

Graphics on/off transition problems. [SOLVED] #257

Closed docet85 closed 11 years ago

docet85 commented 11 years ago

Hi,

I'm having troubles running optirun since latest clevo BIOS update. I own a W110ER box, with a GT650M graphic card, Linux Mint 13.

Optirun never spawns a new window, I try with glxspheres. Here is the command from term and the dmesg output.

fabio@deimos ~ $ optirun -vv glxspheres
[  119.709205] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  119.709944] [INFO]Configured driver: nvidia
[  119.858896] [DEBUG]optirun version 3.0.1 starting...
[  119.858998] [DEBUG]Active configuration:
[  119.859037] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  119.859123] [DEBUG] X display: :8
[  119.859192] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[  119.859231] [DEBUG] Socket path: /var/run/bumblebee.socket
[  119.859294] [DEBUG] VGL Compression: proxy
^C[  187.745310] [WARN]Received Interrupt signal.
[  187.745387] [DEBUG]Socket closed.
[  187.745475] [WARN]Could not read data! Error: Bad file descriptor
[  187.745494] [DEBUG]Socket closed.
[  187.745507] [DEBUG]Killing all remaining processes.
fabio@deimos ~ $ optirun -vv glxspheres
[  219.275681] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  219.276488] [INFO]Configured driver: nvidia
^C[  237.361043] [WARN]Received Interrupt signal.
[  237.361125] [DEBUG]Socket closed.
[  237.361208] [WARN]Could not read data! Error: Bad file descriptor
[  237.361237] [DEBUG]Socket closed.
[  237.461410] [DEBUG]Read failed for query of LibraryPath
[  237.461474] [ERROR]Failed to retrieve LibraryPath setting.
fabio@deimos ~ $ sudo service bumblebeed restart
[sudo] password for fabio: 
bumblebeed stop/waiting
bumblebeed start/running, process 3723
fabio@deimos ~ $ optirun -vv glxspheres
[  266.155389] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  266.156172] [INFO]Configured driver: nvidia
[  266.348813] [DEBUG]optirun version 3.0.1 starting...
[  266.348913] [DEBUG]Active configuration:
[  266.349003] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  266.349041] [DEBUG] X display: :8
[  266.349115] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[  266.349156] [DEBUG] Socket path: /var/run/bumblebee.socket
[  266.349213] [DEBUG] VGL Compression: proxy
[  276.577955] [INFO]Response: No - error: [XORG] (EE) No devices detected.

[  276.577975] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

[  276.577981] [DEBUG]Socket closed.
[  276.577999] [ERROR]Aborting because fallback start is disabled.
[  276.578005] [DEBUG]Killing all remaining processes.

[    3.243220] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[    3.243249] ACPI: Video Device [PEGP] (multi-head: yes  rom: yes  post: no)
[    3.243295] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:1b/LNXVIDEO:00/input/input9
[    3.258251] init: alsa-restore main process (1695) terminated with status 19
[    3.270956] bbswitch: version 0.4.2
[    3.270965] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[    3.270973] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[    3.271068] bbswitch: detected an Optimus _DSM function
[    3.271074] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[    3.272286] bbswitch: disabling discrete graphics
[    3.746668] bbswitch: Result of Optimus _DSM call: 11000059
[    3.747668] acpi device:4c: registered as cooling_device8
[    3.747715] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    3.747781] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input10
[    3.747880] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    3.748264] snd_hda_intel 0000:00:1b.0: irq 52 for MSI/MSI-X
[    3.761391] pci 0000:01:00.0: Refused to change power state, currently in D0
[    4.298066] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[    4.298269] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    4.298467] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    4.340592] r8169 0000:04:00.2: eth0: link up
[    4.341410] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    4.647901] r8169 0000:04:00.2: eth0: link down
[    4.959524] pci 0000:01:00.0: power state changed by ACPI to D3
[    6.424463] r8169 0000:04:00.2: eth0: link up
[   17.483110] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   22.130939] hid-generic 0005:045E:0700.0003: unknown main item tag 0x0
[   22.131110] input: Microsoft Bluetooth Notebook Mouse 5000 as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/bluetooth/hci0/hci0:37/input14
[   22.131534] hid-generic 0005:045E:0700.0003: input,hidraw2: BLUETOOTH HID v1.00 Mouse [Microsoft Bluetooth Notebook Mouse 5000] on 88:53:2E:0E:64:5F
[   34.507783] pool[3332]: segfault at 818 ip 00007f9a3e34f620 sp 00007fff8773ddc0 error 4 in libfreetype.so.6.8.0[7f9a3e2f4000+96000]
[  119.789472] bbswitch: enabling discrete graphics
[  120.098284] CPU4: Package power limit notification (total events = 1)
[  120.098288] CPU0: Package power limit notification (total events = 1)
[  120.098306] CPU1: Package power limit notification (total events = 1)
[  120.098310] CPU5: Package power limit notification (total events = 1)
[  120.098318] CPU2: Package power limit notification (total events = 1)
[  120.098322] CPU6: Package power limit notification (total events = 1)
[  120.098329] CPU3: Package power limit notification (total events = 1)
[  120.098334] CPU7: Package power limit notification (total events = 1)
[  120.098339] CPU5: Package power limit normal
[  120.098342] CPU2: Package power limit normal
[  120.098344] CPU6: Package power limit normal
[  120.098347] CPU1: Package power limit normal
[  120.098349] CPU0: Package power limit normal
[  120.098357] CPU3: Package power limit normal
[  120.098360] CPU7: Package power limit normal
[  120.098390] CPU4: Package power limit normal
[  249.681397] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP.SGON] (Node ffff880223881438), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  249.681406] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ON_] (Node ffff880223881a78), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  249.681411] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._PS0] (Node ffff8802238817a8), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  249.681417] ACPI: Device [PEGP] failed to transition to D0
[  249.891930] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP.SGON] (Node ffff880223881438), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  249.891938] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ON_] (Node ffff880223881a78), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  249.891941] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._PS0] (Node ffff8802238817a8), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  249.891947] ACPI: Device [PEGP] failed to transition to D0
[  250.082247] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP.SGON] (Node ffff880223881438), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  250.082252] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ON_] (Node ffff880223881a78), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  250.082255] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._PS0] (Node ffff8802238817a8), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  250.082260] ACPI: Device [PEGP] failed to transition to D0
[  250.274169] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP.SGON] (Node ffff880223881438), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  250.274176] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ON_] (Node ffff880223881a78), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  250.274180] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._PS0] (Node ffff8802238817a8), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  250.274185] ACPI: Device [PEGP] failed to transition to D0
[  250.274190] pci 0000:01:00.0: enabling device (0000 -> 0003)
[  250.274735] bbswitch: disabling discrete graphics
[  250.274833] bbswitch: Result of Optimus _DSM call: 11000059
[  250.289011] pci 0000:01:00.0: power state changed by ACPI to D3
[  250.405855] bbswitch: disabling discrete graphics
[  250.406273] bbswitch: Result of Optimus _DSM call: 11000059
[  250.406893] pci 0000:01:00.0: power state changed by ACPI to D3
[  266.076987] nvidia: module license 'NVIDIA' taints kernel.
[  276.180799] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP.SGON] (Node ffff880223881438), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  276.180808] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ON_] (Node ffff880223881a78), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  276.180812] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._PS0] (Node ffff8802238817a8), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  276.180819] ACPI: Device [PEGP] failed to transition to D0
[  276.394300] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP.SGON] (Node ffff880223881438), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  276.394307] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._ON_] (Node ffff880223881a78), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  276.394311] ACPI Error: Method parse/execution failed [\_SB_.PCI0.PEG0.PEGP._PS0] (Node ffff8802238817a8), AE_AML_INFINITE_LOOP (20120320/psparse-536)
[  276.394317] ACPI: Device [PEGP] failed to transition to D0
[  276.394322] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[  276.394335] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[  276.394385] NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:0fd1) installed
[  276.394385] NVRM: in this system is not supported by the 304.48 NVIDIA Linux
[  276.394385] NVRM: graphics driver release.  Please see 'Appendix A -
[  276.394385] NVRM: Supported NVIDIA GPU Products' in this release's README,
[  276.394385] NVRM: available on the Linux graphics driver download page at
[  276.394385] NVRM: www.nvidia.com.
[  276.394395] nvidia: probe of 0000:01:00.0 failed with error -1
[  276.394417] NVRM: The NVIDIA probe routine failed for 1 device(s).
[  276.394418] NVRM: None of the NVIDIA graphics adapters were initialized!

So what happens is that bbswitch is not able to turn the card on, thus no card is detected. I guess I might have a bugged bios. Is there anyway I can fix it by myself? I already modified my DSDT, but I'm not sure how to debug this problem.

Any suggestion?

Lekensteyn commented 11 years ago

Check if the problem also exist when bbswitch is disabled (PmMethod=none in /etc/bumblebee/bumblebee.conf).

Is your acpi info uploaded to https://bugs.launchpad.net/lpbugreporter/+bug/752542? What changes did the BIOS update mention?

docet85 commented 11 years ago

Sorry,

I forgot to mention that the DSDT customization was for CPU frequency steps, and not for graphics. Anyway I removed my custom DSDT from the kernel (I did not think the problem could be related to that). Now it looks just the #172... same hardware, dmesg, xorg.log and behavior...

dpkg --list | egrep '(nvidia|bumbl)' | grep ^ii
ii  bumblebee                              3.0.1-3~preciseppa1                                                     nVidia Optimus support
ii  bumblebee-nvidia                       3.0.1-3~preciseppa1                                                     nVidia Optimus support using the proprietary NVIDIA driver
ii  nvidia-common                          1:0.2.44                                                                Find obsolete NVIDIA drivers
ii  nvidia-current                         304.48-0ubuntu1~xedgers~precise1                                        NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-current-dev                     304.48-0ubuntu1~xedgers~precise1                                        NVIDIA binary Xorg driver development files
ii  nvidia-settings                        304.48-0ubuntu1~xedgers~precise1                                        Tool of configuring the NVIDIA graphics driver

X.Org X Server 1.12.3
Release Date: 2012-07-09
[    49.237] X Protocol Version 11, Revision 0
[    49.237] Build Operating System: Linux 2.6.24-29-xen x86_64 Ubuntu
[    49.237] Current Operating System: Linux deimos 3.5.4-pruned #2 SMP PREEMPT Wed Sep 19 14:49:32 CEST 2012 x86_64
[    49.238] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.5.4-pruned root=UUID=f26c9def-69de-4ce2-b4cf-894745a311eb ro modeset=1 quiet vga=773
[    49.238] Build Date: 09 July 2012  05:20:18PM
[    49.238] xorg-server 2:1.12.3+git20120709+server-1.12-branch.60e0d205-0ubuntu0ricotz~precise (For technical support please see http://www.ubuntu.com/support) 
[    49.238] Current version of pixman: 0.26.0
[    49.238]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    49.238] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    49.238] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Sep 19 16:25:44 2012
[    49.238] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[    49.238] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    49.238] (==) ServerLayout "Layout0"
[    49.238] (**) |-->Screen "Screen0" (0)
[    49.238] (**) |   |-->Monitor "Monitor0"
[    49.238] (**) |   |-->Device "Device0"
[    49.238] (**) Option "AutoAddDevices" "false"
[    49.238] (**) Not automatically adding devices
[    49.238] (==) Automatically enabling devices
[    49.238] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    49.238]    Entry deleted from font path.
[    49.238] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    49.238]    Entry deleted from font path.
[    49.238] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    49.238]    Entry deleted from font path.
[    49.238] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    49.238]    Entry deleted from font path.
[    49.238] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    49.238]    Entry deleted from font path.
[    49.238] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[    49.238]    Entry deleted from font path.
[    49.238] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/Type1,
    built-ins
[    49.238] (++) ModulePath set to "/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules"
[    49.238] (==) |-->Input Device "<default pointer>"
[    49.238] (==) |-->Input Device "<default keyboard>"
[    49.238] (==) The core pointer device wasn't specified explicitly in the layout.
    Using the default mouse configuration.
[    49.238] (==) The core keyboard device wasn't specified explicitly in the layout.
    Using the default keyboard configuration.
[    49.238] (II) Loader magic: 0x7fea320e1b00
[    49.238] (II) Module ABI versions:
[    49.238]    X.Org ANSI C Emulation: 0.4
[    49.238]    X.Org Video Driver: 12.0
[    49.238]    X.Org XInput driver : 16.0
[    49.238]    X.Org Server Extension : 6.0
[    49.239] (--) PCI:*(0:1:0:0) 10de:0fd1:1558:1150 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    49.239] (II) Open ACPI successful (/var/run/acpid.socket)
[    49.239] (II) LoadModule: "extmod"
[    49.239] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    49.239] (II) Module extmod: vendor="X.Org Foundation"
[    49.239]    compiled for 1.12.3, module version = 1.0.0
[    49.239]    Module class: X.Org Server Extension
[    49.239]    ABI class: X.Org Server Extension, version 6.0
[    49.239] (II) Loading extension MIT-SCREEN-SAVER
[    49.239] (II) Loading extension XFree86-VidModeExtension
[    49.239] (II) Loading extension XFree86-DGA
[    49.239] (II) Loading extension DPMS
[    49.239] (II) Loading extension XVideo
[    49.239] (II) Loading extension XVideo-MotionCompensation
[    49.239] (II) Loading extension X-Resource
[    49.239] (II) LoadModule: "dbe"
[    49.239] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    49.239] (II) Module dbe: vendor="X.Org Foundation"
[    49.239]    compiled for 1.12.3, module version = 1.0.0
[    49.239]    Module class: X.Org Server Extension
[    49.239]    ABI class: X.Org Server Extension, version 6.0
[    49.239] (II) Loading extension DOUBLE-BUFFER
[    49.239] (II) LoadModule: "glx"
[    49.239] (II) Loading /usr/lib/nvidia-current/xorg/libglx.so
[    49.340] (II) Module glx: vendor="NVIDIA Corporation"
[    49.340]    compiled for 4.0.2, module version = 1.0.0
[    49.340]    Module class: X.Org Server Extension
[    49.340] (II) NVIDIA GLX Module  304.48  Sun Sep  9 20:42:38 PDT 2012
[    49.340] (II) Loading extension GLX
[    49.340] (II) LoadModule: "record"
[    49.341] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    49.341] (II) Module record: vendor="X.Org Foundation"
[    49.341]    compiled for 1.12.3, module version = 1.13.0
[    49.341]    Module class: X.Org Server Extension
[    49.341]    ABI class: X.Org Server Extension, version 6.0
[    49.341] (II) Loading extension RECORD
[    49.341] (II) LoadModule: "dri"
[    49.341] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    49.341] (II) Module dri: vendor="X.Org Foundation"
[    49.341]    compiled for 1.12.3, module version = 1.0.0
[    49.341]    ABI class: X.Org Server Extension, version 6.0
[    49.341] (II) Loading extension XFree86-DRI
[    49.341] (II) LoadModule: "dri2"
[    49.341] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    49.341] (II) Module dri2: vendor="X.Org Foundation"
[    49.341]    compiled for 1.12.3, module version = 1.2.0
[    49.341]    ABI class: X.Org Server Extension, version 6.0
[    49.341] (II) Loading extension DRI2
[    49.341] (II) LoadModule: "nvidia"
[    49.341] (II) Loading /usr/lib/nvidia-current/xorg/nvidia_drv.so
[    49.350] (II) Module nvidia: vendor="NVIDIA Corporation"
[    49.350]    compiled for 4.0.2, module version = 1.0.0
[    49.350]    Module class: X.Org Video Driver
[    49.352] (II) LoadModule: "mouse"
[    49.352] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[    49.353] (II) Module mouse: vendor="X.Org Foundation"
[    49.353]    compiled for 1.12.0, module version = 1.7.2
[    49.353]    Module class: X.Org XInput Driver
[    49.353]    ABI class: X.Org XInput driver, version 16.0
[    49.353] (II) LoadModule: "kbd"
[    49.353] (WW) Warning, couldn't open module kbd
[    49.353] (II) UnloadModule: "kbd"
[    49.353] (II) Unloading kbd
[    49.353] (EE) Failed to load module "kbd" (module does not exist, 0)
[    49.353] (II) NVIDIA dlloader X Driver  304.48  Sun Sep  9 20:24:04 PDT 2012
[    49.353] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    49.354] (--) using VT number 8

[    49.354] (II) Loading sub module "fb"
[    49.354] (II) LoadModule: "fb"
[    49.355] (II) Loading /usr/lib/xorg/modules/libfb.so
[    49.356] (II) Module fb: vendor="X.Org Foundation"
[    49.356]    compiled for 1.12.3, module version = 1.0.0
[    49.356]    ABI class: X.Org ANSI C Emulation, version 0.4
[    49.356] (II) Loading sub module "wfb"
[    49.356] (II) LoadModule: "wfb"
[    49.356] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    49.357] (II) Module wfb: vendor="X.Org Foundation"
[    49.357]    compiled for 1.12.3, module version = 1.0.0
[    49.357]    ABI class: X.Org ANSI C Emulation, version 0.4
[    49.357] (II) Loading sub module "ramdac"
[    49.357] (II) LoadModule: "ramdac"
[    49.357] (II) Module "ramdac" already built-in
[    49.360] (II) NVIDIA(0): Creating default Display subsection in Screen section
    "Screen0" for depth/fbbpp 24/32
[    49.360] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    49.360] (==) NVIDIA(0): RGB weight 888
[    49.360] (==) NVIDIA(0): Default visual is TrueColor
[    49.360] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    49.360] (**) NVIDIA(0): Option "NoLogo" "true"
[    49.360] (**) NVIDIA(0): Option "UseEDID" "false"
[    49.360] (**) NVIDIA(0): Option "ConnectedMonitor" "CRT-0"
[    49.360] (**) NVIDIA(0): Enabling 2D acceleration
[    49.360] (**) NVIDIA(0): ConnectedMonitor string: "CRT-0"
[    49.360] (**) NVIDIA(0): Ignoring EDIDs
[    56.354] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[    56.354] (EE) NVIDIA(0):     check your system's kernel log for additional error
[    56.354] (EE) NVIDIA(0):     messages and refer to Chapter 8: Common Problems in the
[    56.354] (EE) NVIDIA(0):     README for additional information.
[    56.354] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
[    56.354] (EE) NVIDIA(0): Failing initialization of X screen 0
[    56.354] (II) UnloadModule: "nvidia"
[    56.354] (II) UnloadSubModule: "wfb"
[    56.354] (II) UnloadSubModule: "fb"
[    56.354] (EE) Screen(s) found, but none have a usable configuration.
[    56.354] 
Fatal server error:
[    56.354] no screens found
[    56.354] 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[    56.354] Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[    56.354] 
[    56.355]  ddxSigGiveUp: Closing log
[    56.355] Server terminated with error (1). Closing log file.

dmesg

[   49.216984] nvidia: module license 'NVIDIA' taints kernel.
[   49.216991] Disabling lock debugging due to kernel taint
[   49.225715] nvidia 0000:01:00.0: power state changed by ACPI to D0
[   49.225719] nvidia 0000:01:00.0: power state changed by ACPI to D0
[   49.225723] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[   49.225733] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[   49.225822] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  304.48  Sun Sep  9 20:22:27 PDT 2012
[   56.078833] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[   56.329047] NVRM: RmInitAdapter failed! (0x26:0xffffffff:1183)
[   56.329061] NVRM: rm_init_adapter(0) failed

Both with bbswitch and without.

Any suggestion? I'm going to try the workaround in #204, but my nvidia-xconfig is complaining about not finding some lib...

docet85 commented 11 years ago

I confirm that IOMMU stuff in kernel as in #172 solves the issue.

In my case the only deactivated option was CONFIG_INTEL_IOMMU_DEFAULT_ON

Regards!