Search:  
Gentoo Wiki

HOWTO_X850XT_ATI_Drivers


This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc
proof that it worked
proof that it worked

Contents

driver support

Warning: The new driver version 8.23.7 works without the hexediting hack. Just install this version.
Code: now works with 8.23.7 without hack
(II) ATI Proprietary Linux Driver Version Identifier:8.23.7
(II) ATI Proprietary Linux Driver Release Identifier: LGDr8.23g1
(II) ATI Proprietary Linux Driver Build Date: Mar  6 2006 17:25:03
(II) ATI Proprietary Linux Driver Build Information: autobuild-rel-r6-8.23.1-driver-lnx-250560
(WW) fglrx: No matching Device section for instance (BusID PCI:3:0:1) found
(--) Chipset RADEON X850 XT (R481 4B49) found

Thanks ATI :-)

--ASUS X800xt STILL BROKEN--

EDIT: Unfortunately this problem still remains with the asus X800xt (device ID: 5D57) and the hex edit hack did and still does not work for this card. If you work for ati or know someone who can make it happen to fix this, please inform them.

Warning: everything below is deprecated since driver version 8.23.7

the Problem

EDIT: The above says "ASUS branded their chips (which are ATI chips of course) with another ChipID than the original ATI-Chipset." I have an x850xt that came directly from ATI and the ChipID is 494b and this is NOT listed in the supported chipset as of driver 8.19. So this in not limited to ASUS cards, this applies to ATI Radeon x850xt AGP cards as well.

Authors Comment: you're totally right :-) sorry about my bad english ...


matching List

a small list follows that it's easier to find the right ID for your card, please continue it, or send me your details (cardname,core chip,original-chipid,used chipid) by mail and i'll add it

commercial Card with official ATI chip Core Chip original ChipID ChipID thats fits to the ATI driver tested with ATI driver version
Connect 3D X850 Pro R481 4b4b (possibly)5D4F ??
mad-maxx Radeon X850 Pro AGP R480 4b4b / 4b6b 5d4f 8.20.8, 8.21.7, 8.22.5
ASUS RADEON X850 XT R480 4b49 / 4b69 5d4d / ?? 8.19.10, 8.20.3, 8.22.5
POWERCOLOR X850 XT PE AGP R480 4b4c / 4b6c 5d4d / ?? 8.20.8


the chipID format is "primary ChipID / secondary ChipID"

preparations

find your card Bus-ID

Code: find your card Bus-ID
  • thomas # lspci -v
Note: 03:00.0 is the primary display controller of your card, 03:00.1 the secondary, the values may vary for you


find your chip-id

Code: find your card Bus-ID
  • thomas # lspci -n
Note: 1002:4b49 says you that your chip is from ATI (because of 1002) and the ChipID of this device is 4b49
Tip: you can look up your Chip-IDs here: http://pci-ids.ucw.cz/iii/
Warning: remember both, needed later

lets begin


Code: Install ATI Driver

sh ati-driver-installer-8.22.5-i386.run

Warning: use recommended mode, not custom!
Code: after installation run

fglrxconfig

Warning: (with default settings, means: always press enter)
Note: it won't find your card at the end of the configuration
Note: the start should fail


Code: view the Xorg-log
  • vi /var/log/Xorg.0.log
Note: find that line: (II) ATI Radeon/FireGL: The following chipsets are supported

example strip:

File: /var/log/Xorg.0.log (strip)
  (II) ATI Radeon/FireGL: The following chipsets are supported:
       RADEON 9000/9000 PRO (RV250 4966), RADEON 9000 LE (RV250 4967),
       MOBILITY FireGL 9000 (M9 4C64), MOBILITY RADEON 9000 (M9 4C66),
       RADEON 9000 PRO (D9 4C67), RADEON 9250 (RV280 5960),
       RADEON 9200 (RV280 5961), RADEON 9200 SE (RV280 5964),
       MOBILITY RADEON 9200 (M9+ 5C61), MOBILITY RADEON 9200 (M9+ 5C63),
       FireGL 8800 (R200 5148), RADEON 8500 (R200 514C),
       RADEON 9100 (R200 514D), RADEON 8500 AIW (R200 4242),
       RADEON 9600 (RV350 4150), RADEON 9600 SE (RV350 4151),
       RADEON 9600 PRO (RV360 4152),
       MOBILITY RADEON 9600/9700 (M10/M11 4E50),
       MOBILITY RADEON 9550 (M12 4E56), RADEON 9500 (R300 4144),
       RADEON 9600 TX (R300 4146), FireGL Z1 (R300 4147),
       RADEON 9700 PRO (R300 4E44), RADEON 9500 PRO/9700 (R300 4E45),
       RADEON 9600 TX (R300 4E46), FireGL X1 (R300 4E47),
       RADEON 9800 SE (R350 4148), RADEON 9550 (RV350 4153),
       FireGL T2 (RV350 4154), RADEON 9800 PRO (R350 4E48),
       RADEON 9800 (R350 4E49), RADEON 9800 XT (R360 4E4A),
       FireGL X2-256/X2-256t (R350 4E4B),
       MOBILITY FireGL T2/T2e (M10/M11 4E54), RADEON X300 (RV370 5B60),
       RADEON X600 (RV380 5B62), RADEON X550 (RV370 5B63),
       FireGL V3100 (RV370 5B64), FireMV 2200 (RV370 5B65),
       MOBILITY RADEON X300 (M22 5460), MOBILITY FireGL V3100 (M22 5464),
       RADEON X600 (RV380 3E50), FireGL V3200 (RV380 3E54),
       MOBILITY RADEON X600 (M24 3150), MOBILITY RADEON X300 (M22 3152),
       MOBILITY FireGL V3200 (M24 3154), RADEON X800 (R420 4A48),
       RADEON X800 PRO (R420 4A49), RADEON X800 SE (R420 4A4A),
       RADEON X800 XT (R420 4A4B), RADEON X800 (R420 4A4C),
       FireGL X3-256 (R420 4A4D), MOBILITY RADEON 9800 (M18 4A4E),
       RADEON X800 XT Platinum Edition (R420 4A50), RADEON X800 (R423 5548),
       RADEON X800 PRO (R423 5549),
       RADEON X800 XT Platinum Edition (R423 554A),
       RADEON X800 SE (R423 554B), RADEON X800 XT (R423 5D57),
       FireGL V7100 (R423 5550), FireGL V5100 (R423 5551),
       MOBILITY RADEON X800 XT (M28 5D48), MOBILITY FireGL V5100 (M28 5D49),
       RADEON X800 XL (R430 554D), RADEON X800 (R430 554F),
       RADEON X850 XT Platinum Edition (R480 5D4D),
       RADEON X850 PRO (R480 5D4F), RADEON X850 XT (R480 5D52),
       MOBILITY FireGL V5000 (M26 564A), MOBILITY FireGL V5000 (M26 564B),
       FireGL V5000 (RV410 5E48), FireGL V3300 (RV410 5E49),
       RADEON X700 XT (RV410 5E4A), RADEON X700 PRO (RV410 5E4B),
       RADEON X700 SE (RV410 5E4C), RADEON X700 (RV410 5E4D),
       RADEON X700 (RV410 5E4F), MOBILITY RADEON X700 (M26 5652),
       MOBILITY RADEON X700 (M26 5653), MOBILITY RADEON X700 XL,
       RADEON 9100 IGP (RS300 5834),
       RADEON 9000 PRO/9100 PRO IGP (RS350 7834),
       MOBILITY RADEON 9000/9100 IGP (RS300M 5835),
       RADEON XPRESS 200 (RS400 5A41), RADEON XPRESS 200M (RS400 5A42),
       RADEON XPRESS 200 (RS480 5954), RADEON XPRESS 200M (RS480 5955),
       RADEON XPRESS 200 (RS482 5974), RADEON XPRESS 200M (RS482 5975),
       RADEON XPRESS 200 (RC410 5A61), RADEON XPRESS 200M (RC410 5A62)
