歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> RedHat下ATI芯片顯卡安裝完全手冊

RedHat下ATI芯片顯卡安裝完全手冊

日期:2017/3/3 16:42:32   编辑:關於Linux

看來用ATI顯卡的人還是不少的,像8500這樣的經典顯卡如果不能在X下運行3D游戲實在可惜了。

!!說明1:本文只適用於8500及以上顯卡,ATI 官方並未提及對Radeon / 7000 / 7200/ 7500的支持。

!!說明2:RedHat9已經對ATI顯卡有良好的2D支持,同時也一定程度的支持3D加速,如果你不屬於(1、已經能夠進入X但需要良好的3D加速,同時有足夠的DIY精神;2、使用Redhat8及以下,缺省的X設置不能識別9100,9200之類的新標號;3、以上均不是,就是喜歡折騰)這幾種情況,請不要輕易嘗試更改X配置,雖然很簡單,但是還是有一定的危險性,如果出現“安裝了ATI驅動程序後我進不了X”之類的問題,請自己解決。

!!說明3:無論如何先備份/etc/X11/XF86Config,除非你本來就進不了X

本文舉例的配置是:操作系統:RH9;顯卡:第三方9100;顯示器:Philips 107P;P4-2G

另外一台機器:操作系統:RH9;顯卡:第三方8500LE(Powered by ATI);顯示器:LG-L1510S;Athlon 1700+同樣可以安裝並正常使用3D功能;

一、下載驅動程序,到這裡

http://www.schneider-digital.de/html/body_download_ati.html

選擇對應自己的X的版本的程序下載。

二、解壓安裝

#unzip glx1_linux_X4.3.zip

inflating: Xfree4.3.0_2.9.12/Check.sh

inflating: Xfree4.3.0_2.9.12/fglrx-glc22-4.3.0-2.9.12.i586.rpm

inflating: Xfree4.3.0_2.9.12/fileinfo.txt

inflating: Xfree4.3.0_2.9.12/readme.txt

#cd Xfree4.3.0_2.9.12

#rpm -i --force fglrx*rpm

這裡會出來一大堆信息,不管它。

到此安裝結束。

三、配置

運行它自己帶的工具

#fglrxconfig

==============================================================================

ATi - FIRE GL - BE THE CREATOR

==============================================================================

This program will create the ATI "XF86Config-4" file

- based on your selections - for the below listed boardtypes...

- ATI Radeon 8500 / 9100

- ATI FireGL 8700 / 8800

- ATI FireGL E1 / E1+

- ATI Radeon 9000

- ATI Radeon 9200

- ATI Radeon 9500

- ATI Radeon 9600

- ATI Radeon 9700

- ATI Radeon 9800

- ATI FireGL Z1 / X1 / X1+

The "XF86Config-4" file usually resides in /etc/X11.

Press [Enter] to continue, or [Ctrl]+'c' to abort.

***歡迎屏幕,顯示了該驅動支持的芯片,這裡回車就行了

***1、設置鼠標

==============================================================================

Mouse

==============================================================================

Specify the mouse port type.Choose one from the following list:

1.Serial Port

2.PS/2 or USB with PS/2 protocol

3.Inport Bus

Enter the number for your port type: [2]

***我是USB的光電鼠標,就用它缺省的,2,除了串行鼠標一般選2

Specify the mouse model.Choose one from the following list:

1.PS/2 Mouse (X11 generic ps/2 mouse driver)

2.PS/2 Wheel Mouse (X11 generic ps/2 wheel mouse driver)

3.Microsoft Intellimouse (PS2)

4.Microsoft IntelliMouse Explorer (PS2)

5.Kensington ThinkingMouse (PS2)

6.Logitech MouseManPlus (PS2)

7.Alps Glidepoint PS/2 Touchpad

8.Genius NetMouse

9.Genius NetScroll

Enter the number for your mouse model: [2]

***照樣用缺省的,我確實有滾輪,兩鍵鼠標選1

If your mouse has only two buttons, it is recommended that you enable

Emulate3Buttons.

Do you want to enable Emulate3Buttons (y/n)? [n]

***不要模擬三鍵,滾輪就是第三鍵,兩鍵鼠標選y

Now give the full device name that the mouse is connected to, for example

/dev/tty00 or /dev/mouse.

Mouse device: [/dev/mouse]

***鼠標的設備,在RH9裡面就是缺省的/dev/mouse

2、設置鍵盤

==============================================================================

Keyboard

==============================================================================

Please select one of the following keyboard types that is the better

description of your keyboard.If nothing really matches,

choose 1 (Generic 101-key PC)

1.Generic 101-key PC

2.Generic 102-key (Intl) PC

3.Generic 104-key PC

4.Generic 105-key (Intl) PC

5.Dell 101-key PC

6.Everex STEPnote

7.Keytronic FlexPro

8.Microsoft Natural

9.Northgate OmniKey 101

10.Winbook Model XP5

11.Japanese 106-key

12.PC-98xx Series

Enter a number to choose the keyboard type: [1]

***缺省

Please select the layout corresponding to your keyboard

1.U.S.English

2.U.S.English w/ISO9995-3

3.Belgian

4.Bulgarian

5.Canadian

6.Czechoslovakian

7.German

8.Swiss German

9.Danish

10.Spanish

11.Finnish

12.French

13.Swiss French

14.United Kingdom

15.Hungarian

16.Italian

17.Japanese

18.Norwegian

Press [Enter] for the next page or

enter the number for your keyboard layout country: 1

***選1;怎麼沒有中文Layout的鍵盤?

3、設置屏幕排布

==============================================================================

FireGL Screen Layout

==============================================================================

------------------------------------------------------------------------------

| Maximum resolution for OpenGL operation |

| |

| - R200 chip family (Radeon 8500-9100 Pro, FireGL 8700/8800/E1): 2048x2048 |

| - R300 chip family (Radeon 9500-9700 Pro, FireGL E1+/Z1/X1/X1+): 2560x2560 |

------------------------------------------------------------------------------

Choose configuration from the list below

1.Single Head (1 screen, second dark)

2.Clone Mode (2 screens - same content)

3.Big Desktop (2 screens - one framebuffer)

4.Dual Head (2 screens - two drivers)

Enter the number for your configuration: [1]

***單頭就單頭吧,雖然顯卡是雙頭的,

4、設置顯示器

==============================================================================

Monitor Settings

==============================================================================

Now we want to set the specifications of the monitor(s).The two critical

parameters are the vertical refresh rate, which is the rate at which the

the whole screen is refreshed, and most importantly the horizontal sync rate,

which is the rate at which scanlines are displayed.

The valid range for horizontal sync and vertical sync should be documented

in the manual of your monitor.If in doubt, check the monitor database

/usr/X11R6/lib/X11/doc/Monitors to see if your monitor is there.

Press [Enter] to continue, or [Ctrl]+'c' to abort.

***回車就行

You must indicate the horizontal sync range of your monitor.You can either

select one of the predefined ranges below that correspond to industry-

standard monitor types, or give a specific range.

It is VERY IMPORTANT that you do not specify a monitor type with a horizontal

sync range that is beyond the capabilities of your monitor.If in doubt,

choose a conservative setting.

hsync in kHz; monitor type with characteristic modes

1.31.5 ; up to 640x480 @ 60 Hz (VGA)

2.31.5 - 37.9; up to 800x600 @ 60 Hz (SVGA)

3.31.5 - 48.4; up to 1024x768 @ 60 Hz (XGA)

4.31.5 - 60.0; up to 1024x768 @ 75 Hz (XGA)

5.31.5 - 68.7; up to 1024x768 @ 85 Hz (XGA)

6.31.5 - 80.5; up to 1280x1024 @ 75 Hz (SXGA)

7.31.5 - 91.1; up to 1280x1024 @ 85 Hz (SXGA)

8.Enter your own horizontal sync range

Enter your choice ( 1 - 8 ) : [1] 8

***我選自定義

Please enter the horizontal sync range of your monitor, in the format used

in the table of monitor types above.You can either specify one or more

continuous ranges (e.g.15-25, 30-50), or one or more fixed sync frequencies.

Horizontal sync range: 30.0-92.0

***這是從原來的XF86config文件裡面抄出來的

You must indicate the vertical sync range of your monitor.You can either

select one of the predefined ranges below or give a specific range.

1.20 - 60 (e.g.slow scan flat panels with DVI cable)

2.50 - 70 (VGA)

3.60 - 75

4.60 - 85

5.60 - 100

6.Specify your own vertical sync range

Enter your choice: [1] 6

***還是選自定義

Vertical sync range:50.0-160.0

***還是抄出來的

5、顯示模式

==============================================================================

Display Modes

==============================================================================

The default resolution that the server will start-up with will be the first

listed mode that can be supported by the monitor and card.

Currently it is set to:

"640x480" for 24-bit

Modes that cannot be supported due to monitor or clock constraints will

be automatically skipped by the server.

1.Change the modes for 24-bit (24-bit color)

2.The modes are OK, continue.

