Skip to content

Instantly share code, notes, and snippets.

@sheosi
Created June 7, 2020 15:24
Show Gist options
  • Save sheosi/7c00588242fe3459ce0f7de4828d0525 to your computer and use it in GitHub Desktop.
Save sheosi/7c00588242fe3459ce0f7de4828d0525 to your computer and use it in GitHub Desktop.
Enable prime render, put into /etc/X11/xorg.conf.d/
Section "ServerLayout"
Identifier "layout"
Screen 0 "iGPU"
EndSection
Section "Screen"
Identifier "iGPU"
Device "iGPU"
EndSection
Section "ServerLayout"
Identifier "layout"
Option "AllowNVIDIAGPUScreens"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment