LinuxSir.cn,穿越时空的Linuxsir!

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

[请教]ATI 显卡X600装驱动问题。已经解决

[复制链接]
发表于 2006-4-9 03:02:24 | 显示全部楼层 |阅读模式
已经搜遍版面上和其他论坛的帖子,还是不得其解请教大虾:
所装系统suse 10.0.
显卡 ATI X600。
dell GX620机器。
在装suse时候,安装成功(有成功的声音),后不能启动X-Windows图形界面,后来在内核模式(grub引导时候的第四个选项1,linux 10.0 ,2 window xp 3,floppy 4 ,内核模式)参照http://en.opensuse.org/ATI_Driver_HOWTO 上的说明安装了ati-driver-installer-8.18.8-i386.run
然后启动startx 成功进入图形界面。

后来安装了个显示软件,发现只要一运行它,整个界面都出现颜色失真,在win下面的时候,用播放器播放 wmv 格式的视频时候 也会出现颜色失真。

估计是显卡问题,重新安装驱动,即为前面的那个安装包。发现原来自己没有安装好kernel-source
从Yast 安装后,重新 安装rpm -Uhv fglrx_6_8_0_SUSE100-8.18.6-8-i386.rpm。说已经安装,修改sax2 -r -m 0=fglrx -b /usr/share/doc/packages/fglrx/sax2-profile。有修改,然后进入startx 后,运行那个显示软件,问题还是依然。

想了很久,估计是gcc 的问题,以前因为要安装个软件,一件装了c++编译,用Yast 安装gcc 发现还有个包没装上,装上后,重复安装的过程.
出现了一串结果:
因为在init 3 模式下运行,没有copy到结果,摘出主要的几点给大家会诊:
Sax initializing plz waiting.......
sax no x -server is running
sax will start own server if need
sax including profile /usr/share/doc/packages/fglrx/sax2-profile
sax startup
xc sorry ,could not start configuration server
xc this card have the following reasons
-- the card is still not supported ,to get further information about driver status plz have a look at http://www.x.org
-- the card was not detected correctlly in this case plz get the information which X11 module provide support for the card and set the module using the following command
Sax -m 0=< name of module >
note : information about the module are provided on the mentioned www-page above
--the card was detected but the server fails to start in spite of dection. in this case something more serious had happened .plz have a look at the log file ./var/log/sax.log
xc if you can not  determine the cause ,plz get in contact wiht support@suse.de

xc abort
去看了www.x.org 查不到相关信息,看了/var/log/sax.log
内容如下,(EE) No devices detected.
        Fatal server error:
        no screens found
        Please consult the The X.Org Foundation support
         at http://wiki.X.Org for help.         Please also check the log file at "/var/log/Xorg.0.log" for additional information.
看了Xorg.0.log内容如下,看到有错误的内容
(EE) fglrx(0): DRIScreenInit failed!
Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list!

另外fglrxinfo后的结果如下,说明未能安装成功把,
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)


清大家帮帮忙,怎么才能安装得上。
 楼主| 发表于 2006-4-9 03:04:31 | 显示全部楼层
另外我还参考了下面的这个帖子的做法,参考了下,还是不得要点,大家,看了之后看能不能给我提些建议,谢谢了。
After a few hours of extreme psychological pain, I finally got this blasted t
hing to work on the latest kernel under FC3 (some previous knowledge regardin
g patching, etc would have been useful)! So I thought I'd help as many ppl as
possible avoid such trauma by posting a short how-to here... Enjoy!

1) Download the latest ATI Driver for X.org from here: http://www2.ati.com/dr
ivers/linux/f...8.25-1.i386.rpm

2) Download the ATI Development Team's kernel 2.6.10 kernel patch from here:
http://rage3d.com/board/showthread.php?t=33798874 (just cut & paste mtippett'
s code from the first message into a text file and save it as 8.8.25-kernel-2
.6.10+.patch at the same place you saved the Driver)

3) Open a terminal and su as root, go to the download directory and install t
he drivers by executing the following command (it's necessary to overwrite th
e old MESA GL drivers with the ATI ones, they are backwards compatible with M
ESA anyway): rpm -Uvh --force fglrx_6_8_0-8.8.25-1.i386.rpm

4) Go to /lib/modules/fglrx/build_mod/ and apply the patch by using a command
similar to (where ~/Download is the directory where you put the patch file):
patch -p0 -i ~/Download/8.8.25-kernel-2.6.10+.patch

5) Rebuild the driver by executing: sh make.sh

6) Go back one directory to /lib/modules/fglrx/ and reinstall the driver by e
xecuting: sh make_install.sh

7) w00t! There should be no errors (there might be one error while trying to
load the fglx driver module, but this should be resolved on the next reboot -
it's because your current driver is already loaded) and everything should ha
ve installed properly.   
----------------------------看这个!!!!

8) Time to backup your current configuration, make a backup of your xorg.conf
file by executing: cp /etc/X11/xorg.conf /etc/X11/xorg.confBAK

9) Switch your boot mode to Shell only (no graphics) in case your configurati
on fails: edit the /etc/inittab and change the boot init mode from 5 to 3 and
save

10) Now that everything is installed OK and backed up, configure your driver
for your video card and monitor(s) by executing: /usr/X11R6/bin/fglrxconfig

11) In the end, tell the program to save the settings to /etc/X11/xorg.conf.
YOU WILL NEED TO EDIT THE FILE TO CHANGE THE KEYBOARD DRIVER TO KBD, other mo
difcations may be necessary, use your backup for this!

12) It's SHOWTIME! Reboot your computer, at the Shell, login as root, start t
he GDM by executing: gdm

13) Login as any user, open a Terminal and start ATI's openGL test program by
executing: /usr/X11R6/bin/fgl_glxgears

14) If all is well, you should see a new window with a rotating gears texture
d cube in it. Congrats!!! :cool: You can edit your inittab file back to boot
init mode 5 now that everything works for sure. You can run the older glxgear
s if you want to see higher scores and no cube... Oh, and by running the /usr
/X11R6/bin/fglrxinfo command, you should see anything ATI in there (MESA mean
s it didn't work), ex:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9500 Pro Generic
OpenGL version string: 1.3.4769 (X4.3.0-8.8.25)


If you had any problems with 12 through 14, then do 10 again or try editing t
he xorg.conf file to see what's up. You can compare it to your xorg.confBAK b
ackup to see if anything's missing. But it should all work fine.

Enjoy!!! It's gaming time!
回复 支持 反对

使用道具 举报

发表于 2006-4-9 06:56:35 | 显示全部楼层
运行完ati-driver-installer-8.18.8-i386.run后立即查看/usr/share/fglrx/install.log日志文件,看出错信息在哪。

我对ATI官方的驱动的作法表示怀疑:安装错误没有提示,安装后不显示日志,日志放到一个奇怪的不告知的目录。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-9 13:56:23 | 显示全部楼层
今天又尝试安装最新的版本,ati-driver-installer-8.23.7-i386.run,运行完ati-driver-installer-8.23.7-i386.run后没有发现有/usr/share/fglrx/install.log文件,得到 rpm文件,按照说明,运行 rpm -Uhv ......
提示的结果中只有几处是warnning 外,也没有出错。
# rpm -Uhv fglrx_6_8_0_SUSE100-8.23.7-1.i386.rpm
Preparing...                ########################################### [100%]
   1:fglrx_6_8_0_SUSE100    ########################################### [100%]
/usr/src/kernel-modules/fglrx /
make: Entering directory `/usr/src/linux-2.6.13-15-obj/i386/smp'
make -C ../../../linux-2.6.13-15 O=../linux-2.6.13-15-obj/i386/smp
  LD      /usr/src/kernel-modules/fglrx/built-in.o
  CC [M]  /usr/src/kernel-modules/fglrx/agp3.o
  CC [M]  /usr/src/kernel-modules/fglrx/nvidia-agp.o
  CC [M]  /usr/src/kernel-modules/fglrx/agpgart_be.o
/usr/src/kernel-modules/fglrx/agpgart_be.c: In function ‘__fgl_agp_init’:
/usr/src/kernel-modules/fglrx/agpgart_be.c:8175: warning: ‘pm_register’ is deprecated (declared at /usr/src/linux-2.6.13-15/include/linux/pm.h:107)
/usr/src/kernel-modules/fglrx/agpgart_be.c: In function ‘__fgl_agp_cleanup’:
/usr/src/kernel-modules/fglrx/agpgart_be.c:8185: warning: ‘pm_unregister_all’ is deprecated (declared at /usr/src/linux-2.6.13-15/include/linux/pm.h:117)
/usr/src/kernel-modules/fglrx/agpgart_be.c: At top level:
/usr/src/kernel-modules/fglrx/agpgart_be.c:6079: warning: ‘ati_gart_base’ defined but not used
  CC [M]  /usr/src/kernel-modules/fglrx/i7505-agp.o
  CC [M]  /usr/src/kernel-modules/fglrx/firegl_public.o
In file included from /usr/src/kernel-modules/fglrx/firegl_public.c:162:
/usr/src/kernel-modules/fglrx/firegl_public.h:268:5: warning: "FIREGL_VMA_INFO" is not defined
In file included from /usr/src/kernel-modules/fglrx/drm_proc.h:41,
                 from /usr/src/kernel-modules/fglrx/firegl_public.c:333:
/usr/src/kernel-modules/fglrx/drmP.h:561:5: warning: "__HAVE_VBL_IRQ" is not defined
/usr/src/kernel-modules/fglrx/drmP.h:664:5: warning: "__HAVE_VBL_IRQ" is not defined
/usr/src/kernel-modules/fglrx/drmP.h:936:5: warning: "__HAVE_SG" is not defined
/usr/src/kernel-modules/fglrx/firegl_public.c:407:5: warning: "FIREGL_VMA_INFO" is not defined
/usr/src/kernel-modules/fglrx/firegl_public.c:426:5: warning: "FIREGL_VMA_INFO" is not defined
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘firegl_stub_putminor’:
/usr/src/kernel-modules/fglrx/firegl_public.c:581: warning: ‘inter_module_put’ is deprecated (declared at /usr/src/linux-2.6.13-15/include/linux/module.h:573)
/usr/src/kernel-modules/fglrx/firegl_public.c:583: warning: ‘inter_module_unregister’ is deprecated (declared at /usr/src/linux-2.6.13-15/include/linux/module.h:570)
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘firegl_stub_register’:
/usr/src/kernel-modules/fglrx/firegl_public.c:603: warning: ‘inter_module_register’ is deprecated (declared at /usr/src/linux-2.6.13-15/include/linux/module.h:569)
/usr/src/kernel-modules/fglrx/firegl_public.c:634: warning: ‘inter_module_put’ is deprecated (declared at /usr/src/linux-2.6.13-15/include/linux/module.h:573)
/usr/src/kernel-modules/fglrx/firegl_public.c: At top level:
/usr/src/kernel-modules/fglrx/firegl_public.c:3621: warning: initialization from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c:3622: warning: initialization from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c:3623: warning: initialization from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c:3624: warning: initialization from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c:3625: warning: initialization from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c:3626: warning: initialization from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c:3627: warning: initialization from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c:3628: warning: initialization from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c:3630: warning: initialization from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c:3640: warning: function declaration isn’t a prototype
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘test_inter_module_interface’:
/usr/src/kernel-modules/fglrx/firegl_public.c:3706: warning: ‘inter_module_put’ is deprecated (declared at /usr/src/linux-2.6.13-15/include/linux/module.h:573)
/usr/src/kernel-modules/fglrx/firegl_public.c:3712: warning: ‘inter_module_put’ is deprecated (declared at /usr/src/linux-2.6.13-15/include/linux/module.h:573)
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘__ke_agp_allocate_memory_phys_list’:
/usr/src/kernel-modules/fglrx/firegl_public.c:3970: warning: passing argument 3 of ‘im_fglrx_agp_stub->allocate_memory_phys_list’ makes integer from pointer without a cast
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘__ke_agp_bind_memory’:
/usr/src/kernel-modules/fglrx/firegl_public.c:4009: warning: passing argument 1 of ‘im_fglrx_agp_stub->bind_memory’ from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘__ke_agp_unbind_memory’:
/usr/src/kernel-modules/fglrx/firegl_public.c:4022: warning: passing argument 1 of ‘im_fglrx_agp_stub->unbind_memory’ from incompatible pointer type
/usr/src/kernel-modules/fglrx/firegl_public.c: In function ‘__ke_smp_call_function’:
/usr/src/kernel-modules/fglrx/firegl_public.c:4251: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
  LD [M]  /usr/src/kernel-modules/fglrx/fglrx.o
  Building modules, stage 2.
  MODPOST
Warning: could not find /usr/src/kernel-modules/fglrx/.libfglrx_ip.a.GCC4.cmd for /usr/src/kernel-modules/fglrx/libfglrx_ip.a.GCC4
  CC      /usr/src/kernel-modules/fglrx/fglrx.mod.o
  LD [M]  /usr/src/kernel-modules/fglrx/fglrx.ko
make: Leaving directory `/usr/src/linux-2.6.13-15-obj/i386/smp'
make: Entering directory `/usr/src/linux-2.6.13-15-obj/i386/smp'
make -C ../../../linux-2.6.13-15 O=../linux-2.6.13-15-obj/i386/smp modules_install
  INSTALL /usr/src/kernel-modules/fglrx/fglrx.ko
make: Leaving directory `/usr/src/linux-2.6.13-15-obj/i386/smp'
/

*************************************************************
Please read "/usr/share/doc/packages/fglrx/README.SuSE" for
configuration details when using SaX2.
*************************************************************

下面是/usr/share/doc/packages/fglrx/README.SuSE的内容。
ATI fglrx driver configuration (including 3D support)
-----------------------------------------------------

Switch to runlevel 3 ("init 3") and use the following command as user
"root" to configure the ATI fglrx driver (including 3D support).

  sax2 -r -m 0=fglrx -b /usr/share/doc/packages/fglrx/sax2-profile

On (open)SUSE 10.1 (Alpha) or later it's no longer required to
specify the profile, so use "sax2 -r -m 0=fglrx" instead.

There's no need to try to enable 3D support via SaX2. It's already
enabled automatically when SaX2 is starting.

Known Issues:
- driver only supports 24bit color depth
- enabling of 3D support through SaX2 does not work (see above)


Using ATI GL library / GLX 1.3 API
----------------------------------

Some OpenGL applications might already require OpenGL extensions,
which are only available in the GLX 1.3 API, whereas the standard
OpenGL library only provides the GLX 1.2 API. Therefore ATI provides
an OpenGL library, which adds some of the GLX 1.3 extensions. If you
want to make use of this library with a program called "foobar", just
do the following:

  IA32:

    LD_LIBRARY_PATH=/usr/lib/fglrx/libLD_LIBRARY_PATH foobar

  AMD64:

    LD_LIBRARY_PATH=/usr/lib64/fglrx/lib:/usr/lib/fglrx/libLD_LIBRARY_PATH foobar


Update on ATI GL library
Since release 8.08/8.8.25 the ATI driver no longer works together
(hardware accelerated) with the standard OpenGL library. Therefore
LD_LIBRARY_PATH is now set to

  /usr/lib/fglrx/libLD_LIBRARY_PATH (IA32)
  /usr/lib64/fglrx/lib:/usr/lib/fglrx/libLD_LIBRARY_PATH (AMD64)

by default (by specifying this in /etc/profile.d/fglrx.{sh,csh}).

Unfortunately the use of LD_LIBRARY_PATH does not work for
setuid/setgid binaries (e.g. chromium/trackballs) because of obvious
security reasons. If you rely on such programs you might consider to
add "/usr/lib/fglrx/lib" (and "/usr/lib64/fglrx/lib" on AMD64) to
your /etc/ld.so.conf and call "ldconfig" right after this. Make sure
you insert it before /usr/lib and /usr/lib64 on AMD64.


License Terms and Conditions
----------------------------

  Copyright (c) 1999-2000 FGL Graphics, a division of SONICblue Inc.
  Copyright (c) 2001-2002 ATI Technologies, Starnberg, GERMANY
  Copyright (c) 2003-2005 ATI Technologies, Inc
  All Rights Reserved.

  Redistribution and use in source and binary forms, with or without
  modification, are permitted provided that the following conditions
  are met:

  1) All conditions of the ATI Software End User License Agreement are
     complied with.  A copy of ATI's Software End User License Agreement
     should have been included with this software.  If you cannot locate
     this Agreement, please contact ATI Technologies  (http://www.ati.com)
     for a copy of this Agreement.
2) This header is included unchanged with this file.

