Created
March 18, 2021 17:54
-
-
Save sar/9b154685b914b3d8064c6605d8c5f5b1 to your computer and use it in GitHub Desktop.
cat /etc/X11/xorg.conf.d/10-nvidia.conf
This file contains hidden or 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
# ------------------------- | |
# NVIDIA X11 Config | |
# path: /etc/X11/xorg.conf.d/10-nvidia.conf | |
# ------------------------- | |
Section "OutputClass" | |
Identifier "nvidia" | |
MatchDriver "nvidia-drm" | |
Driver "nvidia" | |
Option "AllowEmptyInitialConfiguration" | |
Option "PrimaryGPU" "yes" | |
Option "SLI" "Auto" | |
Option "AllowExternalGpus" "True" | |
Option "BaseMosaic" "on" | |
EndSection | |
Section "OutputClass" | |
Identifier "intel" | |
MatchDriver "i915" | |
Driver "modesetting" | |
Option "TearFree" "true" | |
Option "PrimaryGPU" "no" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment