Bumblebee-Project / Bumblebee

Bumblebee daemon and client rewritten in C
http://www.bumblebee-project.org/
GNU General Public License v3.0
1.29k stars 142 forks source link

optirun stuck at "Reading file: /etc/bumblebee/bumblebee.conf" step #1022

Open Akiyamka opened 5 years ago

Akiyamka commented 5 years ago

Very strange behavior, seems like optirun can't read bumblebee.conf for some reason.

➜  ~ optirun -vvv glxgears                      
[ 2594.295597] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
^C[ 2693.221329] [WARN]Received Interrupt signal.
[ 2693.221383] [DEBUG]Socket closed.
[ 2693.221426] [WARN]Could not read data! Error: Bad file descriptor
[ 2693.221444] [DEBUG]Socket closed.
[ 2693.221455] [DEBUG]Read failed for query of LibraryPath
[ 2693.221496] [ERROR]Failed to retrieve LibraryPath setting.

bumblebee.conf /etc/bumblebee/xorg.conf.nvidia

My env:

OS: Ubuntu 18.04.2 LTS x86_64
Kernel: 4.18.0-16-generic 
Host: HP Spectre x360 Convertible 15-bl1XX 
GPU1: Intel UHD Graphics 620
GPU2: NVIDIA GeForce MX150 

sudo apt list --installed | grep nvidia

libnvidia-cfg1-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
libnvidia-common-418/bionic,bionic,now 418.43-0ubuntu0~18.04.1 all [installed,automatic]
libnvidia-compute-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
libnvidia-decode-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
libnvidia-encode-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
libnvidia-fbc1-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
libnvidia-gl-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
libnvidia-ifr1-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
nvidia-compute-utils-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
nvidia-dkms-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
nvidia-driver-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed]
nvidia-kernel-common-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
nvidia-kernel-source-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
nvidia-prime/bionic-updates,bionic-updates,now 0.8.8.2 all [installed,automatic]
nvidia-settings/bionic,now 418.43-0ubuntu0~gpu18.04.1 amd64 [installed,automatic]
nvidia-utils-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed,automatic]
xserver-xorg-video-nvidia-418/bionic,now 418.43-0ubuntu0~18.04.1 amd64 [installed]
ghost commented 5 years ago

Same problem here. It seemed to stop working when upgrading the NVIDIA driver to v418.

kb173 commented 5 years ago

Same here. Did anyone find a workaround for this?

kb173 commented 5 years ago

I got it fixed! The changes described in post 31 here did it for me: https://bugs.launchpad.net/ubuntu/+source/bumblebee/+bug/1758243