Created
October 20, 2017 13:00
-
-
Save anonymous/c4f57fd8800b544609efff5b607d7d99 to your computer and use it in GitHub Desktop.
xorg.conf.d/10-hybrid.conf
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
cat 10-hybrid.conf | |
Section "ServerLayout" | |
Identifier "layout" | |
# Screen 0 "nvidia" 0 0 | |
# Screen 0 "intel" | |
Screen 1 "nvidia" | |
# InputDevice "Keyboard0" "CoreKeyboard" | |
# InputDevice "Mouse0" "CorePointer" | |
Inactive "intel" | |
Option "Xinerama" "0" | |
EndSection | |
Section "Files" | |
ModulePath "/usr/lib/nvidia/xorg/modules" | |
ModulePath "/usr/lib64/opengl/nvidia" | |
ModulePath "/usr/lib/xorg/modules" | |
EndSection | |
Section "Module" | |
Load "modesetting" | |
# Load "glx" | |
# Load "glamoregl" | |
EndSection | |
Section "InputDevice" | |
# generated from data in "/etc/conf.d/gpm" | |
Identifier "Mouse0" | |
Driver "mouse" | |
Option "Protocol" | |
Option "Device" "/dev/input/mice" | |
Option "Emulate3Buttons" "no" | |
Option "ZAxisMapping" "4 5" | |
EndSection | |
Section "InputDevice" | |
# generated from default | |
Identifier "Keyboard0" | |
Driver "kbd" | |
EndSection | |
Section "Monitor" | |
Identifier "eDP-1" | |
Option "DPMS" | |
# Option "DPI" "96 x 96" | |
VendorName "AUO" | |
ModelName "AU Optronics 15" | |
EndSection | |
Section "Device" | |
BusID "PCI:1:0:0" | |
Option "AllowEmptyInitialConfiguration" | |
Identifier "nvidia" | |
Driver "nvidia" | |
VendorName "NVIDIA Corporation" | |
BoardName "GeForce GTX 1050" | |
# Option "RegistryDwords" "EnableBrightnessControl=1" | |
# Option "TripleBuffer" "True" | |
# Screen 0 | |
# Option "ConstrainCursor" "off" | |
# Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3" | |
# Option "NoLogo" "1" | |
# Option "Coolbits" "1" | |
EndSection | |
Section "Screen" | |
Identifier "nvidia" | |
Device "nvidia" | |
Monitor "eDP-1" | |
DefaultDepth 24 | |
# Option "UseDisplayDevice" "none" | |
SubSection "Display" | |
Depth 24 | |
# Modes "1920x1080" "1600x1200" "1024x768" | |
# Virtual 1920 1080 | |
EndSubSection | |
# Option "AllowEmptyInitialConfiguration" | |
# Option "MultiGPU" "On" | |
EndSection | |
Section "Device" | |
Identifier "intel" | |
Driver "modesetting" | |
BusID "PCI:0:2:0" | |
Option "AccelMethod" "none" | |
# Option "AccelMethod" "glamor" | |
# Option "sna" | |
# Option "uxa" | |
# Option "DRI" "3" | |
# Option "DRI" | |
# #Option "TearFree" "True" | |
# #Option "Tiling" "True" | |
# #Option "SwapbuffersWait" "True" | |
# Screen 0 | |
EndSection | |
Section "Screen" | |
Identifier "intel" | |
Device "intel" | |
Monitor "eDP-1" | |
# Option "MultiGPU" "On" | |
EndSection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment