LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1065|回复: 11

[求教]关于xorg

[复制链接]
发表于 2007-4-10 14:52:46 | 显示全部楼层 |阅读模式
这星期重装了系统,被死机问题折磨的不行了.经过反复测试,发现用hwd生成的xorg.confg文件启动X,在打开某一图形界面的时候 如:用rhymbox载入mp3的时候或者是用vi编辑文本的死后死机情况比较频繁,但是用xorgconfig 配置出来的xorg.conf就没这个问题,不知道问题是不是出在键盘上,只要配置的时候不选择pc105的键盘就不会死,如果是用xorgconfig配置,选择了pc105的键盘也会死机(hwd生成的xorg.conf里所选的键盘是pc105的).但是用xorgconfig生成的xorg.confg文件加载nvida驱动的时候貌似有点问题。
xorgconfig生成de xorg.conf配置如下:(没加载nvidia驱动)

  1. Section "Module"

  2. # This loads the DBE extension module.

  3.     Load        "dbe"   # Double buffer extension

  4. # This loads the miscellaneous extensions module, and disables
  5. # initialisation of the XFree86-DGA extension within that module.
  6.     SubSection  "extmod"
  7.       Option    "omit xfree86-dga"   # don't initialise the DGA extension
  8.     EndSubSection

  9. # This loads the font modules
  10. #    Load        "type1"
  11.     Load        "freetype"
  12. #    Load        "xtt"

  13. # This loads the GLX module
  14. #    Load       "glx"
  15. # This loads the DRI module
  16. #    Load       "dri"

  17. EndSection

  18. # **********************************************************************
  19. # Files section.  This allows default font and rgb paths to be set
  20. # **********************************************************************

  21. Section "Files"

  22. # The location of the RGB database.  Note, this is the name of the
  23. # file minus the extension (like ".txt" or ".db").  There is normally
  24. # no need to change the default.

  25. #    RgbPath    "/usr/share/X11/rgb"

  26. # Multiple FontPath entries are allowed (which are concatenated together),
  27. # as well as specifying multiple comma-separated entries in one FontPath
  28. # command (or a combination of both methods)
  29. #
  30. #

  31.     FontPath   "/usr/share/fonts/misc"
  32.     FontPath   "/usr/share/fonts/100dpi:unscaled"
  33.     FontPath   "/usr/share/fonts/75dpi:unscaled"
  34.     FontPath   "/usr/share/fonts/TTF"
  35. #    FontPath   "/usr/share/fonts/Type1"
  36. #    FontPath   "/usr/lib/X11/fonts/local/"
  37. #    FontPath   "/usr/lib/X11/fonts/misc/"
  38. #    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
  39. #    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
  40. #    FontPath   "/usr/lib/X11/fonts/Speedo/"
  41. #    FontPath   "/usr/lib/X11/fonts/Type1/"
  42. #    FontPath   "/usr/lib/X11/fonts/TrueType/"
  43. #    FontPath   "/usr/lib/X11/fonts/freefont/"
  44. #    FontPath   "/usr/lib/X11/fonts/75dpi/"
  45. #    FontPath   "/usr/lib/X11/fonts/100dpi/"

  46. # The module search path.  The default path is shown here.

  47. #    ModulePath "/usr/lib/modules"

  48. EndSection

  49. # **********************************************************************
  50. # Server flags section.
  51. # **********************************************************************

  52. Section "ServerFlags"

  53. # Uncomment this to cause a core dump at the spot where a signal is
  54. # received.  This may leave the console in an unusable state, but may
  55. # provide a better stack trace in the core dump to aid in debugging

  56. #    Option "NoTrapSignals"

  57. # Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
  58. # (where n is 1 through 12).  This allows clients to receive these key
  59. # events.

  60. #    Option "DontVTSwitch"

  61. # Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
  62. # This allows clients to receive this key event.

  63. #    Option "DontZap"

  64. # Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
  65. # sequences.  This allows clients to receive these key events.

  66. #    Option "Dont Zoom"

  67. # Uncomment this to disable tuning with the xvidtune client. With
  68. # it the client can still run and fetch card and monitor attributes,
  69. # but it will not be allowed to change them. If it tries it will
  70. # receive a protocol error.

  71. #    Option "DisableVidModeExtension"

  72. # Uncomment this to enable the use of a non-local xvidtune client.

  73. #    Option "AllowNonLocalXvidtune"

  74. # Uncomment this to disable dynamically modifying the input device
  75. # (mouse and keyboard) settings.

  76. #    Option "DisableModInDev"

  77. # Uncomment this to enable the use of a non-local client to
  78. # change the keyboard or mouse settings (currently only xset).

  79. #    Option "AllowNonLocalModInDev"

  80. EndSection

  81. # **********************************************************************
  82. # Input devices
  83. # **********************************************************************

  84. # **********************************************************************
  85. # Core keyboard's InputDevice section
  86. # **********************************************************************

  87. Section "InputDevice"

  88.     Identifier  "Keyboard1"
  89.     Driver      "kbd"

  90. # For most OSs the protocol can be omitted (it defaults to "Standard").
  91. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  92. # uncomment the following line.

  93. #    Option     "Protocol"      "Xqueue"

  94.     Option "AutoRepeat" "500 30"

  95. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  96. #    Option     "Xleds"      "1 2 3"

  97. #    Option "LeftAlt"     "Meta"
  98. #    Option "RightAlt"    "ModeShift"

  99. # To customise the XKB settings to suit your keyboard, modify the
  100. # lines below (which are the defaults).  For example, for a non-U.S.
  101. # keyboard, you will probably want to use:
  102. #    Option "XkbModel"    "pc105"
  103. # If you have a US Microsoft Natural keyboard, you can use:
  104. #    Option "XkbModel"    "microsoft"
  105. #
  106. # Then to change the language, change the Layout setting.
  107. # For example, a german layout can be obtained with:
  108. #    Option "XkbLayout"   "de"
  109. # or:
  110. #    Option "XkbLayout"   "de"
  111. #    Option "XkbVariant"  "nodeadkeys"
  112. #
  113. # If you'd like to switch the positions of your capslock and
  114. # control keys, use:
  115. #    Option "XkbOptions"  "ctrl:swapcaps"

  116. # These are the default XKB settings for Xorg
  117. #    Option "XkbRules"    "xorg"
  118. #    Option "XkbModel"    "pc105"
  119. #    Option "XkbLayout"   "us"
  120. #    Option "XkbVariant"  ""
  121. #    Option "XkbOptions"  ""

  122. #    Option "XkbDisable"

  123.     Option "XkbRules"   "xorg"
  124.     Option "XkbModel"   "logicink"
  125.     Option "XkbLayout"  "us"

  126. EndSection


  127. # **********************************************************************
  128. # Core Pointer's InputDevice section
  129. # **********************************************************************

  130. Section "InputDevice"

  131. # Identifier and driver

  132.     Identifier  "Mouse1"
  133.     Driver      "mouse"
  134.     Option "Protocol"    "Auto" # Auto detect
  135.     Option "Device"      "/dev/input/mice"

  136. # When using XQUEUE, comment out the above two lines, and uncomment
  137. # the following line.

  138. #    Option "Protocol"  "Xqueue"

  139. # Mouse-speed setting for PS/2 mouse.

  140. #    Option "Resolution"        "256"

  141. # Baudrate and SampleRate are only for some Logitech mice. In
  142. # almost every case these lines should be omitted.

  143. #    Option "BaudRate"  "9600"
  144. #    Option "SampleRate"        "150"

  145. # Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
  146. # horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
  147. # 3 buttons and you need to map the wheel to different button ids to avoid
  148. # conflicts.

  149.     Option "ZAxisMapping"   "4 5 6 7"

  150. # Emulate3Buttons is an option for 2-button mice
  151. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)

  152. #    Option "Emulate3Buttons"
  153. #    Option "Emulate3Timeout"    "50"

  154. # ChordMiddle is an option for some 3-button Logitech mice

  155. #    Option "ChordMiddle"

  156. EndSection


  157. # **********************************************************************
  158. # Other input device sections
  159. # this is optional and is required only if you
  160. # are using extended input devices.  This is for example only.  Refer
  161. # to the xorg.conf man page for a description of the options.
  162. # **********************************************************************
  163. #
  164. # Section "InputDevice"
  165. #    Identifier  "Mouse2"
  166. #    Driver      "mouse"
  167. #    Option      "Protocol"      "MouseMan"
  168. #    Option      "Device"        "/dev/mouse2"
  169. # EndSection
  170. #
  171. # Section "InputDevice"
  172. #    Identifier "spaceball"
  173. #    Driver     "magellan"
  174. #    Option     "Device"        "/dev/cua0"
  175. # EndSection
  176. #
  177. # Section "InputDevice"
  178. #    Identifier "spaceball2"
  179. #    Driver     "spaceorb"
  180. #    Option     "Device"        "/dev/cua0"
  181. # EndSection
  182. #
  183. # Section "InputDevice"
  184. #    Identifier "touchscreen0"
  185. #    Driver     "microtouch"
  186. #    Option     "Device"        "/dev/ttyS0"
  187. #    Option     "MinX"          "1412"
  188. #    Option     "MaxX"          "15184"
  189. #    Option     "MinY"          "15372"
  190. #    Option     "MaxY"          "1230"
  191. #    Option     "ScreenNumber"  "0"
  192. #    Option     "ReportingMode" "Scaled"
  193. #    Option     "ButtonNumber"  "1"
  194. #    Option     "SendCoreEvents"
  195. # EndSection
  196. #
  197. # Section "InputDevice"
  198. #    Identifier "touchscreen1"
  199. #    Driver     "elo2300"
  200. #    Option     "Device"        "/dev/ttyS0"
  201. #    Option     "MinX"          "231"
  202. #    Option     "MaxX"          "3868"
  203. #    Option     "MinY"          "3858"
  204. #    Option     "MaxY"          "272"
  205. #    Option     "ScreenNumber"  "0"
  206. #    Option     "ReportingMode" "Scaled"
  207. #    Option     "ButtonThreshold"       "17"
  208. #    Option     "ButtonNumber"  "1"
  209. #    Option     "SendCoreEvents"
  210. # EndSection

  211. # **********************************************************************
  212. # Monitor section
  213. # **********************************************************************

  214. # Any number of monitor sections may be present

  215. Section "Monitor"

  216.     Identifier  "My Monitor"

  217. # HorizSync is in kHz unless units are specified.
  218. # HorizSync may be a comma separated list of discrete values, or a
  219. # comma separated list of ranges of values.
  220. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  221. # USER MANUAL FOR THE CORRECT NUMBERS.

  222.     HorizSync   31.5 - 79.0

  223. #    HorizSync  30-64         # multisync
  224. #    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
  225. #    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

  226. # VertRefresh is in Hz unless units are specified.
  227. # VertRefresh may be a comma separated list of discrete values, or a
  228. # comma separated list of ranges of values.
  229. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  230. # USER MANUAL FOR THE CORRECT NUMBERS.

  231.     VertRefresh 50-100

  232. EndSection


  233. # **********************************************************************
  234. # Graphics device section
  235. # **********************************************************************

  236. # Any number of graphics device sections may be present

  237. # Standard VGA Device:

  238. Section "Device"
  239.     Identifier  "Standard VGA"
  240.     VendorName  "Unknown"
  241.     BoardName   "Unknown"

  242. # The chipset line is optional in most cases.  It can be used to override
  243. # the driver's chipset detection, and should not normally be specified.

  244. #    Chipset    "generic"

  245. # The Driver line must be present.  When using run-time loadable driver
  246. # modules, this line instructs the server to load the specified driver
  247. # module.  Even when not using loadable driver modules, this line
  248. # indicates which driver should interpret the information in this section.

  249.     Driver     "vga"
  250. # The BusID line is used to specify which of possibly multiple devices
  251. # this section is intended for.  When this line isn't present, a device
  252. # section can only match up with the primary video device.  For PCI
  253. # devices a line like the following could be used.  This line should not
  254. # normally be included unless there is more than one video device
  255. # intalled.

  256. #    BusID      "PCI:0:10:0"

  257. #    VideoRam   256

  258. #    Clocks     25.2 28.3

  259. EndSection

  260. # Device configured by xorgconfig:

  261. Section "Device"
  262.     Identifier  "* Generic VESA compatible"
  263.     Driver      "vesa"
  264.     #VideoRam    32768
  265.     # Insert Clocks lines here if appropriate
  266. EndSection


  267. # **********************************************************************
  268. # Screen sections
  269. # **********************************************************************

  270. # Any number of screen sections may be present.  Each describes
  271. # the configuration of a single screen.  A single specific screen section
  272. # may be specified from the X server command line with the "-screen"
  273. # option.
  274. Section "Screen"
  275.     Identifier  "Screen 1"
  276.     Device      "* Generic VESA compatible"
  277.     Monitor     "My Monitor"
  278.     DefaultDepth 24

  279.     Subsection "Display"
  280.         Depth       8
  281.         Modes       "1280x1024" "1024x768" "800x600" "640x480"
  282.         ViewPort    0 0
  283.     EndSubsection
  284.     Subsection "Display"
  285.         Depth       16
  286.         Modes       "1280x1024" "1024x768" "800x600" "640x480"
  287.         ViewPort    0 0
  288.     EndSubsection
  289.     Subsection "Display"
  290.         Depth       24
  291.         Modes       "1280x1024" "1024x768" "800x600" "640x480"
  292.         ViewPort    0 0
  293.     EndSubsection
  294. EndSection

  295. # **********************************************************************
  296. # ServerLayout sections.
  297. # **********************************************************************

  298. # Any number of ServerLayout sections may be present.  Each describes
  299. # the way multiple screens are organised.  A specific ServerLayout
  300. # section may be specified from the X server command line with the
  301. # "-layout" option.  In the absence of this, the first section is used.
  302. # When now ServerLayout section is present, the first Screen section
  303. # is used alone.

  304. Section "ServerLayout"

  305. # The Identifier line must be present
  306.     Identifier  "Simple Layout"

  307. # Each Screen line specifies a Screen section name, and optionally
  308. # the relative position of other screens.  The four names after
  309. # primary screen name are the screens to the top, bottom, left and right
  310. # of the primary screen.  In this example, screen 2 is located to the
  311. # right of screen 1.

  312.     Screen "Screen 1"

  313. # Each InputDevice line specifies an InputDevice section name and
  314. # optionally some options to specify the way the device is to be
  315. # used.  Those options include "CorePointer", "CoreKeyboard" and
  316. # "SendCoreEvents".

  317.     InputDevice "Mouse1" "CorePointer"
  318.     InputDevice "Keyboard1" "CoreKeyboard"

  319. EndSection

  320. # Section "DRI"
  321. #    Mode 0666
  322. # EndSection
