LinuxSir.cn,穿越时空的Linuxsir!

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

intel集成显卡驱动:i810 比 intel 的驱动还要好?

[复制链接]
发表于 2008-2-22 19:50:05 | 显示全部楼层 |阅读模式
testing 的 xf86-video-intel 也试过了,不如稳定的 xf86-video-i810。具体表现在一下几个方面:

1.xf86-video-intel 在 CF 下不能间接渲染,换成 i810 后问题解决;

2.xf86-video-intel 在 Xfce 下打开默认的混合窗口,设置透明之后,拖动窗口很卡(不过这里用 i810 也差不多);

3.Openbox 下用 transset 设置透明,使用 intel 的驱动也出现拖动窗口很卡(CPU占用极高)的情况,而用 i810 则完全没有这种问题。

晕了,看起来集成的 GMA 900 还是用 i810 比较好…… 还是说我哪里设置得有问题?有没有配置相同但是没有这些情况的哥们?

附个 xorg.conf
  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(5) 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        "freetype"
  48. #    Load        "xtt"

  49. # This loads the GLX module
  50.     Load       "glx"
  51. # This loads the DRI module
  52.     Load       "dri"

  53. EndSection

  54. # **********************************************************************
  55. # Files section.  This allows default font and rgb paths to be set
  56. # **********************************************************************

  57. Section "Files"

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

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

  62. # Multiple FontPath entries are allowed (which are concatenated together),
  63. # as well as specifying multiple comma-separated entries in one FontPath
  64. # command (or a combination of both methods)
  65. #
  66. #

  67.     FontPath   "/usr/share/fonts/misc"
  68.     FontPath   "/usr/share/fonts/100dpi:unscaled"
  69.     FontPath   "/usr/share/fonts/75dpi:unscaled"
  70.     FontPath   "/usr/share/fonts/TTF"
  71. #    FontPath   "/usr/share/fonts/wenquanyi/wqy-zenhei"
  72. #    FontPath   "/usr/share/fonts/wqy-bitmapfont"
  73. #    FontPath   "/usr/share/fonts/Type1"
  74. #    FontPath   "/usr/lib/X11/fonts/local/"
  75. #    FontPath   "/usr/lib/X11/fonts/misc/"
  76. #    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
  77. #    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
  78. #    FontPath   "/usr/lib/X11/fonts/Speedo/"
  79. #    FontPath   "/usr/lib/X11/fonts/Type1/"
  80. #    FontPath   "/usr/lib/X11/fonts/TrueType/"
  81. #    FontPath   "/usr/lib/X11/fonts/freefont/"
  82. #    FontPath   "/usr/lib/X11/fonts/75dpi/"
  83. #    FontPath   "/usr/lib/X11/fonts/100dpi/"

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

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

  86. EndSection

  87. # **********************************************************************
  88. # Server flags section.
  89. # **********************************************************************

  90. Section "ServerFlags"

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

  94. #    Option "NoTrapSignals"

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

  98. #    Option "DontVTSwitch"

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

  101. #    Option "DontZap"

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

  104. #    Option "Dont Zoom"

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

  109. #    Option "DisableVidModeExtension"

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

  111. #    Option "AllowNonLocalXvidtune"

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

  114. #    Option "DisableModInDev"

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

  117. #    Option "AllowNonLocalModInDev"

  118. EndSection

  119. # **********************************************************************
  120. # Input devices
  121. # **********************************************************************

  122. # **********************************************************************
  123. # Core keyboard's InputDevice section
  124. # **********************************************************************

  125. Section "InputDevice"

  126.     Identifier        "Keyboard1"
  127.     Driver        "kbd"

  128.     Option "AutoRepeat" "500 30"

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

  131. #    Option "LeftAlt"     "Meta"
  132. #    Option "RightAlt"    "ModeShift"

  133. # To customise the XKB settings to suit your keyboard, modify the
  134. # lines below (which are the defaults).  For example, for a non-U.S.
  135. # keyboard, you will probably want to use:
  136. #    Option "XkbModel"    "pc105"
  137. # If you have a US Microsoft Natural keyboard, you can use:
  138. #    Option "XkbModel"    "microsoft"
  139. #
  140. # Then to change the language, change the Layout setting.
  141. # For example, a german layout can be obtained with:
  142. #    Option "XkbLayout"   "de"
  143. # or:
  144. #    Option "XkbLayout"   "de"
  145. #    Option "XkbVariant"  "nodeadkeys"
  146. #
  147. # If you'd like to switch the positions of your capslock and
  148. # control keys, use:
  149. #    Option "XkbOptions"  "ctrl:swapcaps"

  150. # These are the default XKB settings for Xorg
  151. #    Option "XkbRules"    "xorg"
  152. #    Option "XkbModel"    "pc105"
  153. #    Option "XkbLayout"   "us"
  154. #    Option "XkbVariant"  ""
  155. #    Option "XkbOptions"  ""

  156. #    Option "XkbDisable"

  157.     Option "XkbRules"        "xorg"
  158.     Option "XkbModel"        "pc105"
  159.     Option "XkbLayout"        "cn"

  160. EndSection


  161. # **********************************************************************
  162. # Core Pointer's InputDevice section
  163. # **********************************************************************

  164. Section "InputDevice"

  165. # Identifier and driver

  166.     Identifier        "Mouse1"
  167.     Driver        "mouse"
  168.     Option      "CorePointer"
  169.     Option         "Protocol"    "Auto"        # Auto detect
  170.     Option         "Device"      "/dev/input/mice"

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

  172. #    Option "Resolution"        "256"

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

  175. #    Option "BaudRate"        "9600"
  176. #    Option "SampleRate"        "150"

  177. # ption      "YAxisMapping"        "4 5"
  178. #       Option      "XAxisMapping"        "6 7"
  179. # Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
  180. # horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
  181. # 3 buttons and you need to map the wheel to different button ids to avoid
  182. # conflicts.
  183.    
  184.     Option      "YAxisMapping"        "4 5"
  185.     Option      "XAxisMapping"        "6 7"
  186.     Option "ZAxisMapping"   "4 5"

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

  189.     Option         "Emulate3Buttons"
  190.     Option         "Emulate3Timeout"    "50"
  191.     Option      "EmulateWheel"        "on"
  192.     Option      "EmulateWheelTimeOut" "200"
  193.     Option      "EmulateWheelButton"  "2"

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

  195. #    Option "ChordMiddle"

  196. EndSection


  197. # **********************************************************************
  198. # Other input device sections
  199. # this is optional and is required only if you
  200. # are using extended input devices.  This is for example only.  Refer
  201. # to the xorg.conf man page for a description of the options.
  202. # **********************************************************************

  203. Section "InputDevice"

  204.   Identifier        "Synaptics Touchpad"
  205.   Driver        "synaptics"
  206.   Option        "SendCoreEvents"        "true"
  207.   Option        "Device"        "/dev/psaux"
  208.   Option        "Protocol"        "auto-dev"
  209.   Option        "HorizScrollDelta"        "0"
  210.   Option        "SHMConfig"        "on"
  211.   
  212. EndSection

  213. # Section "InputDevice"
  214. #    Identifier  "Mouse2"
  215. #    Driver      "mouse"
  216. #    Option      "Protocol"      "MouseMan"
  217. #    Option      "Device"        "/dev/mouse2"
  218. # EndSection
  219. #
  220. # Section "InputDevice"
  221. #    Identifier "spaceball"
  222. #    Driver     "magellan"
  223. #    Option     "Device"        "/dev/cua0"
  224. # EndSection
  225. #
  226. # Section "InputDevice"
  227. #    Identifier "spaceball2"
  228. #    Driver     "spaceorb"
  229. #    Option     "Device"        "/dev/cua0"
  230. # EndSection
  231. #
  232. # Section "InputDevice"
  233. #    Identifier "touchscreen0"
  234. #    Driver     "microtouch"
  235. #    Option     "Device"        "/dev/ttyS0"
  236. #    Option     "MinX"          "1412"
  237. #    Option     "MaxX"          "15184"
  238. #    Option     "MinY"          "15372"
  239. #    Option     "MaxY"          "1230"
  240. #    Option     "ScreenNumber"  "0"
  241. #    Option     "ReportingMode" "Scaled"
  242. #    Option     "ButtonNumber"  "1"
  243. #    Option     "SendCoreEvents"
  244. # EndSection
  245. #
  246. # Section "InputDevice"
  247. #    Identifier "touchscreen1"
  248. #    Driver     "elo2300"
  249. #    Option     "Device"        "/dev/ttyS0"
  250. #    Option     "MinX"          "231"
  251. #    Option     "MaxX"          "3868"
  252. #    Option     "MinY"          "3858"
  253. #    Option     "MaxY"          "272"
  254. #    Option     "ScreenNumber"  "0"
  255. #    Option     "ReportingMode" "Scaled"
  256. #    Option     "ButtonThreshold"       "17"
  257. #    Option     "ButtonNumber"  "1"
  258. #    Option     "SendCoreEvents"
  259. # EndSection

  260. # **********************************************************************
  261. # Monitor section
  262. # **********************************************************************

  263. # Any number of monitor sections may be present

  264. Section "Monitor"

  265.     Identifier  "Generic Monitor"

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

  271.     HorizSync   31.5 - 64.3

  272. #    HorizSync        30-64         # multisync
  273. #    HorizSync        31.5, 35.2    # multiple fixed sync frequencies
  274. #    HorizSync        15-25, 30-50  # multiple ranges of sync frequencies

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

  280.     VertRefresh 50-90

  281. EndSection


  282. # **********************************************************************
  283. # Graphics device section
  284. # **********************************************************************

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

  286. # Standard VGA Device:

  287. Section "Device"
  288.     Identifier        "Standard VGA"
  289.     VendorName        "Unknown"
  290.     BoardName        "Unknown"

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

  293. #    Chipset        "generic"

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

  298.     Driver     "vga"
  299. # The BusID line is used to specify which of possibly multiple devices
  300. # this section is intended for.  When this line isn't present, a device
  301. # section can only match up with the primary video device.  For PCI
  302. # devices a line like the following could be used.  This line should not
  303. # normally be included unless there is more than one video device
  304. # intalled.

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

  306. #    VideoRam        256

  307. #    Clocks        25.2 28.3

  308. EndSection

  309. # Device configured by xorgconfig:

  310. Section "Device"
  311.     Identifier  "Intel GMA900"
  312.     Driver      "i810"
  313.     VideoRam    131072
  314.     Option "XAANoOffscreenPixmaps" "true"
  315.     Option "DRI" "true"
  316.     # Insert Clocks lines here if appropriate
  317. EndSection


  318. # **********************************************************************
  319. # Screen sections
  320. # **********************************************************************

  321. # Any number of screen sections may be present.  Each describes
  322. # the configuration of a single screen.  A single specific screen section
  323. # may be specified from the X server command line with the "-screen"
  324. # option.
  325. Section "Screen"
  326.     Identifier  "Screen 1"
  327.     Device      "Intel GMA900"
  328.     Monitor     "Generic Monitor"
  329.     DefaultDepth 24

  330.     Subsection "Display"
  331.         Depth       8
  332.         Modes       "1280x1024" "1024x768" "800x600" "640x480"
  333.         ViewPort    0 0
  334.     EndSubsection
  335.     Subsection "Display"
  336.         Depth       16
  337.         Modes       "1280x1024" "1024x768" "800x600" "640x480"
  338.         ViewPort    0 0
  339.     EndSubsection
  340.     Subsection "Display"
  341.         Depth       24
  342.         Modes       "1280x1024" "1024x768" "800x600" "640x480"
  343.         ViewPort    0 0
  344.     EndSubsection
  345. EndSection

  346. # **********************************************************************
  347. # ServerLayout sections.
  348. # **********************************************************************

  349. # Any number of ServerLayout sections may be present.  Each describes
  350. # the way multiple screens are organised.  A specific ServerLayout
  351. # section may be specified from the X server command line with the
  352. # "-layout" option.  In the absence of this, the first section is used.
  353. # When now ServerLayout section is present, the first Screen section
  354. # is used alone.

  355. Section "ServerLayout"

  356. # The Identifier line must be present
  357.     Identifier  "Simple Layout"
  358.     Option "AIGLX" "true"

  359. # Each Screen line specifies a Screen section name, and optionally
  360. # the relative position of other screens.  The four names after
  361. # primary screen name are the screens to the top, bottom, left and right
  362. # of the primary screen.  In this example, screen 2 is located to the
  363. # right of screen 1.

  364.     Screen "Screen 1"

  365. # Each InputDevice line specifies an InputDevice section name and
  366. # optionally some options to specify the way the device is to be
  367. # used.  Those options include "CorePointer", "CoreKeyboard" and
  368. # "SendCoreEvents".

  369. #    InputDevice "Mouse1" "CorePointer"
  370.     InputDevice "Mouse1"
  371.     InputDevice "Keyboard1" "CoreKeyboard"
  372.     InputDevice        "Synaptics Touchpad"
  373. EndSection

  374. Section "DRI"
  375.     Group 0
  376.     Mode 0666
  377. EndSection

  378. Section "Extensions"
  379.   Option "Composite" "Enable"
  380. EndSection

复制代码
发表于 2008-2-23 10:38:56 | 显示全部楼层
对我的机子就是这样,intel驱动极不稳定,常锁死系统
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-23 15:32:22 | 显示全部楼层
看来是没招了~ 等有米了还是买T系列的,但愿还是N卡……bless
回复 支持 反对

使用道具 举报

发表于 2008-2-23 16:22:25 | 显示全部楼层
我这,intel直接花屏。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-24 11:47:17 | 显示全部楼层
我狂晕,今天外接到20寸 LCD 上,因为 i810 没法选择手动在 xorg.conf 里面设置的 1680x1050 分辨率,只好转用 intel 的驱动,结果在 OB 下,像上次那样使用 transset 设置透明窗口之后拖动很卡的情况完全消失了……汗!难道上次发生的是灵异事件??
intel 驱动不好的地方:在外接显示器的情况下无法关闭 laptop 的显示屏,郁闷……貌似现在是无解的……
回复 支持 反对

使用道具 举报

发表于 2008-2-24 17:40:15 | 显示全部楼层
今天自行升级到2.2.1;-)
回复 支持 反对

使用道具 举报

发表于 2008-2-24 18:18:57 | 显示全部楼层
intel是有问题,幸亏arch还提供I810,有的版本强制更新成intel根本无法用
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-24 19:26:56 | 显示全部楼层
Post by 难免有错;1819599
今天自行升级到2.2.1;-)


testing?

Post by oxygen427
intel是有问题,幸亏arch还提供I810,有的版本强制更新成intel根本无法用


哪个发行版,这么BT?
回复 支持 反对

使用道具 举报

发表于 2008-2-24 21:56:36 | 显示全部楼层
810的驱动glxgears的得分比intel 2.0的要高将近10倍........
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-2-25 20:19:18 | 显示全部楼层
glxgears? 这个东东测出来的东东虽然有点不准,不过差10倍的确是有点……在我这里,intel 驱动明显感觉整个X有点卡……

另外,有两次连接外接 LCD 突然失去响应了……打开 X41 一看,本本自己的屏还是亮着的,但是一旦退出X,外接 LCD 和本本的显示屏都黑屏了,晕……不过系统没有 hang,只好盲打 reboot ……郁闷。有遇到累死情况的兄弟没?

还有,再问一下,有没有人通过 915resolution 使用 i810 驱动来设置宽屏分辨率的?没找到915resolution.conf 这个文件,不知道在哪里设置分辨率。915resolution 默认支持的宽屏分辨率没有 1680x1050……
回复 支持 反对

使用道具 举报

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

本版积分规则

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