Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

546 views
Skip to first unread message

Vincas Dargis

unread,
Jun 29, 2020, 1:10:03 PM6/29/20
to
Package: bumblebee-nvidia
Version: 3.2.1-23
Severity: important

Dear Maintainer,

After some updates I cannot use primusrun/optirun/pvkrun on my Sid:

```
$ primusrun glxgears
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) Unable to
locate/open config directory: "/etc/bumblebee/xorg.conf.d"
```

```
$ optirun glxgears
[ 444.023511] [ERROR]Cannot access secondary GPU - error: [XORG] (EE)
Unable to locate/open config directory: "/etc/bumblebee/xorg.conf.d"

[ 444.023570] [ERROR]Aborting because fallback start is disabled.
```

```
$ pvkrun vkcube
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) Unable to
locate/open config directory: "/etc/bumblebee/xorg.conf.d"
<hangs>
```

journalctl shows this:

```
$ sudo journalctl -f -u bumblebeed -n0
-- Logs begin at Mon 2020-06-29 19:49:28 EEST. --
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277010] [ERROR][XORG] (EE) Unable to locate/open config directory: "/etc/bumblebee/xorg.conf.d"
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277034] [WARN][XORG] (WW) Warning, couldn't open module mouse
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277039] [ERROR][XORG] (EE) Failed to load module "mouse" (module does not exist, 0)
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277045] [ERROR][XORG] (EE) NOUVEAU(0): [drm] failed to set drm interface version.
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277048] [ERROR][XORG] (EE) NOUVEAU(0): [drm] error opening the drm
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277051] [ERROR][XORG] (EE) NOUVEAU(0): 910:
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277054] [ERROR][XORG] (EE) Screen(s) found, but none have a usable configuration.
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277057] [ERROR][XORG] (EE)
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277060] [ERROR][XORG] (EE) no screens found(EE)
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277062] [ERROR][XORG] (EE)
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277068] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277073] [ERROR][XORG] (EE)
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277077] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
birž. 29 19:57:47 vinco bumblebeed[12788]: [ 504.277728] [ERROR]X did not start properly
```


-- Package-specific info:
OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root 25 Jun 29 19:44 /etc/alternatives/glx -> /usr/lib/nvidia/bumblebee
lrwxrwxrwx 1 root root 49 Jan 29 18:26 /etc/alternatives/glx--libEGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so
lrwxrwxrwx 1 root root 51 Jun 29 19:44 /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 Jan 29 18:26 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root 48 Jun 29 19:44 /etc/alternatives/glx--libGL.so.1-i386-linux-gnu -> /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root 50 Jun 29 19:44 /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 Jan 29 18:26 /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 55 Jun 29 19:44 /etc/alternatives/glx--libGLESv1_CM.so.1-i386-linux-gnu -> /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root 57 Jun 29 19:44 /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 Jan 29 18:26 /etc/alternatives/glx--libGLESv2.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so
lrwxrwxrwx 1 root root 52 Jun 29 19:44 /etc/alternatives/glx--libGLESv2.so.2-i386-linux-gnu -> /usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root 54 Jun 29 19:44 /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 40 Jun 29 19:44 /etc/alternatives/glx--libGLX_indirect.so.0-i386-linux-gnu -> /usr/lib/i386-linux-gnu/libGLX_mesa.so.0
lrwxrwxrwx 1 root root 42 Jun 29 19:44 /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 25 Jun 29 19:44 /etc/alternatives/nvidia -> /usr/lib/nvidia/tesla-418
lrwxrwxrwx 1 root root 53 Jun 29 19:44 /etc/alternatives/nvidia--libGL.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/tesla-418/libGL.so.1

/etc/modprobe.d:
total 52
drwxr-xr-x 2 root root 4096 Jun 29 19:54 .
drwxr-xr-x 169 root root 12288 Jun 29 19:54 ..
-rw-r--r-- 1 root root 113 Feb 23 12:19 alsa-base.conf
-rw-r--r-- 1 root root 154 Dec 15 2018 amd64-microcode-blacklist.conf
-rw-r--r-- 1 root root 31 Dec 18 2017 ath9k_htc.conf
-rw-r--r-- 1 root root 543 Jun 29 19:54 bumblebee.conf
-rw-r--r-- 1 root root 88 Oct 22 2017 custom-blacklist.conf
-rw-r--r-- 1 root root 127 Oct 25 2016 dkms.conf
-rw-r--r-- 1 root root 154 Jul 9 2017 intel-microcode-blacklist.conf
-rw-r--r-- 1 root root 260 Jan 27 2019 nvidia-kernel-common.conf
-rw-r--r-- 1 root root 20 Oct 7 2017 qemu-blacklist.conf

/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-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/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:blacklist nouveau


-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages bumblebee-nvidia depends on:
ii bumblebee 3.2.1-23
ii glx-alternative-nvidia 1.1.0
ii nvidia-legacy-390xx-driver [nvidia-driver-any] 390.138-1
ii nvidia-legacy-390xx-kernel-dkms 390.138-1

Versions of packages bumblebee-nvidia recommends:
ii nvidia-primus-vk-wrapper 1.5-1

bumblebee-nvidia suggests no packages.

Versions of packages bumblebee-nvidia is related to:
ii nvidia-legacy-390xx-driver [nvidia-driver-any] 390.138-1
ii nvidia-legacy-390xx-driver-libs-nonglvnd [nvidia-driver-libs 390.138-1
ii primus-libs 0~20150328-11
ii xserver-xorg-video-nvidia-legacy-390xx [xserver-xorg-video-n 390.138-1

-- no debconf information

Vincas Dargis

unread,
Jun 29, 2020, 1:30:03 PM6/29/20
to
In bumblebee changelog I see:

* Simplify rules and use bumblebee.install etc. for installation.
* Remove obsolete conffile /etc/bumblebee/xorg.conf.d/10-dummy.conf.

Could these introduce some sort of regression in my case?

Vincas Dargis

unread,
Jun 30, 2020, 12:30:03 PM6/30/20
to
$ sudo strace -efile -f -p $(pgrep bumblebeed) 2>&1 | fgrep /etc/bumblebee
[pid 7068] execve("/usr/lib/xorg/Xorg", ["/usr/lib/xorg/Xorg", ":8", "-config",
"/etc/bumblebee/xorg.conf.nouveau", "-configdir", "/etc/bumblebee/xorg.conf.d", "-sharevts",
"-nolisten", "tcp", "-noreset", "-verbose", "3", "-isolateDevice", "PCI:01:00:0"], 0x7fff6ca8f198 /*
4 vars */ <unfinished ...>
[pid 7068] openat(AT_FDCWD, "/etc/bumblebee/xorg.conf.d",
O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 16
[pid 7068] openat(AT_FDCWD, "/etc/bumblebee/xorg.conf.nouveau", O_RDONLY) = 16

Vincas Dargis

unread,
Jul 1, 2020, 2:20:02 PM7/1/20
to
I just this:

sudo apt purge --autoremove nvidia*
sudo apt install nvidia-driver bumblebee-nvidia primus-nvidia primus-vk-nvidia

And after reinstalling driver and all other bumbleblee-related packages, it started to work again.

Andreas Beckmann

unread,
Jul 1, 2020, 3:40:03 PM7/1/20
to
Control: tag -1 moreinfo unreproducible

On 7/1/20 8:15 PM, Vincas Dargis wrote:
> And after reinstalling driver and all other bumbleblee-related packages,
> it started to work again.

Thanks for this "solution". You probably can't tell what changed (likely
in /etc) after purge+reinstall?
Anyway, I'll keep this bug open as unreproducible in case someone else
stumbles upon it ...

Andreas

Vincas Dargis

unread,
Jul 2, 2020, 12:10:02 PM7/2/20
to
> Thanks for this "solution". You probably can't tell what changed (likely
> in /etc) after purge+reinstall?

Sadly, no. I could have taken copy if /etc, just haven't thought of it, sorry.

All I see is that `/etc/bumblebee/xorg.conf.d/` is still empty as it where, can't comment any more.

Vincas Dargis

unread,
Sep 2, 2020, 1:40:03 PM9/2/20
to
Sadly, purge & reinstall did not help this time...

Vincas Dargis

unread,
Sep 4, 2020, 12:20:03 PM9/4/20
to
from `/var/log/Xorg.8.log`

[ 2486.434] (II) NVIDIA dlloader X Driver 450.66 Wed Aug 12 19:44:12 UTC 2020
[ 2486.434] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 2486.435] (EE) No devices detected.
[ 2486.435] (EE)
Fatal server error:
[ 2486.435] (EE) no screens found(EE)
[ 2486.435] (EE)

So maybe this latest 450.66 simply does not support my `GM107M [GeForce GTX 860M]`, or just because of some bug?

Vincas Dargis

unread,
Sep 4, 2020, 12:40:04 PM9/4/20
to
In https://wiki.debian.org/Bumblebee#Debian_10_and_older I've found this hint:

```
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected

You may have to set the BusID manually, in /etc/bumblebee/xorg.conf.nvidia. To get the BusID, run lspci | egrep 'VGA|3D'
in a terminal. Refer to the comments in that file for further instructions.
```

So I've edited `/etc/bumblebee/xorg.conf.nvidia` and uncommented one line so it's now:

```
BusID "PCI:01:00:0"
```

And it works!

`lspci | egrep 'VGA|3D'` on my machine returns:

```
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev ff)
```

So some part fails to detect that only NVIDIA card..? :)

Felix Dörre

unread,
Sep 5, 2020, 6:20:04 AM9/5/20
to
I've just upgraded from nvidia 450.57-2 to 450.66-1 and observe exactly
the same problem. In parallel, I also upgraded bumblebee from 3.2.1-25
to 3.2.1-26. And x-server from 2:1.20.8-2 to 2:1.20.9-1. Also my nvidia
card (NVIDIA Corporation GM206GLM [Quadro M2200 Mobile]) is now not
detected automatically anymore. Adding it manually in the config also
solves this problem for me.

I've experimented a bit with the involved packages and observed this:
- downgrade the nvidia-driver: still no auto-detect
- downgrade bumblebee: still no auto-detect
- downgrade the xserver: auto-detect works again
- upgrade nvidia-driver and bumblebee: auto-detect still works!
- upgrade xserver: auto-detect broken again

So I believe one can workaround this problem as well by doing:
apt install --only-upgrade xserver-common=2:1.20.8-2
xserver-xorg-legacy=2:1.20.8-2 xserver-xorg-core=2:1.20.8-2
xserver-xephyr=2:1.20.8-2 xwayland=2:1.20.8-2

Maybe this information helps someone to figure out what is wrong.

--
Kind regards,
Felix Dörre

Felix Dörre

unread,
Sep 25, 2020, 2:40:03 AM9/25/20
to
On 2020-09-24 23:44, Andreas Beckmann wrote:
> please try xserver-xorg-core 2:1.20.9-2 first and file a bug against it
> if the issue persists.

I've just upgraded to 2:1.20.9-2 and this seems to solve the problem for
me. So it seems one of these:
https://salsa.debian.org/xorg-team/xserver/xorg-server/-/commit/9c140c1c65aa05bd2e1b50cc8d6c8c4b9a1c1d9e
has solved this bug for me (which does not seem that unplausible).

Sébastien MARQUE

unread,
Dec 7, 2020, 5:10:05 PM12/7/20
to
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

Dan Robinson

unread,
Jan 27, 2021, 12:30:03 PM1/27/21
to
I also had this issue on a fresh bullseye install.

I was able to get a different error message by commenting out the reference to /etc/bumblebee/xorg.conf.d in /etc/bumblebee.conf, but then I get a different error about a missing module 'mouse'.

Unfortunately I didn't have any time to troubleshoot any further and I think there are other issues at play outside the scope of this bug (like the fact that with the legacy Nvidia drivers there is no 'nvidia' module so it's trying to use nouveau) so I'll probably have to try to solve all of that before I can offer any more useful feedback on this bug.


Marcus Hardt

unread,
Jun 29, 2021, 8:00:03 AM6/29/21
to
I have the same issue with these versions:


bumblebee: 3.2.1-27
init-system-helpers: 1.60
libbsd0: 0.11.3-1
libc6: 2.31-12
libglib2:
libkmod2: 28-1
libx11-6: 2:1.7.1-1
lsb-base: 11.1.0
xserver-xorg-core: 2:1.20.11-1
bbswitch-dkms: 0.8-10
primus-libs: 0~20150328-13
bumblebee-nvidia: 3.2.1-27
nvidia-driver: 460.73.01-1
nvidia-driver-libs: 460.73.01-1
primus-libs: 0~20150328-13
xserver-xorg-video-nvidia: 460.73.01-1



--
Marcus.
signature.asc

Luc

unread,
Dec 4, 2021, 6:10:03 PM12/4/21
to
Many thanks to Sébastien MARQUE for the suggestion `nmcli radio all
off`. This resolves the problem. For me, I don't need to wait for nvidia
to no longer be in lsmod before I can start it again.

This is with a Qualcomm Atheros QCA9377 802.11ac Wireless Network
Adapter (rev 31), Intel Corporation UHD Graphics 620 (rev 07), and
NVIDIA Corporation GP108M [GeForce MX150] (rev a1), on an up-to-date
Debian 10 using nouveau drivers if I'm not mistaken (I tried every
possible setup until something worked to run Parkitect a few weeks ago,
not sure what the current setup is, just that the nvidia-detect command
doesn't exist and I have to prefix primusrun and add -force-opengl).

If I can help by providing details about my setup or by trying
something, please let me know what commands to run -- via lgms.nl/email
since I expect I'll be receiving spam on the sending address before too
long which means I'll have to block it.

Best,
Luc

Sébastien Marque

unread,
Jan 8, 2022, 1:10:03 PM1/8/22
to
Hello,

Nice to see the hack could help someone.

BTW I "improved" the ugly hack this way:

(
path=/proc/driver/nvidia
if ! test -e $path; then
IFS=':' read -a radio <<< $(LANG=C nmcli -t radio)
nmcli radio wifi off
while ! test -e $path; do
continue
done
test ${radio[1]} = 'enabled' && nmcli radio wifi on
fi
)&

And it resides now on /usr/local/bin/primusrun (https://seb.lautre.net/git/seb/scripts/blob/master/primusrun)

Best regards,

Seb

Jérémy Viès

unread,
Feb 2, 2022, 5:00:05 PM2/2/22
to
I can confirm I have the same issue using a brandly new installed machine with the nvidia driver.
0 new messages