复制代码

加载nvidia驱动的时候我把
#    Load        "type1"                                          改为Load "type1"
    Load        "freetype"                                              Load "freetype"
#    Load        "xtt"                                                    Load "xtt"

# This loads the GLX module
#    Load       "glx"                                                     Load "glx"

Section "Device"
    Identifier  "* Generic VESA compatible"
    Driver      "vesa"                                               Driver "nvidia"

但是这样starx的时候就直接黑屏,什么反应都没有了。

hwd 生成的xorg.conf如下:

  1. Section "ServerLayout"
  2.         Identifier     "Xorg Configured"
  3.         Screen      0  "Screen0" 0 0
  4.         InputDevice    "Keyboard0" "CoreKeyboard"
  5.         InputDevice    "PS/2 Mouse" "CorePointer"
  6. # Serial Mouse not detected
  7. # USB Mouse not detected
  8. EndSection

  9. Section "ServerFlags"
  10.         Option "AllowMouseOpenFail"  "true"

  11. EndSection

  12. Section "Files"
  13.         RgbPath      "/usr/share/X11/rgb"
  14.         ModulePath   "/usr/lib/xorg/modules"
  15.         FontPath     "/usr/share/fonts/misc:unscaled"
  16.         FontPath     "/usr/share/fonts/misc"
  17.         FontPath     "/usr/share/fonts/75dpi:unscaled"
  18.         FontPath     "/usr/share/fonts/75dpi"
  19.         FontPath     "/usr/share/fonts/100dpi:unscaled"
  20.         FontPath     "/usr/share/fonts/100dpi"
  21.         FontPath     "/usr/share/fonts/PEX"
  22. # Additional fonts: Locale, Gimp, TTF...
  23.         FontPath     "/usr/share/fonts/cyrillic"
  24. #       FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
  25. #       FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
  26. # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
  27.         FontPath     "/usr/share/fonts/Type1"
  28.         FontPath     "/usr/share/fonts/ttf/western"
  29.         FontPath     "/usr/share/fonts/ttf/decoratives"
  30.         FontPath     "/usr/share/fonts/truetype"
  31.         FontPath     "/usr/share/fonts/truetype/openoffice"
  32.         FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
  33.         FontPath     "/usr/share/fonts/latex-ttf-fonts"
  34.         FontPath     "/usr/share/fonts/defoma/CID"
  35.         FontPath     "/usr/share/fonts/defoma/TrueType"
  36. EndSection

  37. Section "Module"
  38.         Load  "ddc"  # ddc probing of monitor
  39.         Load  "dbe"
  40.         Load  "dri"
  41.         Load  "extmod"
  42.         Load  "glx"
  43.         Load  "bitmap" # bitmap-fonts
  44.         Load  "type1"
  45.         Load  "freetype"
  46.         Load  "record"
  47. EndSection

  48. Section "InputDevice"
  49.         Identifier  "Keyboard0"
  50.         Driver      "keyboard"
  51.         Option      "CoreKeyboard"
  52.         Option "XkbRules" "xorg"
  53.         Option "XkbModel" "pc105"
  54.         Option "XkbLayout" ""
  55.         Option "XkbVariant" ""
  56. EndSection

  57. Section "InputDevice"
  58.         Identifier  "Serial Mouse"
  59.         Driver      "mouse"
  60.         Option      "Protocol" "Microsoft"
  61.         Option      "Device" "/dev/ttyS0"
  62.         Option      "Emulate3Buttons" "true"
  63.         Option      "Emulate3Timeout" "70"
  64.         Option      "SendCoreEvents"  "true"
  65. EndSection

  66. Section "InputDevice"
  67.         Identifier  "PS/2 Mouse"
  68.         Driver      "mouse"
  69.         Option      "Protocol" "auto"
  70.         Option          "ZAxisMapping"          "4 5"
  71.         Option      "Device" "/dev/psaux"
  72.         Option      "Emulate3Buttons" "true"
  73.         Option      "Emulate3Timeout" "70"
  74.         Option      "SendCoreEvents"  "true"
  75. EndSection

  76. Section "InputDevice"
  77.         Identifier      "USB Mouse"
  78.         Driver          "mouse"
  79.         Option          "Device"                "/dev/input/mice"
  80.         Option          "SendCoreEvents"        "true"
  81.         Option          "Protocol"              "IMPS/2"
  82.         Option          "ZAxisMapping"          "4 5"
  83.         Option          "Buttons"               "5"
  84. EndSection

  85. # Auto-generated by Archie mkxcfg

  86. Section "Monitor"
  87.         Identifier "Monitor0"
  88.                 Option "DPMS" "true"
  89. #       HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
  90.         HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
  91.         VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
  92. #       VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
  93.         #  Default modes distilled from
  94.         #      "VESA and Industry Standards and Guide for Computer Display Monitor
  95.         #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
  96.         #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
  97.         # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
  98.         ModeLine "640x350"    31.5  640  672  736  832    350  382  385  445 +hsync -vsync
  99.         # 640x400 @ 85Hz (VESA) hsync: 37.9kHz
  100.         ModeLine "640x400"    31.5  640  672  736  832    400  401  404  445 -hsync +vsync
  101.         # 720x400 @ 85Hz (VESA) hsync: 37.9kHz
  102.         ModeLine "720x400"    35.5  720  756  828  936    400  401  404  446 -hsync +vsync
  103.         # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
  104.         ModeLine "640x480"    25.2  640  656  752  800    480  490  492  525 -hsync -vsync
  105.         # 640x480 @ 72Hz (VESA) hsync: 37.9kHz
  106.         ModeLine "640x480"    31.5  640  664  704  832    480  489  491  520 -hsync -vsync
  107.         # 640x480 @ 75Hz (VESA) hsync: 37.5kHz
  108.         ModeLine "640x480"    31.5  640  656  720  840    480  481  484  500 -hsync -vsync
  109.         # 640x480 @ 85Hz (VESA) hsync: 43.3kHz
  110.         ModeLine "640x480"    36.0  640  696  752  832    480  481  484  509 -hsync -vsync
  111.         # 800x600 @ 56Hz (VESA) hsync: 35.2kHz
  112.         ModeLine "800x600"    36.0  800  824  896 1024    600  601  603  625 +hsync +vsync
  113.         # 800x600 @ 60Hz (VESA) hsync: 37.9kHz
  114.         ModeLine "800x600"    40.0  800  840  968 1056    600  601  605  628 +hsync +vsync
  115.         # 800x600 @ 72Hz (VESA) hsync: 48.1kHz
  116.         ModeLine "800x600"    50.0  800  856  976 1040    600  637  643  666 +hsync +vsync
  117.         # 800x600 @ 75Hz (VESA) hsync: 46.9kHz
  118.         ModeLine "800x600"    49.5  800  816  896 1056    600  601  604  625 +hsync +vsync
  119.         # 800x600 @ 85Hz (VESA) hsync: 53.7kHz
  120.         ModeLine "800x600"    56.3  800  832  896 1048    600  601  604  631 +hsync +vsync
  121.         # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
  122.         ModeLine "1024x768"   44.9 1024 1032 1208 1264    768  768  776  817 +hsync +vsync Interlace
  123.         # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
  124.         ModeLine "1024x768"   65.0 1024 1048 1184 1344    768  771  777  806 -hsync -vsync
  125.         # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
  126.         ModeLine "1024x768"   75.0 1024 1048 1184 1328    768  771  777  806 -hsync -vsync
  127.         # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
  128.         ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
  129.         # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
  130.         ModeLine "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync
  131.         # 1152x864 @ 75Hz (VESA) hsync: 67.5kHz
  132.         ModeLine "1152x864"  108.0 1152 1216 1344 1600    864  865  868  900 +hsync +vsync
  133.         # 1280x960 @ 60Hz (VESA) hsync: 60.0kHz
  134.         ModeLine "1280x960"  108.0 1280 1376 1488 1800    960  961  964 1000 +hsync +vsync
  135.         # 1280x960 @ 85Hz (VESA) hsync: 85.9kHz
  136.         ModeLine "1280x960"  148.5 1280 1344 1504 1728    960  961  964 1011 +hsync +vsync
  137.         # 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
  138.         ModeLine "1280x1024" 108.0 1280 1328 1440 1688   1024 1025 1028 1066 +hsync +vsync
  139.         # 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
  140.         ModeLine "1280x1024" 135.0 1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync
  141.         # 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
  142.         ModeLine "1280x1024" 157.5 1280 1344 1504 1728   1024 1025 1028 1072 +hsync +vsync
  143.         # 1600x1200 @ 60Hz (VESA) hsync: 75.0kHz
  144.         ModeLine "1600x1200" 162.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
  145.         # 1600x1200 @ 65Hz (VESA) hsync: 81.3kHz
  146.         ModeLine "1600x1200" 175.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
  147.         # 1600x1200 @ 70Hz (VESA) hsync: 87.5kHz
  148.         ModeLine "1600x1200" 189.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
  149.         # 1600x1200 @ 75Hz (VESA) hsync: 93.8kHz
  150.         ModeLine "1600x1200" 202.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
  151.         # 1600x1200 @ 85Hz (VESA) hsync: 106.3kHz
  152.         ModeLine "1600x1200" 229.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync
  153.         # 1792x1344 @ 60Hz (VESA) hsync: 83.6kHz
  154.         ModeLine "1792x1344" 204.8 1792 1920 2120 2448   1344 1345 1348 1394 -hsync +vsync
  155.         # 1792x1344 @ 75Hz (VESA) hsync: 106.3kHz
  156.         ModeLine "1792x1344" 261.0 1792 1888 2104 2456   1344 1345 1348 1417 -hsync +vsync
  157.         # 1856x1392 @ 60Hz (VESA) hsync: 86.3kHz
  158.         ModeLine "1856x1392" 218.3 1856 1952 2176 2528   1392 1393 1396 1439 -hsync +vsync
  159.         # 1856x1392 @ 75Hz (VESA) hsync: 112.5kHz
  160.         ModeLine "1856x1392" 288.0 1856 1984 2208 2560   1392 1393 1396 1500 -hsync +vsync
  161.         # 1920x1440 @ 60Hz (VESA) hsync: 90.0kHz
  162.         ModeLine "1920x1440" 234.0 1920 2048 2256 2600   1440 1441 1444 1500 -hsync +vsync
  163.         # 1920x1440 @ 75Hz (VESA) hsync: 112.5kHz
  164.         ModeLine "1920x1440" 297.0 1920 2064 2288 2640   1440 1441 1444 1500 -hsync +vsync
  165.         # Additional modelines
  166.         ModeLine "1800x1440"  230    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
  167.         ModeLine "1800x1440"  250    1800 1896 2088 2392  1440 1441 1444 1490 +HSync +VSync
  168.         # Extended modelines with GTF timings
  169.         # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
  170.         ModeLine "640x480"  43.16  640 680 744 848  480 481 484 509  -HSync +Vsync
  171.         # 768x576 @ 60.00 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
  172.         ModeLine "768x576"  34.96  768 792 872 976  576 577 580 597  -HSync +Vsync
  173.         # 768x576 @ 72.00 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
  174.         ModeLine "768x576"  42.93  768 800 880 992  576 577 580 601  -HSync +Vsync
  175.         # 768x576 @ 75.00 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
  176.         ModeLine "768x576"  45.51  768 808 888 1008  576 577 580 602  -HSync +Vsync
  177.         # 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
  178.         ModeLine "768x576"  51.84  768 808 888 1008  576 577 580 605  -HSync +Vsync
  179.         # 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
  180.         ModeLine "768x576"  62.57  768 816 896 1024  576 577 580 611  -HSync +Vsync
  181.         # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
  182.         ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
  183.         # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
  184.         ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
  185.         # 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
  186.         ModeLine "1152x864"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
  187.         # 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
  188.         ModeLine "1152x864"  119.65  1152 1224 1352 1552  864 865 868 907  -HSync +Vsync
  189.         # 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
  190.         ModeLine "1152x864"  143.47  1152 1232 1360 1568  864 865 868 915  -HSync +Vsync
  191.         # 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
  192.         ModeLine "1280x960"  124.54  1280 1368 1504 1728  960 961 964 1001  -HSync +Vsync
  193.         # 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
  194.         ModeLine "1280x960"  129.86  1280 1368 1504 1728  960 961 964 1002  -HSync +Vsync
  195.         # 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz
  196.         ModeLine "1280x960"  178.99  1280 1376 1520 1760  960 961 964 1017  -HSync +Vsync
  197.         # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
  198.         ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
  199.         # 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
  200.         ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
  201.         # 1400x1050 @ 72.00 Hz (GTF) hsync: 78.77 kHz; pclk: 149.34 MHz
  202.         ModeLine "1400x1050"  149.34  1400 1496 1648 1896  1050 1051 1054 1094  -HSync +Vsync
  203.         # 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
  204.         ModeLine "1400x1050"  155.85  1400 1496 1648 1896  1050 1051 1054 1096  -HSync +Vsync
  205.         # 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz
  206.         ModeLine "1400x1050"  179.26  1400 1504 1656 1912  1050 1051 1054 1103  -HSync +Vsync
  207.         # 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz
  208.         ModeLine "1400x1050"  214.39  1400 1512 1664 1928  1050 1051 1054 1112  -HSync +Vsync
  209.         # 1600x1200 @ 100.00 Hz (GTF) hsync: 127.10 kHz; pclk: 280.64 MHz
  210.         ModeLine "1600x1200"  280.64  1600 1728 1904 2208  1200 1201 1204 1271  -HSync +Vsync
  211. EndSection

  212. # Auto-generated by Archie mkxcfg

  213. Section "Device"
  214.         Identifier  "Card0"
  215.         Driver      "vesa"
  216.         VendorName  "All"
  217.         BoardName   "All"
  218. EndSection

  219. Section "Screen"
  220.         Identifier "Screen0"
  221.         Device     "Card0"
  222.         Monitor    "Monitor0"
  223.         DefaultColorDepth 16
  224.         SubSection "Display"
  225.                 Depth     1
  226.                 Modes "1024x768" "800x600" "640x480"
  227.         EndSubSection
  228.         SubSection "Display"
  229.                 Depth     4
  230.                 Modes "1024x768" "800x600" "640x480"
  231.         EndSubSection
  232.         SubSection "Display"
  233.                 Depth     8
  234.                 Modes "1024x768" "800x600" "640x480"
  235.         EndSubSection
  236.         SubSection "Display"
  237.                 Depth     15
  238.                 Modes "1024x768" "800x600" "640x480"
  239.         EndSubSection
  240.         SubSection "Display"
  241.                 Depth     16
  242.                 Modes "1024x768" "800x600" "640x480"
  243.         EndSubSection
  244.         SubSection "Display"
  245.                 Depth     24
  246.                 Modes "1024x768" "800x600" "640x480"
  247.         EndSubSection
  248.         SubSection "Display"
  249.                 Depth     32
  250.                 Modes "1024x768" "800x600" "640x480"
  251.         EndSubSection
  252. EndSection

  253. Section "DRI"
  254.         Mode 0666
  255. EndSection
