LinuxSir.cn,穿越时空的Linuxsir!

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

我的笔记本显卡是集成的845gl,谁能贴一个有关i810的xorg.conf,我的x启动不了

[复制链接]
发表于 2006-10-11 23:57:11 | 显示全部楼层 |阅读模式
我的笔记本显卡是集成的845gl,谁能贴一个有关i810的xorg.conf,我的x启动不了

错误提示

GARTInit : Unable to open /dev/agpgart (No such file or directory)



我用
xorgcfg -config /etc/X11/xorg.conf

可以进入

而且 startx,能看见gnome的启动的logo画面,然后就崩溃了
发表于 2006-10-12 00:06:23 | 显示全部楼层
  1. # File generated by xorgconfig.
  2. #
  3. # Copyright 2004 The X.Org Foundation
  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 X.Org Foundation 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 X.Org Foundation 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
  26. # The X.Org Foundation.
  27. #
  28. # **********************************************************************
  29. # Refer to the xorg.conf(5x) man page for details about the format of
  30. # this file.
  31. # **********************************************************************
  32. # **********************************************************************
  33. # Module section -- this  section  is used to specify
  34. # which dynamically loadable modules to load.
  35. # **********************************************************************
  36. #
  37. Section "Module"
  38. # This loads the DBE extension module.
  39.     Load        "dbe"          # Double buffer extension
  40. # This loads the miscellaneous extensions module, and disables
  41. # initialisation of the XFree86-DGA extension within that module.
  42.     SubSection  "extmod"
  43.       Option    "omit xfree86-dga"   # don't initialise the DGA extension
  44.     EndSubSection
  45. # This loads the font modules
  46.     Load        "type1"
  47. #    Load        "speedo"
  48.     Load        "freetype"
  49. #    Load        "xtt"
  50. # This loads the GLX module
  51.     Load       "glx"
  52. # This loads the DRI module
  53.     Load       "dri"
  54. EndSection
  55. # **********************************************************************
  56. # Files section.  This allows default font and rgb paths to be set
  57. # **********************************************************************
  58. Section "Files"
  59. # The location of the RGB database.  Note, this is the name of the
  60. # file minus the extension (like ".txt" or ".db").  There is normally
  61. # no need to change the default.
  62.     RgbPath        "/usr/share/X11/rgb"
  63. # Multiple FontPath entries are allowed (which are concatenated together),
  64. # as well as specifying multiple comma-separated entries in one FontPath
  65. # command (or a combination of both methods)
  66. #
  67. #
  68.     FontPath   "/usr/local/share/fonts/"
  69.     FontPath   "/usr/local/share/fonts/wenquanyi"
  70.     FontPath   "/usr/share/fonts/misc/"
  71.     FontPath   "/usr/share/fonts/TTF/"
  72.     FontPath   "/usr/share/fonts/Type1/"
  73. #    FontPath   "/usr/share/fonts/CID/"
  74.     FontPath   "/usr/share/fonts/75dpi/"
  75.     FontPath   "/usr/share/fonts/100dpi/"
  76. #    FontPath   "/usr/share/fonts/Speedo/"
  77.     FontPath   "/usr/share/fonts/truetype/"
  78. #    FontPath   "/usr/share/fonts/freefont/"
  79. # The module search path.  The default path is shown here.
  80.     ModulePath "/usr/lib/xorg/modules"
  81. EndSection
  82. # **********************************************************************
  83. # Server flags section.
  84. # **********************************************************************
  85. Section "ServerFlags"
  86. # Uncomment this to cause a core dump at the spot where a signal is
  87. # received.  This may leave the console in an unusable state, but may
  88. # provide a better stack trace in the core dump to aid in debugging
  89. #    Option "NoTrapSignals"
  90. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  91. # (where n is 1 through 12).  This allows clients to receive these key
  92. # events.
  93. #    Option "DontVTSwitch"
  94. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  95. # This allows clients to receive this key event.
  96. #    Option "DontZap"
  97. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  98. # sequences.  This allows clients to receive these key events.
  99. #    Option "Dont Zoom"
  100. # Uncomment this to disable tuning with the xvidtune client. With
  101. # it the client can still run and fetch card and monitor attributes,
  102. # but it will not be allowed to change them. If it tries it will
  103. # receive a protocol error.
  104. #    Option "DisableVidModeExtension"
  105. # Uncomment this to enable the use of a non-local xvidtune client.
  106. #    Option "AllowNonLocalXvidtune"
  107. # Uncomment this to disable dynamically modifying the input device
  108. # (mouse and keyboard) settings.
  109. #    Option "DisableModInDev"
  110. # Uncomment this to enable the use of a non-local client to
  111. # change the keyboard or mouse settings (currently only xset).
  112. #    Option "AllowNonLocalModInDev"
  113. EndSection
  114. # **********************************************************************
  115. # Input devices
  116. # **********************************************************************
  117. # **********************************************************************
  118. # Core keyboard's InputDevice section
  119. # **********************************************************************
  120. Section "InputDevice"
  121.     Identifier        "Keyboard1"
  122.     Driver        "kbd"
  123. # For most OSs the protocol can be omitted (it defaults to "Standard").
  124. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  125. # uncomment the following line.
  126. #    Option     "Protocol"      "Xqueue"
  127.     Option "AutoRepeat" "500 30"
  128. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  129. #    Option        "Xleds"      "1 2 3"
  130. #    Option "LeftAlt"     "Meta"
  131. #    Option "RightAlt"    "ModeShift"
  132. # To customise the XKB settings to suit your keyboard, modify the
  133. # lines below (which are the defaults).  For example, for a non-U.S.
  134. # keyboard, you will probably want to use:
  135. #    Option "XkbModel"    "pc105"
  136. # If you have a US Microsoft Natural keyboard, you can use:
  137. #    Option "XkbModel"    "microsoft"
  138. #
  139. # Then to change the language, change the Layout setting.
  140. # For example, a german layout can be obtained with:
  141. #    Option "XkbLayout"   "de"
  142. # or:
  143. #    Option "XkbLayout"   "de"
  144. #    Option "XkbVariant"  "nodeadkeys"
  145. #
  146. # If you'd like to switch the positions of your capslock and
  147. # control keys, use:
  148. #    Option "XkbOptions"  "ctrl:swapcaps"
  149. # These are the default XKB settings for Xorg
  150. #    Option "XkbRules"    "xorg"
  151. #    Option "XkbModel"    "pc105"
  152. #    Option "XkbLayout"   "us"
  153. #    Option "XkbVariant"  ""
  154. #    Option "XkbOptions"  ""
  155. #    Option "XkbDisable"
  156.     Option "XkbRules"        "xorg"
  157.     Option "XkbModel"        "pc101"
  158.     Option "XkbLayout"        "us"
  159. EndSection
  160. # **********************************************************************
  161. # Core Pointer's InputDevice section
  162. # **********************************************************************
  163. Section "InputDevice"
  164. # Identifier and driver
  165.     Identifier        "Mouse1"
  166.     Driver        "mouse"
  167.     Option "Protocol"    "IMPS/2"
  168.     Option "Device"      "/dev/psaux"
  169.     Option "ZAxisMapping"      "4 5"
  170. # Mouse-speed setting for PS/2 mouse.
  171. #    Option "Resolution"        "256"
  172. # When using XQUEUE, comment out the above two lines, and uncomment
  173. # the following line.
  174. #    Option "Protocol"        "Xqueue"
  175. # Baudrate and SampleRate are only for some Logitech mice. In
  176. # almost every case these lines should be omitted.
  177. #    Option "BaudRate"        "9600"
  178. #    Option "SampleRate"        "150"
  179. # Emulate3Buttons is an option for 2-button Microsoft mice
  180. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  181.     Option "Emulate3Buttons"
  182. #    Option "Emulate3Timeout"    "50"
  183. # ChordMiddle is an option for some 3-button Logitech mice
  184. #    Option "ChordMiddle"
  185. EndSection
  186. # **********************************************************************
  187. # Other input device sections
  188. # this is optional and is required only if you
  189. # are using extended input devices.  This is for example only.  Refer
  190. # to the xorg.conf man page for a description of the options.
  191. # **********************************************************************
  192. #
  193. # Section "InputDevice"
  194. #    Identifier  "Mouse2"
  195. #    Driver      "mouse"
  196. #    Option      "Protocol"      "MouseMan"
  197. #    Option      "Device"        "/dev/mouse2"
  198. # EndSection
  199. #
  200. # Section "InputDevice"
  201. #    Identifier "spaceball"
  202. #    Driver     "magellan"
  203. #    Option     "Device"        "/dev/cua0"
  204. # EndSection
  205. #
  206. # Section "InputDevice"
  207. #    Identifier "spaceball2"
  208. #    Driver     "spaceorb"
  209. #    Option     "Device"        "/dev/cua0"
  210. # EndSection
  211. #
  212. # Section "InputDevice"
  213. #    Identifier "touchscreen0"
  214. #    Driver     "microtouch"
  215. #    Option     "Device"        "/dev/ttyS0"
  216. #    Option     "MinX"          "1412"
  217. #    Option     "MaxX"          "15184"
  218. #    Option     "MinY"          "15372"
  219. #    Option     "MaxY"          "1230"
  220. #    Option     "ScreenNumber"  "0"
  221. #    Option     "ReportingMode" "Scaled"
  222. #    Option     "ButtonNumber"  "1"
  223. #    Option     "SendCoreEvents"
  224. # EndSection
  225. #
  226. # Section "InputDevice"
  227. #    Identifier "touchscreen1"
  228. #    Driver     "elo2300"
  229. #    Option     "Device"        "/dev/ttyS0"
  230. #    Option     "MinX"          "231"
  231. #    Option     "MaxX"          "3868"
  232. #    Option     "MinY"          "3858"
  233. #    Option     "MaxY"          "272"
  234. #    Option     "ScreenNumber"  "0"
  235. #    Option     "ReportingMode" "Scaled"
  236. #    Option     "ButtonThreshold"       "17"
  237. #    Option     "ButtonNumber"  "1"
  238. #    Option     "SendCoreEvents"
  239. # EndSection
  240. # **********************************************************************
  241. # Monitor section
  242. # **********************************************************************
  243. # Any number of monitor sections may be present
  244. Section "Monitor"
  245.     Identifier  "LCD"
  246.     Option "DPMS"
  247. # HorizSync is in kHz unless units are specified.
  248. # HorizSync may be a comma separated list of discrete values, or a
  249. # comma separated list of ranges of values.
  250. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  251. # USER MANUAL FOR THE CORRECT NUMBERS.
  252.     HorizSync   31.5 - 82.0
  253. #    HorizSync        30-64         # multisync
  254. #    HorizSync        31.5, 35.2    # multiple fixed sync frequencies
  255. #    HorizSync        15-25, 30-50  # multiple ranges of sync frequencies
  256. # VertRefresh is in Hz unless units are specified.
  257. # VertRefresh may be a comma separated list of discrete values, or a
  258. # comma separated list of ranges of values.
  259. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  260. # USER MANUAL FOR THE CORRECT NUMBERS.
  261.     VertRefresh 40-150
  262. EndSection
  263. # **********************************************************************
  264. # Graphics device section
  265. # **********************************************************************
  266. # Any number of graphics device sections may be present
  267. # Standard VGA Device:
  268. Section "Device"
  269.     Identifier        "Standard VGA"
  270.     VendorName        "Unknown"
  271.     BoardName        "Unknown"
  272. # The chipset line is optional in most cases.  It can be used to override
  273. # the driver's chipset detection, and should not normally be specified.
  274. #    Chipset        "generic"
  275. # The Driver line must be present.  When using run-time loadable driver
  276. # modules, this line instructs the server to load the specified driver
  277. # module.  Even when not using loadable driver modules, this line
  278. # indicates which driver should interpret the information in this section.
  279.      Driver        "i810"
  280. #    Driver     "vga"
  281. # The BusID line is used to specify which of possibly multiple devices
  282. # this section is intended for.  When this line isn't present, a device
  283. # section can only match up with the primary video device.  For PCI
  284. # devices a line like the following could be used.  This line should not
  285. # normally be included unless there is more than one video device
  286. # intalled.
  287. #    BusID      "PCI:0:10:0"
  288. #    VideoRam        256
  289. #    Clocks        25.2 28.3
  290. EndSection
  291. # Device configured by xorgconfig:
  292. Section "Device"
  293.     Identifier  "intel"
  294.     Driver      "i810"
  295.     #VideoRam    8192
  296.     # Insert Clocks lines here if appropriate
  297. EndSection
  298. # **********************************************************************
  299. # Screen sections
  300. # **********************************************************************
  301. # Any number of screen sections may be present.  Each describes
  302. # the configuration of a single screen.  A single specific screen section
  303. # may be specified from the X server command line with the "-screen"
  304. # option.
  305. Section "Screen"
  306.     Identifier  "Screen 1"
  307.     Device      "intel"
  308.     Monitor     "LCD"
  309.     DefaultDepth 24
  310.     Subsection "Display"
  311.         Depth       8
  312.         Modes       "1280x1024" "1024x768" "800x600" "640x480"
  313.         ViewPort    0 0
  314.     EndSubsection
  315.     Subsection "Display"
  316.         Depth       16
  317.         Modes       "1280x1024" "1024x768" "800x600" "640x480"
  318.         ViewPort    0 0
  319.     EndSubsection
  320.     Subsection "Display"
  321.         Depth       24
  322.         Modes       "1024x768"
  323.         ViewPort    0 0
  324.     EndSubsection
  325. EndSection
  326. # **********************************************************************
  327. # ServerLayout sections.
  328. # **********************************************************************
  329. # Any number of ServerLayout sections may be present.  Each describes
  330. # the way multiple screens are organised.  A specific ServerLayout
  331. # section may be specified from the X server command line with the
  332. # "-layout" option.  In the absence of this, the first section is used.
  333. # When now ServerLayout section is present, the first Screen section
  334. # is used alone.
  335. Section "ServerLayout"
  336. # The Identifier line must be present
  337.     Identifier  "Simple Layout"
  338. # Each Screen line specifies a Screen section name, and optionally
  339. # the relative position of other screens.  The four names after
  340. # primary screen name are the screens to the top, bottom, left and right
  341. # of the primary screen.  In this example, screen 2 is located to the
  342. # right of screen 1.
  343.     Screen "Screen 1"
  344. # Each InputDevice line specifies an InputDevice section name and
  345. # optionally some options to specify the way the device is to be
  346. # used.  Those options include "CorePointer", "CoreKeyboard" and
  347. # "SendCoreEvents".
  348.     InputDevice "Mouse1" "CorePointer"
  349.     InputDevice "Keyboard1" "CoreKeyboard"
  350. # LCD blank settings
  351.     Option "BlankTime" "5"
  352.     Option "StandbyTime" "10"
  353.     Option "SuspendTime" "20"
  354.     Option "OffTime" "30"
  355. EndSection
  356. Section "Monitor"
  357.     Identifier "LCD"
  358.     Option "DPMS" "true"
  359. EndSection
  360. Section "DRI"
  361.     Group 0
  362.     Mode 0666
  363. EndSection
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-12 00:18:35 | 显示全部楼层
我现在的问题 是
GARTInit : Unable to open /dev/agpgart (No such file or directory)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-12 00:25:08 | 显示全部楼层
我看了
wiki gentoo

是不是 内核的问题?

Processor type and features
  
  • MTRR (Memory Type Range Register) support
    Device Drivers
      Graphics Support -->
         
  • Support Frame Buffer Devices
         <*> Intel 830M ... (Experimental)
      Character devices  --->
       --- /dev/agpgart (AGP Support)
       ---   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
      <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
          <*> Intel 830M ... -->
                 i915
  • 回复 支持 反对

    使用道具 举报

    发表于 2006-10-12 01:04:29 | 显示全部楼层
    怀疑是ing……我从来没遇到过这种问题啊
    回复 支持 反对

    使用道具 举报

     楼主| 发表于 2006-10-12 10:32:49 | 显示全部楼层
    内核编译后
    没有 提示 GARTInit : Unable to open /dev/agpgart (No such file or directory)

    但是还是不能进入
    回复 支持 反对

    使用道具 举报

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

    本版积分规则

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