Bug#963980: bumblebee-nvidia: Bumblebee daemon reported: error: [XORG] (EE) Unable to locate/open config directory

Sébastien MARQUE debian at seb.lautre.net
Mon Dec 7 21:57:42 GMT 2020


Package: bumblebee
Version: 3.2.1-26~bpo10+1
Followup-For: Bug #963980

Dear Maintainer,


        everything was working as a charm, until few days ago. I can't find
        what has changed but only the following packages has been updated
        between the last time primusrun worked out of the box and the
        failure encountered:
        - libproxy1v5:amd64 (0.4.15-5, 0.4.15-5+deb10u1)
        - libbrotli1:amd64 (1.0.7-2, 1.0.7-2+deb10u1)
        - libproxy1-plugin-gsettings:amd64 (0.4.15-5, 0.4.15-5+deb10u1)
        - libproxy-tools:amd64 (0.4.15-5, 0.4.15-5+deb10u1)
        - libproxy1-plugin-webkit:amd64 (0.4.15-5, 0.4.15-5+deb10u1)
        - libproxy1-plugin-networkmanager:amd64 (0.4.15-5, 0.4.15-5+deb10u1)

        After many tries, following many attempts to workaround
        including the upgrade from stable to backports for bumblebee and
        nvidia propietary drivers I found a post, a bit isolated:
        https://github.com/Bumblebee-Project/Bumblebee/issues/652#issuecomment-123401024

        It talks about switching off the network as a workaround to get
        the secondary GPU driver loaded and used, no-one replied.

        It worked for me and I added the following piece of ugly code in script
        in order to use nvidia driver:

        (
            # TODO: manage restart of blutooth if needed
            nmcli radio all off
            while test $(lsmod | grep -c nvidia) -eq 0; do
                sleep 1
            done
            nmcli radio wifi on
        )&
        primusrun what_I_have_to_launch

        It is ugly, but it works (for now), and may be a clue for the
        resolution of the issue.

        I haven't tried from a dummy new user if the issue is still
        there, I haven't tried to upgrade to newer kernel. I've tried
        with nouveau and the issue is the same, but haven't tried yet
        with the network-off workaround.

        I don't have a github account so I can't post this upstream on
        bumblebee project.

        Thanks a lot for your concern, and best regards

        Sebastien MARQUE

-- Package-specific info:
OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root 25 Dec  4 19:19 /etc/alternatives/glx -> /usr/lib/nvidia/bumblebee
lrwxrwxrwx 1 root root 49 Dec  4 19:19 /etc/alternatives/glx--libEGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so
lrwxrwxrwx 1 root root 51 Dec  4 19:19 /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so.1
lrwxrwxrwx 1 root root 48 Dec  4 19:19 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root 50 Dec  4 19:19 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root 55 Dec  4 19:19 /etc/alternatives/glx--libGLESv1_CM.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so
lrwxrwxrwx 1 root root 57 Dec  4 19:19 /etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root 52 Dec  4 19:19 /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so
lrwxrwxrwx 1 root root 54 Dec  4 19:19 /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root 42 Dec  4 19:19 /etc/alternatives/glx--libGLX_indirect.so.0-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
lrwxrwxrwx 1 root root 51 Dec  4 19:19 /etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root 42 Dec  4 19:19 /etc/alternatives/glx--nvidia-blacklists-nouveau.conf -> /etc/nvidia/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root 36 Dec  4 19:19 /etc/alternatives/glx--nvidia-bug-report.sh -> /usr/lib/nvidia/nvidia-bug-report.sh
lrwxrwxrwx 1 root root 32 Dec  4 19:19 /etc/alternatives/glx--nvidia-modprobe.conf -> /etc/nvidia/nvidia-modprobe.conf
lrwxrwxrwx 1 root root 23 Dec  4 19:19 /etc/alternatives/nvidia -> /usr/lib/nvidia/current
lrwxrwxrwx 1 root root 59 Dec  4 19:19 /etc/alternatives/nvidia--libEGL_nvidia.so.0-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libEGL_nvidia.so.0
lrwxrwxrwx 1 root root 65 Dec  4 19:19 /etc/alternatives/nvidia--libGLESv1_CM_nvidia.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libGLESv1_CM_nvidia.so.1
lrwxrwxrwx 1 root root 62 Dec  4 19:19 /etc/alternatives/nvidia--libGLESv2_nvidia.so.2-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libGLESv2_nvidia.so.2
lrwxrwxrwx 1 root root 59 Dec  4 19:19 /etc/alternatives/nvidia--libGLX_nvidia.so.0-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libGLX_nvidia.so.0
lrwxrwxrwx 1 root root 46 Dec  4 19:19 /etc/alternatives/nvidia--libglxserver_nvidia.so -> /usr/lib/nvidia/current/libglxserver_nvidia.so
lrwxrwxrwx 1 root root 59 Dec  4 19:19 /etc/alternatives/nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root 58 Dec  4 19:19 /etc/alternatives/nvidia--libnvidia-ml.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-ml.so.1
lrwxrwxrwx 1 root root 61 Dec  4 19:19 /etc/alternatives/nvidia--libvdpau_nvidia.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libvdpau_nvidia.so.1
lrwxrwxrwx 1 root root 38 Dec  4 19:19 /etc/alternatives/nvidia--nv-control-dpy -> /usr/lib/nvidia/current/nv-control-dpy
lrwxrwxrwx 1 root root 73 Dec  4 19:19 /etc/alternatives/nvidia--nvidia-application-profiles-key-documentation -> /usr/share/nvidia/nvidia-application-profiles-450.80.02-key-documentation
lrwxrwxrwx 1 root root 50 Dec  4 19:19 /etc/alternatives/nvidia--nvidia-blacklists-nouveau.conf -> /etc/nvidia/current/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root 44 Dec  4 19:19 /etc/alternatives/nvidia--nvidia-bug-report.sh -> /usr/lib/nvidia/current/nvidia-bug-report.sh
lrwxrwxrwx 1 root root 40 Dec  4 19:19 /etc/alternatives/nvidia--nvidia-debugdump -> /usr/lib/nvidia/current/nvidia-debugdump
lrwxrwxrwx 1 root root 47 Dec  4 19:19 /etc/alternatives/nvidia--nvidia-drm-outputclass.conf -> /etc/nvidia/current/nvidia-drm-outputclass.conf
lrwxrwxrwx 1 root root 36 Dec  4 19:19 /etc/alternatives/nvidia--nvidia-load.conf -> /etc/nvidia/current/nvidia-load.conf
lrwxrwxrwx 1 root root 40 Dec  4 19:19 /etc/alternatives/nvidia--nvidia-modprobe.conf -> /etc/nvidia/current/nvidia-modprobe.conf
lrwxrwxrwx 1 root root 39 Dec  4 19:19 /etc/alternatives/nvidia--nvidia-settings -> /usr/lib/nvidia/current/nvidia-settings
lrwxrwxrwx 1 root root 44 Dec  4 19:19 /etc/alternatives/nvidia--nvidia-settings.1.gz -> /usr/lib/nvidia/current/nvidia-settings.1.gz
lrwxrwxrwx 1 root root 47 Dec  4 19:19 /etc/alternatives/nvidia--nvidia-settings.desktop -> /usr/lib/nvidia/current/nvidia-settings.desktop
lrwxrwxrwx 1 root root 37 Dec  4 19:19 /etc/alternatives/nvidia--nvidia_drv.so -> /usr/lib/nvidia/current/nvidia_drv.so

/etc/modprobe.d:
total 32
drwxr-xr-x   2 root root  4096 Dec  4 19:19 .
drwxr-xr-x 141 root root 12288 Dec  7 22:46 ..
-rw-r--r--   1 root root   473 Feb 20  2020 blacklist-vboxpci.conf
-rw-r--r--   1 root root   570 Dec  4 19:18 bumblebee.conf
-rw-r--r--   1 root root   127 Jan  2  2019 dkms.conf
lrwxrwxrwx   1 root root    53 Dec  4 19:19 nvidia-blacklists-nouveau.conf -> /etc/alternatives/glx--nvidia-blacklists-nouveau.conf
-rw-r--r--   1 root root   260 Jul 13 23:03 nvidia-kernel-common.conf
lrwxrwxrwx   1 root root    43 Dec  4 19:19 nvidia.conf -> /etc/alternatives/glx--nvidia-modprobe.conf

/etc/modprobe.d/nvidia-kernel-common.conf:alias char-major-195* nvidia
/etc/modprobe.d/nvidia-kernel-common.conf:#options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_DeviceFileMode=0660
/etc/modprobe.d/nvidia-kernel-common.conf:# options nvidia NVreg_EnableAGPSBA=1
/etc/modprobe.d/nvidia-kernel-common.conf:# options nvidia NVreg_EnableAGPFW=1
/etc/modprobe.d/bumblebee.conf:# do not automatically load nouveau as it may prevent nvidia from loading
/etc/modprobe.d/bumblebee.conf:# do not automatically load nvidia as it's unloaded anyway when bumblebeed
/etc/modprobe.d/bumblebee.conf:blacklist nvidia
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-current
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-tesla-450
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-tesla-440
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-tesla-418
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-legacy-390xx
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-legacy-340xx
/etc/modprobe.d/bumblebee.conf:# do not automatically load nouveau as it may prevent nvidia from loading
/etc/modprobe.d/bumblebee.conf:blacklist nouveau


-- System Information:
Debian Release: 10.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-12-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bumblebee depends on:
ii  init-system-helpers  1.56+nmu1
ii  libbsd0              0.9.1-2
ii  libc6                2.28-10
ii  libglib2.0-0         2.58.3-2+deb10u2
ii  libkmod2             26-1
ii  libx11-6             2:1.6.7-1+deb10u1
ii  lsb-base             10.2019051400
ii  xserver-xorg-core    2:1.20.4-1+deb10u2

Versions of packages bumblebee recommends:
ii  bbswitch-dkms  0.8-8
ii  primus-libs    0~20150328-12~bpo10+1

Versions of packages bumblebee suggests:
ii  bumblebee-nvidia  3.2.1-26~bpo10+1

Versions of packages bumblebee is related to:
ii  nvidia-driver [nvidia-driver-any]                     450.80.02-1~bpo10+1
ii  nvidia-driver-libs [nvidia-driver-libs-any]           450.80.02-1~bpo10+1
ii  primus-libs                                           0~20150328-12~bpo10+1
ii  xserver-xorg-video-nvidia [xserver-xorg-video-nvidia  450.80.02-1~bpo10+1

-- no debconf information



More information about the pkg-nvidia-devel mailing list