LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-10-2004, 10:28 PM   #166
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48

everything went so smoothly last time, it does indeed seem if i can just get rid of those pesky mesa drivers i might be in business. i'll bet a zillion dollars that even when the ati drivers were loading, it was the mesa libs that was still messing things up as some sort of conflict. </uninformed guess> i'll search around tomorrow, see what i can come up with for removing them. thanks again, i wouldn't even have gotten this far without your and DaOne's help!
 
Old 01-10-2004, 10:32 PM   #167
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Yes. I had a whole 285 frames per second with Mesa loaded. It was a mess'a alright. So yes, I think even though it doesn't appear so, you have made progress and your kernel config seems fine. We just need to focus on making sure that the Mesa lib is completely removed.
 
Old 01-10-2004, 10:32 PM   #168
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Good night. Your welcome. We'll get it working one way or another.

Update:

I decided to update my kernel to 2.6.1. I did just that, did a reinstall of the ati drivers and from the prompt without rebooting did a modprobe fglrx. Upon doing a glxgears found 140fps. Then a glxinfo showed Mesa running.

That's correct. Mesa.

Bewildered at why this even shows up I rebooted to see if my configuation would solve the issues. It did. It works.

I still believe that Mesa is an issue. I thought I had solved this by removing the previously named mesa lib files, but I guess I had not. Upon reboot I ran glxgears and to my amazement I had reloaded the ATI drivers and everything was working fine.

So.... Here is my take on it.

1) Mesa is a problem as we have been discussing.
2) Even though I removed the previously posted libs, Mesa is still a problem.
3) I have messed with my rc.modules conf and possibly other configuration files previously that must have fixed the issues with the situation with loading the fglrx drivers.

Bit tired now, but I have it working fine. This is where you are csynaptical
with your situation of Mesa loading up again after recompiling the drivers. Same happened here just now.

Try a reboot and glxgears again. If this doesn't work for you, we can go over the modules.conf, xfreeconfig, any other files I've changed and see what we have different.

As of now, 2.6.1 and the ATI drivers are humming along nicely.


Last edited by Hooper; 01-11-2004 at 12:30 AM.
 
Old 01-11-2004, 12:14 PM   #169
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Sorry it took me awhile to get back...I lost a hard drive lastnight. Lucky for me it was the Windows XP drive...but unlucky for me that it had alot of stuff that I didn't backup. Oh well, live and learn.

I am going to try some ideas here on my end. I think Hooper is on to the problem so far. I'll check back when I get a chance.
 
Old 01-11-2004, 12:40 PM   #170
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
sorry to hear about your hard drive, DaOne, that's gotta suck.

i'm still searching around this morning, reading the mesaGL site mostly. i tried installing the latest 5.1 version thinking that might overwrite any old version, and then i'd be able to remove it cleanly, but it didn't work. i'm glad to see you still have mesa showing up, though! (glad in a roundabout kind of way )

