Skip to content

Instantly share code, notes, and snippets.

@yaliv
Created August 27, 2019 03:48
Show Gist options
  • Save yaliv/8948a8c5f733c4d7d2bbc356daff0a80 to your computer and use it in GitHub Desktop.
Save yaliv/8948a8c5f733c4d7d2bbc356daff0a80 to your computer and use it in GitHub Desktop.
Discrete card as primary GPU - Asus TUF Gaming FX505DU
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 430.26
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
Inactive "Device1"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "1"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Option "AllowEmptyInitialConfiguration"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Device"
Identifier "Device1"
Driver "amdgpu"
BusID "PCI:5:0:0"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
EndSection
Section "Extensions"
Option "COMPOSITE" "Enable"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment