You are not logged in.

#1 2013-09-20 14:06:16

Exitium
Member
From: Helsinki, Finland
Registered: 2008-08-20
Posts: 202

[SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

SOLVED: See post #20

After years, I decided to come back to the wonderful distro, Arch and back to the forums. Yay!

However, I installed Arch to my new laptop - Lenovo ThinkPad W530 and it uses NVIDIA Quadro K1000M alongside Intel graphics with Optimus technology. Arch is running fine, but I cannot run applications through optirun and I get:

[exitium@rambutan ~]$ optirun -vv nvidia-settings
[  485.536478] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  485.536909] [DEBUG]optirun version 3.2.1 starting...
[  485.536922] [DEBUG]Active configuration:
[  485.536927] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  485.536931] [DEBUG] X display: :8
[  485.536934] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
[  485.536938] [DEBUG] Socket path: /var/run/bumblebee.socket
[  485.536941] [DEBUG] Accel/display bridge: auto
[  485.536945] [DEBUG] VGL Compression: proxy
[  485.536948] [DEBUG] VGLrun extra options: 
[  485.536952] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[  485.536972] [DEBUG]Using auto-detected bridge virtualgl
[  485.537190] [INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

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

[  485.537209] [DEBUG]Socket closed.
[  485.537223] [ERROR]Aborting because fallback start is disabled.
[  485.537229] [DEBUG]Killing all remaining processes.

As seen, it says "Failed to initialize the NVIDIA GPU". I have tried different solutions found from these forums and several other places but none of them have worked - the problem remains same. Does anyone have idea how I could fix this? I read somewhere else that there could be issues with newest nvidia drivers - is this possible?

bumblebee.conf:

# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

xorg.conf.nvidia

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
	Option "UseDisplayDevice" "none"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
   BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

Thank you in advance!

Last edited by Exitium (2013-12-18 11:29:54)

Offline

#2 2013-09-20 14:14:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Offline

#3 2013-09-20 14:34:14

Exitium
Member
From: Helsinki, Finland
Registered: 2008-08-20
Posts: 202

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Yes, but as you can see, my error message is different from that. So nothing changed.

Offline

#4 2013-09-20 16:11:32

Shawn8901
Member
Registered: 2013-05-07
Posts: 38

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Hi,
check your dmesg output, if you see some outputs like this (like me)

ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)

Mine bumblebee output is excatly the same. You can also downgrade to an older kernel version. Seems like a bug in acpi, see bumblebee bug attached:

https://github.com/Bumblebee-Project/bbswitch/issues/65

EDIT:
to specify the used packages, they are old from my cache, so its possible that other combinations will work
linux: 3.8.11-1
nvidia: 313.30-5
nvidia-utils: 313.30-5
bbswitch: 0.6-5

i've added all 4 packages to ignorepkg in pacman.conf

Last edited by Shawn8901 (2013-09-20 16:30:40)

Offline

#5 2013-09-20 17:22:22

Exitium
Member
From: Helsinki, Finland
Registered: 2008-08-20
Posts: 202

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Shawn8901 wrote:

Hi,
check your dmesg output, if you see some outputs like this (like me)

ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)

Mine bumblebee output is excatly the same. You can also downgrade to an older kernel version. Seems like a bug in acpi, see bumblebee bug attached:

https://github.com/Bumblebee-Project/bbswitch/issues/65

EDIT:
to specify the used packages, they are old from my cache, so its possible that other combinations will work
linux: 3.8.11-1
nvidia: 313.30-5
nvidia-utils: 313.30-5
bbswitch: 0.6-5

i've added all 4 packages to ignorepkg in pacman.conf

Yea, I got the same output... So I should try downgrading. Thanks for the info!

Offline

#6 2013-09-28 18:28:39

Shawn8901
Member
Registered: 2013-05-07
Posts: 38

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Hi!
Just to inform you, the up2date kernel (3.11.2-1) seems to fix the problem.
i did following update:

core/linux         3.8.11-1 -> 3.11.2-1
extra/nvidia-utils 313.30-2 -> 325.15-1
extra/nvidia       313.30-5 -> 325.15-7
community/bbswitch 0.6-5    -> 0.7-14

Still some nasty acpi warnings and i think it can't really disable the card again but the nvidia card seems to work again:

[shawn@pointbeta ~]$ optirun glxinfo  | grep vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: primus
OpenGL vendor string: NVIDIA Corporation

Offline

#7 2013-10-04 12:29:04

Exitium
Member
From: Helsinki, Finland
Registered: 2008-08-20
Posts: 202

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Shawn8901 wrote:

Hi!
Just to inform you, the up2date kernel (3.11.2-1) seems to fix the problem.
i did following update:

