Bug#822330: bumblebee : unable to work with any newer driver than 340.96 - even backported bumblebee-nvidia install doesn't work (failed to set DRM interface version 1.4 too)

Julien ROBIN julien.robin28 at free.fr
Sat Apr 23 13:46:06 UTC 2016


Package: bumblebee-nvidia
Version: 3.2.1-10~bpo8+1
Severity: important

Dear Maintainer,

The Debian Jessie's Bumblebee (and also backported version) cannot work with
any NVIDIA Driver if it's not the default 340.96 from non backported repos.
Even jessie-backports bumblebee-nvidia from fresh and simpler install doesn't
work at all.

All you can get is, in all situations, finish by the same results :

root at Pentacrobe:/home/jrobin# optirun -vv -debug glxgears
[  750.966347] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  750.966889] [INFO]Configured driver: nvidia
[  750.967246] [DEBUG]optirun version 3.2.1 starting...
[  750.967294] [DEBUG]Active configuration:
[  750.967317] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  750.967344] [DEBUG] X display: ebug
[  750.967370] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-
gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[  750.967398] [DEBUG] Socket path: /var/run/bumblebee.socket
[  750.967424] [DEBUG] Accel/display bridge: auto
[  750.967450] [DEBUG] VGL Compression: proxy
[  750.967475] [DEBUG] VGLrun extra options:
[  750.967500] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-
gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[  750.967593] [DEBUG]Using auto-detected bridge primus
[  756.569947] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed
to set DRM interface version 1.4: Permission denied

[  756.569960] [ERROR]Cannot access secondary GPU - error: [XORG] (EE)
/dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[  756.569964] [DEBUG]Socket closed.
[  756.569975] [ERROR]Aborting because fallback start is disabled.
[  756.569978] [DEBUG]Killing all remaining processes.



I tested thousands of things, and I read on the Internet tons of forums full of
thousands of messages about similar errors, and days of commands, exchanges...
I spent days on it.
I tested everything (/etc/default/grub, adding Section "Screen" to
xorg.conf.nvidia, changing libdrm, all nvidia-drivers versions etc...)

So : here is the simplest and smaller steps to reproduce the problem yourself
very quickly using debian package :

  0 - You need a computer with an Intel Display + Nvidia discrete card (mine is
Asus R510JK - DM086H, with up to date bios, i5-4200H and GeForce 850M)
  1 - the simplest net-installer (amd64 - 8.4.0 efi or legacy-bios doesn't
matter, same problem)
  2 - apt-get install lightdm lxde-core aptitude mesa-utils (then reboot - I
also added leafpad, synaptic and chromium, realtek and WiFi drivers + wicd)
  3 - aptitude -t jessie-backports install bumblebee-nvidia

I cannot do better tests than you, and I guess it's very simple for you to do
the same.
The only version that works is "apt-get install bumblebee-nvidia" (340.96 - but
too outdated to work on some recent steam games)


The path parameters inside /etc/bumblebee/bumblebee.conf are all corrects.
update-alternatives --config glx (all combinations) + ldconfig are without
effect (at most, it can make the Intel card able/unable to work but nothing
else).


I'm even able to install myself the NVIDIA-Linux-x86_64-361.42.run and get it
working with bumblebee on another distro (Ubuntu 15.10) by putting it into
correct places without disturbing existing files
If you want it, this is what you need to test it : command lines arguments
   --expert (to see a summary of files and operation before installing) --x
-library-path, --x-module-path, --opengl-libdir, --compat32-libdir and --no-
recursion
Those agrs can be used in order to put it in a place that doesn't disturbs
anything on the system, make sure no existing file are moved... then you can
tell bumblebee.conf where are the nvidia files.

Very simple, very working on Ubuntu 15.10 for example... but not on Debian,
because the same error is coming again at the end :
[XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission
denied.

Please let me know if you cannot reproduce this problem - I guess anybody can
reproduce it as I tryed every different approach, none is working on Debian 8.

Good luck,
Julien ROBIN



-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bumblebee-nvidia depends on:
ii  bumblebee               3.2.1-10~bpo8+1
ii  glx-alternative-nvidia  0.7.2~bpo8+1
ii  nvidia-driver           352.79-1~bpo8+1
ii  nvidia-kernel-dkms      352.79-1~bpo8+1

bumblebee-nvidia recommends no packages.

bumblebee-nvidia suggests no packages.

-- no debconf information



More information about the pkg-nvidia-devel mailing list