红联Linux门户
Linux帮助

求助:FC8 如何安装ATI驱动

发布时间:2008-01-22 10:42:48来源:红联作者:mbbaiy
我的显卡是ATI RADEON *2300,从网上下了驱动。可是无法安装,在终端里提示:
[root@localhost ~]# sh ati-driver-installer-8-01-x86.x86_64.run --buildpkg Fedora/F8
Created directory fglrx-install.z11223
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.452.1.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Fedora/F8
Package build failed!
Package build utility output:
Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/rpm-tmp.19131
+ umask 022
+ cd /tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD
+ cd ATI-fglrx-8.452.1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/rpm-tmp.19131
+ umask 022
+ cd /tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD
+ cd ATI-fglrx-8.452.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ exit 0
Executing(%install): /bin/sh -e /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/rpm-tmp.19131
+ umask 022
+ cd /tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD
+ cd ATI-fglrx-8.452.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root
+ '[' -d /etc/ld.so.conf.d ']'
+ mkdir -p /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/etc/ld.so.conf.d
+ pushd /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/etc/ld.so.conf.d
/tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/etc/ld.so.conf.d /tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD/ATI-fglrx-8.452.1
+ cat
+ popd
/tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD/ATI-fglrx-8.452.1
+ mkdir -p /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/usr/share/applications
+ pushd /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/usr/share/applications
/tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/usr/share/applications /tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD/ATI-fglrx-8.452.1
+ cat
+ popd
/tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD/ATI-fglrx-8.452.1
+ cp -pR /tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD/ATI-fglrx-8.452.1/etc /tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD/ATI-fglrx-8.452.1/lib /tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD/ATI-fglrx-8.452.1/usr /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root
+ find /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/usr/share/doc -type f -perm 0555 -exec chmod 0644 '{}' ';'
+ find /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root -type f -perm 0555 -exec chmod 0755 '{}' ';'
+ export AS_USER=y
+ AS_USER=y
+ pushd /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod
/tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod /tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD/ATI-fglrx-8.452.1
+ bash make.sh verbose
ATI module generator V 2.0
==========================
initializing...
make.sh: line 537: [: =: unary operator expected
OsRelease=2.6.23.9-85.fc8
major=2
minor=6
patch=23
extra=.9-85.fc8
SMP=1
smp=-SMP
iii=
AGP=1
CC=gcc
cc_version=
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.23.9-85.fc8/build SUBDIRS=/tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.23.9-85.fc8-i686'
CC [M] /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_check_pci':
/tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1951: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:481)
/tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_pci_find_slot':
/tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2840: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:481)
LD [M] /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.23.9-85.fc8-i686'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
+ mkdir -p /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/2.6.23.9-85.fc8/extra
+ install -D -m 0644 fglrx.ko /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/2.6.23.9-85.fc8/extra/fglrx/fglrx.ko
+ rm -rf /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root/lib/modules/fglrx
+ popd
/tmp/ATI-fglrx-8.452.1-1-11298-root/BUILD/ATI-fglrx-8.452.1
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: ATI-fglrx-8.452.1-1.f8
Provides: config(ATI-fglrx) = 8.452.1-1.f8 fglrx_dri.so fglrx_drv.so glesx.so libGL.so.1 libfglrx_dm.so.1.0 libfglrx_gamma.so.1 libfglrx_pp.so.1.0 libfglrx_tvout.so.1 libfglrxdrm.so
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh /sbin/chkconfig /sbin/ldconfig
Requires(preun): /bin/sh /sbin/chkconfig /sbin/service
Requires(postun): /bin/sh /sbin/ldconfig /sbin/service
Requires: /bin/bash /bin/sh config(ATI-fglrx) = 8.452.1-1.f8 kernel-module-ATI-fglrx-2.6.23.9-85.fc8 = 8.452.1-1.f8 libGL.so.1 libX11.so.6 libXext.so.6 libXrandr.so.2 libXrender.so.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libfglrx_dm.so.1.0 libfglrx_gamma.so.1 libfglrx_pp.so.1.0 libfglrx_tvout.so.1 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libm.so.6 libm.so.6(GLIBC_2.0) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) librt.so.1 librt.so.1(GLIBC_2.2) system-config-display
Conflicts: fglrx fglrx-glc22 fglrx_4_3_0 fglrx_6_8_0 kernel-module-fglrx ati-fglrx ati-fglrx-devel kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-devel nvidia-glx nvidia-glx-legacy xorg-x11-drv-nvidia xorg-x11-drv-nvidia-legacy
Processing files: ATI-fglrx-control-center-8.452.1-1.f8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ATI-fglrx = 8.452.1-1.f8 libGL.so.1 libICE.so.6 libSM.so.6 libX11.so.6 libXcursor.so.1 libXext.so.6 libXi.so.6 libXrandr.so.2 libXrender.so.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.4) libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libfontconfig.so.1 libfreetype.so.6 libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libm.so.6(GLIBC_2.2) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2)
Processing files: ATI-fglrx-devel-8.452.1-1.f8
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/include/GL ATI-fglrx = 8.452.1-1.f8 libGL.so.1
Processing files: kernel-module-ATI-fglrx-2.6.23.9-85.fc8-8.452.1-1.f8
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/ATI-fglrx-8.452.1-1-11298-root/tmp/ATI-fglrx-8.452.1-1.f8-root-root
error: Installed (but unpackaged) file(s) found:
/usr/sbin/amdnotifyui


RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/sbin/amdnotifyui
Removing temporary directory: fglrx-install.z11223
[root@localhost ~]#

我是个菜鸟,请高手指教!多谢!
文章评论

共有 4 条评论

  1. mbbaiy 于 2008-01-23 10:49:45发表:

    高手在哪里?见义勇为者在哪里?!

  2. mbbaiy 于 2008-01-22 14:10:15发表:

    以下是/etc/X11/xorg.conf内容:
    # Xorg configuration created by system-config-display

    Section "ServerLayout"
    Identifier "single head configuration"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Synaptics" "CorePointer"
    EndSection

    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    EndSection

    Section "ServerFlags"
    Option "AIGLX" "on"
    EndSection

    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us+inet"
    EndSection

    Section "InputDevice"
    Identifier "Synaptics"
    Driver "synaptics"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "auto-dev"
    Option "Emulate3Buttons" "yes"
    EndSection

    Section "Monitor"
    Identifier "Monitor0"
    ModelName "LCD Panel 1280x800"
    HorizSync 31.5 - 50.0
    VertRefresh 56.0 - 65.0
    Option "dpms"
    EndSection

    Section "Device"
    Identifier "Videocard0"
    Driver "fglrx"
    Option "OpenGLOverlay" "off"
    Option "VideoOverlay" "on"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    Modes "800x600"
    EndSubSection
    EndSection

    Section "Extensions"
    Option "Composite" "Enable"
    EndSection

    我按照deepwhite所说依次在终端执行。似乎装上了驱动,但是打不开ATI CATALYST CONTROL CENTER,也启动不了桌面效果。刚刚接触Linux,多多指教。

  3. deepwhite 于 2008-01-22 11:27:18发表:

    rpm -ivh http://rpm.livna.org/livna-release-8.rpm

    rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-livna

    yum install kmod-fglrx