X Fails to start with optimus enabled on Lenovo W530 Laptop w/ Quadro K2000M

I’ve attempted to follow the directions to enable optimus on my W530 laptop. The bios is set to Optimus mode, and I’ve created an xorg.conf based on the nvidia README.

When X starts, it switches to VT7 or VT8 and only shows a partial cursor on black screen, then after 10-30 seconds, it fails and goes back to VT0.

dmesg shows the following:

[  465.590846] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
[  475.594343] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[  475.594371] NVRM: os_pci_init_handle: invalid context!
[  475.594375] NVRM: os_pci_init_handle: invalid context!
[  475.594381] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[  475.594386] NVRM: os_pci_init_handle: invalid context!
[  475.594388] NVRM: os_pci_init_handle: invalid context!
[  475.630745] NVRM: RmInitAdapter failed! (0x25:0x28:1157)
[  475.630757] NVRM: rm_init_adapter(0) failed

After X fails to start, xorg.log claims: [ 573.439] (EE) No devices detected.

Right now, the device seems to still be visible in lsmod, but previous tests it didn’t even show up in lsmod after testing.

I’ve attached the bugreport log for pre error, and post error. (or I will once I find the option to attach a file)

Sys details:
Lenovo Thinkpad W530
Distro: Debian jessie/sid
GPU: Quadro K2000M
Kernel: linux 3.10.11-1
Xorg: 1.12.4-6.2+b3
Nvidia Drv: 325.15-2
[This file was removed because it was flagged as potentially malicious] (43.9 KB)
nvidia-bug-report-before-error.log.gz (49.2 KB)

I’m also noticing that my laptop is staying rather warm while it’s in this state. It’s usually cooler and quieter when running with the quadro as the primary device.

I should also note that I get no video with optimus disabled and the bios set to discrete video output. At least thats what I get with newer kernels and nvidia drivers.

so I’m pretty much stuck with the intel gpu right now…

Optimus is working superb with HDMI out on my laptop which has nvidia 630M card. Ubuntu 12.04.3 installs optimus support during install so when you reboot, you have everything working with functional xorg, xrandr, patched 3.8 kernel and nvidia-prime. Performance is quite good on programs using GPU. I have full video acceleration enabled on Chrome and get very good response on graphic heavy pages. Also surprisingly even with nvidia and intel running, the heat hasn’t gone up that bad as compared to Bumblebee, same with battery consumption. Best part is the FPS in games is far higher than with Bumblebee.