Advertisement
h3xx

xorg.conf

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