Jump to content

ATI Driver Installation


ral
 Share

Recommended Posts

Checked out the ATI install instructions here:

 

HOWTO: Installation Instructions for the ATI Proprietary Linux Driver

 

Contents

 

        * Before you install

        * Installation using RPM

        * Possible Installation Issues

        * Advanced Installation Topics

 

Before you install

 

Make sure the following software is already installed on your system:

 

        * glibc version 2.2 or 2.3

        * XFree86 version 4.1.0, 4.2.0, or 4.3.0

 

Download the correct ATI driver package for the XFree86 version you have installed. If you are not sure which, you may download and run the following script to make sure:

 

        * Check.sh

 

Installation using RPM

 

For each of these steps you will have to be logged on as the root user.

 

    1. cd to the directory containing the ATI Driver rpm package

 

    2. Issue the following command:

 

              rpm -Uh --force <ati_package_name>.rpm

 

          Note any error messages that may occur while installing (see below)

    3. Run the fglrxconfig utility to configure the driver

              * Answer the questions as prompted

              * When asked to generate an XF86Config-4 file, answer y

 

    4. Restart and log into X-Windows

 

    5. Run fglrxinfo to verify the driver is installed correctly

 

If the output reads OpenGL vendor string: ATI Technologies Inc. then your ATI drivers are installed and configured correctly.

 

Otherwise, if fglrxinfo indicates that MESA Indirect (software) Rendering is being used, then you may want to repeat the steps listed above, while paying careful attention to the following:

 

        * Any error messages during install (see below)

        * All answers given during fglrxconfig

 

The following messages may appear while installing the ATI Proprietary Linux Driver:

 

        * "no kernel module build environment"

        * "Warning: loading fglrx.o will taint the kernel"

        * "conflicts with file from package XFree86-Mesa-libGL-4.3.0-2"

        * "The QT based control panel application did not load in any version"

        * unresolved symbols

 

First thing I want to confirm is that this instructions are correct?

 

Next thing I wanted to confirm is the Mandrake 10 uses XFree 4.3 by defualt. I am pretty sure the anser is yes (just remember that old blacnk screen I got when installing the Nvidia drivers a few years back).

 

I dont think I have glibc 2.2 or 2.3 installed (anyway to check for sure?). When I check add software there are several Glibc 2.3.3 files:

 

glibc-devel

glibc-lsb

glibc-i18ndata

glibc-profile

glibc-static-devel

glibc-utils

 

Which ones should I install?

 

Thanks in advance.

Link to comment
Share on other sites

I just finnished downlaoding the ATI driver and noticed that it is an RPM.

 

Do I have to .rpm -Uh --force <ati_package_name>.rpm or can I just double click the thing =)

Link to comment
Share on other sites

Well here goes...

[root@localhost ral]# rpm -Uh --force fglrx-4.3.0-3.7.6.i386.rpm

########################################### [100%]

########################################### [100%]

*** Trying to install a precompiled kernel module.

*** WARNING ***

Tailored kernel module for fglrx not present in your system.

You must go to /lib/modules/fglrx/build_mod subdir

and execute './make.sh' to build a fully customed kernel module.

Afterwards go to /lib/modules/fglrx and run './make_install.sh'

in order to install the module into your kernel's module repository.

(see readme.txt for more details.)

 

As of now you can still run your XServer in 2D, but hardware acclerated

OpenGL will not work and 2D graphics will lack performance.

 

failed.

*** Error: no kernel module build environment - please consult readme.

Installed: qt3 (gcc 3.2) based control panel application

===

ATI display drivers successfully installed

please run 'fglrxconfig' now

===

[root@localhost ral]# 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 / E1

        - ATI FireGL T2

        - ATI Radeon 9000

        - ATI Radeon 9200

        - ATI Radeon 9500

        - ATI Radeon 9600

        - ATI Radeon 9700

        - ATI Radeon 9800

        - ATI FireGL Z1 / X1 / X2

        - ATI Mobility M9

        - ATI Mobility FireGL 9000

        - ATI Mobility M9PLUS

 

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

 

 

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

 

 

 

 

 

 

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

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] 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] 3

 

 

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

Emulate3Buttons.

 

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

 

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

/dev/tty00 or /dev/mouse or /dev/psaux (includes IBM Laptops).

 

Mouse device: [/dev/mouse]

 

 

 

 

 

 

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

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] 3

 

 

 

 

 

 

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:

 

Please select the layout corresponding to your keyboard

 

19.  Polish

20.  Portugese

21.  Russian

22.  Swedish

23.  Thai

24.  PC-98xx Series

 

Press [Enter] for the next page or

enter the number for your keyboard layout country: 1

 

 

 

 

 

 

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

FireGL Display Settings

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

 

Quad Buffer Stereo ("Active Stereo"):

 

