Created
May 14, 2023 16:01
-
-
Save 4JX/ec3b37198fdc5900ac258ca99ce0e068 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
# -- Snip -- | |
Section "ServerLayout" | |
Identifier "Layout[all]" | |
Option "AllowNVIDIAGPUScreens" | |
# Reference the Screen sections for each driver. This will | |
# cause the X server to try each in turn. | |
Screen "Screen-modesetting[0]" | |
Screen "Screen-amdgpu[0]" | |
EndSection | |
# For each supported driver, add a "Device" and "Screen" | |
# section. | |
Section "Device" | |
Identifier "Device-modesetting[0]" | |
Driver "modesetting" | |
EndSection | |
Section "Screen" | |
Identifier "Screen-modesetting[0]" | |
Device "Device-modesetting[0]" | |
EndSection | |
Section "Device" | |
Identifier "Device-amdgpu[0]" | |
Driver "amdgpu" | |
BusID "PCI:6:0:0" | |
EndSection | |
Section "Screen" | |
Identifier "Screen-amdgpu[0]" | |
Device "Device-amdgpu[0]" | |
EndSection | |
Section "Device" | |
Identifier "Device-nvidia[0]" | |
Driver "nvidia" | |
BusID "PCI:1:0:0" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment