LinuxSir.cn,穿越时空的Linuxsir!

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

X 有时候能起来,有时候能不起来

[复制链接]
发表于 2008-8-6 09:13:51 | 显示全部楼层 |阅读模式
请各位高手指点,此问题已困扰我好几个月。进X象买彩票撞大运似的 。
我用的是intel845GV集成显卡
我怀疑xserver-xorg-video-intel (2:2.3.2-2+lenny2) 有问题
Xorg.0.log.old是第一次启动log (X失败)
Xorg.0.log是第二次启动log(X成功)

1)两log均有以下错误
(EE) AIGLX error: dlopen of /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering

2)Xorg.0.log.old 主要错误记录
(II) evaluating device (Generic Keyboard)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(--) Configured Mouse: PnP-detected protocol: "ExplorerPS/2"
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Error in I830WaitLpRing(), timeout for 2 seconds
pgetbl_ctl: 0x3ffe0001 getbl_err: 0x00000000
ipeir: 0x00000000 iphdr: 0x00ffffff
LP ring tail: 0x00003780 head: 0x00003788 len: 0x0001f001 start 0x00000000
eir: 0x0000 esr: 0x0000 emr: 0xff7b
instdone: 0xffc1 instpm: 0x0000
memmode: 0x00000000 instps: 0x0000002c
hwstam: 0xfffe ier: 0x0002 imr: 0x053c iir: 0x00c1
Ring at virtual 0xaf968000 head 0x3788 tail 0x3780 count 32766
        00003708: 00c402a4
        0000370c: 00c802a8
        00003710: 007e0000
        00003714: 00000000
        00003718: 00000010
        0000371c: 011a4000
        00003720: 54f00006
        00003724: 03cc1900
        00003728: 00c402a8
        0000372c: 00c802ac
        00003730: 007e0000
        00003734: 00000000
        00003738: 00000010
        0000373c: 011a4000
        00003740: 54f00006
        00003744: 03cc1900
        00003748: 00c402ac
        0000374c: 00c802b0
        00003750: 007e0000
        00003754: 00000000
        00003758: 00000010
        0000375c: 011a4000
        00003760: 54f00006
        00003764: 03cc1900
        00003768: 00c402b0
        0000376c: 00c802b4
        00003770: 007e0000
        00003774: 00000000
        00003778: 00000010
        0000377c: 011a4000
        00003780: 00000000
        00003784: 00ffffff
        00003788: 00000000
Ring end
space: 0 wanted 32
(II) intel(0): [drm] removed 1 reserved context for kernel
(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xf8d3a000 at 0xb7aa1000
(II) intel(0): [drm] Closed DRM master.

Fatal server error:
lockup

(II) intel(0): xf86UnbindGARTMemory: unbind key 0
(II) intel(0): xf86UnbindGARTMemory: unbind key 1
(II) intel(0): xf86UnbindGARTMemory: unbind key 2
(II) intel(0): xf86UnbindGARTMemory: unbind key 3
(II) intel(0): xf86UnbindGARTMemory: unbind key 4
(II) intel(0): xf86UnbindGARTMemory: unbind key 5

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2008-8-6 19:20:05 | 显示全部楼层
这个很有可能是一个已知的安装包BUG,

可能的解决方法 :
1)apt-get --reinstall install libgl1-mesa-dri

2)升级x-server

你也许想同时做这两个事情:)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-8-7 08:35:51 | 显示全部楼层
1)libgl1-mesa-dri 我没有安装
2)xorg已是最新版本
# aptitude show xorg
软件包:xorg
新: 是
状态: 已安装
自动安装: 否
版本号:1:7.3+15
优先级:可选
部分:x11
维护者:Debian X Strike Force <debian-x@lists.debian.org>
未压缩尺寸:53.2k
依赖于: xserver-xorg, libgl1-mesa-glx | libgl1, libglu1-mesa, xfonts-base (>=
           1:1.0.0-1), xfonts-100dpi (>= 1:1.0.0-1), xfonts-75dpi (>=
           1:1.0.0-1), xfonts-scalable (>= 1:1.0.0-1), x11-apps,
           x11-session-utils, x11-utils, x11-xfs-utils, x11-xkb-utils,
           x11-xserver-utils, xauth, xinit, xfonts-utils, xkb-data, xterm |
           x-terminal-emulator
推荐: xorg-docs
提供: x-window-system, x-window-system-core
描述:X.Org X Window System
This metapackage provides the components for a standalone workstation running
the X Window System.  It provides the X libraries, an X server, a set of fonts,
and a group of basic X clients and utilities.

Higher level metapackages, such as those for desktop environments, can depend
on this package and simplify their dependencies.

It should be noted that a package providing x-window-manager should also be
installed to ensure a comfortable X experience.

标签: hardware::input, hardware::video, interface::x11, network::server,
      role::dummy, role::metapackage, use::driver, x11::xserver
回复 支持 反对

使用道具 举报

发表于 2008-8-7 18:16:33 | 显示全部楼层
安装第一个包并且检查direct rendering是否生效。命令是

glxinfo | grep direct
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-8-12 17:06:14 | 显示全部楼层
1)libgl1-mesa-dri
安装后,x根本进不去,有时候好象要进去,在屏幕的中间出现一个长方块就象死机一样。
2)glxinfo | grep direct 系统提示没有glxinfo命令,请教如何安装。
非常感谢deconvolution热心指点。
回复 支持 反对

使用道具 举报

发表于 2008-8-12 19:52:49 | 显示全部楼层
1)
我查了一下,不少人都遇到类似的情况。应该是xserver本身的问题。目前的暂时解决方法是降级xserver或者升级 xserver-xorg-video-intel  至2.4 (目前还不在sid里面)

2)glxinfo  是mesa-utils里面的一个程序

apt-get install mesa-utils
回复 支持 反对

使用道具 举报

发表于 2008-9-25 15:10:28 | 显示全部楼层
好像intel的集成显卡是有点问题,估计是驱动模块的问题,方法也只能是升级什么的,或者你换i810试试,
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-4 09:24:30 | 显示全部楼层
到网上找到了一个临时解决方法:
在 xorg.conf的Device section中加入
Option "AccelMethod" "XAA"
参考:http://grid5000-logs.debian.net/ ... 27.be27438f.fi.html
回复 支持 反对

使用道具 举报

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

本版积分规则

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