LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-08-2005, 02:06 AM   #16
TFMegatron
Member
 
Registered: May 2004
Distribution: Debian Sid, Windows XP Pro
Posts: 47

Rep: Reputation: 15

I am not familiar with fedora/redhat but in the config file for the kernel which is where everything is specified you will find a line CONFIG_DRM. Use an editor and make it say:
#CONFIG_DRM is not set

As for fedora and the commands to compile I do not know that.

After a quick search it seems you can use the style of config I use for debian.

Goto you kernel source. Should be in /usr/src somewhere.


Type:
make mrproper

Then

'make menuconfig' <<< if make menuconfig is not availible just editing the .config file like above is all that is necessary.

This will start a gui style configuration. Goto the section:

Device Drivers -- then
Character Drivers -- then
Unselect Direct Rendering Manager by scrolling to it and pressing 'n'
Press esc to back up a few times and it will ask to save. Say yes.

That part is done.

Then you just need to compile which is done with:

make all

Then

make modules_install
make install


I found this info at this site.

http://www.mjmwired.net/resources/mjm-kernel-fc4.html
 
Old 09-08-2005, 08:00 PM   #17
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Ok, in my experience (when I had an ATi based card):
  • You need to run the installer/compile the driver module in pure console mode. In Red Hat systems (and Fedora is one of those) from init 3.
  • You need to make sure your kernel does not have AGPGART compiled against the kernel, but rather as a module (useful for the times your chipset's AGPGART driver is incompatible with fglrx). Usually Red Hat kernels do have AGPGART against kernel, so you may need to configure that as a module.
  • If you had previously installed an nVidia card on your system, you will not only need to uninstall the driver, but to replace some of the GLX stuff from Xorg, so my advise would be for you to re-install the Xorg-GL and GLX packages. This is required since (in one previous experience) the nVidia driver replaces one library (was it libdri.a?)
  • When you have a working X, but no 3D whatsoever, regardless of what you have in /etc/X11/xorg.conf, take a look at /var/log/Xorg.0.log for any entries beggining with (EE) or (WW) (cat /etc/var/log/Xorg.0.log | grep "(EE)" ), that should orient you to what is going wrong. This information is complementary to the driver installer log files.
  • You should only take out or compile as modules DRM modules when having trouble with them. Of special interest is the Radeon module. And make sure youd do not have it loaed when building the DRM module for fglrx (lsmod | grep radeon and if is loaded rmmod radeon)
  • Depending on your kernel version, you may need to apply a patch to the driver source, for instructions and patches, check the Linux forum over at www.rage3d.com

These are general guidelines for the ATi driver. If you wan to avoid all the hassle, you may want to do as khamar says and run the livna drivers. For any module building you require your currently running kernel sources!!
 
Old 09-09-2005, 08:56 PM   #18
DoctorWho
LQ Newbie
 
Registered: Sep 2005
Posts: 20

Original Poster
Rep: Reputation: 0
I FINALLY got the drivers installed and working, AMAZING! It was TheTargos who gave me the hint by suggesting I do a plain vanilla kernel build of 2.6.12. Before doing somthing that drastic I thougt I might do an upate first. So I ran UP2DATE which worked just fine and upgraded my kernel to the latest:

2.6.12-1.1376_FC3smp

After doing this I ran the script AGAIN and LO and BEHOLD the FGLRX module loaded this time! Who woulda thought these drivers actually work

Now FLGRXINFO tells me:

[root@localhost ~]# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9800 Pro Generic
OpenGL version string: 1.3.5272 (X4.3.0-8.16.20)


Output of fgl_glxgears:

[root@localhost ~]# fgl_glxgears
1985 frames in 5.0 seconds = 397.000 FPS
3403 frames in 5.0 seconds = 680.600 FPS
3455 frames in 5.0 seconds = 691.000 FPS
3480 frames in 5.0 seconds = 696.000 FPS
3426 frames in 5.0 seconds = 685.200 FPS
3413 frames in 5.0 seconds = 682.600 FPS
3393 frames in 5.0 seconds = 678.600 FPS

So it seems to be working. Only prob I am having now is it seems all my CEDEGA games are now broken Whenever any 3d screen comes up my entire PC hangs as if the CPU's are at 100% utilization, I cant even CTRL+ALT+BACKSAPCE out of Xwindows I must hit the reset switch as if it were Windoz! Anyone have an idea as to what may be the problem? I think it is prolly some setting or other in Fglrxconfig.

BTW Thanx alot TFMegatron and also TheTargos for your patience in dealing with such a noob Although I DID manage to fix at least this problem without a recompile I am still anxious to learn how to do it ....

Last edited by DoctorWho; 09-09-2005 at 09:03 PM.
 
Old 09-10-2005, 12:52 AM   #19
TFMegatron
Member
 
Registered: May 2004
Distribution: Debian Sid, Windows XP Pro
Posts: 47

Rep: Reputation: 15
Your welcome.
 
Old 09-10-2005, 12:59 AM   #20
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
Glad you got it working!!

Well the problem with Cedega may be due to many factors, first and foremost, what is the compatibilty you selected in fglrxconfig? You would need at least to set it to the option 2 (don't remember the according value in xorg.conf, sorry). Try the different settings and see if you get better compatibility.

As for the kernel (re)compile, just take your time. It is not very difficult. And FC3 it is QUITE easy. Just go step by step and you should be fine.

Last edited by Thetargos; 09-10-2005 at 01:00 AM.
 
  


Reply



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
Radeon 9800 Pro Drivers and 3D Acceleration Xerop Linux - Software 3 04-12-2004 10:43 PM
ATI Radeon 9800 and Fedora Core 1 - no 3d Acceleration Neuromancer47 Linux - Hardware 1 04-11-2004 11:46 AM
ati radeon 9800 pro acceleration? Ninwa Linux - Software 5 03-21-2004 04:55 PM
Can't Get 3D Acceleration w/Radeon 9800 Pro shaft_007 Linux - Hardware 1 02-19-2004 06:29 PM
Radeon 9800 Pro / Mandrake 9.2 - no 3D Acceleration witchy2k1 Linux - Hardware 0 01-25-2004 01:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:24 PM.

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