Open 2019-05-10 opened 4 years ago
Same here on a Lenovo G580 with Debian:
$ uname -a
Linux debian 5.10.0-3-amd64 #1 SMP Debian 5.10.12-1 (2021-01-30) x86_64 GNU/Linux
$ lspci | egrep 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 620M/630M/635M/640M LE] (rev a1)
My /etc/bumbebee
looks like this:
$ tree /etc/bumblebee/
/etc/bumblebee/
├── bumblebee.conf
├── xorg.conf.d
├── xorg.conf.nouveau
└── xorg.conf.nvidia
1 directory, 3 files
Edit: https://github.com/Bumblebee-Project/Bumblebee/issues/580#issuecomment-44201413 helped with this error message. However I now got Xlib: extension "GLX" missing on display ":0".
. Next, I set the debian glx alternative to /usr/lib/nvidia/bumblebee
using sudo update-alternatives glx
. However, glxgears still fails to get a visual:
$ optirun -vv glxgears
[ 3582.750791] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 3582.751179] [DEBUG]optirun version 3.2.1 starting...
[ 3582.751192] [DEBUG]Active configuration:
[ 3582.751196] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 3582.751200] [DEBUG] X display: :8
[ 3582.751204] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
[ 3582.751208] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 3582.751212] [DEBUG] Accel/display bridge: auto
[ 3582.751216] [DEBUG] VGL Compression: proxy
[ 3582.751222] [DEBUG] VGLrun extra options:
[ 3582.751228] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 3582.751305] [DEBUG]Using auto-detected bridge primus
[ 3583.521957] [INFO]Response: Yes. X is active.
[ 3583.521980] [INFO]Running application using primus.
[ 3583.522176] [DEBUG]Process glxgears started, PID 16389.
Error: couldn't get an RGB, Double-buffered visual
[ 3583.530810] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 3583.530838] [DEBUG]Socket closed.
[ 3583.530859] [DEBUG]Killing all remaining processes.
Edit 2: After reinstalling bumblebee, a failed attempt to install nvidia-libglx0 (another driver already installed) and a reboot, I seem to have made it. I.e. Xonotic starts and runs with hardest graphics settings.
I have the same issue with debian testing and nouveau drivers:
optirun -vv glxgears
[ 5882.515075] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 5882.515892] [DEBUG]optirun version 3.2.1 starting...
[ 5882.515929] [DEBUG]Active configuration:
[ 5882.515952] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 5882.515971] [DEBUG] X display: :8
[ 5882.515988] [DEBUG] LD_LIBRARY_PATH:
[ 5882.516005] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 5882.516023] [DEBUG] Accel/display bridge: auto
[ 5882.516040] [DEBUG] VGL Compression: proxy
[ 5882.516056] [DEBUG] VGLrun extra options:
[ 5882.516073] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 5882.516211] [DEBUG]Using auto-detected bridge primus
[ 5882.552817] [INFO]Response: No - error: [XORG] (EE) Unable to locate/open config directory: "/etc/bumblebee/xorg.conf.d"
[ 5882.552835] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Unable to locate/open config directory: "/etc/bumblebee/xorg.conf.d"
[ 5882.552841] [DEBUG]Socket closed.
[ 5882.552852] [ERROR]Aborting because fallback start is disabled.
[ 5882.552857] [DEBUG]Killing all remaining processes.
$ optirun glxgears -info [ 1710.649075] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Unable to locate/open config directory: "/etc/bumblebee/xorg.conf.d"
[ 1710.649117] [ERROR]Aborting because fallback start is disabled.
"/etc/bumblebee/xorg.conf.d" exists and is empty. Running after sux return the same error, so it isn't a permission issue.
$ lspci | egrep 'VGA|3D' 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) 01:00.0 VGA compatible controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev a1) Xorg log: Xorg.8.log
Debian/SID