This driver does support Quad Buffer Stereo ("Active Stereo")

in combination with a CRT monitor (refresh rate abt. 100 to 120 Hz)

and the appropiate stereo viewing subsystem hardware. This can be

e.g. a shutter glasses system (infrared or wired) or an active

polarisation device paired with passive stereo polarization glasses.

 

Do you want to enable "Quad Buffer Stereo" (y/n)? [n]

 

 

 

 

 

 

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

TV out Configuration

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

 

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

 

Note:

If you want the display of your monitor duplicated on the TV screen, select

Clone Mode as your monitor configuration.

TV standard selection

 

1.  NTSC-M

2.  NTSC-N

3.  NTSC-JPN

4.  PAL-B

5.  PAL-D

6.  PAL-G

7.  PAL-H

8.  PAL-I

9.  PAL-K

10.  PAL-L

11.  PAL-N

12.  PAL-M

13.  PAL-SCART

14.  PAL-CN

15.  PAL-K1

 

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

 

 

 

 

 

 

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

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 T2/Z1/X1/X2):            |

|      2560x2560                                                            |

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

 

Choose configuration from the list below

 

1.  Single Head    (1 screen, second dark)

2.  Laptop Mode    (Ability to toggle between internal / external screen)

3.  Clone Mode    (2 screens - same content)

4.  Big Desktop    (2 screens - one framebuffer)

5.  Dual Head      (2 screens - two drivers)

 

Enter the number for your configuration: [1] 1

 

 

 

 

 

 

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

Single Head selected

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

 

 

 

 

 

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

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, press 'q'&[Enter] 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] 7

 

 

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] 4

 

 

 

 

 

 

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

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  "1400x1050"

8  "1600x1200"

9  "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? 362

 

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:

 

"1024x768" "1280x1024" "800x600" 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: 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]

 

 

 

 

 

 

 

 

 

 

 

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

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]

 

 

 

 

 

 

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

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]

 

 

 

 

 

 

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

Advanced Graphics Features Settings

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

 

Do you want to initialize xfree86-dga (y/n)? [n]

 

Do you want to export pseudo color visuals (y/n)? [n]

 

Do you want to synchronize buffer swaps

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

 

 

 

 

 

 

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

Full Scene Anti Aliasing (FSAA)

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

 

Please select multi sample visuals you want to share:

 

1 = All (Visuals for 2,4 and 6 Samples per Pixel)

2 = Visuals for 2 Samples per Pixel

4 = Visuals for 4 Samples per Pixel

6 = Visuals for 6 Samples per Pixel

 

Please enter: [1] 1

 

Do you want to force multi sample visuals

for every OpenGL application? (y/n)? [n]

 

Disable FSAA Gamma (y/n)? [n] y

 

Customize FSAA Multi Sample Position (y/n)? [n]

 

 

 

 

 

 

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

Advanced OS Settings

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

 

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]

 

 

 

 

 

 

AGP Locked User Pages

 

The grafics driver is able to read and write textures and bitmaps trough AGP

mapped and locked views of the main memory for the application's mem space.

Performing those mapping task depends on several successfull interaction steps

with the Linux kernel. A failure in this process might lead to some messages

in the kernel log. If these kernel functions are failing silently or in case

of other heavy incompatibility (e.g. a new kernel memory manger) then there

is a high chance that the system will hang as soon as the graphics adpater

wants to read from assumed but nor really mapped memory location.

 

If you do see that the advanced fgl_glxgears application halts your session

whilst the simple glxgears does run nicely then please disable this feature.

 

If you do see lots of notifications about failed kernel calls for mem locking

then please disable this feature and re-check the kernel message log.

 

Do you want to enable "AGP Locked User Pages" (y/n)? [y]

 

 

 

 

 

 

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]

 

 

 

 

 

 

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

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

 

 

 

 

 

 

Probing PCI bus for a supported graphics device...

found: R200 (QM)

PCI bus slot: PCI:2:0:0

 

entering the detected PCI bus slot into the XF86Config-4 file.

 

 

 

 

 

File has been written. Take a look at it before running 'startx'.

Note that the XF86Config-4 file must be in one of the directories

searched by the server (e.g. /etc/X11) in order to be used.

 

Within the server press ctrl, alt and 'Num+' or 'Num-' simultaneously

to cycle video resolutions.

Pressing ctrl, alt and backspace simultaneously immediately exits the server.

Use these keys if the monitor doesn't sync for a particular mode.

 

For further configuration, refer to /usr/X11R6/lib/X11/doc/README.Config.

 

[root@localhost ral]#

 

If you do not see me back for a bit... you know what happened :)

Link to comment
Share on other sites

