LinuxSir.cn,穿越时空的Linuxsir!

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

请教ATI显卡开启3D特效

[复制链接]
发表于 2008-3-18 04:44:48 | 显示全部楼层 |阅读模式
我已经按照下面这个方法安装了一遍。。但特效没有打开。。已经下载compiz


首先去Ati下载相应驱动,www.ati.com-点drivers & software-Linux Drivers and Software-选你相应的分类,我是X700 Mobility64位笔记本用Ati主板和芯片组,所以选了x86_64的"Motherboard with ATI Graphics"


安全起见,如果开了xgl先关掉,重启后安装驱动。
确定安装了gcc和kernel-source,没有的话用YaST装上。

首先去www.ati.com
下载最新驱动
32位是:
ati-driver-installer-8.25.18-x86.run
64位是:
ati-driver-installer-8.25.18-x86_64.run

然后在下载文件所在目录开终端:
KDE-打开那个目录-按F4
GNOME-开那个目录,空白处点右键,打开终端

32位:
./ati-driver-installer-8.25.18-x86.run --buildpkg SuSE/SUSE101-IA32
运行完以后继续:
su
输入密码进入终端
rpm -ivh fglrx_6_9_0_SUSE101-8.25.18-1.i386.rpm


64位:
./ati-driver-installer-8.25.18-x86_64.run --buildpkg SuSE/SUSE101-AMD64
运行完以后继续:
su
输入密码进入终端
rpm -ivh fglrx64_6_9_0_SUSE101-8.25.18-1.x86_64.rpm

然后进入运行级别3,可以退出到kdm/gdm界面,然后进入终端模式,再init 3。不会就重启,选定平时正常启动那一项,Boot Option:后面输入3,回车。
然后以root登录。
运行:
aticonfig --initial --input=/etc/X11/xorg.conf

理论上已经行了,为了保险:

运行
sax2 -r -m 0=fglrx

然后运行
reboot
就会进行重启了。
OK.


下面是glxgears的成绩:
51448 frames in 5.0 seconds = 10289.569 FPS
51410 frames in 5.0 seconds = 10281.883 FPS
51575 frames in 5.0 seconds = 10314.855 FPS
51597 frames in 5.0 seconds = 10319.218 FPS
51446 frames in 5.0 seconds = 10289.153 FPS
51431 frames in 5.0 seconds = 10286.082 FPS
51681 frames in 5.0 seconds = 10336.111 FPS
51533 frames in 5.0 seconds = 10306.571 FPS
51514 frames in 5.0 seconds = 10302.744 FPS
51471 frames in 5.0 seconds = 10294.134 FPS
51660 frames in 5.0 seconds = 10331.815 FPS
51637 frames in 5.0 seconds = 10327.236 FPS
51499 frames in 5.0 seconds = 10299.618 FPS
51578 frames in 5.0 seconds = 10315.534 FPS
51546 frames in 5.0 seconds = 10309.074 FPS
51531 frames in 5.0 seconds = 10306.113 FPS
51494 frames in 5.0 seconds = 10298.629 FPS
51433 frames in 5.0 seconds = 10286.596 FPS
51545 frames in 5.0 seconds = 10308.893 FPS
51607 frames in 5.0 seconds = 10321.269 FPS
51562 frames in 5.0 seconds = 10312.349 FPS
51461 frames in 5.0 seconds = 10292.056 FPS
51307 frames in 5.0 seconds = 10261.248 FPS
51477 frames in 5.0 seconds = 10295.203 FPS
51419 frames in 5.0 seconds = 10283.681 FPS
51302 frames in 5.0 seconds = 10260.349 FPS

suse@openSUSE:~> fgl_glxgears
Using GLX_SGIX_pbuffer
15159 frames in 5.0 seconds = 3031.800 FPS
16540 frames in 5.0 seconds = 3308.000 FPS
16543 frames in 5.0 seconds = 3308.600 FPS
16564 frames in 5.0 seconds = 3312.800 FPS
16544 frames in 5.0 seconds = 3308.800 FPS
16519 frames in 5.0 seconds = 3303.800 FPS