复制代码

但是hwd生成的xorg.conf 在使用编辑器或打开图形程序的时候死机过于频繁。
初步估计问题是出在键盘配置那,如果我想把hwd.conf里的键盘配置换成其他的该怎么改呢.也许也不是键盘配置的问题。
发表于 2007-4-10 15:11:44 | 显示全部楼层
不知道怎么回事,反正我换版本时,先把xorg.conf先备份下来,到时换上去就可以了,还没出过问题。
回复 支持 反对

使用道具 举报

发表于 2007-4-10 16:34:20 | 显示全部楼层
为什么都不习惯察看错误信息呢?

你光贴个xorg.conf有什么用呢?你的机器配制是什么样字的?x的错误呢?

运行什么程序容易死呢?

什么信息都没有。怎么帮你呢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-4-10 16:38:08 | 显示全部楼层
已经搞定了,死机的时候/var/log 下没找到相关记录,因为一死的时候硬盘灯就灭了 只能reset.
我用Xorg-config个 生成了一个xorg.conf.new 然后参照着ubuntu下的xorg.conf把显示器一些相关设置改了下就可以了。不过 这样进来,刷新率低了点 1024x768之有75的刷新率
回复 支持 反对

使用道具 举报

发表于 2007-4-10 16:47:50 | 显示全部楼层
我装xorg的时候就没有配置,直接startx就启动了。看了一下/etc/X11/下面就没有xorg.conf这个文件。
后来装gnome,发现触摸板有点问题,才写了个xorg.conf,把synaptics驱动加载上。
回复 支持 反对

