LinuxSir.cn,穿越时空的Linuxsir!

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

intel865板载的显卡如何打开direct rendering?

[复制链接]
发表于 2006-3-3 17:00:12 | 显示全部楼层 |阅读模式
我用的i915的驱动,就是内核自带的!但是glx怎么弄啊?
发表于 2006-3-3 19:44:43 | 显示全部楼层
I'm using i845G with shared 8M video memory. It seems impossible to enable DRI.
  1. (II) I810(0): 6392 kBytes additional video memory is required to
  2.         enable tiling mode for DRI.
  3. (II) I810(0): 4344 kBytes additional video memory is required to enable DRI.
  4. (II) I810(0): Disabling DRI.
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-3-3 20:28:38 | 显示全部楼层
The log is changed since I modified the xorg.conf
  1. (II) I810(0): [drm] DRM interface version 1.2
  2. (II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
  3. (II) I810(0): [drm] added 8192 byte SAREA at 0xe0103000
  4. (II) I810(0): [drm] mapped SAREA 0xe0103000 to 0xb792f000
  5. (II) I810(0): [drm] framebuffer handle = 0xe0020000
  6. (II) I810(0): [drm] added 1 reserved context for kernel
  7. (WW) I810(0): i830 Kernel module detected, Use the i915 Kernel module instead, aborting DRI init.
  8. (II) I810(0): [drm] removed 1 reserved context for kernel
  9. (II) I810(0): [drm] unmapping 8192 bytes of SAREA 0xe0103000 at 0xb792f000
  10. ......
  11. (II) I810(0): direct rendering: Failed
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-3 21:19:51 | 显示全部楼层
那不是就不能用3ddesktop了?
回复 支持 反对

使用道具 举报

发表于 2006-3-4 11:44:19 | 显示全部楼层
I've just updated kernel to 2.6.15. Using DRM in kernel, DRI issue is solved. The gears of glxgear rotate so smoothly.
  1. name of display: :0.0
  2. display: :0  screen: 0
  3. direct rendering: Yes
  4. server glx vendor string: SGI
  5. server glx version string: 1.2
复制代码

BUT I found another issue. Although the DRI is enabled, the mouse cursor moves not smoothly. If I don't move cursor for sometime, it is always stuck as its first moving, and then it goes normal. I don't know why.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-4 23:46:05 | 显示全部楼层
打开dri选项是哪个?
回复 支持 反对

使用道具 举报

发表于 2006-3-7 09:12:49 | 显示全部楼层
升级kernel之后上述鼠标问题解决。
回复 支持 反对

使用道具 举报

发表于 2006-3-7 13:47:32 | 显示全部楼层
如果你用xorg 6.8以上,需要在kernel配置中选中i830和i915才能打开drm.
http://www.linuxsir.cn/bbs/showthread.php?t=235991
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-8 21:24:11 | 显示全部楼层
终于搞定rendering了,哈哈!glxgear有所上升。呵呵
回复 支持 反对

使用道具 举报

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

本版积分规则

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