diff options
author | Feresey | 2019-09-01 20:26:50 +0300 |
---|---|---|
committer | Feresey | 2019-09-01 20:26:50 +0300 |
commit | 5956abeb2618fa1fde2b970648a427df62aba1b2 (patch) | |
tree | d8b892f428858bb07ed5ec7765eb27b9e98cc38a /10-nvidia.conf | |
parent | 2db2cd975e71e81ad83f533f24bece4631916a48 (diff) | |
download | aur-5956abeb2618fa1fde2b970648a427df62aba1b2.tar.gz |
add install file, correct conf
Diffstat (limited to '10-nvidia.conf')
-rw-r--r-- | 10-nvidia.conf | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/10-nvidia.conf b/10-nvidia.conf index 4e05a88931f6..fa8cbf8cbaf7 100644 --- a/10-nvidia.conf +++ b/10-nvidia.conf @@ -1,13 +1,12 @@ +# Do not edit this file! +# It will be rewrite after the upgrade + Section "ServerLayout" Identifier "Layout0" Option "AllowNVIDIAGPUScreens" Screen 0 "iGPU" 0 0 EndSection -Section "ServerFlags" - # Option "IgnoreABI" "1" -EndSection - Section "Device" Identifier "iGPU" Driver "modesetting" @@ -17,20 +16,31 @@ EndSection Section "Device" Identifier "dGPU" Driver "nvidia" - Option "AllowEmptyInitialConfiguration" "True" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "iGPU" Device "iGPU" - # Monitor "Monitor0" DefaultDepth 24 - # Option "VSync" "True" # [<bool>] SubSection "Display" Viewport 0 0 - Depth 24 - # Modes "1920x1080" EndSubSection EndSection +Section "OutputClass" + Identifier "iGPU" + MatchDriver "i915" + Driver "modesetting" +EndSection + +Section "OutputClass" + Identifier "dGPU" + MatchDriver "nvidia-drm" + Driver "nvidia" + Option "AllowEmptyInitialConfiguration" + Option "PrimaryGPU" "yes" + ModulePath "/usr/lib/nvidia/xorg" + ModulePath "/usr/lib/xorg/modules" +EndSection + |