使用道具 举报

发表于 2007-4-10 18:15:19 | 显示全部楼层
我还真没发生过这个问题~不过xorg确实还在完善中,至少我的ati卡有时候从X下退回控制台就会黑屏,键盘上的Caps Lock和Scroll Lock两个灯同时一闪一闪的~

如果是CRT显示器的话,建议朋友们最好自己设置一下HorizSync和VertRefresh
一般110MHZ带宽的17寸CRT可以改成
  1.         HorizSync    30.0 - 70.0
  2.         VertRefresh  50.0 - 150.0
复制代码
这样刷新率就是85Hz了
具体参数请参考您自己显示器的说明书,上面一般都有写参数的~找不到就上网搜索你的显示器型号~
回复 支持 反对

使用道具 举报

发表于 2007-4-10 18:16:38 | 显示全部楼层
ati那是驱动的原因 死都不买ati
回复 支持 反对

使用道具 举报

发表于 2007-4-10 18:37:58 | 显示全部楼层
呵呵,我想可能是很多linux老鸟的电脑都是早期的nvidia显卡,所以开源驱动也做得很完善,很多软件都基于nvidia显卡优化了~
至少我8年前的电脑就是nvidia的TNT了,那时候买GF些列的绝对比Random系列的多了~加上早期3Dfx在玩家心里的地位(后来被nvidia收购了),而且那时候linux正好兴起(我想很多linux老鸟都是那时候开始研究过来的吧),所以nv的卡不支持好都不行那~
不过随着硬件市场的变化,加上现在ati的显卡性价比,我想应该会慢慢往好的方向改变吧~
回复 支持 反对

使用道具 举报

发表于 2007-4-10 22:03:24 | 显示全部楼层
Post by blance
呵呵,我想可能是很多linux老鸟的电脑都是早期的nvidia显卡,所以开源驱动也做得很完善,很多软件都基于nvidia显卡优化了~
至少我8年前的电脑就是nvidia的TNT了,那时候买GF些列的绝对比Random系列的多了~加上早期3Dfx在玩家心里的地位(后来被nvidia收购了),而且那时候linux正好兴起(我想很多linux老鸟都是那时候开始研究过来的吧),所以nv的卡不支持好都不行那~
不过随着硬件市场的变化,加上现在ati的显卡性价比,我想应该会慢慢往好的方向改变吧~


如果今年我要买机器一定不会买ati的显卡。。。

明年估计也不会。。。

后年估计还是不会。。。
回复 支持 反对

使用道具 举报

发表于 2007-4-10 22:12:47 | 显示全部楼层
Post by leemars
如果今年我要买机器一定不会买ati的显卡。。。

明年估计也不会。。。

后年估计还是不会。。。


现在想买ati的卡(已被AMD收购)都没有咯~应该说是AMD的显卡了^_^
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表