← Back to team overview

bumblebee team mailing list archive

Optirun not initialising NVidia card on my bto laptop

 

*Distro:* Ubuntu 13.04
*Kernel:* Linux falcon 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 00:17:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
*Manufacturer and model:*
baseboard-manufacturer: Notebook
baseboard-product-name: W350STQ/W370ST
baseboard-version     : Not Applicable
system-manufacturer   : Notebook
system-product-name   : W350STQ/W370ST
system-version        : Not Applicable
bios-vendor           : American Megatrends Inc.
bios-version          : 4.6.5
bios-release-date     : 06/14/2013
*Bumblebee version:* 3.2.1

The laptop is actually a bto 15CL58, which as a Haswell i7 and an NVidia GTX765M. I have attached the file generated by bumblebee-bugreport. I installed Bumblebee following the instructions on https://wiki.ubuntu.com/Bumblebee. The installation appeared to proceed without errors, but I can't run anything with optirun. The output of "optirun glxgears" is:

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

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

The full output of "optirun -vv glxgears" is:

[10441.926469] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[10441.927398] [DEBUG]optirun version 3.2.1 starting...
[10441.927422] [DEBUG]Active configuration:
[10441.927431] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[10441.927440] [DEBUG] X display: :8
[10441.927448] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304:/usr/lib32/nvidia-304
[10441.927457] [DEBUG] Socket path: /var/run/bumblebee.socket
[10441.927466] [DEBUG] Accel/display bridge: auto
[10441.927474] [DEBUG] VGL Compression: proxy
[10441.927483] [DEBUG] VGLrun extra options:
[10441.927491] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[10441.927533] [DEBUG]Using auto-detected bridge virtualgl
[10442.149177] [INFO]Response: No - error: [XORG] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please

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

[10442.149196] [DEBUG]Socket closed.
[10442.149218] [ERROR]Aborting because fallback start is disabled.
[10442.149231] [DEBUG]Killing all remaining processes.

The following lines appear in dmesg after each try:

[   84.579063] vgaarb: this pci device is not a vga device
[ 84.586110] [drm:i915_write32] *ERROR* Unknown unclaimed register before writing to 4400c
[   84.707175] NVRM: RmInitAdapter failed! (0x26:0x28:1200)
[   84.707181] NVRM: rm_init_adapter(0) failed

Earlier in dmesg there is this:

[   15.459519] bbswitch: version 0.7
[ 15.459523] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[   15.459526] bbswitch: cannot find ACPI handle for VGA device 0000:01:00.0
[   15.459527] bbswitch: No discrete VGA device found

I tried the hack-lenovo branch of bbswitch, but it reported that my kernel doesn't need the hack when I tried to load it. I have the following line in /etc/default/grub:

GRUB_CMDLINE_LINUX="acpi_osi='!Windows 2012' acpi_backlight=vendor"

This is to get the brightness adjustment working for the laptop display, but I tried it without that setting and it made no difference.

Please let me know if you need any more information! Hopefully you can help me get optirun to work on my laptop, I would really like to be able to turn off the GPU when it's not in use, and use it to make my games run faster...

Kind regards,
Pepijn Schmitz

Attachment: bumblebee-bugreport-20130818_114532.tar.gz
Description: application/gzip