Enter your choice: 1

***當然要改,選一

Select your modes from the following list:

1 "640x480"

2 "800x600"

3 "1024x768"

4 "1152x864"

5 "1280x960"

6 "1280x1024"

7 "1600x1200"

8 "1792x1344"

Please list the digits and characters for the modes that you want to use.

For example, '632' selects "1280x1024" "1024x768" "800x600", with

the default mode of "1280x1024".

Which modes do you want?321

***3個模式,兼容一些全屏低分辨率的游戲

Modes that cannot be supported due to monitor or clock constraints will

be automatically skipped by the server.

1.Change the modes for 24-bit (24-bit color)

2.The modes are OK, continue.

Enter your choice: 2

***改好了,選2

You can have a virtual screen (desktop), which is screen area that is larger

than the physical screen and which is panned by moving the mouse to the edge

of the screen.The largest resolution in the modelist is used for any of the

listed resolution with less dimensions.Each color depth can have a

differently-sized virtual screen.Virtual screens resolutions are set

for each color depth separately.

Note: This grafics adapter will always select the maximum

x and y resolution as the default virtual desktop resolution.

This complies with general X11 specifications.see "man XF86Config".

Do you want to use a virtual desktop where the dimensions are bigger

than your maximum x and y screen resolution? (y/n) [n]

***不要

6、DRI限制

==============================================================================

Direct Rendering Interface Restrictions

==============================================================================

Please specify which restriction sheme you want to implement:

1.no restrictions - any user has access to the OpenGL ICD

2.limited to group 'users' - only group members can access the OpenGL ICD

3.limited to group 'root' - only group members can access the OpenGL ICD

4.limited to group 'video' - only group members can access the OpenGL ICD

5.limited to group 'dri' - only group members can access the OpenGL ICD

Enter the number for your default user restrictions: [1]

***大家都可以用嘛,缺省選1

7、應用程序配置

==============================================================================

Application Profiles

==============================================================================

Please select application specific profile:

1.Default

2.Individual Configuration of Capabilities

3.Maya

4.SOFTIMAGE|XSI

5.SOFTIMAGE|3D

6.Houdini 4.0

7.Houdini 5.0

8.Houdini 5.5

Enter the number for your profile: [1]

***缺省

8、高級特性配置

==============================================================================

Advanced Feature Settings

==============================================================================

Do you want to synchronize buffer swaps

with the vertical sync signal (y/n)? [n]

***缺省

TLS Method: this only applys to the FireGL workstation boards

The grafics driver supports two different methods of thread local storage.

The first method is fast but might immediately abort when used with

WineX, VM emulators or some other advanced programming tools.

The second method is up to 10% slower in a few rendering cases

but does nicely cope with any sort of exotic software.

For more details on this topic, please see the readme.

If not totally sure about your needs, then please select "0 - default".

0 - default (FireGL workstation boards: fast)

1 - fast operation (only for standard gnu C/C++ OpenGL applications)

2 - compatible operation (for WineX, VM emulators and some profilers)

Which storage method do you want to use? [0]

***缺省

External AGPGART module:

It is possible (but not recommended) to turn off the usage of

built-in agp support of the provided fglrx kernel module and

use the external AGP GART module (agpgart.o) of the Linux kernel.

If you want to use the external module then ensure that it loads

prior to the drivers full startup.In order to manually load the

external agpgart module execute this on the commandline (as root):

/sbin/insmod agpgart

or alternatively configure your system to auto load the module.

Do you want to use the external AGP GART module (y/n)? [n]

***缺省

8、配置結束

==============================================================================

Finish

==============================================================================

I am going to write the XF86Config-4 file now.Make sure you don't accidently

overwrite a previously configured one.

Shall I write it to '/etc/X11/XF86Config-4' (y/n)?y

四、啟動X

#startx

如果能夠成功,恭喜你.如果不能成功,別問我為什麼,我也不知道.

開一個終端窗口,運行

#glxinfo

如果能找到這樣的字段,就對了

...

direct rendering: Yes

...

OpenGL vendor string: ATI Technologies Inc.

OpenGL renderer string: Radeon 9100 DDR Pentium 4 (SSE2)

OpenGL version string: 1.3 (X4.3.0-2.9.12)

如果發現字體出現了問題(部分美化過的會出現這個問題,用這裡的美化包的不會)就參照備份的XF86Config把FontPath改回來.

運行

#glxgears

祯數在2000fps左右(8500)

運行

#fglrx_gears

祯數在400左右

就對了.

Copyright © Linux教程網 All Rights Reserved