bumblebee Cannot access secondary GPU - error: Could not loa

Kernels & Hardware, configuring network, installing services

bumblebee Cannot access secondary GPU - error: Could not loa

Postby Pakos » 2014-02-02 13:35

HI, i'm having problems with bumblebee:
Code: Select all
[ 1183.903643] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 1183.903680] [ERROR]Aborting because fallback start is disabled.
root@baza:/home/pakos# optirun -vvv glxgears
[ 1539.811688] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1539.811949] [INFO]Configured driver: nvidia
[ 1539.812056] [DEBUG]optirun version 3.2.1 starting...
[ 1539.812062] [DEBUG]Active configuration:
[ 1539.812064] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1539.812067] [DEBUG] X display: :8
[ 1539.812068] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[ 1539.812071] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1539.812073] [DEBUG] Accel/display bridge: auto
[ 1539.812075] [DEBUG] VGL Compression: proxy
[ 1539.812077] [DEBUG] VGLrun extra options:
[ 1539.812078] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 1539.812102] [DEBUG]Using auto-detected bridge primus
[ 1539.820247] [INFO]Response: No - error: Could not load GPU driver

[ 1539.820264] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 1539.820268] [DEBUG]Socket closed.
[ 1539.820284] [ERROR]Aborting because fallback start is disabled.
[ 1539.820289] [DEBUG]Killing all remaining processes.

Code: Select all
# 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/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/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-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia,/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


Code: Select all
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:07: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


Code: Select all
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
07:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)


Code: Select all
Linux baza 3.13-1.slh.1-aptosid-amd64 #1 SMP PREEMPT Fri Jan 31 03:11:44 UTC 2014 x86_64 GNU/Linux


Code: Select all
ii  bumblebee                                3.2.1-5                        amd64        NVIDIA Optimus support for Linux
ii  bumblebee-nvidia                         3.2.1-5                        amd64        NVIDIA Optimus support using the proprietary NVIDIA driver
ii  bbswitch-dkms                            0.8-1                          amd64        Interface for toggling the power on NVIDIA Optimus video cards
ii  glx-alternative-nvidia                   0.4.1                          amd64        allows the selection of NVIDIA as GLX provider
ii  libgl1-nvidia-glx:amd64                  319.82-1                       amd64        NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx:i386                   319.82-1                       i386         NVIDIA binary OpenGL libraries
ii  libgl1-nvidia-glx-i386                   319.82-1                       i386         NVIDIA binary OpenGL 32-bit libraries
ii  libnvidia-ml1:amd64                      319.82-1                       amd64        NVIDIA Management Library (NVML) runtime library
ii  nvidia-alternative                       319.82-1                       amd64        allows the selection of NVIDIA as GLX provider
ii  nvidia-driver                            319.82-1                       amd64        NVIDIA metapackage
ii  nvidia-installer-cleanup                 20131102+1                     amd64        cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                     20131102+1                     amd64        NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                       319.82-1                       amd64        NVIDIA binary kernel module DKMS source
ii  nvidia-settings                          319.72-1                       amd64        tool for configuring the NVIDIA graphics driver
ii  nvidia-support                           20131102+1                     amd64        NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64                319.82-1                       amd64        NVIDIA vdpau driver
ii  xserver-xorg-video-nvidia                319.82-1                       amd64        NVIDIA binary Xorg driver


Any ideas how to get it working?
User avatar
Pakos
 
Posts: 67
Joined: 2008-03-08 17:36

Re: bumblebee Cannot access secondary GPU - error: Could not

Postby peter_irich » 2014-02-02 16:29

Is bumblebeed running?
Code: Select all
pidof bumblebeed

Is bbswitch loading?
Code: Select all
lsmod | grep bbswitch

how called and where is your nvidia driver?
For example, on my notebook it is
/lib/modules/`uname -r`/updates/dkms/nvidia_331.ko
and iI created symlink
/lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko -> /lib/modules/`uname -r`/updates/fkms/nvidia_331.ko
and enter kommand "depmod -a".
Also primus not works on my notebook and I'm usunf virtualgl.

Peter.
peter_irich
 
Posts: 970
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: bumblebee Cannot access secondary GPU - error: Could not

Postby Pakos » 2014-02-02 16:39

Code: Select all
root@baza:/home/pakos# pidof bumblebeed
2560


Code: Select all
root@baza:/home/pakos# lsmod | grep bbswitch
bbswitch                4798  0


Code: Select all
drwxr-xr-x 2 root root     4096 Feb  1 16:35 .
drwxr-xr-x 3 root root     4096 Feb  1 16:22 ..
-rw-r--r-- 1 root root    17536 Feb  1 16:22 bbswitch.ko
-rw-r--r-- 1 root root 12872408 Feb  1 16:35 nvidia-current.ko


there's no /lib/modules/`uname -r`/updates/fkms, is it necessary?
User avatar
Pakos
 
Posts: 67
Joined: 2008-03-08 17:36

Re: bumblebee Cannot access secondary GPU - error: Could not

Postby peter_irich » 2014-02-02 19:35

I don't know is the directory updates/dkms mandatory, but in your bumblebee.conf
the nvidia driver is pointed but real driver is nvidia-current.

Peter.
peter_irich
 
Posts: 970
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: bumblebee Cannot access secondary GPU - error: Could not

Postby Pakos » 2014-02-02 20:14

i've tried both, nvidia, nvidia-current but still same error
User avatar
Pakos
 
Posts: 67
Joined: 2008-03-08 17:36

Re: bumblebee Cannot access secondary GPU - error: Could not

Postby peter_irich » 2014-02-03 13:11

Also try point BusID like
Code: Select all
 BusID "PCI:07:00:0"

Driver must be the same at all.

Peter.
peter_irich
 
Posts: 970
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: bumblebee Cannot access secondary GPU - error: Could not

Postby Pakos » 2014-02-03 16:13

thx, it's working now.
User avatar
Pakos
 
Posts: 67
Joined: 2008-03-08 17:36

Re: bumblebee Cannot access secondary GPU - error: Could not

Postby milomak » 2014-02-06 22:47

you already had the BusID in your original post so what else did you change to get it working?

edit - as an fyi the experimental drivers work
Laptop (64-bit) - Debian Sid and Win8
Desktop (64-bit) - Debian Sid, ArchLinux, Win8, OpenSUSE 12.3 and Fedora 20
MythTV BE/FE - Debian Stable
MythTV FE - Debian Sid
milomak
 
Posts: 1521
Joined: 2009-06-09 22:20

Re: bumblebee Cannot access secondary GPU - error: Could not

Postby Pakos » 2014-02-08 14:14

milomak wrote:you already had the BusID in your original post so what else did you change to get it working?

edit - as an fyi the experimental drivers work

lspci shows address with dot before last number, in config everywhere should be ":" between so in my case it was a reason
User avatar
Pakos
 
Posts: 67
Joined: 2008-03-08 17:36


Return to System configuration

Who is online

Users browsing this forum: TheRealBecks and 8 guests

fashionable