Strange... 1024x768 became 1280x1024... anway reinstalled and this time just chose the default options for all. All is working fine but my glxgears actually slowed down :(

Link to comment
Share on other sites

Tried reinstallign again. Wel l it works but no 3D acceleration. I figure my problem is:

 

Tailored kernel module for fglrx not present in your system.

You must go to /lib/modules/fglrx/build_mod subdir

and execute './make.sh' to build a fully customed kernel module.

Afterwards go to /lib/modules/fglrx and run './make_install.sh'

in order to install the module into your kernel's module repository.

(see readme.txt for more details.)

 

When I try to do this (as root) it tells my permission denied :(

 

Sigh

Link to comment
Share on other sites

Well... installed Kernel_source and making some headway.... still no go though.

 

[ral@localhost ral]$ su root

Password:

[root@localhost ral]# dir

Desktop    fglrx-4.3.0-3.7.6.i386.rpm  My\ Documents.desktop  tmp

Documents  Firefox                    My\ Downloads          Windows\ Shared

[root@localhost ral]# rpm -Uh --force fglrx-4.3.0-3.7.6.i386.rpm

########################################### [100%]

########################################### [100%]

*** Trying to install a precompiled kernel module.

- creating symlink

- recreating module dependency list

- trying a sample load of the kernel module

FATAL: Error inserting fglrx (/lib/modules/2.6.3-7mdk/kernel/drivers/char/drm/fglrx.ko): Operation not permitted

failed.

*** Found kernel module build environment, generating kernel module now.

ATI module generator V 2.0

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

initializing...

cleaning...

patching 'highmem.h'...

skipping patch for 'drmP.h', not needed

skipping patch for 'drm_os_linux.h', not needed

assuming new VMA API since we do have kernel 2.6.x...

doing Makefile based build for kernel 2.6.x and higher

make -C /lib/modules/2.6.3-7mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules

make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk'

*** Warning: Overriding SUBDIRS on the command line can cause

***          inconsistencies

make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.

  CHK    include/asm-i386/asm_offsets.h

  Building modules, stage 2.

  MODPOST

make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'

build succeeded with return value 0

duplicating results into driver repository...

done.

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

- creating symlink

- recreating module dependency list

- trying a sample load of the kernel module

FATAL: Error inserting fglrx (/lib/modules/2.6.3-7mdk/kernel/drivers/char/drm/fglrx.ko): Operation not permitted

failed.

Installed: qt3 (gcc 3.2) based control panel application

===

ATI display drivers successfully installed

please run 'fglrxconfig' now

===

[root@localhost ral]#

Link to comment
Share on other sites

as Ix says, logout, then in a console (ctrl-alt-f1) killall <displaymanager> killall X

 

then locate fglrx

modprobe fglrx

gdm, or which ever environment you use

 

Radeons are Evil , i have had to make a script that re makes the module and installs it at boot

you can imagine what that does to my boot time.

Link to comment
Share on other sites

I am afraid you both lost me :(

 

A nice chap over at LinuxISO gave me the following information:

 

* Please note that kernels, which are built with kernel option

CONFIG_REGPARM (enabled in SuSE kernels since version 2.6.2-0)

currently are not supported. You'll get the following error message

when trying to load the kernel module:

 

# modprobe fglrx

FATAL: Error inserting fglrx

(/lib/modules/2.6.2-3-default/kernel/drivers/char/drm/fglrx.ko): Bad address

 

We are working together with ATI to provide a fix.

 

Looks like I might be out of luck :(

Edited by ral
Link to comment
Share on other sites

i have an nforce 2 also, would you like to download say kernel 2.6.5 and use my kernel configuration?

 

edit: BTW, i've never compiled my own kernel on mandrake, i don't know how much mandrake will like you for it!

edit2: that means backup! :)

Edited by fissy
Link to comment
Share on other sites

I better read up first on recompiling Kernels. I did it before with RedHat I think (kernel update?).

 

Wanted to get Wolfenstein, Tux Racer and maybe even Neverwinter Nights running on Linux, but if I cannot get 3D working right now it is not a major problem since I do have a Windows XP partion. My other games (altough am not big into games anymore): Strike Fighter, Battle of Britain, Mig Ally, European Air War, Fly! II, SWAT3, Operation Flashpoint and Steel Beast (Only NWN and SWAT 3 are actually installed).

 

Have not really bought ny new games in the past year or so (starting to loose interest)... so I may drop Windows in a bit even if I cannot get 3D working on Linux.

Link to comment
Share on other sites

you obviously played a lot once, thats a mean system you've got there!

*sorry only just noticed your sig*

 

basically:

download the tar

extract to /usr/src/

remove symlink /usr/src/linux

recreate pointing at your kernel

copy my .config into /usr/src/linux

make menuconfig, then check to see how you like the configuration

make && make modules_install to build it

then you have to copy the kernel to /boot, and edit your bootloader

 

attached is my config for kernel 2.6.5

 

if you do choose to give it a go, good luck!

.config

Edited by fissy
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...