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)

Luca Boccassi luca.boccassi at gmail.com
Sat Apr 23 20:56:06 UTC 2016


On Sat, 2016-04-23 at 13:46 +0000, Julien ROBIN wrote:
> 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

Hi Julien,

Could you please run:

reportbug -N 822330 nvidia-driver

This will attach (a lot of) additional information that will be useful
to debug.

Having said that, I regularly run newer versions of the drivers package
from our SVN with bumblebee and haven't seen this. Unfortunately
Bumblebee's error messages are very often a bit misleading.

As a test, on my Jessie laptop I removed all nvidia packages, installed
from stable, all good. Then upgrade to jessie-backports, still all good.

First of all, make sure you don't have xserver-xorg-legacy installed, as
there's a known incompatibility.

Then, do you have update-glx installed from jessie-backports? If so, run
again sudo update-glx --config glx to make sure all symlinks are in the
right place, including the modprobe conf files.

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20160423/79128a16/attachment-0001.sig>


More information about the pkg-nvidia-devel mailing list