fglrx for ATI radeon X300 on Fedora 8

By: Zhiqiang Ma In: Linux

First, my system:

[mzq@localhost ~]$ rpm -qa | grep kernel
kernel-2.6.24.4-64.fc8
kernel-headers-2.6.24.4-64.fc8
kernel-module-ATI-fglrx-2.6.24.4-64.fc8-8.471-1.f8
kernel-devel-2.6.24.4-64.fc8
[mzq@localhost ~]$ rpm -qa | grep fglrx
ATI-fglrx-devel-8.471-1.f8
ATI-fglrx-8.471-1.f8
kernel-module-ATI-fglrx-2.6.24.4-64.fc8-8.471-1.f8
ATI-fglrx-control-center-8.471-1.f8

Howto:
1)Download “ati-driver-installer-8-3-x86.x86_64.run” from ati’s website
2)su
ati-driver-installer-8-3-x86.x86_64.run –buildpkg Fedora/F8
3)rpm -Uvh ./*.rpm
4)edit the xorg.conf
my xorg.conf:

# Xorg configuration created by pyxf86config

Section “ServerLayout”
Identifier “Default Layout”
Screen 0 “aticonfig-Screen[0]” 0 0
InputDevice “Keyboard0″ “CoreKeyboard”
EndSection

Section “Files”
EndSection

Section “Module”
EndSection

Section “InputDevice”
Identifier “Keyboard0″
Driver “kbd”
Option “XkbModel” “pc105″
Option “XkbLayout” “us”
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 “UseFastTLS” “0″
Option “BlockSingnalsOnLock” “on”
Option “ForceGenericCPU” “off”
Option “KernelModuleParm” “locked-userpages=0″
#Option “UseInternalAGPGART” “no”
#do not use this unless you got some problem, this affect the preformance
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” “Enable”
EndSection

Section “ServerFlags”
Option “AIGLX” “on”
EndSection

Section “DRI”
Mode 0666
EndSection

5)make a simlink from /usr/lib/dri to /usr/X11R6/lib/modules/dri.

6) turn off the atieventsd service and let it not start at start up.
[root@localhost mzq]# /sbin/chkconfig –list | grep ati
atieventsd 0:off 1:on 2:on 3:on 4:on 5:on 6:off
[root@localhost mzq]# /sbin/chkconfig –level 2345 atieventsd off
[root@localhost mzq]# /sbin/chkconfig –list | grep ati
atieventsd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

I can not run at init 3 before, I find the reason is atieventsd!!
I have not found any use of it till now, so I just turn if off and do not let it run at startup.

Now I can run at init 3, and when I want to use a GUI, I just run startx. It’s good for me.

7)restart and check
run fglrxinfo and glxinfo
get info like this:

[mzq@localhost modules]$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X300/X550/X1050 Series
OpenGL version string: 2.1.7412 Release

[mzq@localhost modules]$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
……
If direct rendering is Yes, it’s OK.

I run glxgears for a test.
I can get 2000+ scores on my computer.
My video card is ATI radeon X300 with 32M

then enjoy playing wine cstrike with OpenGL and compiz
:)

Author: Zhiqiang Ma Posted on: Aug 16, 2008 Views: 350
Tags: , , ,
Like this post? Subscribe full-text feeds from all Fclose.com blogs:
Add your comments, share your thoughts

Be nice. Keep it clean. Stay on topic. No spam.