Bug#756522: bumblebee-nvidia: cannot access secondary gpu - error: Permission denied

JEBE jbernon at free.fr
Wed Apr 22 13:48:47 UTC 2015


Package: bumblebee
Version: 3.2.1-7
Followup-For: Bug #756522

Dear Maintainer,

I installed bumblebee and primus packages, not bumblebee-nvidia. But I get the
exact same issues and logs than described here.

See stuff below.

I understood (is it correct ?) that we can use bumblebee with nouveau driver
alone without nvidia proprietary driver. My 3D card is within
the list of nouveau supported cards. I added my user to both groups bumblebee
and video. I tried to extend access rights to /dev/dri/cardO. I tried to add
BusId and screen section to xorg.conf... All the same messages.

My bumblebee.conf has the line "driver= ". I understand that only
"xorg.conf.nouveau" is active. Is that correct?

I read Daniel post, how he got bumblebee working with Debian Jessie. It is a
bit complicated and is there no way to work with nouveau alone ?

My laptop graphism is usually working fine with the Intel card. I try to
activate the 3D card because I use the Sweethome3D application and the 3D
features are not working.

Thank you for your attention.
Jean

*** THE STUFF

jean at pc-jean-debian:~$ uname -a
Linux pc-jean-debian 3.16-3-amd64 #1 SMP Debian 3.16.5-1 (2014-10-10) x86_64
GNU/Linux

jean at pc-jean-debian:~$ lspci | grep "VGA\|3D"
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated
Graphics Controller (rev 0b)
04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)

jean at pc-jean-debian:~$ optirun glxgears
[ 6121.577688] [ERROR]Cannot access secondary GPU - error: [XORG] (EE)
/dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

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

jean at pc-jean-debian:~$ cat /var/log/Xorg.8.log
[  6143.880]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[  6143.880] X Protocol Version 11, Revision 0
[  6143.880] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[  6143.880] Current Operating System: Linux pc-jean-debian 3.16-3-amd64 #1 SMP
Debian 3.16.5-1 (2014-10-10) x86_64
[  6143.880] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16-3-amd64
root=UUID=aa863fdf-6f1d-4caf-9a40-0c549c988dfc ro quiet psmouse.proto=bare
[  6143.880] Build Date: 11 February 2015  12:32:02AM
[  6143.880] xorg-server 2:1.16.4-1 (http://www.debian.org/support)
[  6143.880] Current version of pixman: 0.32.6
[  6143.880]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  6143.880] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  6143.880] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Apr 22 15:16:57
2015
[  6143.881] (++) Using config file: "/etc/bumblebee/xorg.conf.nouveau"
[  6143.881] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  6143.881] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  6143.881] (==) ServerLayout "Layout0"
[  6143.881] (==) No screen section available. Using defaults.
[  6143.881] (**) |-->Screen "Default Screen Section" (0)
[  6143.881] (**) |   |-->Monitor "<default monitor>"
[  6143.882] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[  6143.882] (**) |   |-->Device "DiscreteNvidia"
[  6143.882] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  6143.882] (**) Option "AutoAddDevices" "false"
[  6143.882] (**) Option "AutoAddGPU" "false"
[  6143.882] (**) Not automatically adding devices
[  6143.882] (==) Automatically enabling devices
[  6143.882] (**) Not automatically adding GPU devices
[  6143.882] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  6143.882]    Entry deleted from font path.
[  6143.882] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[  6143.882] (==) ModulePath set to "/usr/lib/xorg/modules"
[  6143.882] (==) |-->Input Device "<default pointer>"
[  6143.882] (==) |-->Input Device "<default keyboard>"
[  6143.882] (==) The core pointer device wasn't specified explicitly in the
layout.
        Using the default mouse configuration.
[  6143.882] (==) The core keyboard device wasn't specified explicitly in the
layout.
        Using the default keyboard configuration.
