Bug#804139: bumblebee: after recent xorg + nvidia updates in sid, "Cannot access secondary GPU - error"

Giacomo Mulas gmulas at oa-cagliari.inaf.it
Thu Nov 5 10:32:41 UTC 2015


Package: bumblebee
Version: 3.2.1-10
Severity: important

Dear Maintainer,

I routinely run my laptop on sid (I need to compile scientific software
using recent versions of just too many libraries), usually with no problems,
or simple ones that a relatively old hand at debian system administration
can solve easily.
However, recently I was hit by nasty bug that resulted from a combination of
package updates, so I don't know exactly which package is to blame. I am
filing the bug raport on bumbleee because I was able to work around the rest
of the problems, but maybe it's not bumblebee's fault. If you can determine
that some other specific package is to blame, do feel free to move the
bugreport to that package.

In short: after some recent upgrade of xorg and nvidia, glx support was
completely broken on my system. It stopped working both on my primary Intel
graphic card and on the nvidia optimus. This caused a mess, since I used
gnome and gdm3, and I was left with no working display manager, and no easy
way to enable network connections via network-manager.
However, after some manual configuration, I got the network on, and was able
to run lightdm and the mate desktop (thanks heaven there are still some
desktop environments that don't depend on glx!).

Thinking that the glx alternatives may have been messed up by the upgrade, I
removed completely all nvidia packages from my system, and also
glx-alternatives itself.  This meant also removing all nvidia dependencies,
including optimus.  This fixed glx on my primary display.  So now I had
again working gdm3 and gnome.  Then I went on to reinstall bumblebee and
nvidia packages.  The install itself went smoothly, with no reported errors. 
The nvidia-current kernel module got properly compiled and installed by
dkms, everything looked fine.  And glx on my primary display was _not_
broken again by installing nvidia packages, glx-alternatives, etc.

However, bumblebee still does not work, so I have no accelerated graphics.
If I try e.g. optirun -vv glxinfo, I get:

gmulas at capitanata:~$ optirun -vvv glxinfo
[54329.188696] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[54329.189560] [DEBUG]optirun version 3.2.1 starting...
[54329.189614] [DEBUG]Active configuration:
[54329.189633] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[54329.189652] [DEBUG] X display: :8
[54329.189670] [DEBUG] LD_LIBRARY_PATH:
/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[54329.189689] [DEBUG] Socket path: /var/run/bumblebee.socket
[54329.189708] [DEBUG] Accel/display bridge: auto
[54329.189727] [DEBUG] VGL Compression: proxy
[54329.189745] [DEBUG] VGLrun extra options: 
[54329.189762] [DEBUG] Primus LD Path:
/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[54329.189861] [DEBUG]Using auto-detected bridge primus
[54329.236079] [INFO]Response: No - error: [XORG] (EE) 

[54329.236092] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) 

[54329.236095] [DEBUG]Socket closed.
[54329.236106] [ERROR]Aborting because fallback start is disabled.
[54329.236111] [DEBUG]Killing all remaining processes.

Nothing useful is dumped to kern.log, and in syslog I get only

Nov  5 11:20:13 capitanata bumblebeed[16456]: [54358.478063] [INFO]/usr/sbin/bumblebeed 3.2.1 started
Nov  5 09:46:49 capitanata kernel: bbswitch: disabling discrete graphics
Nov  5 09:46:49 capitanata kernel: ACPI Warning: \x5c_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
Nov  5 09:46:49 capitanata kernel: pci 0000:01:00.0: Refused to change power state, currently in D0

which may be related to another reported bug, maybe?

Please let me know if there is something I can do to provide more info to
nail the problem. Also, if you can suggest some way to make at least cuda
and opencl work, with or without bumblebee, and with or without graphics
acceleration, that would be most useful (I test software on my laptop and
now I can't do this with those that need GPU acceleration).

Thanks in advance, bye
Giacomo Mulas



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (401, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.5-jak (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bumblebee depends on:
ii  bbswitch-dkms        0.8-3
ii  bbswitch-source      0.8-3
ii  dpkg                 1.18.3
ii  init-system-helpers  1.24
ii  libbsd0              0.7.0-2
ii  libc6                2.19-22
ii  libglib2.0-0         2.46.1-2
ii  libx11-6             2:1.6.3-1

Versions of packages bumblebee recommends:
ii  primus  0~20150328-1

Versions of packages bumblebee suggests:
ii  bumblebee-nvidia  3.2.1-10

-- no debconf information



More information about the pkg-nvidia-devel mailing list