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
Last active
August 31, 2023 13:23
-
-
Save cpburnz/21694595b6dfffebf964 to your computer and use it in GitHub Desktop.
NVIDIA GeForce GTX 960M with Optimus on Arch Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/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 |
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?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, this took much longer then it should have.