Skip to content

Instantly share code, notes, and snippets.

@zfogg
Created October 18, 2020 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zfogg/78001efb67e0c38ad451088c106e8586 to your computer and use it in GitHub Desktop.
Save zfogg/78001efb67e0c38ad451088c106e8586 to your computer and use it in GitHub Desktop.
Reverse Prime Xorg config
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
Inactive "nvidia"
Option "AllowNVIDIAGPUScreens"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "AllowEmptyInitialConfiguration"
Option "NVreg_DynamicPowerManagement=0x02"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment