Put this guide together myself from heaps of other guides i had read, i have posted it here also:
http://ubuntuforums.org/showthread.p...5&page=5&pp=10
You need to install the headers for your kernel,use synaptic or whatever.
Ensure that there are no other fglrx drivers or ati drivers installed, might be under xorg drivers,
Ensure that there are no other fglrx drivers or ati drivers installed, might be under xorg drivers,
Ensure that there are no other fglrx drivers or ati drivers installed, might be under xorg drivers
the ones that are in the repositories for ubuntu 5.04 keep locking up and freezing dell inspiron 9100 s with the ati mobility 9800.
Oh depending on what kernel your using modify some of the lines below with the kernel version, i had been using 2.6.10-5-386 but i have since changed to the 686 smp kernel. Download the linux driver from ati, the xorg one, the latest when i was doing this was the fglrx_6_8_0-8.12.10-1.i386.rpm, then follow below.
~$ sudo apt-get install build-essential
//ensures you have compilers installed
~$ sudo alien fglrx_6_8_0-8.12.10-1.i386.rpm
//wherever you downloaded your linux driver,converts the rpm to a deb package
~$ sudo cp /usr/X11R6/lib/libGL.so.1.2 /usr/X11R6/lib/libGL.so.1.2.backup
~$ sudo rm /usr/X11R6/lib/libGL.so.1.2
//makes a backup and deletes original, cause will be installing different version
//the force overwrite below doesnt seem to always work for the above file
~$ sudo dpkg -i --force-overwrite fglrx-6-8-0_8.12.10-2_i386.deb
~$ sudo mv /lib/modules/2.6.10-5-386/kernel/drivers/video/fglrx.ko $HOME
//change this to whatever kernel you use, dont know why you have to do this
~$ cd /lib/modules/fglrx/build_mod/
~$ sudo chmod 777 make.sh
~$ sudo ./make.sh
~$ cd ..
~$ sudo chmod 777 make_install.sh
~$ sudo ./make_install.sh
~$ sudo dpkg-divert --package fglrx --add /usr/X11R6/lib/libGL.so.1.2
//dont know why ya have to do this either, but saw it as reccommended, but dont //know what it does
~$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
//backup your /etc/X11/xorg.conf file
--------modify your xorg.conf----------
1. Run fglrxconfig from terminal as a normal user in your home folder, this will save
xorg.conf in your home folder. (em dont mind people saying do not run this, it has been improved in the latest drivers, and wasnt that scary in the previous drivers, just annoying, but make sure you backup your original xorg.conf before running this)
2. Default all the options in fglrxconfig, or change as you need
3. After running xorgconfig comment out the section like below in your /etc/X11/xorg.conf
#Section "Device"
# Identifier "ATI Technologies, Inc. Radeon Mobility 9800 (M18 JN)"
# Driver "ati"
# BusID "PCI:1:0:0"
#EndSection
4. Add the section shown below from your xorg.conf in your home folder to /etc/X11/xorg.conf
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "1"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
# BusID "PCI:1:0:0" # no device found at config time
Screen 0
EndSection
5. Change the line
Identifier "ATI Graphics Adapter"
to
Identifier "ATI Technologies, Inc. Radeon Mobility 9800 (M18 JN)"
or whatever your adapter is named
6.Save your /etc/X11/xorg.conf file.
---------------finished editing xorg.conf--------------------------
-Ctrl alt f2
-login
~$ sudo killall gdm
~$ startx
-bring up a terminal
~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9800 Generic
OpenGL version string: 1.3.5010 (X4.3.0-8.12.10)
~$ glxgears
18581 frames in 5.0 seconds = 3716.200 FPS
38866 frames in 5.0 seconds = 7773.200 FPS
~$ fgl_glxgears
3700 frames in 5.0 seconds = 740.000 FPS
4312 frames in 5.0 seconds = 862.400 FPS
4417 frames in 5.0 seconds = 883.400 FPS
4465 frames in 5.0 seconds = 893.000 FPS
Runs ut2004 very smoothly at highest settings and resolution 1680x1050