Index of contents:
Sample for Single Display Mode
Section "ServerLayout" Identifier "X.org Configured" Option "RandR" "false" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc/" FontPath "/usr/share/fonts/X11/TTF/" FontPath "/usr/share/fonts/X11/OTF" FontPath "/usr/share/fonts/X11/Type1/" FontPath "/usr/share/fonts/X11/100dpi/" FontPath "/usr/share/fonts/X11/75dpi/" EndSection Section "Module" Load "dri" Load "dbe" Load "extmod" Load "record" Load "glx" Load "xtrap" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" Identifier "Card0" Driver "via" Option "ActiveDevice" "CRT" Option "AccelMethod" "EXA" Option "RenderAccel" "True" Option "AllowGLXWithComposite" "True" VendorName "VIA Technologies, Inc." EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Modes "1024x768" Depth 24 EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" EndSection
Sample for Dwo-View Display Mode
Take CRT + Internal LCD for example,
Section "ServerLayout" Identifier "X.org Configured" Option "RandR" "false" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc/" FontPath "/usr/share/fonts/X11/TTF/" FontPath "/usr/share/fonts/X11/OTF" FontPath "/usr/share/fonts/X11/Type1/" FontPath "/usr/share/fonts/X11/100dpi/" FontPath "/usr/share/fonts/X11/75dpi/" EndSection Section "Module" Load "dri" Load "dbe" Load "extmod" Load "record" Load "glx" Load "xtrap" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" Identifier "Card0" Driver "via" Option "ActiveDevice" "CRT,LCD" Option "PanelSize" "1024x768" Option "LCDPort" "LVDS0" # "DVP1" for external LCD #Option "LCD_MSB_ENABLE" # If there is garbage, enable this option #Option "DualChannel" "True" # For dual channel LCD VendorName "VIA Technologies, Inc." EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Modes "1024x768" Depth 24 EndSubSection EndSection
Sample for SAMM/DIH Display Mode
Take CRT + Internal LCD for example,
Section "ServerLayout" Identifier "X.org Configured" Option "RandR" "false" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" RightOf "Screen0" Option "Xinerama" "on" // Remove this option for DIH display mode InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc/" FontPath "/usr/share/fonts/X11/TTF/" FontPath "/usr/share/fonts/X11/OTF" FontPath "/usr/share/fonts/X11/Type1/" FontPath "/usr/share/fonts/X11/100dpi/" FontPath "/usr/share/fonts/X11/75dpi/" EndSection Section "Module" Load "dri" Load "dbe" Load "extmod" Load "record" Load "glx" Load "xtrap" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" Modeline "640x480_75.00" 30.75 640 664 728 816 480 483 487 504 -hsync +vsync Modeline "1024x768_85.00" 94.50 1024 1096 1200 1376 768 771 775 809 -hsync +vsync Modeline "1920x1200R" 154.00 1920 1968 2000 2080 1200 1203 1209 1235 +hsync -vsync EndSection Section "Device" BusID "PCI:00:01:00" Identifier "Card0" Driver "via" Option "ActiveDevice" "CRT,LCD" Option "LCDPort" "LVDS0" Option "PanelSize" "1024x768" Option "LCD_MSB_ENABLE" VendorName "VIA Technologies, Inc." Screen 0 EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Modes "1024x768" Depth 24 EndSubSection EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Monitor Model" Modeline "640x480_75.00" 30.75 640 664 728 816 480 483 487 504 -hsync +vsync Modeline "1024x768_85.00" 94.50 1024 1096 1200 1376 768 771 775 809 -hsync +vsync Modeline "1920x1200R" 154.00 1920 1968 2000 2080 1200 1203 1209 1235 +hsync -vsync EndSection Section "Device" BusID "PCI:00:01:00" Identifier "Card1" Driver "via" Option "ActiveDevice" "CRT,LCD" Option "LCDPort" "LVDS0" Option "PanelSize" "1024x768" Option "LCD_MSB_ENABLE" VendorName "VIA Technologies, Inc." Screen 1 EndSection Section "Screen" Identifier "Screen1" Device "Card1" Monitor "Monitor1" DefaultDepth 24 SubSection "Display" Modes "1024x768" Depth 24 EndSubSection EndSection