LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-17-2007, 09:10 PM   #1
sailershen
LQ Newbie
 
Registered: Mar 2005
Posts: 27

Rep: Reputation: 15
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

Last edited by sailershen; 05-17-2007 at 09:35 PM.
 
Old 05-19-2007, 02:08 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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

Last edited by Lenard; 05-19-2007 at 02:11 PM.
 
Old 05-21-2007, 02:00 AM   #3
sailershen
LQ Newbie
 
Registered: Mar 2005
Posts: 27

Original Poster
Rep: Reputation: 15
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.

Last edited by sailershen; 05-21-2007 at 02:09 AM.
 
Old 05-21-2007, 06:10 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
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"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI All-In-Wonder 9600 Red Barchetta Linux - Hardware 4 05-03-2007 08:01 PM
ATI All-in-wonder 9600 Fear Linux - Hardware 1 01-30-2005 03:36 PM
SuSE 9.1 - ATI Mobility 9600 (M10) - ATi Drivers 3.9.0 Beaviis Linux - Hardware 3 06-04-2004 12:51 PM
Ati 9600 xt on a mandrake 10.0 pogues Linux - Hardware 0 03-29-2004 10:48 AM
ATI Radeon 9600 TV-Out? siberian_laika Linux - Hardware 1 12-09-2003 09:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration