Advertisement
h3xx

xorg.conf

May 7th, 2011
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # File generated by xf86config.
  2. #
  3. # Copyright (c) 1999 by The XFree86 Project, Inc.
  4. #
  5. # Permission is hereby granted, free of charge, to any person obtaining a
  6. # copy of this software and associated documentation files (the "Software"),
  7. # to deal in the Software without restriction, including without limitation
  8. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  9. # and/or sell copies of the Software, and to permit persons to whom the
  10. # Software is furnished to do so, subject to the following conditions:
  11. #
  12. # The above copyright notice and this permission notice shall be included in
  13. # all copies or substantial portions of the Software.
  14. #
  15. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
  18. # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  19. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  20. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  21. # SOFTWARE.
  22. #
  23. # Except as contained in this notice, the name of the XFree86 Project shall
  24. # not be used in advertising or otherwise to promote the sale, use or other
  25. # dealings in this Software without prior written authorization from the
  26. # XFree86 Project.
  27. #
  28. # **********************************************************************
  29. # Refer to the XF86Config(4/5) man page for details about the format of
  30. # this file.
  31. # **********************************************************************
  32. # NOTE:  This is a NEW IMPROVED version of XF86Config-fbdev that uses the vesa
  33. # driver instead of the fbdev driver.  Thanks to Kenneth Fanyo who pointed
  34. # this out to me. :)
  35. # This XF86Config file is designed for use with the VESA framebuffer.
  36. # This generic interface should work with nearly all video cards
  37. # (although not every card will support every resolution).
  38. # With the new driver, it should no longer be required to have frame buffer
  39. # support in the kernel, or to run it on the console.
  40. #
  41. # Enjoy! :)
  42. # -- volkerdi@slackware.com
  43.  
  44. # **********************************************************************
  45. # ServerLayout sections.
  46. # **********************************************************************
  47. # Any number of ServerLayout sections may be present.  Each describes
  48. # the way multiple screens are organised.  A specific ServerLayout
  49. # section may be specified from the X server command line with the
  50. # "-layout" option.  In the absence of this, the first section is used.
  51. # When now ServerLayout section is present, the first Screen section
  52. # is used alone.
  53.  
  54. Section "ServerLayout"
  55.     Identifier  "X.org Configured"
  56.     Screen      0   "Screen0"   0 0
  57.     InputDevice "Mouse0" "CorePointer"
  58.     InputDevice "Keyboard0" "CoreKeyboard"
  59. EndSection
  60.  
  61. # **********************************************************************
  62. # Files section.  This allows default font and rgb paths to be set
  63. # **********************************************************************
  64.  
  65. Section "Files"
  66.  
  67. # The location of the RGB database.  Note, this is the name of the
  68. # file minus the extension (like ".txt" or ".db").  There is normally
  69. # no need to change the default.
  70. #   RgbPath     "/usr/lib/X11/rgb"
  71. # Multiple FontPath entries are allowed (which are concatenated together),
  72. # as well as specifying multiple comma-separated entries in one FontPath
  73. # command (or a combination of both methods)
  74. #
  75. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  76. # programs take long to start up, try moving the Type1 and Speedo directory
  77. # to the end of this list (or comment them out).
  78. #
  79.     ModulePath  "/usr/lib64/xorg/modules"
  80.     FontPath    "/usr/share/fonts/TTF"
  81.     FontPath    "/usr/share/fonts/OTF"
  82.     FontPath    "/usr/share/fonts/Type1"
  83.     FontPath    "/usr/share/fonts/misc"
  84.     FontPath    "/usr/share/fonts/misc/:unscaled"
  85.     FontPath    "/usr/share/fonts/Speedo"
  86.     FontPath    "/usr/share/fonts/cyrillic"
  87.     FontPath    "/usr/share/fonts/75dpi"
  88.     FontPath    "/usr/share/fonts/75dpi/:unscaled"
  89.     FontPath    "/usr/share/fonts/100dpi"
  90.     FontPath    "/usr/share/fonts/100dpi/:unscaled"
  91. EndSection
  92.  
  93. # **********************************************************************
  94. # Module section -- this  section  is used to specify
  95. # which dynamically loadable modules to load.
  96. # **********************************************************************
  97.  
  98. Section "Module"
  99.  
  100. # This loads the DBE extension module.
  101. # This loads the GLX module
  102.     Load    "dbe"
  103. # This loads the miscellaneous extensions module
  104.     Load    "extmod"
  105. # This loads the font modules
  106.     Load    "type1"
  107.     Load    "freetype"
  108. #   Load    "speedo"
  109.     Load    "glx"
  110.     Load    "dri2"
  111.     Load    "dri"
  112. EndSection
  113.  
  114. # **********************************************************************
  115. # Server flags section.
  116. # **********************************************************************
  117.  
  118. Section "ServerFlags"
  119.  
  120. # Uncomment this to cause a core dump at the spot where a signal is
  121. # received.  This may leave the console in an unusable state, but may
  122. # provide a better stack trace in the core dump to aid in debugging
  123. #   Option  "NoTrapSignals"
  124. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  125. # (where n is 1 through 12).  This allows clients to receive these key
  126. # events.
  127. #   Option  "DontVTSwitch"
  128. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  129. # This allows clients to receive this key event.
  130. #   Option  "DontZap"
  131. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  132. # sequences.  This allows clients to receive these key events.
  133. #   Option  "DontZoom"
  134. # Uncomment this to disable tuning with the xvidtune client. With
  135. # it the client can still run and fetch card and monitor attributes,
  136. # but it will not be allowed to change them. If it tries it will
  137. # receive a protocol error.
  138. #   Option  "DisableVidModeExtension"
  139. # Uncomment this to enable the use of a non-local xvidtune client.
  140. #   Option  "AllowNonLocalXvidtune"
  141. # Uncomment this to disable dynamically modifying the input device
  142. # (mouse and keyboard) settings.
  143. #   Option  "DisableModInDev"
  144. # Uncomment this to enable the use of a non-local client to
  145. # change the keyboard or mouse settings (currently only xset).
  146. #   Option  "AllowNonLocalModInDev"
  147. # Set the basic blanking screen saver timeout.
  148. #   Option  "blank time"    "10"    # 10 minutes
  149. # Set the DPMS timeouts.  These are set here because they are global
  150. # rather than screen-specific.  These settings alone don't enable DPMS.
  151. # It is enabled per-screen (or per-monitor), and even then only when
  152. # the driver supports it.
  153. #   Option  "standby time"  "20"
  154. #   Option  "suspend time"  "30"
  155. # On some platform the server needs to estimate the sizes of PCI
  156. # memory and pio ranges. This is done by assuming that PCI ranges
  157. # don't overlap. Some broken BIOSes tend to set ranges of inactive
  158. # devices wrong. Here one can adjust how aggressive the assumptions
  159. # should be. Default is 0.
  160. #   Option  "EstimateSizesAggresively" "0"
  161. # These are here because the keyboard and mouse that were supposed to be
  162. # detected by th HAL subsystem for some reason weren't found. I believe this is
  163. # because of the 64-bit upgrades. These options force the server to use the
  164. # options specified in this file.
  165.     Option  "off time" "10"
  166.     Option  "AllowEmptyInput" "false"
  167.     Option  "AutoAddDevices" "false"
  168.     Option  "Xinerama" "off"
  169. EndSection
  170.  
  171. # **********************************************************************
  172. # Input devices
  173. # **********************************************************************
  174.  
  175. # **********************************************************************
  176. # Core keyboard's InputDevice section
  177. # **********************************************************************
  178.  
  179. Section "InputDevice"
  180.     Identifier  "Keyboard0"
  181.     Driver  "kbd"
  182.     Option  "XLeds" "1 2 3"
  183. EndSection
  184.  
  185. # **********************************************************************
  186. # Core Pointer's InputDevice section
  187. # **********************************************************************
  188.  
  189. Section "InputDevice"
  190.     Identifier  "Mouse0"
  191.     Driver  "mouse"
  192.     Option  "Protocol"  "auto"
  193.     Option  "Device"    "/dev/input/mice"
  194.     Option  "ZAxisMapping"  "4 5 6 7"
  195. EndSection
  196.  
  197. # **********************************************************************
  198. # Monitor section
  199. # **********************************************************************
  200. # Any number of monitor sections may be present
  201.  
  202. Section "Monitor"
  203.  
  204.     DisplaySize 470 300 # mm
  205.     Identifier  "Monitor0"
  206.     VendorName  "WDE"
  207.     ModelName   "LCM-22w3"
  208.     HorizSync   30.0 - 82.0
  209.     VertRefresh 56.0 - 76.0
  210.     Option      "DPMS"
  211. # this is an attempt to address incorrect modes from EDID
  212. #   Option      "ModeValidation"    "NoEdidModes"
  213. #   Option      "UseEdid"       "false"
  214. # (self-calculated modeline)
  215. # ModeLine "1680x1050_60" 154.20 1680 1712 2296 2328 1050 1071 1081 1103
  216. # (copied from generic settings
  217. #ModeLine "1680x1050_60" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
  218. ModeLine "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
  219. EndSection
  220.  
  221. # **********************************************************************
  222. # Graphics device section
  223. # **********************************************************************
  224. # Any number of graphics device sections may be present
  225.  
  226. Section "Device"
  227.  
  228.     ### Available Driver options are:-
  229.     ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  230.     ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  231.     ### [arg]: arg optional
  232.     #Option     "AGPFastWrite"      # [<bool>]
  233.     #Option     "AGPMode"       # <i>
  234.     #Option     "AGPSize"       # <i>
  235.     #Option     "ATOMTVOut"     # [<bool>]
  236.     #Option     "AccelDFS"      # [<bool>]
  237.     #Option     "AccelMethod"       # <str>
  238.     #Option     "BufferSize"        # <i>
  239.     #Option     "BusType"       # [<str>]
  240.     #Option     "CPPIOMode"     # [<bool>]
  241.     #Option     "CPusecTimeout"     # <i>
  242.     #Option     "ColorTiling"       # [<bool>]
  243.     #Option     "ConnectorTable"    # <str>
  244.     #Option     "DMAForXv"      # [<bool>]
  245.     #Option     "DRI"           # [<bool>]
  246.     #Option     "Dac6Bit"       # [<bool>]
  247.     #Option     "Dac8Bit"       # [<bool>]
  248.     #Option     "DefaultConnectorTable" # [<bool>]
  249.     #Option     "DefaultTMDSPLL"    # [<bool>]
  250.     #Option     "DefaultTVDACAdj"   # [<bool>]
  251.     #Option     "DepthBits"     # <i>
  252.     #Option     "DisplayPriority"   # [<str>]
  253.     #Option     "DynamicClocks"     # [<bool>]
  254.     #Option     "EXAVSync"      # [<bool>]
  255.     #Option     "EnableDepthMoves"  # [<bool>]
  256.     #Option     "EnablePageFlip"    # [<bool>]
  257.     #Option     "FBTexPercent"      # <i>
  258.     #Option     "ForceMinDotClock"  # <freq>
  259.     #Option     "ForceTVOut"        # [<bool>]
  260.     #Option     "GARTSize"      # <i>
  261.     #Option     "IgnoreEDID"        # [<bool>]
  262.     #Option     "IgnoreLidStatus"   # [<bool>]
  263.     #Option     "Int10"         # [<bool>]
  264.     #Option     "LVDSProbePLL"      # [<bool>]
  265.     #Option     "NoAccel"       # [<bool>]
  266.     #Option     "NoBackBuffer"      # [<bool>]
  267.     #Option     "PCIAPERSize"       # <i>
  268.     #Option     "PanelSize"     # [<str>]
  269.     #Option     "R4xxATOM"      # [<bool>]
  270.     #Option     "RageTheatreCompositePort" # <i>
  271.     #Option     "RageTheatreCrystal"    # <i>
  272.     #Option     "RageTheatreMicrocPath" # <str>
  273.     #Option     "RageTheatreMicrocType" # <str>
  274.     #Option     "RageTheatreSVideoPort" # <i>
  275.     #Option     "RageTheatreTunerPort"  # <i>
  276.     #Option     "RenderAccel"       # [<bool>]
  277.     #Option     "ReverseDDC"        # [<bool>]
  278.     #Option     "RingSize"      # <i>
  279.     #Option     "SWcursor"      # [<bool>]
  280.     #Option     "ScalerWidth"       # <i>
  281.     #Option     "ShowCache"     # [<bool>]
  282.     #Option     "SubPixelOrder"     # [<str>]
  283.     #Option     "TVDACLoadDetect"   # [<bool>]
  284.     #Option     "TVStandard"        # <str>
  285.     #Option     "TunerType"     # <i>
  286.     #Option     "VGAAccess"     # [<bool>]
  287.     #Option     "VideoKey"      # <i>
  288.     Identifier  "Card0"
  289.     Driver      "radeonhd"
  290.     VendorName  "ATI Technologies Inc"
  291.     BoardName   "Radeon HD 3200 (integrated)"
  292.     BusID       "PCI:1:5:0"
  293.     Option      "UseEdid"       "false"
  294.     Option      "IgnoreEdid"        "true"
  295. EndSection
  296.  
  297. Section "Device"
  298.  
  299.     Identifier  "Card1"
  300.     Driver      "fglrx"
  301.     VendorName  "ATI Technologies Inc"
  302.     BoardName   "Radeon HD 4870"
  303.     Option      "Monitor-CRT1" "Monitor0"
  304. # 0 -> default  FireGL workstation boards; fast operation
  305. # 1 -> on   fast operation
  306. # 2 -> off  compatible operation
  307.     #Option     "UseFastTLS"    "2"
  308.     BusID       "PCI:1:0:0"
  309. EndSection
  310.  
  311. # **********************************************************************
  312. # Screen sections
  313. # **********************************************************************
  314. # Any number of screen sections may be present.  Each describes
  315. # the configuration of a single screen.  A single specific screen section
  316. # may be specified from the X server command line with the "-screen"
  317. # option.
  318.  
  319. Section "Screen"
  320.  
  321.     Identifier  "Screen0"
  322.     Device      "Card1"
  323.     Monitor     "Monitor0"
  324. #   DefaultDepth    8
  325. #   DefaultDepth    16
  326.     DefaultDepth    24
  327. #   DefaultDepth    32
  328. # Enables XAA (X Acceleration Architecture), a mechanism that makes video
  329. # cards' 2D hardware acceleration available to the Xorg server. This option is
  330. # on by default.
  331.     Option      "Accel"
  332. # If your card can handle it, a higher default color depth (like 24 or 32)
  333. # is highly recommended.
  334.     SubSection "Display"
  335.         Viewport   0 0
  336.         Depth     1
  337.         Modes    "1680x1050"
  338.     EndSubSection
  339.     SubSection "Display"
  340.         Viewport   0 0
  341.         Depth     4
  342.         Modes    "1680x1050"
  343.     EndSubSection
  344.     SubSection "Display"
  345.         Viewport   0 0
  346.         Depth     8
  347.         Modes    "1680x1050"
  348.     EndSubSection
  349.     SubSection "Display"
  350.         Viewport   0 0
  351.         Depth     16
  352.         Modes    "1680x1050"
  353.     EndSubSection
  354.     SubSection "Display"
  355.         Viewport   0 0
  356.         Depth     24
  357.         Modes    "1680x1050"
  358.     EndSubSection
  359.     SubSection "Display"
  360.         Viewport   0 0
  361.         Depth     32
  362.         Modes    "1680x1050"
  363.     EndSubSection
  364. EndSection
  365.  
  366. Section "DRI"
  367.     Group       "video"
  368.     Mode        0660
  369. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement