Lightbulb HOWTO: ATI drivers

参与到Ubuntu的翻译中来
回复
头像
ct
帖子: 2201
注册时间: 2005-04-06 21:15
来自: 安徽黄山
联系:

Lightbulb HOWTO: ATI drivers

#1

帖子 ct » 2005-04-26 5:31

Ok, there have been many many posts about this, many users breaking their heads over this.

I've been trying to get it to work for months. Finally last night I stayed up chatting with guys at #ati on irc.freenode.org and finally here's the solution. I simply have to share this with everyone as there were certain things I need to change in order for the graphics to work that I have not seen mentioned anywhere else (doesn't mean that they don't exist).

First of all: BACKUP BACKUP BACKUP!

Second, but not least: Don't just copy and past all the commands, make sure I don't have any typos and that you have those dir, ideally type it in and use the tab key to complete.

There is no need to make your life more miserable by reinstalling your Ubuntu everytime you screw things up (That's why I left Windows, at least one of the 10 billions of reasons)

Do:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup

Now:

Download this file:

http://www2.ati.com/drivers/linux/f...0.19-1.i386.rpm

Once downloaded go to the dir you downloaded it to. Always a good idea to create a downloads file in your home dir. Do: (only for ubuntu & debian users)

sudo alien fglrx_6_8_0-8.10.19-1.i386.rpm

Now you should have the following .deb package:

fglrx-6-8-0_8.10.19-2_i386.deb

Type:

sudo dpkg -i --force-overwrite fglrx-6-8-0_8.10.19-2_i386.deb

You have to force overwrite otherwise it wont install. Mesa wont let you.

Now we need to edit you xorg.conf

Now it's time to configure:

type fglrxconfig

also type in another terminal:

sudo gedit /etc/X11/xorg.conf

you will need to find your monitor frequencies, in order to punch them in to your fglrxconfig when it asks you for them. Before writing your fglrxconfig to file make sure to close your xorg.conf.

In fglrxconfig the defaults should work fine, when it comes where it asks you to use external AGP choose "YES" note the default is "no" for those trigger happy users who just press the enter key without thinking much.

when you come to the the hsync (horizontal sync) and vsync (vertical sync) part choose the option which allows you to enter a custom range (the last option). Copy what is in your xorg.conf "monitor" section and paste it.

Save the file. Restart X, reboot, whatever u want.

type:

sudo gedit /etc/X11/xorg.conf

Make sure your Device section looks like this:

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9200 SE (RV280)"
Driver "fglrx"
BusID "PCI:2:0:0"
Option "backingstore" "true"
Option "UseInternalAGPGART" "no"
EndSection

Obviously if you don't have a radeon 9200 the identifier will be different. The important ones are Driver should be the same, Option 1 and Option 2

Now go to the Modules section:

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Note the Load "dri" if it's not there add it.

Now go to the "extensions" section, it should look like this:

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


NOTE: It's either 3D accl graphics or composite effects such as fading and shadowns, not both. Make your choice. To me the choice is obvious. If it's important to you, then an NVIDIA card should be your next choice.

Ok, almost there!

type:

cd /lib/modules/fglrx/build_mod/

sudo sh make.sh

For the next command you need to be out of X. I press ctrl +alt+ F2

cd /lib/modules/fglrx

sh make_install.sh

startx

If sh make.sh give you errors then you'll need to apt-cache

Unfortunately it was late at night so I don't remember the command, I will try and find it and then edit thei HOWTO, if anyone else know what it is, please post it.

I deffinetaly needed it, so I'm sure others do too.

Hope this helped.

feel free to ask me.
Reply With Quote
鱼的眼泪
帖子: 83
注册时间: 2005-04-20 21:21

#2

帖子 鱼的眼泪 » 2005-04-26 15:00

Ok, there have been many many posts about this, many users breaking their heads over this
言归正传,已经有很多帖子谈及这个问题,有很多用户也为这个问题所困扰。
发于点滴,行于心田,融于交流,盛于久远。
鱼的眼泪
帖子: 83
注册时间: 2005-04-20 21:21

#3

帖子 鱼的眼泪 » 2005-04-26 15:25

I've been trying to get it to work for months. Finally last night I stayed up chatting with guys at #ati on irc.freenode.org and finally here's the solution. I simply have to share this with everyone as there were certain things I need to change in order for the graphics to work that I have not seen mentioned anywhere else (doesn't mean that they don't exist).
我花了数个月的时间试图解决这个问题。最终在昨天晚上,我同irc.freenode.org 中ati的一个朋友讨论了这个问题,最后得到这个解决方法,在我需要改变机器的设置以便使我的graphics工作起来,我还没看到有别的地方提及这个问题(并不代表它不存在),所以就拿出来和大家共享。
发于点滴,行于心田,融于交流,盛于久远。
鱼的眼泪
帖子: 83
注册时间: 2005-04-20 21:21

#4

帖子 鱼的眼泪 » 2005-04-27 23:35

First of all: BACKUP BACKUP BACKUP!
Second, but not least: Don't just copy and past all the commands, make sure I don't have any typos and that you have those dir, ideally type it in and use the tab key to complete.
There is no need to make your life more miserable by reinstalling your Ubuntu everytime you screw things up (That's why I left Windows, at least one of the 10 billions of reasons)
首先:切记,一定要备份!一定要备份!备份!
其次:别只是copy这些命令,请确定我没有打错字,并且这些路径存在,最好用tab键来输入。不到万不得已,没有必要因为做事做得太着急而使你重装Ubuntu,这样就太糟糕了,(这就是为什么我还保留着windows,这就是为了以防万一)
发于点滴,行于心田,融于交流,盛于久远。
头像
annerose
帖子: 105
注册时间: 2005-04-07 20:15

#5

帖子 annerose » 2005-05-06 12:47

#本来不想抢楼上的生意的,不过由于我自已也没配好我的9550所以一直在四处找相关的
资料所以,顺便写出来吧!
PS:有些以#开始的是我私自加的!请不要介意!

好了接着众正式设置开始!
DO:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
#这句是备份你的xorg的配置文件,不行就在终端下恢复就行了!


现在:
下载这个文件!
http://www2.ati.com/drivers/linux/f...0.19-1.i386.rpm
#好像这个链接失效了,去官方网站下新的吧!
第一次下载要设一个下载的目的地址,建议Debian and ubuntu用户放在自已的home目录

sudo alien fglrx_6_8_0-8.10.19-1.i386.rpm
现在你会有下面的 .deb包:
fglrx-6-8-0_8.10.19-2_i386.deb

输入:
sudo dpkg -i --force-overwrite fglrx-6-8-0_8.10.19-2_i386.deb
你要强制重写让其安装。
#指的是那个 --force-overwrite 选项,这句译的不太好!

现在我们要编缉你的xorg.conf
现在开始配置
输入: fglrxconfig
并在另一个终端输入:sudo gedit /etc/X11/xorg.conf
从中找到你的显示器的刷新率,在fglrxconfig要你输入时键入。在这之前要关掉那个打开了xorg.conf的gedit

fglrxconfig默认会工作的很好,当询问你是否使用external AGP 时选YES,注意默认是no,不要一直回车确认,要多考虑一下。

当到垂直和水平刷新率时(hsync (horizontal sync) and vsync (vertical sync) )的选项时,输入刷新率范围。建议输入你在xorg.conf中的"monitor"中找到的

保存文件,重启X,重启电脑,随便干什么!

输入:
sudo gedit /etc/X11/xorg.conf
确认你的 Device section 部分像这样的:
Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9200 SE (RV280)"
Driver "fglrx"
BusID "PCI:2:0:0"
Option "backingstore" "true"
Option "UseInternalAGPGART" "no"
EndSection
显然如果你没有镭9200在Identifier项会不同,重要的是Option1和Option2相同

现在回到Modules section:部分
Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection
找到 Load "dri" 如果没有就加上

现在再找到Section "Extensions" 应该像这样
Section "Extensions"
Option "Composite" "Disable"
EndSection

注意:这些是关于一些3D效果如光影,渐变……,自已选吧,这是我的选择,如果这些特性对你很重要,那下回用NVIDIA的东西吧
#关于这段我看到过很多选项,有机会再整理出来!

差不多就到这了!

输入:
cd /lib/modules/fglrx/build_mod/

sudo sh make.sh

下面的命令要退出X。我用 ctrl +alt+ F2
cd /lib/modules/fglrx

sh make_install.sh

startx
如果 sh make.sh给你提示出错,你需要 apt-cache
不幸的是那是在夜里又太晚了,我忘了命令了,如果有人知道告诉我。我用到了,我想信别人也会用到的!

#天啊!如果有人知道也请告诉我吧!怀疑,安装和编译模块和apt-cache有什么关系!
有知道的人告诉我!谢了
翻译的疑问:有的文章说2.6.10内核要打补丁为什么这里没提到,官方网上说对xorg版本有要求,这里没说可能是ubuntu满足了吧!
应该还会有其它问题的,大家讨论一下,网上关于装ait驱动的文章很多每个人都不一样!试过几次没成功!
不过总的来说这篇文章很具体详细,晚上我再试一次,如果有人成功了告诉我.
试着用它来代替windows吧,你会重新找回当年的感动!
鱼的眼泪
帖子: 83
注册时间: 2005-04-20 21:21

#6

帖子 鱼的眼泪 » 2005-05-06 23:13

只过了个五一,生意就没了。大家多多地去抢生意哦,为 Ubuntu 中文论坛加油
发于点滴,行于心田,融于交流,盛于久远。
头像
firehare
帖子: 2625
注册时间: 2005-04-10 16:54
来自: 温州大学
联系:

#7

帖子 firehare » 2005-05-07 0:06

呵呵!
五一是不是出去玩了?
回来就没生意了!呵呵!
同情中。。。
不过还有很多文章,
有些还是长期遗留的,
等你来做了!
头像
annerose
帖子: 105
注册时间: 2005-04-07 20:15

#8

帖子 annerose » 2005-05-08 1:23

说实话第一次翻译东西!如果有错误,请见谅!
试着用它来代替windows吧,你会重新找回当年的感动!
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#9

帖子 oneleaf » 2005-05-20 15:14

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
jimmy
帖子: 27
注册时间: 2005-05-18 21:32

更正一下联接地址的问题

#10

帖子 jimmy » 2005-05-21 20:27

头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#11

帖子 oneleaf » 2005-05-21 20:54

3q,已经修正。
当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
DarkEyes
帖子: 549
注册时间: 2005-07-01 13:09
来自: 广西南宁

#12

帖子 DarkEyes » 2005-07-11 21:43

文章又找不找了...难道地址天天变的?
最新座驾:帕萨特1.8T御尊版
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#13

帖子 millenniumdark » 2006-07-31 16:24

这个先放着
回复