core/linux         3.8.11-1 -> 3.11.2-1
extra/nvidia-utils 313.30-2 -> 325.15-1
extra/nvidia       313.30-5 -> 325.15-7
community/bbswitch 0.6-5    -> 0.7-14

Still some nasty acpi warnings and i think it can't really disable the card again but the nvidia card seems to work again:

[shawn@pointbeta ~]$ optirun glxinfo  | grep vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: primus
OpenGL vendor string: NVIDIA Corporation

Hello. Apparently I have exactly same versions of packages, but no difference. The problem remains same...

Offline

#8 2013-10-04 15:35:11

labotsirc
Member
Registered: 2013-08-21
Posts: 108

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Just in case,

Have you checked what happens on the second attempt?
I have the same problem as you (GTX 765M), but on the second attempt it works. The third fails again, the fourth success.  It keeps alternating like that.

Offline

#9 2013-10-05 15:04:32

Exitium
Member
From: Helsinki, Finland
Registered: 2008-08-20
Posts: 202

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

labotsirc wrote:

Just in case,

Have you checked what happens on the second attempt?
I have the same problem as you (GTX 765M), but on the second attempt it works. The third fails again, the fourth success.  It keeps alternating like that.

Yes. No difference.

Btw, I upgraded the kernel and nvidia drivers once again - and problem is still the same. This is frustrating.

Offline

#10 2013-10-05 15:40:19

Foxboron
Package Maintainer (PM)
From: Norway
Registered: 2013-06-09
Posts: 34
Website

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

If i recall correctly, and please correct me if i am wrong or this isnt related to the issue.
Bumblebee, nvidia, and bbswitch needs to be recompiled when there is a new linux/linux-headers update.
So after a new linux is out, reboot. Reinstall the above mentioned packages and reboot again. This should solve many of the problems occurring.

Offline

#11 2013-10-05 15:45:22

Shawn8901
Member
Registered: 2013-05-07
Posts: 38

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Hi,
for me it is working with some errors on dmesg like you can see.

[ 2050.582311] bbswitch: enabling discrete graphics
[ 2050.991224] pci 0000:01:00.0: power state changed by ACPI to D0
[ 2051.117657] nvidia: module license 'NVIDIA' taints kernel.
[ 2051.117662] Disabling lock debugging due to kernel taint
[ 2051.123047] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[ 2051.123349] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[ 2051.123356] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  325.15  Wed Jul 31 18:50:56 PDT 2013
[ 2052.414117] nvidia 0000:01:00.0: irq 51 for MSI/MSI-X
[ 2052.421327] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2052.421378] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2052.421438] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2052.421494] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2052.421529] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2052.421565] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2052.421643] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2052.421683] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2055.952156] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214379] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214435] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214474] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214510] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214546] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214582] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214617] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214652] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214687] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214722] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214758] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214793] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214828] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214863] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214898] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214933] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.214968] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.215003] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.215038] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.215073] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.215108] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.215143] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2056.215178] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2058.784239] [drm] Module unloaded
[ 2058.785819] bbswitch: disabling discrete graphics
[ 2058.785830] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[ 2058.798733] pci 0000:01:00.0: Refused to change power state, currently in D0
[ 2058.799390] pci 0000:01:00.0: power state changed by ACPI to D3cold

Its a optirun glxgears with primus bridge.
For sure you have to recompile the nvidia and the bbswitch module after a new kernel.
Im pretty sure that the nvidia card is working cause if i start EUIV it has a proper output and runs very smooth. The intel card give some graphic bugs and lags around (when i tested last time).

Greetz.

Edit:

atm im running the following kernel/nvidia

 [shawn@pointbeta ~]$ uname -a
Linux pointbeta 3.11.3-1-ARCH #1 SMP PREEMPT Wed Oct 2 01:38:48 CEST 2013 x86_64 GNU/Linux
[shawn@pointbeta ~]$ optirun glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 640M/PCIe/SSE2
OpenGL version string: 4.3.0 NVIDIA 325.15
OpenGL shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
[shawn@pointbeta ~]$ 

Last edited by Shawn8901 (2013-10-05 15:47:19)

Offline

#12 2013-10-05 16:06:38

labotsirc
Member
Registered: 2013-08-21
Posts: 108

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

I suggest you to try the dkms version of each package and tell us the result

nvidia-dkms
bbswitch-dkms
bumblebee (this one does not need to be dkms)

Offline

#13 2013-10-05 17:38:19

Asator
Member
Registered: 2013-10-05
Posts: 5

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Hi!
Exactly the same issue here. Notebook -> Thinkpad W530

Currently running on:

