#----------------------------------------------------------------------------- # # /etc/X11/XF86Config for dual head # # Xinerama and Virtual Screen entry can be safely changed # #----------------------------------------------------------------------------- Section "Files" FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi" EndSection #----------------------------------------------------------------------------- Section "ServerFlags" Option "AllowMouseOpenFail" # Option "noPM" # Option "BlankTime" "99999" # Option "StandbyTime" "99999" # Option "SuspendTime" "99999" # Option "OffTime" "99999" EndSection #----------------------------------------------------------------------------- Section "Module" Load "ddc" Load "GLcore" Load "dbe" Load "dri" Load "extmod" Load "glx" # Load "pex5" Load "record" # Load "xie" Load "bitmap" Load "freetype" Load "speedo" Load "type1" Load "vbe" Load "int10" EndSection #----------------------------------------------------------------------------- Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc104" Option "XkbLayout" "de" Option "XkbVariant" "nodeadkeys" EndSection Section "InputDevice" Identifier "Builtin Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/psaux" Option "Protocol" "PS/2" EndSection Section "InputDevice" Identifier "USB Mouse" Driver "mouse" Option "SendCoreEvents" "true" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" EndSection #----------------------------------------------------------------------------- Section "Monitor" Identifier "Intern" VendorName "JVC" ModelName "JVC intern" VertRefresh 50-75 HorizSync 30-90 EndSection Section "Monitor" Identifier "Extern" VendorName "Extern" ModelName "External Monitor" VertRefresh 50-100 HorizSync 30-64 # Option "DPMS" EndSection #----------------------------------------------------------------------------- Section "Device" Driver "sis" Identifier "SiS 630-1" VendorName "SiS" BoardName "630" Option "HWcursor" # Setting this option will disable 2D/3D accellerators (and Xv). #Option "NoAccel" # Setting this option will disable the TurboQueue. #Option "TurboQueue" "false" # Option "ForceCRT2Type": # This option selects the CRT2 output device type and is only useful # on systems containing a video bridge (such as most laptops). # Available options are: # "TV" (if TV connector present), # "LCD" (if LCD panel present), # "VGA" (don't use this; it is unlikely that you need it because this # would require a SECOND VGA connector on your computer; the # connector on laptops is CRT1!) or # "NONE" (this will switch off CRT2). You might want to use "NONE" for # using higher resolutions than your LCD panel supports when # connected to an external VGA. If using "NONE", adjust the settings # in the monitor section above. #Option "ForceCRT2Type" "NONE" Option "ForceCRT1" "TRUE" # Option "VESA": # Since SiS does not provide information on their products, the driver # may have problems with newer chipsets or video bridges. If this is # the case, set this option to "true". #Option "Vesa" "false" # Option "MaxXFBMem": # This option limits the amount of memory X uses for its framebuffer. # Its purpose is to avoid a clash between X and DRI/DRM/sisfb as regards # memory management. # The SiS kernel framebuffer driver (sisfb) is responsible for memory # management for DRI. It will install a video memory heap at 8MB # if there's more video RAM than 8MB available. Otherwise, the heap will # start at 4MB. Other amounts can be specified with the "mem" parameter. # If this option is set, X only uses the specified amount of memory for # its screen and its off-screen buffers. # Limiting X to use only the first 8/4MB of RAM therefore avoids that # the kernel framebuffer (and a DRI application using the sisfb's # memory pool) overwrites X's screen and off-screen memory. # When setting MaxXFBMem to "8192", memory will be used according # to the following figure: # 0-------8------16------24------32------40------48--------56-------64MB # XXXXXXXX # FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF # (X=memory used by X, F=memory used by sisfb and thus DRI) # In case DRI is to be used, this option should be set to 8192 if more than # 8 MB of video RAM available, otherwise to 4096. (The values mean KB.) # If DRI is disabled and the framebuffer driver is not loaded, this option # can and should be left out. Option "MaxXFBMem" "12288" #Option "PanelDelayCompensation" "24" # For dual head mode, BusID has to be specified! Check this using lspci! BusID "PCI:1:00:0" # "Screen" selects the screen number for this device in dual head mode # Screen 0 is master (always CRT2) Screen 0 EndSection Section "Device" Driver "sis" Identifier "SiS 630-2" # For dual head mode, BusID must be specified! BusID "PCI:1:00:0" # Generally: Set all the options you need in the master # section, not here. See above. # "Screen" selects the screen number for this device in dual head mode # Screen 1 is slave (always CRT1 = external VGA) Screen 1 EndSection #----------------------------------------------------------------------------- Section "Screen" Identifier "Screen1" Device "SiS 630-1" Monitor "Intern" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1024x600" # Virtual 1024 768 EndSubSection EndSection Section "Screen" Identifier "Screen2" Device "SiS 630-2" Monitor "Extern" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1024x768" EndSubSection EndSection #----------------------------------------------------------------------------- Section "ServerLayout" Identifier "Default Layout" Screen "Screen1" Screen "Screen2" LeftOf "Screen1" # This enables Xinerama. If you don't set this to "on", startx will spawn # two indepentent X screens. In Xinerama mode, both screens are virtually # one screen. # Option "Xinerama" "on" InputDevice "Generic Keyboard" InputDevice "Builtin Mouse" InputDevice "USB Mouse" EndSection #----------------------------------------------------------------------------- Section "DRI" Mode 0666 EndSection #-- THE END ------------------------------------------------------------------