Last active
June 10, 2020 13:58
-
-
Save SelvamArul/b0b8134fc00ed90bc347e87500774edc to your computer and use it in GitHub Desktop.
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
Section "ServerLayout" | |
Identifier "layout" | |
Screen 0 "intel" | |
Screen 1 "nvidia1" | |
EndSection | |
Section "Device" | |
Identifier "intel" | |
Driver "intel" | |
BusID "PCI:0@0:2:0" | |
EndSection | |
Section "Screen" | |
Identifier "intel" | |
Device "intel" | |
EndSection | |
Section "Device" | |
Identifier "nvidia1" | |
Driver "nvidia" | |
Option "Accel" "false" | |
BusID "PCI:2@0:0:0" | |
EndSection | |
Section "Screen" | |
Identifier "nvidia1" | |
Device "nvidia1" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This config file is based on this gist.
Line 21
Option "Accel" "false"
is needed in my case to instruct xorg not use nvidia GL libs. Without this config, xorg loads/usr/lib/x86_64-linux-gnu/nvidia-430/libglxserver_nvidia.so.430.50
by default. This results in failure to launch any gl related functionalities.