[  6143.882] (II) Loader magic: 0x7f64463b9d80
[  6143.882] (II) Module ABI versions:
[  6143.882]    X.Org ANSI C Emulation: 0.4
[  6143.882]    X.Org Video Driver: 18.0
[  6143.882]    X.Org XInput driver : 21.0
[  6143.882]    X.Org Server Extension : 8.0
[  6143.882] (II) xfree86: Adding drm device (/dev/dri/card0)
[  6143.883] (EE) /dev/dri/card0: failed to set DRM interface version 1.4:
Permission denied
[  6143.884] (--) PCI:*(0:4:0:0) 10de:1341:1043:130d rev 162, Mem @
0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @
0x0000d000/128, BIOS @ 0x????????/524288
[  6143.884] (II) LoadModule: "glx"
[  6143.885] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  6143.886] (II) Module glx: vendor="X.Org Foundation"
[  6143.886]    compiled for 1.16.4, module version = 1.0.0
[  6143.887]    ABI class: X.Org Server Extension, version 8.0
[  6143.887] (==) AIGLX enabled
[  6143.887] (II) LoadModule: "nouveau"
[  6143.887] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  6143.887] (II) Module nouveau: vendor="X.Org Foundation"
[  6143.887]    compiled for 1.16.0, module version = 1.0.11
[  6143.887]    Module class: X.Org Video Driver
[  6143.887]    ABI class: X.Org Video Driver, version 18.0
[  6143.887] (II) LoadModule: "mouse"
[  6143.887] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[  6143.887] (II) Module mouse: vendor="X.Org Foundation"
[  6143.887]    compiled for 1.16.1, module version = 1.9.1
[  6143.887]    Module class: X.Org XInput Driver
[  6143.887]    ABI class: X.Org XInput driver, version 21.0
[  6143.887] (II) LoadModule: "kbd"
[  6143.888] (WW) Warning, couldn't open module kbd
[  6143.888] (II) UnloadModule: "kbd"
[  6143.888] (II) Unloading kbd
[  6143.888] (EE) Failed to load module "kbd" (module does not exist, 0)
[  6143.888] (II) NOUVEAU driver Date:   Thu Aug 28 03:57:48 2014 +0200
[  6143.888] (II) NOUVEAU driver for NVIDIA chipset families :
[  6143.888]    RIVA TNT        (NV04)
[  6143.888]    RIVA TNT2       (NV05)
[  6143.888]    GeForce 256     (NV10)
[  6143.888]    GeForce 2       (NV11, NV15)
[  6143.888]    GeForce 4MX     (NV17, NV18)
[  6143.888]    GeForce 3       (NV20)
[  6143.888]    GeForce 4Ti     (NV25, NV28)
[  6143.888]    GeForce FX      (NV3x)
[  6143.888]    GeForce 6       (NV4x)
[  6143.888]    GeForce 7       (G7x)
[  6143.889]    GeForce 8       (G8x)
[  6143.889]    GeForce GTX 200 (NVA0)
[  6143.889]    GeForce GTX 400 (NVC0)
[  6143.889] (--) using VT number 7

[  6143.889] (EE) [drm] KMS not enabled
[  6143.889] (EE) No devices detected.
[  6143.889] (EE)
Fatal server error:
[  6143.889] (EE) no screens found(EE)
[  6143.889] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  6143.889] (EE) Please also check the log file at "/var/log/Xorg.8.log" for
additional information.
[  6143.889] (EE)
jean at pc-jean-debian:~$



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

Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=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-1
ii  dpkg                 1.17.25
ii  init-system-helpers  1.22
ii  libbsd0              0.7.0-2
ii  libc6                2.19-18
ii  libglib2.0-0         2.42.1-1
ii  libx11-6             2:1.6.2-3

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

Versions of packages bumblebee suggests:
pn  bumblebee-nvidia  <none>

-- Configuration Files:
/etc/bumblebee/xorg.conf.nouveau changed [not included]
/etc/bumblebee/xorg.conf.nvidia changed [not included]

-- no debconf information



More information about the pkg-nvidia-devel mailing list