# xorg.conf for merged framebuffer mode # (Xorg 6.8.1 server configuration file) # Edit this file with caution, see the xorg.config manual page. # (Type "man xorg.conf" at the shell prompt). ######################################################### ## ## ## Modified for use on Notebook Asus A1F series with ## ## SiS 630 chipset (and Linux Mandrake 10.X systems). ## ## --------------- ## ## ## ## To contact me: ## ## ## ## HTTP www.ok--computer.com ## ## E-MAIL me9139@mclink.it ## ## ## ## Luca Boni, last update 16/11/2004 ## ## ## ######################################################### # PLEASE READ CAREFULLY TO AVOID TROUBLES WITH YOUR SYSTEM. # IF YOUR HARDWARE CORRESPOND WITH MINE, ALL WILL BE OK. # CHECK IT FOLLOWING THE LINK SHOWN BELOW. # LEGGETE ATTENTAMENTE QUESTO FILE PER EVITARE MALFUNZIONAMENTI. # SE IL VOSTRO HARDWARE COINCIDE CON IL MIO, NON AVRETE ALCUN PROBLEMA. # VERIFICATELO SU # http://www.ok--computer.com/linux/asus/specification.html Section "Files" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Mandrake 6.0 and later now use a font server independent of # the X server to render fonts, but if the local font server has problems, # we can fall back on these. FontPath "unix/:-1" EndSection Section "ServerFlags" # Allows the server to start up even if the mouse doesn't work Option "AllowMouseOpenFail" "on" # Power management settings .. may cause system hangs Option "OffTime" "99999" Option "StandbyTime" "99999" Option "BlankTime" "99999" Option "SuspendTime" "99999" # Enable (server abort) Option "DontZap" "Off" # Disable something to do with power management events Option "noPM" # Disable / (resolution switching) Option "DontZoom" "Off" EndSection Section "Module" Load "GLcore" # MUST be there if DRI is enabled Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "dri" # Mandrake needs it Load "glx" # Mandrake needs it # Load "bitmap" # No longer needed, driver loads it automatically Load "extmod" Load "record" Load "freetype" Load "speedo" Load "type1" # Load "vbe" # For XFree86 4.1, add these .. # Load "int10" # .. two lines EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "it" Option "XkbVariant" "nodeadkeys" Option "XkbRules" "xfree86" EndSection # NOTE: # The next two sections make possible to use the usb mouse and the # touchpad at the same time. Please disable service harddrake # (checking new hardware) run at boot time if you want to use this, # section, otherwise it will be overwritten. # # NOTA: # Le prossime due sezioni consentono l'impiego contemporaeno del mouse usb # e del touchpad. Per favore disabilitate il servizio harddrake (ricerca # nuovo hardware) eseguito all'avvio se volete usare questa sezione, # altrimenti verra' sovrascritta. Section "InputDevice" Identifier "USB Mouse" Driver "mouse" Option "Protocol" "ImPS/2" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "On" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Touchpad" Driver "synaptics" Option "Protocol" "auto-dev" Option "Device" "/dev/input/event0" Option "TouchpadOff" "0" Option "MinSpeed" "0.02" Option "MaxSpeed" "0.18" Option "FingerLow" "25" Option "FingerHigh" "30" Option "MaxTapTime" "180" Option "MaxTapMove" "110" Option "LeftEdge" "1700" Option "RightEdge" "5300" Option "BottomEdge" "4200" Option "TopEdge" "2000" Option "AccelFactor" "0.0015" Option "VertScrollDelta" "100" Option "UpDownScrooling" "1" Option "SHMConfig" "on" Option "Emulate3Buttons" "On" Option "ZAxisMapping" "4 5" EndSection # ---------------------------------------------------------- # MONITOR section # ---------------------------------------------------------- # This section contains data for monitor configuration. Section "Monitor" Identifier "monitor1" VendorName "Generic" ModelName "Flat Panel 1024x768" # These values are used for CRT1 only. CRT2 gets its own # such ranges in the Device secion (CRT2HSync and CRT2VRefresh) # If these values are not set, DDC2 data will be used (if monitor supports it) # HorizSync 31.5-48.5 # VertRefresh 40-70 # Generally: DO NOT USE MODELINES! They will be ignored. # Modeslines are only needed for modes XFree doesn't provide # a default Modeline for (such as 1280x720 or 512x384); even # such Modelines are only required for keeping X from deleting # the mode from the list, their data will not be used. EndSection # ---------------------------------------------------------- # DEVICE section # ---------------------------------------------------------- # This section contains configuration data of the video card. Section "Device" Identifier "SiS 630" VendorName "SiS" BoardName "630" Driver "sis" Option "DPMS" # Enables SSE extension (waiting for Xorg to detect that) Option "UseSSE" "On" # This option can be used to overcome problems on LCD panels which # might occure on some machines when switching to a virtual console or quitting X. # Option "RestoreBySetMode" "True" # Use alpha blending for color cursor (on 300 series) # Option "ColorHWCursorBlending" "True" # Use color hardware or software cursor (on 300 series) # Option "UseColorHWCursor" "True" # 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" alias "DVI-D" (if LCD panel present), # "VGA" alias "DVI-A" (don't use this unless your machine has a # secondary VGA connector or a DVI-I connector. # The VGA connector on your laptop is CRT1!), # "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. # "SVIDEO" to force the TV output type to be S-VIDEO (SiS video bridges only) # "COMPOSITE" like SVIDEO, but using COMPOSITE output (SiS video bridges only) # "SVIDEO+COMPOSITE" for both (SiS video bridges only) # See documentation for more parameters. # I'm using a 1024x768 LCD panel .. Option "ForceCRT2Type" "LCD" # Setting this option will disable 2D/3D accellerators (and Xv). # Option "NoAccel" # Setting up the AGP aperture size according to the BIOS value. # It is not necessary, but it may prevent "out of memory" errors. # Option "AGPSize" "64" # Only useful on 300 series if DRI is enabled # YOU DON'T NEED THIS ON 315/550/65x/M650/661/740/741/Xabre/760 # 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 # - 12 MB (=12288 KB) if more than 16MB of video RAM available, # - 8 MB (=8192 KB) if between 8 an 16MB if video RAM available, # - 4 MB (=4096 KB) if less than 8 MB of video RAM available. # Other amounts can be specified with sisfb's "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 a small part 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) # If DRI is disabled or the framebuffer driver is not loaded, this option # can and should be left out. # PLEASE READ THE DOCUMENATION ON THIS OPTION. IT IS NOT THAT TRIVIAL. # NON SERVE specificare nulla SE SI USA UNA CONSOLE GRAFICA, ci pensera' sisfb # IMPOSTARE invece l'opzione in base allo schema sopra riportato se NON SI USA UNA CONSOLE GRAFICA # # NO NEED to specify this option if you are USING A GRAPHICAL CONSOLE, sisfb manages memory # SET IT UP if you are NOT USING A GRAPHICAL CONSOLE, following instructions above # We assume to use 32MB of video memory, check in the bios. # Using the virtual screen needs quite much RAM. # Si assume l'impiego di 32MB di memoria video, controlla nel bios. # L'impiego del virtual screen richiede RAM aggiuntiva. Option "MaxXFBMem" "12288" # The difference between MergedFB and MergedFBAuto is that the driver, # if the first of these options are set, will use CRT1 regardless if # a monitor is detected or not. MergedFBAuto will cause the driver to # use MergedFB mode if a monitor is detected, and to disable MergedFB # mode if no monitor is detected. This is most convenient for notebooks. Option "MergedFBAuto" "true" # CRT2 should be left of CRT1 # This can be LeftOf, RightOf, Above, Below or Clone # Default is RightOf Option "CRT2Position" "LeftOf" # MetaModes: Each mode-pair tells the server which modes to use on CRT1 # (left half of pair) and CRT2 (right half of pair). Modes given without # being in a pair will be used on both heads whereas the image will be # cloned. To use eg. 800x600 on both heads, but without cloning, use # 800x600-800x600. # If this option is not given, the largest mode for CRT1 will be merged # with the largest mode for CRT2. Option "MetaModes" "1024x768-1024x768 800x600-1024x768 1024x768-800x600 1024x768 800x600" # These define the capabilities of the CRT2 output device (eg. LCD, TV or # secondary VGA). If CRT2 is LCD or TV, the driver will ignore these values. Option "CRT2HSync" "31-60" Option "CRT2VRefresh" "48-120" # If your font sizes are messed up in MergedFB mode, try either starting # XFree86 with the -dpi switch (see man startx) or adapting the following # statement to your needs. It will force the driver to present a fixed # DPI value to applications, instead of calculating it from DDC data (or # the DisplaySize keyword in the Monitor section) Option "MergedDPI" "100 100" # Set this to disable the Pseudo-Xinerama extension. This extension will # help window managers to place their windows smartly ("window hinting"). # Some unusual MetaMode settings will confuse the window manager if this # extension is enabled. # Option "NoMergedXinerama" "true" # To reverse the screen order for the Pseudo-Xinerama extension, set this # to either true or false. By default, this depends on the relative CRT2 # position. One possible effect of this option is that your login window # may appear on the other display device. # Option "MergedXineramaCRT2IsScreen0" "true" # Can be "NTSC" or "PAL". On some machines with a 30x/B/LV bridge, also # "PALM" (for PAL used in Brasil) or "PALN" (PAL used in Argentina) # Normally, this will be autodetected acoording to the BIOS setting. # Option "TVStandard" "PAL" # Only useful on machines with SiS315, 650, 740 or 330 and only if both CRT1 and # CRT2 are available and connected. # Setting this to "TRUE" will show the Xv video overlay on CRT2, "FALSE" will # show the overlay on CRT1. # Option "XvOnCRT2" "true" # Options for Chrontel TV encoders only (7005 or 7019) --------------- # Only useful on machines with a Chrontel TV encoder # Setting this to "TRUE" will use overscan modes (larger image on the TV) # Normally this is autodetected according to the BIOS setting. # Option "CHTVOverscan" "TRUE" # Not for Chrontel 701x TV encoders! # Only useful if TV standard is PAL # Setting this to "true" will force the driver to use a TV mode which is even # larger than the normal overscan mode. This option overrules the CHTVOverscan # option. Setting it to "FALSE" will make the driver to fall back on the # normal overscan setting (BIOS selection or, if set, the CHTVOverscan setting) # Option "CHTVSuperOverscan" "TRUE" # This option accepts numerical values from 0 to 15 and it adjust the contrast # of the TV image. # Option "CHTVContrast" "10" # Options for SiS video bridges only -------------------- # This option allows adjusting the bridge's anti flicker engine. It accepts # "OFF", "LOW", "MED", "HIGH" and "ADAPTIVE" # Option "SISTVAntiFlicker" "ADAPTIVE" # Option "SISTVSaturation" # This option allows tuning the color saturation of the TV image. It accepts # values from 0 to 15. # Option "SISTVSaturation" "15" # Option "TVXPosOffset" # Useful on machines with SiS6326+TV, Chrontel 700x TV encoder or SiS video # bridge. # This option allows adjusting the TV image's horizontal position. It accepts # values from -32 to 32 (on the 6326 -16 to 16) # Option "TVXPosOffset" "8" # Option "TVYPosOffset" # Like TVXPosOffset, but for vertical adjustments. # Option "TVYPosOffset" "-3" # Enable SiSCtrl utility Option "EnableSiSCtrl" "True" # Please see www.winischhofer.net/linuxsisvga.shtml for more information EndSection # ---------------------------------------------------------- # SCREEN section # ---------------------------------------------------------- # This section defines the available resulutions and depths. # NOTE 1: All modes which are listed in the MetaModes option # in the Device section MUST be listed in the "Display" # subsections, too. If a MetaMode contains a mode which is # not listed here, it will not be used. # NOTE 2: About "Virtual". If this is missing, the driver # will calculate the virtual screen size according to the # MetaModes, ie it will take the largest MetaMode and # assume its size as the desired size of the virtual # screen size. IE: You can leave this out, if you have # somewhat sane MetaModes. Section "Screen" Identifier "screen1" Device "SiS 630" Monitor "monitor1" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Touchpad" "CorePointer" InputDevice "USB Mouse" "SendCoreEvents" Screen "screen1" EndSection # ------------------------------------------------------------ # DRI section: Only needed if DRI is enabled (300 series only) # ------------------------------------------------------------ Section "DRI" Mode 0666 EndSection # end of XF86Config