LinuxSir.cn,穿越时空的Linuxsir!

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

[问题]ATI显卡驱动安装(部分解决)

[复制链接]
发表于 2007-6-8 22:27:10 | 显示全部楼层 |阅读模式
最近升级了系统,新内核、新xorg-server、新ATI驱动
内核版本2.6.21-r2
xorg-server版本1.3.0.0
ATI驱动版本8.37.6(终于盼到Gentoo的更新了)
xorg-x11版本7.2

新版本的ATI驱动终于可以支持2.6.20以上的内核了,也不在与xorg_server-1.3.0.0发生block了。顺利安装之后,却无法生成配置文件。执行
  1. # xorgcfg
复制代码

报错。在/var/log/目录下找到Xorg.8.log文件,其中比较重要的摘抄如下:
[PHP]X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: UNKNOWN
Current Operating System: Linux aiya 2.6.21-gentoo-r2 #1 SMP Tue Jun 5 18:46:08 CST 2007 i686
Build Date: 05 June 2007

……

List of video drivers:
        radeon
        r128
        fglrx
        atimisc
        ati
        vesa
(II) LoadModule: "radeon"
(II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 4.2.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.2
(II) LoadModule: "r128"
(II) Loading /usr/lib/xorg/modules/drivers//r128_drv.so
(II) Module r128: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 4.1.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.2
(II) LoadModule: "fglrx"
(II) Loading /usr/lib/xorg/modules/drivers//fglrx_drv.so
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
        compiled for 7.1.0, module version = 8.37.6
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "atimisc"
(II) Loading /usr/lib/xorg/modules/drivers//atimisc_drv.so
dlopen: /usr/lib/xorg/modules/drivers//atimisc_drv.so: undefined symbol: ATIMemoryTypeNames_88800CX
(EE) Failed to load /usr/lib/xorg/modules/drivers//atimisc_drv.so
(II) UnloadModule: "atimisc"
(EE) Failed to load module "atimisc" (loader failed, 7)
(II) LoadModule: "ati"
(II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 6.6.3
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.2
(II) LoadModule: "vesa"
(II) Loading /usr/lib/xorg/modules/drivers//vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
        compiled for 1.3.0, module version = 1.3.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 1.2

……

(II) Primary Device is: PCI 01:00:0
(II) ATI Proprietary Linux Driver Version Identifier:8.37.6
(II) ATI Proprietary Linux Driver Release Identifier: LGDr8.37g1                           
(II) ATI Proprietary Linux Driver Build Date: May 25 2007 14:25:03
(II) ATI Proprietary Linux Driver Build Information: autobuild-rel-r6-8.37.1.1.2.3-driver-lnx-x86-x86_64-346145

Backtrace:
0: /usr/bin/Xorg(xf86SigHandler+0x84) [0x80d8df4]
1: [0xb7f94420]
2: /usr/lib/xorg/modules/drivers//fglrx_drv.so(atiddxProbeMain+0x13d) [0xb7a023ed]
3: /usr/bin/Xorg(DoConfigure+0x208) [0x80cf848]
4: /usr/bin/Xorg(InitOutput+0x835) [0x80a71a5]
5: /usr/bin/Xorg(main+0x27b) [0x807003b]
6: /lib/libc.so.6(__libc_start_main+0xb0) [0xb7dccd60]
7: /usr/bin/Xorg(FontFileCompleteXLFD+0xa1) [0x806f581]

Fatal server error:
Caught signal 11.  Server aborting
[/PHP]
尤其是这段:
[color="Red"](II) LoadModule: "atimisc"
(II) Loading /usr/lib/xorg/modules/drivers//atimisc_drv.so
dlopen: /usr/lib/xorg/modules/drivers//atimisc_drv.so: undefined symbol: ATIMemoryTypeNames_88800CX
(EE) Failed to load /usr/lib/xorg/modules/drivers//atimisc_drv.so
(II) UnloadModule: "atimisc"
(EE) Failed to load module "atimisc" (loader failed, 7)


达人教我,这是出了啥毛病?咋整呀?
难不成:mad: 我应该把xorg-x11降级成7.1的
发表于 2007-6-9 00:32:21 | 显示全部楼层
看log好象是fglrx挂了……
VIDEO_CARDS="fglrx"?
重新装ati驱动,没准RP好就能过了呢……开个玩笑
原来的能用?能用就暂时降级回去吧……
或者试试手工捅xorg.conf
唉,用a卡就是很不爽。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-9 01:37:33 | 显示全部楼层
从Gentoo Linux Taiwan Forums上找到一片帖子http://forums.gentoo.tw/viewtopic.php?p=51756

是 xorg-x11 USE 的問題
把 dlloader 拿掉就ok 了

但是我到系统下执行:
  1. # equery uses xorg-x11
复制代码

得到结果说xorg-x11没有使用任何USE,也没有定义任何USE。:ask
糊涂了~~
回复 支持 反对

使用道具 举报

发表于 2007-6-9 10:50:31 | 显示全部楼层
把/usr/lib/xorg/modules/drivers//atimisc_drv.so卸载掉呢?
回复 支持 反对

使用道具 举报

发表于 2007-6-9 11:04:35 | 显示全部楼层
应该查的包貌似是xorg-server
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-9 12:09:33 | 显示全部楼层
Post by sheep204
把/usr/lib/xorg/modules/drivers//atimisc_drv.so卸载掉呢?

请问如何卸载
回复 支持 反对

使用道具 举报

发表于 2007-6-9 12:55:07 | 显示全部楼层
先lsmod 查看是不是有atimisc,有的话用modprobe -r 卸载。而且5楼的兄弟提醒的也对。xorg-x11本来就没有use的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-11 20:39:36 | 显示全部楼层
  1. $ glxgears
  2. 854 frames in 5.3 seconds = 159.898 FPS
  3. 791 frames in 5.3 seconds = 147.899 FPS
  4. 791 frames in 5.4 seconds = 146.577 FPS
复制代码


Driver : ATI 8.37.6-r1
:eek: Tooooooooooooooooo..................  slow!!!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-11 20:46:07 | 显示全部楼层
my xorg.conf
[PHP]Section "ServerLayout"
        Identifier     "Simple Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        LogFile      "/var/X11.log"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/wqy-bitmapfont/"
EndSection

Section "Module"
        Load  "type1"
        Load  "glx"
        Load  "dri"
        Load  "dbe"     # Double buffer extension
        SubSection "extmod"
                Option  "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "Auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
        Option      "Emulate3Buttons"
        Option      "Emulate3Timeout" "50"
EndSection

Section "Monitor"
        Identifier   "15.4LCD"
        HorizSync    31.5 - 59.0
        VertRefresh  50.0 - 100.0
EndSection

Section "Device"
        Identifier  "MR9700"
        Driver      "fglrx"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV350 [Mobility Radeon 9700 M11]"
        VideoRam    65535
        Clocks      210 390
        BusID       "CI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "MR9700"
        Monitor    "15.4LCD"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes    "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode         066
EndSection

Section "Extensions"
        Option      "Composite" "Enable"
EndSection
[/PHP]
回复 支持 反对

使用道具 举报

发表于 2007-6-11 22:56:29 | 显示全部楼层
我用的就是 kernel 2.6.21.3 和ati 最新的驱动 8.37.6, 很好用。 我想有是要从你安装驱动的过程找找问题。
localhost xxxx # glxgears
8572 frames in 5.0 seconds = 1714.256 FPS
8695 frames in 5.0 seconds = 1738.864 FPS
8697 frames in 5.0 seconds = 1739.271 FPS
回复 支持 反对

使用道具 举报

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

本版积分规则

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