[See /usr/share/doc/fglrx/ATI_LICENSE.TXT for details.]

开始配置文件
init 3
sax2 -r -m 0=fglrx -b /usr/share/doc/packages/fglrx/sax2-profile

没有昨天那样的 错误出现了,
其中有个 sax no x-server is running
.
.
.
sax startup
出现了个对话框,
有三个选择,change the cofiguation ;ok ;cancel。
选择ok
然后,reboot  然后,fglrxinfo
发现结果依然是 昨天那样,
linux:/usr/X11R6/bin # fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

Post by ideawu
运行完ati-driver-installer-8.18.8-i386.run后立即查看/usr/share/fglrx/install.log日志文件,看出错信息在哪。

我对ATI官方的驱动的作法表示怀疑:安装错误没有提示,安装后不显示日志,日志放到一个奇怪的不告知的目录。
回复 支持 反对

使用道具 举报

发表于 2006-4-9 14:07:41 | 显示全部楼层
有可能不是install.log,可能是fglrx-install.log等,你把那么目录的日志看一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-9 17:33:04 | 显示全部楼层
也没有看到相关的文件,目录的日志是指什么呢??
谢谢。
回复 支持 反对

使用道具 举报

发表于 2006-4-9 17:43:41 | 显示全部楼层
还好,偶不用ATI的卡
回复 支持 反对

使用道具 举报

发表于 2006-4-9 19:54:50 | 显示全部楼层
专有驱动应该能解决一切问题
可是我给别人默认安装x600 mobile是可以识别并正常显示的,尽管没3d
回复 支持 反对

使用道具 举报

发表于 2006-4-9 20:15:43 | 显示全部楼层
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual!

我的是这样。。。在最后init3里面输入那行命令以后直接就显示器超出同步范围。。。
回复 支持 反对

使用道具 举报

发表于 2006-4-9 20:16:24 | 显示全部楼层
btw,我的是9600
回复 支持 反对

使用道具 举报

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

本版积分规则

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