[测试] ATI8.4 小白记

CPU/显卡/打印机/USB设备等硬件问题
回复
alal001
帖子: 27
注册时间: 2008-04-13 6:42

[测试] ATI8.4 小白记

#1

帖子 alal001 » 2008-04-18 4:14

1。先下载啊。。。(废话),同时删除旧驱动(先备份XORG。CONF)
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
sudo apt-get remove xorg-driver-fglrx
sudo rm -f /usr/src/fglrx-kernel*.deb
sudo apt-get remove --purge fglrx-control
sudo apt-get remove --purge fglrx-kernel-source
sudo apt-get remove --purge xorg-driver-fglrx
sudo lrm-manager
sudo apt-get autoremove --purge fglrx*
不是每个命令都有用的哦,本着多做事少说话的原则,多打几个字吧。
2。下完了吧?(没有?把你的破网换成光纤专线去)开装了
先把驱动改个名字,能省就省嘛...就叫good84。run吧(愿望是好滴... 现实装完才知道)
复制到/tmp下去装,我是下载在桌面的
cd 桌面
cp good84.run /tmp
cd /tmp
编译环境和8.3一样,运行一下也没事
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms
创建deb包 破电脑 要等几秒种的
bash good84.run --buildpkg Ubuntu/hardy
安装deb包
sudo dpkg -i xorg-driver-fglrx_*.deb fglrx-kernel-source*.deb fglrx-amdcccle*.deb
sudo apt-get -f install
配置驱动 装过 8.3 省了?还是看看吧
sudo gedit /etc/X11/xorg.conf
我的是这样子滴...
.....
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer" #我是罗技的 用这个也行 少点功能 好几个键不能用 不过这内核没鼠标配置 以前好像有的
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]" #注意这里 一定要这样
Option "VendorName" "ATI Proprietary Driver" #注意这里 一定要这样
Option "ModelName" "Generic Autodetecting Monitor" #注意这里 一定要这样
Option "DPMS" "true" #注意这里 一定要这样
EndSection

Section "Device"
Identifier "aticonfig-Device[0]" #注意这里 一定要这样
Driver "fglrx" #注意这里 一定要这样
Option "VideoOverlay" "on" #注意这里 一定要这样
Option "OpenGLOverlay" "off" #注意这里 一定要这样
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
添加以下两段(一定要加哦)
Section "Extensions" #注意这里 添加的
Option "Composite" "0" #注意这里 添加的 (有人说AIGLX要改1)
EndSection #注意这里 添加的

Section "ServerFlags" #注意这里 添加的
Option "AIGLX" "off" #注意这里 添加的 (on也行,是开AIGLX)
EndSection #注意这里 添加的


可以了 保存 重启看看
alal001
帖子: 27
注册时间: 2008-04-13 6:42

#2

帖子 alal001 » 2008-04-18 5:25

接上面
可以了 保存 重启看看
sudo reboot (重启命令)
看一下啊~驱动是否正确安装
终端运行
fglrxinfo
我的是这样的
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9500
OpenGL version string: 2.1.7415 Release
正确( yeah!其实ATI的驱动也不难装嘛。是我的9500是块好卡吗?也是哈 蓝宝9500 当年首批货 1000多大洋啊~)不过好像原来 就是2.1.7415 Release的啊~~~~我记错了?
再运行
glxinfo
我的是这样的
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
......
也是正确滴
下面来进行一下传说中的优化,要不要照做 看你的RP了,有没有效果?我也不晓得...
sudo gedit /etc/X11/xorg.conf

......
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
# Load "record" #注意这里 添加的
# Load "xtrap" #注意这里 添加的
Load "extmod" #注意这里 添加的
# Load "glx" #注意这里 添加的
Load "dri" #注意这里 添加的
# Load "dbe" #注意这里 添加的
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "LG1515S" #换成显示器的型号,没什么用 自己看着爽~
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "XAANoOffscreenPixmaps" "true" #注意这里 添加的 (不明白什么东东)
Option "AGPMode" "8" #注意这里 添加的 (AGP模式 AGP8X才有用 AGP4X 就是4 )
Option "AGPFastWrite" "true" #注意这里 添加的(AGP快写,主板BIOS也有这个 也要开)
Option "DisableGLXRootClipping" "true" #注意这里 添加的(不明白什么东东)
Option "AddARGBGLXVisuals" "true" #注意这里 添加的(和视频XV有关)
Option "AGPFastWrite" "on" #注意这里 添加的(AGP快写,谁知道是ON 还是 TRUE呢,多一个总没错 总有一个会工作的 可以考虑再加个1?)
Option "AllowGLXWithComposite" "true" #注意这里 添加的(利用OpenGL来进行图形的合成渲染)
Option "EnablePageFlip" "true" #注意这里 添加的
Option "DRI" "true" #注意这里 添加的(DRI硬件加速)
Option "AccelMethod" "EXA" #注意这里 添加的(起用EXA 可能不能和DRI一起用,当小白嘛 管它呢,加了再说)
Option "EXANoOffscreenPixmaps" "true" #注意这里 添加的(EXA选项)
Option "ColorTiling" "on" #注意这里 添加的
Option "EnablePageFlip" "true" #注意这里 添加的
Option "RenderAccel" "true" #注意这里 添加的 显卡的硬件加速

EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" #注意这里 添加的 我是15的液晶 所以是1024x768
EndSubSection
EndSection

Section "DRI" #注意这里 添加的 (是否开启DRI硬件加速,不知道有用没)
Mode 0666 #注意这里 添加的
EndSection #注意这里 添加的

Section "Extensions"
Option "Composite" "1"
EndSection

Section "ServerFlags"
Option "AIGLX" "on" (开AIGLX)
"
EndSection

保存一下下


sudo reboot (重启命令)
alal001
帖子: 27
注册时间: 2008-04-13 6:42

#3

帖子 alal001 » 2008-04-18 5:29

再接上面
我的RP很好 可以启动
头像
carbont
帖子: 3406
注册时间: 2007-11-22 10:20
来自: 北京

#4

帖子 carbont » 2008-04-18 5:34

“有问题就问”是应该先自问,先自己去找答案,再去问人。

支持LZ。呵呵哈
lenovo Thinkpad R60i 0657 LHC
windowsXP……准备换回ubuntu了。

Twitter: @carbont
alal001
帖子: 27
注册时间: 2008-04-13 6:42

#5

帖子 alal001 » 2008-04-18 5:36

测试报告1

XV视频输出还是放不了 不过有进步 能一闪一闪了 原来闪都不认的说~.~

OPENGL视频输出 不能用 VLC一用就自动关闭 原来是不出图像
alal001
帖子: 27
注册时间: 2008-04-13 6:42

#6

帖子 alal001 » 2008-04-18 5:39

表插队 没完呢
alal001
帖子: 27
注册时间: 2008-04-13 6:42

#7

帖子 alal001 » 2008-04-18 5:40

半夜也有人插队啊 BS不睡觉觉的人
头像
carbont
帖子: 3406
注册时间: 2007-11-22 10:20
来自: 北京

#8

帖子 carbont » 2008-04-18 5:40

alal001 写了:表插队 没完呢
专业插队的说!
呵呵哈

所以要先占位才是!呵呵哈
lenovo Thinkpad R60i 0657 LHC
windowsXP……准备换回ubuntu了。

Twitter: @carbont
alal001
帖子: 27
注册时间: 2008-04-13 6:42

#9

帖子 alal001 » 2008-04-18 5:44

忘记了 我也没睡呢......不BS了

控制中心各功能都好用
附件
Screenshot.png
Screenshot-1.png
Screenshot-2.png
alal001
帖子: 27
注册时间: 2008-04-13 6:42

#10

帖子 alal001 » 2008-04-18 5:45

打完收工...
有新手 不会装ATI驱动的 可以参考一下下
alal001
帖子: 27
注册时间: 2008-04-13 6:42

#11

帖子 alal001 » 2008-04-18 5:47

试了一下3D游戏 ALIEN ARENA 有12 开4X4 原来是10
略有进步的说
alal001
帖子: 27
注册时间: 2008-04-13 6:42

#12

帖子 alal001 » 2008-04-18 5:51

欢迎发表意见
alal001
帖子: 27
注册时间: 2008-04-13 6:42

#13

帖子 alal001 » 2008-04-18 6:09

关于视频输出的几点
1 XV视频输出闪是 开了AIGX的原因 关了AIGX 估计就好了
2 OPENGL视频输出是 下面两句的原因 倒过来就好了
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
回复