linux 3.11.3-1
nvidia 325.15-8
nvidia-utils 325.15-1
bbswitch 0.7-14

Error:

username@hostname ~ $ optirun -vv nvidia-settings
[  839.449203] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  839.449495] [INFO]Configured driver: nvidia
[  839.449729] [DEBUG]optirun version 3.2.1 starting...
[  839.449774] [DEBUG]Active configuration:
[  839.449817] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  839.449836] [DEBUG] X display: :8
[  839.449856] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
[  839.449875] [DEBUG] Socket path: /var/run/bumblebee.socket
[  839.449890] [DEBUG] Accel/display bridge: auto
[  839.449909] [DEBUG] VGL Compression: proxy
[  839.449936] [DEBUG] VGLrun extra options:
[  839.449953] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[  839.449996] [DEBUG]Using auto-detected bridge virtualgl
[  839.450294] [INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

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

[  839.450373] [DEBUG]Socket closed.
[  839.450398] [ERROR]Aborting because fallback start is disabled.
[  839.450419] [DEBUG]Killing all remaining processes.

dmesg output:

[   81.162604] bbswitch: enabling discrete graphics
[   81.396637] pci 0000:01:00.0: power state changed by ACPI to D0
[   81.396663] thinkpad_acpi: EC reports that Thermal Table has changed
[   81.483200] nvidia: module license 'NVIDIA' taints kernel.
[   81.483205] Disabling lock debugging due to kernel taint
[   81.488096] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[   81.488289] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[   81.488294] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  325.15  Wed Jul 31 18:50:56 PDT 2013
[   81.665938] nvidia 0000:01:00.0: irq 50 for MSI/MSI-X
[   81.670434] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   81.670528] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   81.670594] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   81.670659] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   81.670723] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   81.670960] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   81.671192] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   81.671258] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.879826] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.905471] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[   85.905479] NVRM: os_pci_init_handle: invalid context!
[   85.905481] NVRM: os_pci_init_handle: invalid context!
[   85.905486] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[   85.905490] NVRM: os_pci_init_handle: invalid context!
[   85.905491] NVRM: os_pci_init_handle: invalid context!
[   85.930135] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.930442] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.930719] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.930990] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.931258] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.931526] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.931794] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.932062] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.932329] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.932595] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.932862] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.933129] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.933396] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.933662] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.933942] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.934197] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.934452] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.934706] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.934960] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.935215] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.935469] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.935722] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.935976] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20130517/nsarguments-95)
[   85.940508] NVRM: RmInitAdapter failed! (0x25:0x28:1157)
[   85.940517] NVRM: rm_init_adapter(0) failed

xorg.conf.nvidia:

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

#   If the X server does not automatically detect your VGA device,
#   you can manually set it here.
#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
#   as you see in the commented example.
#   This Setting may be needed in some platforms with more than one
#   nvidia card, which may confuse the proprietary driver (e.g.,
#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
    BusID "PCI:01:00:0"

#   Setting ProbeAllGpus to false prevents the new proprietary driver
#   instance spawned to try to control the integrated graphics card,
#   which is already being managed outside bumblebee.
#   This option doesn't hurt and it is required on platforms running
#   more than one nvidia graphics card with the proprietary driver.
#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
#   If this option is not set, the new Xorg may blacken the screen and
#   render it unusable (unless you have some way to run killall Xorg).
    Option "ProbeAllGpus" "false"

    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection

bumblebee.conf:

# Configuration file for Bumblebee. Values should **not** be put between quotes

## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d

## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false


# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
#         bbswitch - new in BB 3, recommended if available
#       switcheroo - vga_switcheroo method, use at your own risk
#             none - disable PM completely
# https://github.com/Bumblebee-Project/Bu … PM-methods

## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia

## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

Offline

#14 2013-10-05 17:52:21

Shawn8901
Member
Registered: 2013-05-07
Posts: 38

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Hi,

i think your problem is also related to this:
https://devtalk.nvidia.com/default/topi … er-crash/1

i (or we) are missing the fallen of the bus message.
For me i also have this acpi errors and its working (for now).

Offline

#15 2013-10-12 16:59:40

rdjack21
Member
Registered: 2011-05-04
Posts: 11

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Personally I got tiered of messing with this issue on my W530 (K2000M video card) and just switched to the open source NV driver and have had no issues. But to be honest the only reason I needed the bumblebee setup was so that I could attach a external monitor. In all reality if you are not doing CAD work or playing intense games the open source driver works just fine. And lets be honest if you are a gamer you would not have bought the W530 you would have gotten a gaming setup not a workstation setup (workstation video card).

