使用ATI显卡的同志们请看这里

看来用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 --------------------------------------------------------------------------------------------------------------- 感觉3,4就可以了 ---------------------------------------------- ***我选自定义 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左右 就对了。

你可能感兴趣的:(使用)