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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@camilosampedro -> no screens found. I think you need configure xorg, screen sections.