我的3D加速开启了吗?怎么sax2还是说我的显卡不支持3D加速?
 楼主| 发表于 2008-3-18 04:46:56 | 显示全部楼层
PS:我还做过这几步。

接下来就是安装Compiz-Fusion了,你可以用官方的一键安装:
kde:http://download.opensuse.org/reposit...fusion-kde.ymp
gnome:http://download.opensuse.org/reposit...sion-gnome.ymp
当然最好还是安装上compiz-manager:http://download.opensuse.org/reposit...iz-manager.ymp
以上的软件包你自己安装也可以,先添加源“http://download.opensuse.org/rep ... 件包就是了。
为了让compiz正常的工作,我们需要设置compiz-manager:
kdesu kate /usr/bin/compiz-manager
需要设置的主要是一下几项:
# For detecting what driver is in use, the + is for one or more /'s
XORG_DRIVER_PATH="/usr/$LIB/xorg/modules/drivers/+"
LD_LIBRARY_PATH=/usr/X11R6/lib (如果你的OS是x86)
或者
LD_LIBRARY_PATH=/usr/X11R6/lib64 (如果你OS是x86_64)

# Driver whitelist
WHITELIST="fglrx nvidia intel ati radeon i810"

COMPIZ_OPTIONS="--no-libgl-fallback --ignore-desktop-hints --replace"
修改之后保存。
恩,还剩下最后一步,这一步非常关键,很多人的compiz无法正常工作就是因为没有进行这最后一步。先用"su"切换的root用户下,然后
rm /usr/lib/libGL.so.1
cd /usr/lib
ln -s /usr/X11R6/lib/libGL.so.1.2 libGL.so.1(如果你的OS是x86)
或者
rm /usr/lib64/libGL.so.1
cd /usr/lib64
ln -s /usr/X11R6/lib64/libGL.so.1.2 libGL.so.1 (如果你的OS是x86_64)
回复 支持 反对

使用道具 举报

发表于 2008-3-18 11:45:28 | 显示全部楼层
我在 ati下载的驱动的时候选择的是 x1300,我的本实际是 1200,在 windows下辨认为 x1250。。
所以都不知道在 ati驱动中选择哪一个 ?

想自己装 。如果实在不行 ,就用suse里的一键安装了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-18 11:56:37 | 显示全部楼层
Post by bcking;1827874
我在 ati下载的驱动的时候选择的是 x1300,我的本实际是 1200,在 windows下辨认为 x1250。。
所以都不知道在 ati驱动中选择哪一个 ?

想自己装 。如果实在不行 ,就用suse里的一键安装了。


ATI的现在所有显卡通用吧。。我室友的显卡是X1250。。我的X1950一样用同一个驱动(win下)

我看我的测试结果。。3D加速应该是开了的。。不知道是哪个地方没配置好
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-18 13:21:01 | 显示全部楼层
有新的进展。。就是在终端运行/usr/bin/compiz-manager
后效果出现了但是重复下面代码,效果保存不了

suse@openSUSE:~> /usr/bin/compiz-manager
which: no kwin in (/home/suse/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin)
Checking for Xgl: not present.
Detected PCI ID for VGA:        Flags: bus master, VGA palette snoop, 66MHz, medium devsel, latency 64
01:00.0 Class 0300: 1002:7288 (rev 9a) (prog-if 00 [VGA])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x1024) to maximum 3D texture size (4096): Passed.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
Starting emerald
* Detected Session: gnome
* Searching for installed applications...
* Using the GTK Interface
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
A handler is already registered for the path starting with path[0] = "org"
回复 支持 反对

使用道具 举报

发表于 2008-3-18 23:19:54 | 显示全部楼层
兄弟 看看我的办法~! 我弄了块4个月了终于是可以了,我的显卡是X700。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-19 00:49:58 | 显示全部楼层
Post by o0MyGirl0o;1828167
兄弟 看看我的办法~! 我弄了块4个月了终于是可以了,我的显卡是X700。


我的很奇怪。。在终端运行特效能开。。。

就是不能自动启动
回复 支持 反对

使用道具 举报

发表于 2008-3-19 11:48:28 | 显示全部楼层
ATI…总是ATI!
回复 支持 反对

使用道具 举报

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

本版积分规则

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