红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

安装ATI的8.1显卡驱动并开启3D特效简明教程

发布时间:2008-01-19 02:21:26来源:红联作者:zhizunbao
安装过程非常简单,不用再编译deb包,保证人人都可以安装成功。
如果安装不成功,看我这个教程(http://forum.ubuntu.org.cn/viewtopic.php?t=102298),从deb包安装
一。下载地址:http://ati.amd.com/support/drivers/linux/linux-radeon.html
首先检查一下你的显卡是否在以下支持范围以内:
引用:
工作站产品
FireGL™ V8650/V8600
FireGL™ V7600/V7350/V7300/V7200/V7100
FireGL™ V5600/V5200/V5100/V5000
FireGL™ V3600/V3400/V3300/V3200/V3100
FireGL™ X3-256/X3/X2-256/Z1-128/T2-128/X1-128/X1-256p
FireGL™ 2200 (Single card PCI-e configuration)
Mobility™ FireGL™ V5000/T2
移动及整合产品
Mobility™ Radeon™ X1800/X1600/X1400/X1300/X1200/X1100/X800/X700/X600/X300/X200/9800/9600/9550/9500 series
Mobility™ Radeon™ Xpress 1200/1100/200 series
桌面及整合产品
Radeon™ HD 2900/2600/2400 series
Radeon™ X1900/X1800/X1300/X850/X800/ X700/X600/X550/X300/9800/9700/9600/9550/9500 series
Radeon™ Xpress1200/1100 /200 series

最好是以前没有装过驱动。
二。安装命令:[code]sudo sh ati-driver-installer-8-01-x86.x86_64.run
sudo aticonfig --initial
sudo reboot[/code]这样就安装好了,比之前的7.11,7.12简单很多吧。
三。重启之后,受限管理器会自动启用新驱动,不要去改动它,用以下命令测试一下是否安装成功。[code]$ fglrxinfo[/code]
引用:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X800 GTO
OpenGL version string: 2.1.7276 Release
[code]$ glxinfo |grep -e 'direct' -e 'OpenGL'[/code]
引用:
direct rendering: Yes
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X800 GTO
OpenGL version string: 2.1.7276 Release
OpenGL extensions:

出现这样的返回值就说明安装成功了。
四。把compiz-fusion安装全了,命令:[code]sudo apt-get install compiz compiz-bcop compizconfig-settings-manager compiz-core compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-gnome compiz-plugins libcompizconfig0 libcompizconfig-backend-gconf libdecoration0 python-compizconfig emerald -y[/code]五。装完之后,还有重要的一步,因为Ubuntu7.10发布的时候ATI的显卡驱动还不支持AIGLX,所以要借助XGL才能开启compiz,但是现在装的最新的驱动已经提供了AIGLX的支持,不再需要XGL了。所以必须经过以下操作才能屏蔽掉XGL的检测。
1。[code]sudo gedit /etc/X11/xorg.conf[/code]查看一下文件中是否有这一段存在
引用:
# Section "Extensions"
# Option "Composite" "0"
# EndSection

有的话就删掉,没有就不要动了。
2。然后再让compiz识别fglrx。命令:[code]mkdir -p ~/.config/compiz && echo SKIP_CHECKS=yes >> ~/.config/compiz/compiz-manager[/code]3。然后修改compiz初始文件[code]sudo gedit /usr/bin/compiz[/code]找到下面的语句,将fglrx加入
引用:
# Driver whitelist
WHITELIST="fglrx nvidia intel ati radeon i810"

4。再找到下面的语句,
引用:
# blacklist based on the pci ids
# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
T=" 1002:5954 1002:5854 1002:5955" # ati rs480
T="$T 1002:4153" # ATI Rv350
T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
T="$T 8086:2972" # i965 (x3000)
T="$T 1002:3152 1002:3150 1002:5462 1002:5653 " # ati X300 X600,X600 X700
BLACKLIST_PCIIDS="$T"

将上面的语句段改为:
引用:
# blacklist based on the pci ids
# BLACKLIST_PCIIDS="$T"
BLACKLIST_PCIIDS=""

5。重启一下 X-window,看一下compiz能否启动。在“视觉效果”里选择自定义就可以开启3D了。
六。安装compiz-0.6.99,可以到这里http://kwatrow.nl/repo/dists/Gutsy/compiz-fusion-git/
下载deb包。在新立得中把旧的compiz删除干净。然后把以下deb包放在一个文件夹
引用:
compiz_0.6.3
compiz-bcop_0.6.99
compizconfig-settings-manager_0.6.99
compiz-core_0.6.3
compiz-fusion-plugins-extra_0.6.99
compiz-fusion-plugins-main_0.6.99
compiz-fusion-plugins-unsupported_0.6.99
compiz-gnome_0.6.3
compiz-plugins_0.6.3
emerald_0.6.99
emerald-themes_0.6.99
libcompizconfig0_0.6.99
libcompizconfig-backend-gconf_0.6.99
libdecoration0_0.6.3
libemeraldengine0_0.6.99
python-compizconfig_0.6.99

对于KDE用户相应改为
引用:
compiz-kde_0.6.3
libcompizconfig-backend-kconfig_0.6.99

一个命令就安装好了[code]sudo dpkg -i *.deb[/code]注意:第五大步骤是必须做的,原因我已经说明白了,驱动的更新只能是减少安装步骤,而第五步这个过程想要省略的话恐怕要等8.04发布了。

[ 本帖最后由 zhizunbao 于 2008-1-24 00:13 编辑 ]
文章评论

共有 23 条评论

  1. mbbaiy 于 2008-01-23 23:56:09发表:

    我将你给的内容粘贴到对应的文件里了,并且保存,重启了。可是还是行不通,不管怎么说,多谢你的帮助。我觉得问题是:
    [root@localhost ~]# fglrxinfo
    display: :0.0 screen: 0
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.4 (2.1 Mesa 7.0.2)


    [root@localhost ~]# glxinfo |grep -e 'direct' -e 'OpenGL'
    direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.4 (2.1 Mesa 7.0.2)
    OpenGL extensions:

    [root@localhost ~]#



    表示我的驱动装的有问题。OpenGL 都不是像ATI的(引用zhizunbao的):

    display: :0.0 screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON X800 GTO
    OpenGL version string: 2.1.7276 Release

    direct rendering: Yes
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON X800 GTO
    OpenGL version string: 2.1.7276 Release
    OpenGL extensions:

    不知道能否改变一下,改成ATI的,不用Mesa的。

  2. beyondfly 于 2008-01-23 21:28:53发表:

    Section "Module"

    # This loads the DBE extension module.

    Load "dbe" # Double buffer extension

    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    SubSection "extmod"
    Option "omit xfree86-dga" # don't initialise the DGA extension
    EndSubSection

    # This loads the font modules
    Load "type1"
    Load "freetype"
    # Load "xtt"

    # This loads the GLX module
    Load "glx"
    # This loads the DRI module
    Load "dri"

    EndSection

    # Option "UseInternalAGPGART" "no"


    Section "Device"
    Identifier "device1"
    VendorName "ATI"
    BoardName "ATI Radeon (fglrx)"
    Driver "fglrx"
    Option "DPMS"

    EndSection

    你的xorg.conf中少了这几项

  3. mbbaiy 于 2008-01-23 19:24:26发表:

    windows优化大师里的内容:

  4. mbbaiy 于 2008-01-23 19:04:34发表:

    是不是我的显卡驱动不支持呀,X2300听说和X1300差不多呀。

  5. mbbaiy 于 2008-01-23 19:02:16发表:

    版主多指教,小弟多谢啦!

  6. mbbaiy 于 2008-01-23 19:00:23发表:

    我又试着另外的方式安装驱动如下:
    [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 ~]#

    还是不行。红色部分是咋回事呀,大侠们!

  7. mbbaiy 于 2008-01-23 18:57:23发表:

    我昨天照着
    作者: deepwhite 发布日期: 2008-1-22
    rpm -ivh http://rpm.livna.org/livna-release-8.rpm

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

    yum install kmod-fglrx

    上面的步骤安了一下,是不是有啥问题。

  8. mbbaiy 于 2008-01-23 18:54:10发表:

    是从http://ati.amd.com/support/drivers/linux/linux-radeon.html下的吧。
    然后:
    sh ati-driver-installer-8-01-x86.x86_64.run
    aticonfig --initial
    reboot
    结果,ATI CCC是可以打开了。可是里面许多3D选项都设置不了。
    查看信息:
    OpenGL都不是与ATI相关的。是另外的供应商,渲染,版本。

    我是个菜鸟,多多指教!

  9. beyondfly 于 2008-01-23 18:24:03发表:

    老兄,从ati.amd的网站上面下载的是bin,不要编译也不要打包。

  10. mbbaiy 于 2008-01-23 17:40:35发表:

    是从AMD ATI下的驱动啊。但是就是编译打包有问题。

  11. mbbaiy 于 2008-01-23 17:39:10发表:

    我的:
    [root@localhost ~]# cat /etc/X11/xorg.conf
    # Xorg configuration created by livna-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" "on"
    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 "1280x800"
    EndSubSection
    EndSection

    Section "DRI"
    Mode 0666
    EndSection

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

    [root@localhost ~]#

    今天下午还偶然发现:笔记本(华硕)只用电池供电,进LINUX奇慢无比,慢得回回死机!高手给看看我的文件有啥问题,多谢指教!

  12. beyondfly 于 2008-01-23 15:45:12发表:

    我的机子的配置,ati radeon 9550 AGP 256M 128 bit
    我的xorg.conf你看看[code]beyond@gentoo ~ $ cat /etc/X11/xorg.conf
    # File generated by xorgconfig.

    #
    # Copyright 2004 The X.Org Foundation
    #
    # Permission is hereby granted, free of charge, to any person obtaining a
    # copy of this software and associated documentation files (the "Software"),
    # to deal in the Software without restriction, including without limitation
    # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    # and/or sell copies of the Software, and to permit persons to whom the
    # Software is furnished to do so, subject to the following conditions:
    #
    # The above copyright notice and this permission notice shall be included in
    # all copies or substantial portions of the Software.
    #
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
    # The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
    # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    # SOFTWARE.
    #
    # Except as contained in this notice, the name of The X.Org Foundation shall
    # not be used in advertising or otherwise to promote the sale, use or other
    # dealings in this Software without prior written authorization from
    # The X.Org Foundation.
    #

    # **********************************************************************
    # Refer to the xorg.conf(5) man page for details about the format of
    # this file.
    # **********************************************************************

    # **********************************************************************
    # Module section -- this section is used to specify
    # which dynamically loadable modules to load.
    # **********************************************************************
    #
    Section "Module"

    # This loads the DBE extension module.

    Load "dbe" # Double buffer extension

    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    SubSection "extmod"
    Option "omit xfree86-dga" # don't initialise the DGA extension
    EndSubSection

    # This loads the font modules
    Load "type1"
    Load "freetype"
    # Load "xtt"

    # This loads the GLX module
    Load "glx"
    # This loads the DRI module
    Load "dri"

    EndSection

    # Option "UseInternalAGPGART" "no"


    Section "Device"
    Identifier "device1"
    VendorName "ATI"
    BoardName "ATI Radeon (fglrx)"
    Driver "fglrx"
    Option "DPMS"

    EndSection
    # **********************************************************************
    # Files section. This allows default font and rgb paths to be set
    # **********************************************************************

    Section "Files"

    # The location of the RGB database. Note, this is the name of the
    # file minus the extension (like ".txt" or ".db"). There is normally
    # no need to change the default.

    RgbPath "/usr/share/X11/rgb"

    # Multiple FontPath entries are allowed (which are concatenated together),
    # as well as specifying multiple comma-separated entries in one FontPath
    # command (or a combination of both methods)
    #
    #

    FontPath "/usr/share/fonts/misc/"
    FontPath "/usr/share/fonts/TTF/"
    # FontPath "/usr/share/fonts/OTF"
    FontPath "/usr/share/fonts/Type1/"
    FontPath "/usr/share/fonts/100dpi/"
    FontPath "/usr/share/fonts/75dpi/"
    # FontPath "/usr/lib/X11/fonts/local/"
    # FontPath "/usr/lib/X11/fonts/misc/"
    # FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
    # FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
    # FontPath "/usr/lib/X11/fonts/Speedo/"
    # FontPath "/usr/lib/X11/fonts/Type1/"
    # FontPath "/usr/lib/X11/fonts/TrueType/"
    # FontPath "/usr/lib/X11/fonts/freefont/"
    # FontPath "/usr/lib/X11/fonts/75dpi/"
    # FontPath "/usr/lib/X11/fonts/100dpi/"

    # The module search path. The default path is shown here.

    # ModulePath "/usr/lib/modules"

    EndSection

    # **********************************************************************
    # Server flags section.
    # **********************************************************************

    Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received. This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging

    # Option "NoTrapSignals"

    # Uncomment this to disable the VT switch sequence
    # (where n is 1 through 12). This allows clients to receive these key
    # events.

    # Option "DontVTSwitch"

    # Uncomment this to disable the server abort sequence
    # This allows clients to receive this key event.

    # Option "DontZap"

    # Uncomment this to disable the / mode switching
    # sequences. This allows clients to receive these key events.

    # Option "Dont Zoom"

    # Uncomment this to disable tuning with the xvidtune client. With
    # it the client can still run and fetch card and monitor attributes,
    # but it will not be allowed to change them. If it tries it will
    # receive a protocol error.

    # Option "DisableVidModeExtension"

    # Uncomment this to enable the use of a non-local xvidtune client.

    # Option "AllowNonLocalXvidtune"

    # Uncomment this to disable dynamically modifying the input device
    # (mouse and keyboard) settings.

    # Option "DisableModInDev"

    # Uncomment this to enable the use of a non-local client to
    # change the keyboard or mouse settings (currently only xset).

    # Option "AllowNonLocalModInDev"

    EndSection

    # **********************************************************************
    # Input devices
    # **********************************************************************

    # **********************************************************************
    # Core keyboard's InputDevice section
    # **********************************************************************

    Section "InputDevice"

    Identifier "Keyboard1"
    Driver "kbd"

    # For most OSs the protocol can be omitted (it defaults to "Standard").
    # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
    # uncomment the following line.

    # Option "Protocol" "Xqueue"

    Option "AutoRepeat" "500 30"

    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    # Option "Xleds" "1 2 3"

    # Option "LeftAlt" "Meta"
    # Option "RightAlt" "ModeShift"

    # To customise the XKB settings to suit your keyboard, modify the
    # lines below (which are the defaults). For example, for a non-U.S.
    # keyboard, you will probably want to use:
    # Option "XkbModel" "pc105"
    # If you have a US Microsoft Natural keyboard, you can use:
    # Option "XkbModel" "microsoft"
    #
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with:
    # Option "XkbLayout" "de"
    # or:
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    #
    # If you'd like to switch the positions of your capslock and
    # control keys, use:
    # Option "XkbOptions" "ctrl:swapcaps"

    # These are the default XKB settings for Xorg
    # Option "XkbRules" "xorg"
    # Option "XkbModel" "pc105"
    # Option "XkbLayout" "us"
    # Option "XkbVariant" ""
    # Option "XkbOptions" ""

    # Option "XkbDisable"

    Option "XkbRules" "xorg"
    Option "XkbModel" "pc104"
    Option "XkbLayout" "us"
    Option "XkbVariant" "us"

    EndSection


    # **********************************************************************
    # Core Pointer's InputDevice section
    # **********************************************************************

    Section "InputDevice"

    # Identifier and driver

    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/psaux"
    Option "ZAxisMapping" "4 5"
    # When using XQUEUE, comment out the above two lines, and uncomment
    # the following line.

    # Option "Protocol" "Xqueue"

    # Mouse-speed setting for PS/2 mouse.

    # Option "Resolution" "256"

    # Baudrate and SampleRate are only for some Logitech mice. In
    # almost every case these lines should be omitted.

    # Option "BaudRate" "9600"
    # Option "SampleRate" "150"

    # Mouse wheel mapping. Default is to map vertical wheel to buttons 4 & 5,
    # horizontal wheel to buttons 6 & 7. Change if your mouse has more than
    # 3 buttons and you need to map the wheel to different button ids to avoid
    # conflicts.

    Option "ZAxisMapping" "4 5"

    # Emulate3Buttons is an option for 2-button mice
    # Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Option "Emulate3Buttons"
    # Option "Emulate3Timeout" "50"

    # ChordMiddle is an option for some 3-button Logitech mice

    # Option "ChordMiddle"

    EndSection


    # **********************************************************************
    # Other input device sections
    # this is optional and is required only if you
    # are using extended input devices. This is for example only. Refer
    # to the xorg.conf man page for a description of the options.
    # **********************************************************************
    #
    # Section "InputDevice"
    # Identifier "Mouse2"
    # Driver "mouse"
    # Option "Protocol" "MouseMan"
    # Option "Device" "/dev/mouse2"
    # EndSection
    #
    # Section "InputDevice"
    # Identifier "spaceball"
    # Driver "magellan"
    # Option "Device" "/dev/cua0"
    # EndSection
    #
    # Section "InputDevice"
    # Identifier "spaceball2"
    # Driver "spaceorb"
    # Option "Device" "/dev/cua0"
    # EndSection
    #
    # Section "InputDevice"
    # Identifier "touchscreen0"
    # Driver "microtouch"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "1412"
    # Option "MaxX" "15184"
    # Option "MinY" "15372"
    # Option "MaxY" "1230"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection
    #
    # Section "InputDevice"
    # Identifier "touchscreen1"
    # Driver "elo2300"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "231"
    # Option "MaxX" "3868"
    # Option "MinY" "3858"
    # Option "MaxY" "272"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonThreshold" "17"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection

    # **********************************************************************
    # Monitor section
    # **********************************************************************

    # Any number of monitor sections may be present

    Section "Monitor"

    Identifier "philips107"

    # HorizSync is in kHz unless units are specified.
    # HorizSync may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync 30-71

    # HorizSync 30-64 # multisync
    # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
    # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

    # VertRefresh is in Hz unless units are specified.
    # VertRefresh may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-160

    EndSection


    # **********************************************************************
    # Graphics device section
    # **********************************************************************

    # Any number of graphics device sections may be present

    # Standard VGA Device:

    # Section "Device"
    # Identifier "Standard VGA"
    # VendorName "Unknown"
    # BoardName "Unknown"

    # The chipset line is optional in most cases. It can be used to override
    # the driver's chipset detection, and should not normally be specified.

    # Chipset "generic"

    # The Driver line must be present. When using run-time loadable driver
    # modules, this line instructs the server to load the specified driver
    # module. Even when not using loadable driver modules, this line
    # indicates which driver should interpret the information in this section.

    # Driver "fglrx"
    # The BusID line is used to specify which of possibly multiple devices
    # this section is intended for. When this line isn't present, a device
    # section can only match up with the primary video device. For PCI
    # devices a line like the following could be used. This line should not
    # normally be included unless there is more than one video device
    # intalled.

    # BusID "PCI:0:10:0"

    # VideoRam 256

    # Clocks 25.2 28.3

    # EndSection

    # Device configured by xorgconfig:

    Section "Device"
    Identifier "radeon"
    Driver "fglrx"
    VideoRam 262144
    Option "VideoOverlay" "on"
    BusID "PCI:1:0:0"
    # Insert Clocks lines here if appropriate
    EndSection


    # **********************************************************************
    # Screen sections
    # **********************************************************************

    # Any number of screen sections may be present. Each describes
    # the configuration of a single screen. A single specific screen section
    # may be specified from the X server command line with the "-screen"
    # option.
    Section "Screen"
    Identifier "Screen 0"
    Device "radeon"
    Monitor "philips107"
    DefaultDepth 24

    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1024x768" "1280x1024" "800x600"
    ViewPort 0 0
    EndSubsection
    EndSection

    # **********************************************************************
    # ServerLayout sections.
    # **********************************************************************

    # Any number of ServerLayout sections may be present. Each describes
    # the way multiple screens are organised. A specific ServerLayout
    # section may be specified from the X server command line with the
    # "-layout" option. In the absence of this, the first section is used.
    # When now ServerLayout section is present, the first Screen section
    # is used alone.

    Section "ServerLayout"

    # The Identifier line must be present
    Identifier "Simple Layout"

    # Each Screen line specifies a Screen section name, and optionally
    # the relative position of other screens. The four names after
    # primary screen name are the screens to the top, bottom, left and right
    # of the primary screen. In this example, screen 2 is located to the
    # right of screen 1.

    Screen "Screen 0"

    # Each InputDevice line specifies an InputDevice section name and
    # optionally some options to specify the way the device is to be
    # used. Those options include "CorePointer", "CoreKeyboard" and
    # "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

    EndSection

    Section "DRI"
    Mode 0666
    EndSection

    Section "Extensions"
    Option "Composite" "Disable"
    EndSection

    Section "ServerFlags"
    Option "AIGLX" "off"
    EndSection[/code]

  13. beyondfly 于 2008-01-23 15:38:31发表:

    F8,没有C了,从官方下载了驱动了吗???

  14. mbbaiy 于 2008-01-23 15:32:46发表:

    。安完驱动,显存莫名奇妙少了一半(128M),在Windows里显示256M,现在只有64M!其他项目也不知道对不对。反正OpenGL那几项和楼主的说明就不同。咋办呀(5ty(

  15. mbbaiy 于 2008-01-23 15:15:17发表:

    我在http://phoronix.com/forums/showthread.php?t=7427&page=3中看到也是这个毛病,不知道咋弄得。唉,菜鸟我太命苦啦,刚接触LINUX就碰这么个钉子!

  16. mbbaiy 于 2008-01-23 15:11:17发表:

    高手们帮帮忙!

  17. mbbaiy 于 2008-01-23 15:09:49发表:

    哦,我上面写过了,FC8

  18. mbbaiy 于 2008-01-23 14:33:55发表:

    回复 5# 的帖子
    运行sh ati-driver-installer-8-01-x86.x86_64.run --buildpkg Fedora/F8后,
    RPM build errors:
    Installed (but unpackaged) file(s) found:
    /usr/sbin/amdnotifyui
    Removing temporary directory: fglrx-install.x19676

    此外,[root@localhost ~]# sudo apt-get update 后,出现
    sudo: apt-get: command not found
    [root@localhost ~]#
    太无奈了!

  19. zhizunbao 于 2008-01-23 12:11:55发表:

    我这个教程也许对你有帮助
    http://forum.ubuntu.org.cn/viewtopic.php?t=102298

  20. mbbaiy 于 2008-01-23 12:09:53发表:

    我装的FC8。

  21. mbbaiy 于 2008-01-23 12:07:32发表:

    高手,我是个菜鸟!请你多指教!多谢!
    我的显卡是ATI RADEON X2300,是笔记本上的。昨天发了个帖子:求助:FC8 如何安装ATI驱动。按照回复做了一下可是还是有问题。
    今天看到你的帖子,试着做了一下。运行了安装命令sudo sh ati-driver-installer-8-01-x86.x86_64.run sudo aticonfig --initial sudo reboot
    重启后,昨天不能打开的ATI CCC可以打开了。可是$ fglrxinfo之后,显示:
    [root@localhost ~]# fglrxinfo
    display: :0.0 screen: 0
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.4 (2.1 Mesa 7.0.2)

    $ glxinfo |grep -e 'direct' -e 'OpenGL'之后,显示:
    [root@localhost ~]# glxinfo |grep -e 'direct' -e 'OpenGL'
    direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.4 (2.1 Mesa 7.0.2)
    OpenGL extensions:

    运行sudo apt-get install compiz compiz-bcop compizconfig-settings-manager compiz-core compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-gnome compiz-plugins libcompizconfig0 libcompizconfig-backend-gconf libdecoration0 python-compizconfig emerald -y
    显示:sudo: apt-get: command not found

    运行sudo gedit /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


    望高手指教!

  22. hsyihao 于 2008-01-19 11:24:34发表:

    我的就是ATI显卡```先收了```谢谢```

  23. mientoecu 于 2008-01-19 10:19:51发表:

    不错,收藏先