I personally got it for coding and VM work (32G of Ram quad core  room for 3 drives yeaha...) so in my use case the open source driver has worked great and no issues period! It just works. Now if you are doing something else you may need the NVidea driver but if all you need is a way to setup external monitors then the open source driver is the way to go.

Any ways just my 2 cents. take it or leave it.

Offline

#16 2013-10-12 18:22:18

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

rdjack21, can you do CUDA calculations when using open source drivers? Answer here

Last edited by Pank (2013-10-12 18:26:48)


Arch x64 on Thinkpad X200s/W530

Offline

#17 2013-10-14 15:44:15

labotsirc
Member
Registered: 2013-08-21
Posts: 108

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

I hope the open source drivers improve in the high-performance capabilities now that SteamOS is coming.

Offline

#18 2013-10-17 03:08:32

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

BTW: I'm having the same issue with a W530 with K200M graphics card.  I tried the DKMS versions but without any changes.  I need the card for CUDA so at the moment nv is unfortunately not an option. . .


Arch x64 on Thinkpad X200s/W530

Offline

#19 2013-10-26 15:31:42

Exitium
Member
From: Helsinki, Finland
Registered: 2008-08-20
Posts: 202

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Tried this solution here: https://devtalk.nvidia.com/default/topi … 1/#3982241

No changes, even though I tried with ck-generic and ck-ivybridge. Argh.

Offline

#20 2013-12-18 11:29:11

Exitium
Member
From: Helsinki, Finland
Registered: 2008-08-20
Posts: 202

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

After giving a while and trying again - it works!

And it actually works perfectly with linux-ck-ivybridge kernel and given boot parameter. The reason why it didn't work was completely my stupid fault and a little "forget" - I forgot to modify syslinux.cfg with new kernel big_smile Oops.

So all you have to do is

1) Install correct ck kernel and nvidia packages using this page (on W530, it's ck-ivybridge): https://wiki.archlinux.org/index.php/repo-ck
2) Add rcutree.rcu_idle_gp_delay=1 as a boot parameter
3) Remember to modify to boot from the correct kernel smile (vmlinuz-linux -> vmlinuz-linux-ck and same to initramfs). Don't be an idiot like me.

Offline

#21 2013-12-18 11:56:12

Pank
Member
From: IT
Registered: 2009-06-13
Posts: 371

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Yeah, I have been using the ck kernel for a while with success.

Out of curiosity, does steam work on your system.  I'm unable to make it work, and I wonder if it has anything to do with this setup.  Would you mind tesing it?


Arch x64 on Thinkpad X200s/W530

Offline

#22 2014-04-12 16:23:15

carepack
Member
Registered: 2014-02-14
Posts: 12

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Exitium wrote:

After giving a while and trying again - it works!

And it actually works perfectly with linux-ck-ivybridge kernel and given boot parameter. The reason why it didn't work was completely my stupid fault and a little "forget" - I forgot to modify syslinux.cfg with new kernel big_smile Oops.

So all you have to do is

1) Install correct ck kernel and nvidia packages using this page (on W530, it's ck-ivybridge): https://wiki.archlinux.org/index.php/repo-ck
2) Add rcutree.rcu_idle_gp_delay=1 as a boot parameter
3) Remember to modify to boot from the correct kernel smile (vmlinuz-linux -> vmlinuz-linux-ck and same to initramfs). Don't be an idiot like me.




Searching sooooOOOOOoooooo loooonnnnngggg.....

Thank you. The ck kernel and nvidia did the trick wink thx for this.

Offline

#23 2015-04-22 13:22:45

eNauz
Member
Registered: 2014-07-21
Posts: 11

Re: [SOLVED] Bumblebee: Failed to initialize GPU with Lenovo ThinkPad W530

Exitium wrote:

After giving a while and trying again - it works!

And it actually works perfectly with linux-ck-ivybridge kernel and given boot parameter. The reason why it didn't work was completely my stupid fault and a little "forget" - I forgot to modify syslinux.cfg with new kernel big_smile Oops.

So all you have to do is

1) Install correct ck kernel and nvidia packages using this page (on W530, it's ck-ivybridge): https://wiki.archlinux.org/index.php/repo-ck
2) Add rcutree.rcu_idle_gp_delay=1 as a boot parameter
3) Remember to modify to boot from the correct kernel smile (vmlinuz-linux -> vmlinuz-linux-ck and same to initramfs). Don't be an idiot like me.

Thank you so much for posting this! I was struggling around for a year now, using nouveau driver on my ThinkPad W530 with Nvidia K2000M.

My working configuration now uses ck-ivybridge and the two kernel parameters: nox2apic and rcutree.rcu_idle_gp_delay=1. Without nox2apic the system won't boot.

Kind regards,
eNauz

Offline

Board footer

Powered by FluxBB