LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   ATI 9600 on RHEL5 (https://www.linuxquestions.org/questions/red-hat-31/ati-9600-on-rhel5-554780/)

sailershen 05-17-2007 09:10 PM

ATI 9600 on RHEL5
 
I download ati-driver-installer-8.36.5-x86 in ATI.com, and install it on my RHEL5, then run it, select "Install Driver 8.36.5 on X.org 7.1.x", (when I select "Generate Distribution Specific Driver Package", the list have only rhel4, but not rhel5). After install it, run aticonfig --initial. After reboot system, I run system-config-display, it report:
Code:

[root@localhost software]# system-config-display
Traceback (most recent call last):
  File "/usr/share/system-config-display/xconf.py", line 381, in ?
    dialog = xConfigDialog.XConfigDialog(hardware_state, xconfig, rhpxl.videocard.VideoCardInfo())
  File "/usr/share/system-config-display/xConfigDialog.py", line 645, in __init__
    self.xml.get_widget("secondMonitorLabel").set_text(monitor_list[1].modelname)
TypeError: GtkLabel.set_text() argument 1 must be string, not None

so I cannot open it, but after I run "/usr/share/ati/fglrx-uninstall.sh", I can run system-config-display.

After uninstall fglrx, run glxgears, it's so slow:
Code:

1862 frames in 5.1 seconds = 364.335 FPS
1921 frames in 5.3 seconds = 362.950 FPS
1921 frames in 5.3 seconds = 362.843 FPS
3277 frames in 5.0 seconds = 649.926 FPS
3842 frames in 5.2 seconds = 744.068 FPS
4294 frames in 5.2 seconds = 833.539 FPS
3616 frames in 5.0 seconds = 719.193 FPS
4294 frames in 5.1 seconds = 842.681 FPS
4520 frames in 5.0 seconds = 899.452 FPS
4580 frames in 5.1 seconds = 899.725 FPS
4520 frames in 5.0 seconds = 897.355 FPS
4407 frames in 5.0 seconds = 881.189 FPS
4294 frames in 5.1 seconds = 840.756 FPS
3729 frames in 5.1 seconds = 728.308 FPS

When I run the game FlightGear, it said:
Code:

[root@localhost ~]# fgfs
freeglut (fgfs): Unable to create direct context rendering for window 'FlightGear'
This may hurt performance.

And when I run "googleearth", it said:
Code:

[root@localhost ~]# googleearth
Xlib:  extension "XFree86-DRI" missing on display ":0.0".

The program cannot be opened.

How can I do for the display card?

The /etc/x11/xorg.conf file:
Code:

# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier    "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
        Identifier  "Monitor0"
        ModelName    "Philips 107S(17inch/CM6800)"
 ### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    30.0 - 66.0
        VertRefresh  50.0 - 130.0
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "radeon"
EndSection


Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1024x768" "832x624" "800x600" "720x400" "640x480" "640x400" "640x350"
        EndSubSection
EndSection


Lenard 05-19-2007 02:08 PM

The easy way:

Install the rpmforge-release package as instructed here; http://dag.wieers.com/rpm/FAQ.php#B

Install the freshrpms-release package found here:

rpm -Uvh http://ftp.freshrpms.net/pub/freshrp....fc.noarch.rpm

When done with both type (as root): yum install dkms ati-x11-drv

Then edit the /etc/X11/xorg.conf file, example file below. ;

Code:

# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier    "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
EndSection

Section "ServerFlags"
        Option            "AIGLX" "off"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option            "Device" "/dev/input/mice"
        Option            "Protocol" "auto-dev"
        Option            "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

        Identifier  "Monitor0"
        ModelName    "Philips 107S(17inch/CM6800)"
        Option      "dpms"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "fglrx"
        Option            "Centermode" "off"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1280x1024" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Group        0
        Mode        0666
EndSection

Section "Extensions"
        Option            "Composite" "False"
EndSection

Then restart X or reboot system.

Sample results:

Code:

$ glxgears
5632 frames in 5.0 seconds = 1126.354 FPS
6149 frames in 5.0 seconds = 1229.702 FPS
6151 frames in 5.0 seconds = 1230.037 FPS
6150 frames in 5.0 seconds = 1229.905 FPS

[lenard@Aspire5100 ~]$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2


sailershen 05-21-2007 02:00 AM

Thanks for help.
After install the two rpms, when I run the command:
Code:

[root@localhost software]# yum install dkms ati-x11-drv
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
rpmforge                  100% |=========================| 1.1 kB    00:00
Could not retrieve mirrorlist http://ayo.freshrpms.net/fedora/linux/5Client/mirrors-freshrpms error was
[Errno 14] HTTP Error 404: Not Found
Error: Cannot find a valid baseurl for repo: freshrpms

And I've installed ati-driver-installer-8.36.5-x86.x86_64.run download from ati.com.

Lenard 05-21-2007 06:10 AM

Sorry I forgot to mention that some minor editing of the /etc/yum.repos.d/freshrpms.repo is needed;

[freshrpms]
name=Fedora Core 6 - $basearch - Freshrpms
mirrorlist=http://ayo.freshrpms.net/fedora/linux/6/mirrors-freshrpms
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1

Quote:

And I've installed ati-driver-installer-8.36.5-x86.x86_64.run download from ati.com.
Then remove it, quoting from: https://a248.e.akamai.net/f/674/9206...36.5-inst.html

Quote:

Automatic or Custom Driver Installations

If the ATI Proprietary Linux Graphics Driver was installed using either the Automatic or Custom options, then do the following:

1. Launch the Terminal Application/Window and navigate to the /usr/share/ati folder.
2. With super user permissions, enter the command "sh ./fglrx-uninstall.sh"



All times are GMT -5. The time now is 05:46 PM.