bumblebee
3.2.1-10 (providesnvidia-libgl
)mesa
11.0.4-1mesa-libgl
11.0.4-1nvidia
355.11-4 (Nvidia driver)primus
20150118-2 (Bumblebee bridge)xf86-video-intel
1:2.99.917+478+gdf72bc5-2 (Intel driver)xorg-server
1.17.3-1 (xorg)xorg-xrandr
1.4.3-1
-
-
Save cpburnz/21694595b6dfffebf964 to your computer and use it in GitHub Desktop.
#/etc/bumblebee/bumblebee.conf | |
[bumblebeed] | |
VirtualDisplay=:8 | |
KeepUnusedXServer=false | |
ServerGroup=bumblebee | |
TurnCardOffAtExit=false | |
NoEcoModeOverride=false | |
Driver=nvidia | |
XorgConfDir=/etc/bumblebee/xorg.conf.d | |
[optirun] | |
Bridge=auto | |
VGLTransport=proxy | |
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus | |
AllowFallbackToIGC=false | |
[driver-nvidia] | |
KernelDriver=nvidia | |
PMMethod=auto | |
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia | |
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules | |
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia |
#/etc/bumblebee/xorg.conf.nvidia | |
Section "ServerLayout" | |
Identifier "Layout0" | |
Option "AutoAddDevices" "false" | |
Option "AutoAddGPU" "false" | |
EndSection | |
Section "Device" | |
Identifier "DiscreteNvidia" | |
Driver "nvidia" | |
VendorName "NVIDIA Corporation" | |
BusID "PCI:1:0:0" | |
Option "ProbeAllGpus" "false" | |
Option "NoLogo" "true" | |
Option "UseEDID" "false" | |
Option "UseDisplayDevice" "none" | |
EndSection |
#/etc/X11/xorg.conf | |
Section "ServerLayout" | |
Identifier "layout" | |
Screen 0 "intel" | |
Inactive "nvidia" | |
EndSection | |
Section "Device" | |
Identifier "intel" | |
Driver "intel" | |
BusID "PCI:0:2:0" | |
Option "AccelMethod" "sna" | |
EndSection | |
Section "Screen" | |
Identifier "intel" | |
Device "intel" | |
EndSection | |
Section "Device" | |
Identifier "nvidia" | |
Driver "nvidia" | |
BusID "PCI:1:0:0" | |
EndSection | |
Section "Screen" | |
Identifier "nvidia" | |
Device "nvidia" | |
Option "AllowEmptyInitialConfiguration" "Yes" | |
EndSection |
I've been trying to get this working for several hours now and it doesn't seem to work out. glxgears
as well as optirun glxgears
keep throwing an XORG error No device detected..
After installation and updating config files you probaly need enable bumblebee service and add user to bumblebee group:
sudo gpasswd -a YourUserName bumblebee
sudo systemctl enable bumblebeed.service
Also - to auto disabe discrete card need install bbswitch
package. More info in archwiki.
Then reboot...
To check - is dicrete card used: optirun --status
Bumblebee status: Ready (3.2.1). X is PID 945, 2 applications using bumblebeed.
or
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.
(if here on - means bbswitch not installed/work)
Thanks, this took much longer then it should have.
After doing this, the fans just go crazy starting X.
Everything works smoothly, but the fans starts screaming like if they were an air-plane.
Do you know how to solve it?
One thing I did not see is the Bumblebeed status:
● bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2017-06-21 10:01:43 -05; 4min 6s ago
Main PID: 419 (bumblebeed)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bumblebeed.service
└─419 /usr/bin/bumblebeed
jun 21 10:05:27 rog-csampedro bumblebeed[419]: [ 240.351298] [WARN][XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
jun 21 10:05:27 rog-csampedro bumblebeed[419]: [ 240.351301] [WARN][XORG] (WW) Warning, couldn't open module mouse
jun 21 10:05:27 rog-csampedro bumblebeed[419]: [ 240.351307] [ERROR][XORG] (EE) No devices detected.
jun 21 10:05:27 rog-csampedro bumblebeed[419]: [ 240.351309] [ERROR][XORG] (EE)
jun 21 10:05:27 rog-csampedro bumblebeed[419]: [ 240.351311] [ERROR][XORG] (EE) no screens found(EE)
jun 21 10:05:27 rog-csampedro bumblebeed[419]: [ 240.351313] [ERROR][XORG] (EE)
jun 21 10:05:27 rog-csampedro bumblebeed[419]: [ 240.351315] [ERROR][XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
jun 21 10:05:27 rog-csampedro bumblebeed[419]: [ 240.351317] [ERROR][XORG] (EE)
jun 21 10:05:27 rog-csampedro bumblebeed[419]: [ 240.351318] [ERROR][XORG] (EE) Server terminated with error (1). Closing log file.
jun 21 10:05:27 rog-csampedro bumblebeed[419]: [ 240.370313] [ERROR]X did not start properly
@camilosampedro -> no screens found. I think you need configure xorg, screen sections.
@camilosampedro I have the same problem, did you manage to solve it?
"There's nvidia-xconfig utility, installed with Bumblebee among NVIDIA tools. Never run it on Optimus computers. It was designed for and works correctly on single-GPU NVIDIA cards only. It doesn't detect hybrid NVIDIA Optimus cards. It's a perfect Bumblebee killer. If executed, it immediately breaks Bumblebee configuration." - url