Note: at this point you should note that your chipid is not in this list :-(
Warning: this sample uses gcc version 3, find out your gcc version with "gcc --version" and cutomise this
Code: useing ht
  • cd /lib/modules/fglrx/build_mod/ #cd to fglrx build-dir
  • cp libfglrx_ip.a.GCC3 libfglrx_ip.a.GCC3_org #make a backup
  • ht libfglrx_ip.a.GCC3
Code: ht action 2
  • cd /usr/X11R6/lib/modules/drivers/
  • cp fglrx_drv.o fglrx_drv.o_org #make a backup
  • ht fglrx_drv.o
Note: the replace step in /usr/X11R6/lib/modules/drivers/fglrx_drv.o is because "ChipID" is not a option anymore (driver version >8.20.) and so the driver didn't recognize your card (btw: big thanks for that comment!)


Code: remove old binaries and install
  • cd /lib/modules/fglrx/build_mod/
  • rm ../fglrx.ko
  • ./make.sh
  • cd ..
  • ./make_install.sh
Warning: When you recompile your kernel, you will need to recompile and install fglrx again as shown above!
Note: your motherboard could use sis or something else, check with lspci first!
Linux Kernel Configuration: AGP Configuration
Device Drivers  --->
Character devices  --->
<M> /dev/agpgart (AGP Support)
 < >   ALI chipset support
 < >   ATI chipset support
 < >   AMD Irongate, 761, and 762 chipset support
 < >   AMD Opteron/Athlon64 on-CPU GART support
 < >   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
 <M>   NVIDIA nForce/nForce2 chipset support
 < >   SiS chipset support
 < >   Serverworks LE/HE chipset support
 < >   VIA chipset support
 < >   Transmeta Efficeon support
Device Drivers  --->
Graphics support  --->
 < > ATI Radeon display support (Old driver)
 <*> ATI Radeon display support
  [*]   DDC/I2C for ATI Radeon support
  [ ]   Lots of debug output from Radeon driver
Code: load modules
  • modprobe nvidia_agp
  • modprobe fglrx #(if this fails with device not found,then your hexedit-patch doesn't work. try it with another number)
Code: ensure that the driver is running
  • $ fglrxinfo
  • display: :0.0 screen: 0
  • OpenGL vendor string: ATI Technologies Inc.
  • OpenGL renderer string: RADEON X850 XT Generic
  • OpenGL version string: 2.0.5642 (8.22.5)
Note: if opengl vendor string is something with MESA that the driver is not working! see your log at /var/log/Xorg.0.log!
File: /etc/modules.autoload.d/kernel-2.6
 
# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.
agpgart
nvidia_agp #maybe sis for you
fglrx
  
File: my xorg.conf for reference
 
# File: xorg.conf
Section "dri"
    Mode 0666
EndSection

Section "Module"
    Load        "dbe"  	# Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a
EndSection

Section "Files"
    RgbPath	"/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option "XkbRules"	"xfree86"
    Option "XkbModel"	"pc101"
    Option "XkbLayout"	"de"
EndSection

Section "InputDevice"
    Identifier	"Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
EndSection

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
EndSection

# === ATI device section ===

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"               "horizontal"
    Option "ScreenOverlap"              "0"
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
    Option "CapabilitiesEx"             "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"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:4:0:0"    # no device found at config time
    Screen 0
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Server Layout"
    Screen "Screen0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
### EOF ###
  
Note: using dualhead with 2 screens with 3d acc. working,comments removed

problems

if you have problems, read ATI drivers first

Bugs

Retrieved from "http://www.gentoo-wiki.info/HOWTO_X850XT_ATI_Drivers"

Last modified: Fri, 29 Aug 2008 04:02:00 +0000 Hits: 43,594