out of curiousity, what DRI and GLX settings do you have in your XF86Config-4? (edit > i.e., are they loaded in that beginning section? i wasn't sure if they should be loaded or not.) i am going to start looking through config files, see if with my limited knowledge i can spot anything that looks suspicious. l8r

Last edited by synaptical; 01-11-2004 at 12:43 PM.
 
Old 01-11-2004, 12:48 PM   #171
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Sorry about the hard disk DaOne. I had an IBM go out just a couple months ago. Replaced it with a Western Digital. Years ago the drives were garbage, but I must say, this one is doing quite nicely with this 8MB cache. Can't complain.
 
Old 01-11-2004, 12:51 PM   #172
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
This is the very top of my config.

========================
Section "dri"
# Access to OpenGL ICD is allowed for all users:
Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
# Group 100 # users
# Mode 0660
EndSection

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "speedo"
Load "glx" # libglx.a
Load "dri" # libdri.a

EndSection
======================
 
Old 01-11-2004, 12:55 PM   #173
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
synaptical,

Why don't you try this. /etc/rc.d/rc.modules

### AGP (Accelerated Graphics Port) GART support ###
# This module takes care of programming the GART (part of your motherboard's
# chipset that handles gathering data from memory and passing it to the
# card) and enables faster AGP transfers. The AGP GART module is required
# to use AGP features of your 3D rendering video card. You'll need this to
# use XFree86's direct rendering support, for example.

# /sbin/modprobe agpgart
/sbin/modprobe fglrx


I know this sounds a bit strange. But after last night having mesa come back to rehaunt after the new compile, I think the issue might be that mesa is getting in the way of fglrx loading. As mentioned, upon reboot ATI was working. Thus means some changes in my rc scripts loaded the drivers properly. dmesg confirmed this.

Last edited by Hooper; 01-11-2004 at 01:03 PM.
 
Old 01-11-2004, 01:54 PM   #174
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by Hooper
synaptical,

Why don't you try this. /etc/rc.d/rc.modules

### AGP (Accelerated Graphics Port) GART support ###
# This module takes care of programming the GART (part of your motherboard's
# chipset that handles gathering data from memory and passing it to the
# card) and enables faster AGP transfers. The AGP GART module is required
# to use AGP features of your 3D rendering video card. You'll need this to
# use XFree86's direct rendering support, for example.

# /sbin/modprobe agpgart
/sbin/modprobe fglrx

I know this sounds a bit strange. But after last night having mesa come back to rehaunt after the new compile, I think the issue might be that mesa is getting in the way of fglrx loading. As mentioned, upon reboot ATI was working. Thus means some changes in my rc scripts loaded the drivers properly. dmesg confirmed this.
that's where i've always had /sbin/modprobe fglrx. how are you doing agpgart? i've got it both as a module, and into the kernel, and it's not working.

btw, the new mesaGL broke something with 2.6.0, so i recompiled 2.6.1 from the complete source instead of the patch, and the fglrx drivers installed okay this time. that might also have had something to do with me using the correct method for that this time. anyway, i am now using 2.6.1, but no matter what i do, i get the mesas.

sero@homer:~ $ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4

i'm getting this at the end of dmesg -- a few things look messed up, and that mtrr message looks very suspicious. maybe i should try compiling with that disabled?

Linux agpgart interface v0.100 (c) Dave Jones
request_module: failed /sbin/modprobe -- char-major-10-134. error = 256
mtrr: 0xe0000000,0x4000000 overlaps existing 0xe0000000,0x1000000
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 582 using kernel context 0
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
 
Old 01-11-2004, 01:58 PM   #175
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Check out THIS ...there is alot of good stuff there that may work in this situation. I am looking for more info on how to kill those mesa libs...
 
Old 01-11-2004, 02:43 PM   #176
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Quote:
Originally posted by synaptical
Linux agpgart interface v0.100 (c) Dave Jones
request_module: failed /sbin/modprobe -- char-major-10-134. error = 256
mtrr: 0xe0000000,0x4000000 overlaps existing 0xe0000000,0x1000000
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 582 using kernel context 0
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
Hmmm. Ick. The all to infamous mtrr error. If I remember right, wasn't there a patch for this on the Athlon DaOne? I know this has to be an Athlon/ATI issues coupled with the mesa issue.

I believe I read where someone disabled mtrr within the kernel compile. I wouldn't jump on that yet though, there may be a patch.

Last edited by Hooper; 01-11-2004 at 02:47 PM.
 
Old 01-11-2004, 03:10 PM   #177
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
We can try the AMD patch...it can be found HERE.

What you'll want to do is this from the console...
remove the /lib/modules/fglrx directory (just to make sure we are dealing with a clean directory)
rmmod fglrx (to remove the fglrx module if loaded)
If you have the fglrx-drivers.tgz package (hopefully you've converted them from an rpm to a tgz), copy the .tgz package to /.
tar xzvf fglrx-drivers.tgz
cd /lib/modules/fglrx/build_mod
save the patch to this directory then run patch -p0<fglrx-3.2.8-fix-amd-adv-spec.patch
run ./make.sh
cd ..
./make_install
fglrxconfig

Reboot, then see what you have from lsmod. If the modules (agpgart, nvidia-agp, and fglrx) don't load right away...just startx...then lsmod again to see if they loaded. If not, or if x doesn't start...

From the console, load them as appropriate...nvidia-agp should load with agpgart. Then try again to startx.
 
Old 01-11-2004, 03:16 PM   #178
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
By the way...I wonder how waever made out with 2.6.1??? I believe he was stuck somewhere around this point also.
 
Old 01-11-2004, 03:22 PM   #179
waever
Member
 
Registered: Oct 2003
Location: Hamilton,ON
Distribution: LFS
Posts: 46

Rep: Reputation: 16
hi everybody, thx for helping me so far ^^
I just got through my problems, now glxgears is giving me 2000+ fps, nice
I resolved the problem after upgrading to kernel 2.6.1 and applying the AMD patch
The problem so far was caused by the "incomplete" nvidia-agp module in the 2.6.0 kernel; the 2.6.1 has the fix.
ok, that's about it.. again thanks for all your help ^^

PS:
for everybody using nforce board and AMD and tired of getting the mtrr allocation error, I suggest you try the 2.6.1 kernel. I think it is the only way. It is a bug in the kernel, not in the fglrx. everything else about the config, you can follow from the pages in this thread. Good luck...
 
Old 01-11-2004, 03:22 PM   #180
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
i've been using that patch all along, along with the other fglrx-2-vmadder-whatever one. i tried the other fglrx driver version from that thread you linked to, but that wouldn't even patch. so i just went back to the original and redid everything. i just can't bypass the mesas, and now apparently there's this new problem with the mtrr and failed modprobe (?) -- i am usually pretty persistent, but i think i am giving up on this one!

to make matters worse, all the recompiling and lilo-ing has messed something up in my MBR, and now i am getting a mismatched geometry error when running lilo, and a hang-time delay before the lilo screen comes up -- if it even does. sometimes it doesn't even come on screen, it's just black, and i have to guess at when it's up and scroll down blindly if i'm using the test kernel, and hope i've booted to the test. so that is making me kind of nervous, and i think i will have to try to fix that if possible before it breaks even worse and i can't boot into my system anymore.

what an ordeal! i don't even do 3D gaming, etc. -- i just wanted the increased performance in 2D. now i'm not even sure it's worth all this! i might just get a cheap matrox card on ebay or something and get rid of these radeon problems forever.

Last edited by synaptical; 01-11-2004 at 03:23 PM.
 
  


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
ATi Radeon 9000 Pro and Radeon(flgrx) driver included on Mandrake 10.1 Official St3althcAt Linux - Hardware 1 05-07-2005 08:30 PM
new radeon driver in 2.6.11 short101 Debian 3 04-06-2005 02:22 AM
can't install newest radeon driver on kernel 2.6.11; what's up with this? qanopus General 9 03-14-2005 03:26 AM
HELP!! Install ATI Mobility RADEON 9000 driver on Debian Kernel 2.4.18-bf2.4?? herbu Linux - Laptop and Netbook 3 11-21-2004 03:37 AM
Radeon 9700 probs/driver downloaded/kernel generator missing NBN Mandriva 18 01-15-2004 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:58 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