Skip to content

Instantly share code, notes, and snippets.

@SelvamArul
Last active June 10, 2020 13:58
Show Gist options
  • Save SelvamArul/b0b8134fc00ed90bc347e87500774edc to your computer and use it in GitHub Desktop.
Save SelvamArul/b0b8134fc00ed90bc347e87500774edc to your computer and use it in GitHub Desktop.
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
@SelvamArul
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment