Bumblebee-Project / Bumblebee

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

bumblebee.conf file #1053

Closed agtonybarletta closed 4 years ago

agtonybarletta commented 4 years ago

Today for the N-th time my nvidia-driver + bumblebee configuration broke my xserver. To solve the problem I had to delete a couple of files and reinstall everything again. One of those file was bumbebee.conf. I accidentally deleted it and when I reinstalled bumblebee there were no default bumblebee.conf file. I noticed that xorg.conf.nvidia misses too. Is there any way to generate these two files automatically? If not is there any template out there where I can copypasta e change some information ?

Why are not bumblebee.conf and xorg.conf.nvidia get generated when I reinstall bumblebee ?

This is what optirun --status says:

[  823.426730] [WARN]Could not open configuration file: /etc/bumblebee/bumblebee.conf
[  823.426774] [WARN]Using default configuration
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

This is what optirun -v glxgears

[  927.454409] [WARN]Could not open configuration file: /etc/bumblebee/bumblebee.conf
[  927.454471] [WARN]Using default configuration
[  927.803671] [INFO]Response: No - error: [XORG] (EE) Unable to locate/open config file: "/etc/bumblebee/xorg.conf.nvidia"

[  927.803702] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Unable to locate/open config file: "/etc/bumblebee/xorg.conf.nvidia"

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

My gpu is

$lspci -nn | egrep -i "3d|display|vga"
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
01:00.0 3D controller [0302]: NVIDIA Corporation GK107M [GeForce GT 740M] [10de:0fdf] (rev a1)

my bumblebee directory

$tree /etc/bumblebee/
/etc/bumblebee/
└── xorg.conf.d

My Os info

$cat /proc/version 
Linux version 4.19.0-8-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.98-1 (2020-01-26)
$lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux bullseye/sid
Release:    stable-updates
Codename:   sid