Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th August 2004, 10:27 PM
micha Offline
Registered User
 
Join Date: Feb 2004
Location: France
Age: 36
Posts: 533
ATI driver 3.11.1

The new 3.11.1 ATI drivers are out !!!! Go get them :
http://www.ati.com/support/drivers/l...8&submit=GO%21

I've created a patch to make the new ATI driver compile with Fedora Core 2. You can find the patch in attached file.

If you already have installed a previous version of the ATI driver, you have to remove it completely. Here are the instructions to do that.

First you have to go in true console mode (e.g. CTRL+ALT+F1). Then log on as root and shutdown Xorg:
Code:
init 3
Then remove the previous ATI driver:
Code:
rpm -e fglrx
rm -rf /lib/modules/fglrx
After that you can install and configure the ATI driver following the classical method:
http://fedorafaq.org/#radeon
http://www.fedoraforum.org/forum/showthread.php?t=16690

... and don't forget to download the new driver and the new patch posted here.

Note that this patch was only tested with the official 2.6.7-1.494.2.2 Fedora kernel.
Note also that the vanilla kernels don't require any patch

-- Micha
Attached Files
File Type: gz fglrx-fedora.patch.gz (652 Bytes, 18822 views)

Last edited by micha; 8th August 2004 at 01:47 AM.
Reply With Quote
  #2  
Old 6th August 2004, 09:23 PM
jwiz Offline
Registered User
 
Join Date: May 2004
Posts: 96
Just updated from fglrx-4.3.0-3.9.0 and your patch worked alright for me, though things went awry at first.
Had a brainlag and forgot to 'rmmod fglrx' first! :o

Nevertheless, I downgraded to the former 3.9.0 right afterwards, as glxgears gave me abot 400 frames less with the new driver.
Used to have about 3050 frames with my Radeon 9600XT and XP2800+ but ended up with about 700 with this new driver version!

jwiz
Reply With Quote
  #3  
Old 6th August 2004, 10:01 PM
micha Offline
Registered User
 
Join Date: Feb 2004
Location: France
Age: 36
Posts: 533
The new ATI driver is better, even if it gives less FPS in glxgear or fgl_glxgear. UT2004 is now playable
Reply With Quote
  #4  
Old 7th August 2004, 05:14 AM
DaNe Offline
Registered User
 
Join Date: Aug 2004
Posts: 3
i keep i thinking and i dont see where i commit a mistake
glxgears oly gives me in normal size 14.6 fps :O
Code:
[
root@DaNebox root]# rpm -Uvh --force /home/dane/fglrx-4.3.0-3.11.1.i386.rpm 
Preparing...                ########################################### [100%]
   1:fglrx                  ########################################### [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.
*** Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.6.7-1.494.2.2/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.
*** 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.
Installed: qt3 (gcc 3.2) based control panel application
 === 
ATI display drivers successfully installed
please run 'fglrxconfig' now
 === 
[root@DaNebox root]# cd /lib/modules/fglrx/build_mod/
[root@DaNebox build_mod]# patch -p1 < /tmp/fglrx-fedora.patch 
patching file 2.6.x/Makefile
patching file make.sh
[root@DaNebox build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.6.7-1.494.2.2/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.
[root@DaNebox build_mod]# cd ..
[root@DaNebox fglrx]# sh make_install.sh 
*** 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.
i run fglrxconfig(use in 90% of the cases the defaults options)
then i edited the xorg.conf
how u said and edit the busid!
then start x again and then i checkout the perfomance of my brandnew drivers perfomance...and what i see is top fps is 21 =X
Code:
274 frames in 13.0 seconds = 21.077 FPS
120 frames in 8.0 seconds = 15.000 FPS
120 frames in 9.0 seconds = 13.333 FPS
120 frames in 9.0 seconds = 13.333 FPS
120 frames in 8.0 seconds = 15.000 FPS
120 frames in 9.0 seconds = 13.333 FPS
Reply With Quote
  #5  
Old 8th August 2004, 01:50 AM
micha Offline
Registered User
 
Join Date: Feb 2004
Location: France
Age: 36
Posts: 533
Quote:
Originally Posted by DaNe
i keep i thinking and i dont see where i commit a mistake
glxgears oly gives me in normal size 14.6 fps :O
I guess you didn't remove completely the previous ATI driver. I've posted the steps to do that in the first post of this thread.
Remove any driver and restart the installation of the new driver. Don't forget to remove the /lib/modules/fglrx folder. This should work...
Reply With Quote
  #6  
Old 8th August 2004, 06:37 PM
vuerro Offline
Registered User
 
Join Date: Jul 2004
Location: NL
Posts: 20
I posted my Xorg.0.log

when I complete the steps after a clean fc2 install and a kernel upgrade + sourcecode
I get a blank screen

i don't think i can find it..
Attached Files
File Type: txt xorg.log.txt (33.9 KB, 420 views)
Reply With Quote
  #7  
Old 9th August 2004, 02:28 AM
SWEjuggalo Offline
Registered User
 
Join Date: Aug 2004
Posts: 3
I can even start X after doing everything the http://fedorafaq.org/#radeon says...first it said that /dev/mouse couldn't be found...fair enough...it didn't exist there. It's /dev/input/ all the "mouse" exist ...but what here? Only /dev/input/ ? Tried /dev/input/mouse ...

What should I set this to? :

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/mouse"

I'll try one more time but with /dev/input/ ...then I give up :/
Reply With Quote
  #8  
Old 9th August 2004, 02:52 AM
SWEjuggalo Offline
Registered User
 
Join Date: Aug 2004
Posts: 3
I made it...but with a kind of error when seing my desktop...will try to repete the error tomorrow and let you know what it was. Can not find anything of value in the logs...well, probably to tired..

Anyway...fixed my previous problem with the path /dev/input/mouse1

Tux Racer seems to work ,yeha!
Reply With Quote
  #9  
Old 9th August 2004, 07:42 AM
kmail Offline
Registered User
 
Join Date: Aug 2004
Location: Estonia, Tartu
Posts: 4
ok i did my installation by this "classical method" http://www.fedoraforum.org/forum/showthread.php?t=16690
with the new drivers ofcourse, everything went fine, no errors were noticed, so i booted into X but the old MEsa is still right where it used to be and no direct rendering present .
Here is a quote from the x log:
Code:
(II) fglrx(0): [drm] register handle = 0xed000000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0x22953000 at 0xf6e3b000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xe0000000 FBMappedSize: 0x04000000
(II) fglrx(0): FBMM initialized for area (0,0)-(1024,8191)
It says cannot init agp, how can i fix this problem?
Reply With Quote
  #10  
Old 9th August 2004, 11:59 AM
astreyon Offline
Registered User
 
Join Date: Jun 2004
Posts: 18
Unhappy still slow but now i know WTF makes my laptop slow !!!!!

new driver compile and install properly using vanilla kernel 2.6.7
and now i know what make my laptop slower when i use the ATI driver !!!!

i switch from metacity to enlightenment and everything is OK.
i roll back to metacity and display become slower than ever :-(

anyone has an idea how to fix ?
i use metacity because it has the greatest panther themes i've ever seen
Reply With Quote
  #11  
Old 9th August 2004, 05:48 PM
vuerro Offline
Registered User
 
Join Date: Jul 2004
Location: NL
Posts: 20
Quote:
Originally Posted by SWEjuggalo
I can even start X after doing everything the http://fedorafaq.org/#radeon says...first it said that /dev/mouse couldn't be found...fair enough...it didn't exist there. It's /dev/input/ all the "mouse" exist ...but what here? Only /dev/input/ ? Tried /dev/input/mouse ...

What should I set this to? :

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/mouse"

I'll try one more time but with /dev/input/ ...then I give up :/
/dev/input/mice

hope it helps
Reply With Quote
  #12  
Old 9th August 2004, 08:41 PM
Bear Knuckle Offline
Registered User
 
Join Date: Apr 2004
Age: 37
Posts: 51
A big THANK YOU to micha for the patch.

Installation worked at first time, I even could use my old config-file and the overall-performance in-game became much better.

Anyone can explain to me, why the values in glxgears are lower than with 3.9.0, but the in-game fps became higher?
Reply With Quote
  #13  
Old 10th August 2004, 03:25 AM
Arrummzen Offline
Registered User
 
Join Date: Jul 2004
Posts: 9
I get the following when I try to run sh make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.6.5-1.358smp/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.

EDIT: The reason my kernel version is 2.6.5 in the above post, is because I ran it a second time with the 2.6.5 kernel to get output to paste here. It says 2.6.7 when I run it using the 2.6.7 kernel and I get the same error.

What have I done wrong? As far as I can tell I followed your instructions to the letter. How do I fix this? Its probly something simple, but I have little to no experence in configuring 3d for X11 servers...

Thank you for your time,
Arrummen

Last edited by Arrummzen; 10th August 2004 at 07:16 AM.
Reply With Quote
  #14  
Old 10th August 2004, 05:49 AM
Littlejia Offline
Registered User
 
Join Date: Aug 2004
Posts: 4
when i paths the kernel,it appears somes err.please help

[root@Deadforg build_mod]# patch -p1 < /down/fgl*.pat*
patching file 2.6.x/Makefile
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file firegl_public.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file firegl_public.h
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file make.sh
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 180 with fuzz 1 (offset 4 lines).
Hunk #2 succeeded at 989 (offset -3 lines).
patching file agpgart_be.c
Hunk #1 FAILED at 1402.
Hunk #2 FAILED at 4414.
2 out of 2 hunks FAILED -- saving rejects to file agpgart_be.c.rej
patching file firegl_public.c
Hunk #1 FAILED at 2066.
1 out of 1 hunk FAILED -- saving rejects to file firegl_public.c.rej
[root@Deadforg build_mod]#
Reply With Quote
  #15  
Old 10th August 2004, 06:31 AM
sheino Offline
Registered User
 
Join Date: Aug 2004
Posts: 4
vanilla kernels?

Micah,
You said the vanilla kernels do not require a patch. What are you considering a vanilla kernel?

I followed the steps with the new drivers and patch and still get MESA showing up and 3D is still very slow.

Running newly installed FC2 with latest yum updates installed.

Cheers,
Darin....
Reply With Quote
Reply

Tags
ati, driver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia driver needs driver??(driver problem) jarmen_kell Installation, Upgrades and Live Media 5 23rd July 2007 10:04 AM
Fedora 6 ATI driver and livna proprietary driver jonathonp Using Fedora 1 14th May 2007 08:59 PM
Installing SATA Driver from driver disk sandesh_sun2004 Installation, Upgrades and Live Media 0 17th June 2005 03:46 PM


Current GMT-time: 06:01 (Wednesday, 01-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat