Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "HorizEdgeScroll" "off" Option "TapButton1" "0" Option "TapButton3" "0" Option "TapButton2" "0" EndSection Section "OutputClass" Identifier "intel" MatchDriver "i915" Driver "modesetting" EndSection Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Driver "nvidia" Option "AllowEmptyInitialConfiguration" "true" Option "PrimaryGPU" "yes" EndSection Section "InputDevice" Identifier "touchpad" Driver "synaptics" Option "TapButton1" "0" Option "TapButton2" "0" Option "TapButton3" "0" Option "VertTwoFingerScroll" "on" Option "HorizTwoFingerScroll" "on" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "extmod" Load "freetype" Load "int10" Load "type1" Load "vbe" Load "extmod" Load "dbe" Load "glx" Load "dri" Load "dri2" # Disable "glamoregl" Load "moddesetting" EndSection Section "Extensions" Option "Composite" "Enable" Option "Render" "Enable" EndSection Section "Monitor" Identifier "DP-0" VendorName "AU Optronics Corporation" ModelName "AUO LCD Monitor" DisplaySize 381 214 # Gamma 2.20 Option "Enable" "true" Option "DPMS" Option "CalcAlgorithm" "IteratePrecisely" Option "Position" "0 0" ModeLine "1920x1080" 149.80 1920 1968 2068 2228 1080 1083 1084 1120 -hsync -vsync ModeLine "1920x1080_60" 149.80 1920 1968 2068 2228 1080 1083 1084 1120 -hsync -vsync EndSection Section "Monitor" Identifier "HDMI-1-2" VendorName "AnyTV" ModelName "AnyModel" Option "Enable" "true" Option "CalcAlgorithm" "IteratePrecisely" Option "Position" "0 0" Modeline "1920x1080_50" 141.50 1920 2032 2232 2544 1080 1083 1088 1114 -hsync +vsync EndSection Section "ServerLayout" Identifier "layout" Screen 0 "nvidia" 0 0 Inactive "intel" InputDevice "touchpad" # Option "SingleCard" "true" EndSection Section "ServerFlags" Option "DefaultServerLayout" "layout" Option "Xinerama" "false" Option "AutoAddGPU" "false" EndSection Section "Device" Identifier "nvidia" Driver "nvidia" BusID "PCI:1:0:0" Screen 0 ## # Currently there is no way to force modesetting not to use eDP-1-1 # hence we face an ultra wide screen 1920x2160 on our physical # 1920x1080 screen as both nvidia and modesetting cause a visible Option "UseDisplayDevice" "none" # ## Option "Monitor-DP-0" "DP-0" Option "ConnectedMonitor" "DP-0, eDP-1-1" Option "CustomEDID" "DP-0:/sys/class/drm/card1-eDP-1/edid" Option "FlatPanelProperties" "Dithering=Auto" Option "IgnoreEDID" "false" Option "UseEDID" "true" Option "DPI" "128x128" Option "ModeValidation" "NoVirtualSizeCheck" Option "RenderAccel" "true" Option "NoRenderExtension" "false" Option "AllowGLXWithComposite" "true" Option "AddARGBGLXVisuals" "true" Option "DamageEvents" "true" Option "ConnectToAcpid" "true" Option "ConstrainCursor" "off" Option "ForceFullCompositionPipeline" "false" Option "IncludeImplicitMetaModes" "off" # Option "MetaModeOrientation" "SamePositionAs" Option "MetaModes" "DP-0:1920x1080_60 +0+0 @1920x1080+0+0 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, PanningTrackingArea=1920x1200+0+0}, NULL; DP-0:1920x1080 +0+0 @1920x1080+0+0 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, PanningTrackingArea=1920x1200+0+0}, NULL; DP-0:nvidia-auto-select +0+0 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, PanningTrackingArea=1920x1200+0+0}, NULL" # Option "ModeDebug" "true" Option "PanAllDisplays" "false" Option "BaseMosaic" "false" EndSection Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" "true" Monitor "DP-0" Option "InitPrimary" "true" SubSection "Display" Depth 24 Virtual 1920 1080 ViewPort 0 0 Modes "1920x1080_60" "1920x1080" "nvidia-auto-select" EndSubSection EndSection Section "Device" Identifier "intel" Driver "modesetting" # Driver "intel" BusID "PCI:0:2:0" # Option "AccelMethod" "none" # Option "ZaphodHeads" "HDMI-1-2,DP-1-2" # Option "Monitor-HDMI-1" "HDMI-1-2" # Option "Monitor-HDMI-1-2" "HDMI-1-2" EndSection Section "Screen" Identifier "intel" Device "intel" Monitor "HDMI-1-2" Monitor "DP-0" SubSection "Display" Depth 24 Virtual 1920 1080 ViewPort 0 0 Modes "1920x1080_60" "1920x1080" "nvidia-auto-select" EndSubSection EndSection