LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-18-2003, 11:55 AM   #1
core
Member
 
Registered: May 2003
Location: Berlin
Distribution: Slackware 9.1 Kernel: 2.6.4
Posts: 60

Rep: Reputation: 15
*FIXED* Radeon Driver and kernel 2.6.0


Hello,


*edit* Problem solved, read below *edit*

I just compiled the new Kernel and quite everything runs smooth so far.. readjusted alsa - works.. But there's a problem with the Radeon Driver for my Radeon 8500 graphics card.

Before updateing the kernel I had DRI support in XFree86 using the "radeon" driver. glxgears had some results like 1800 FPS in the normal sized window. But now with the new kernel this does not work anymore like it's supposed to be.

The framerate dropped and DRI is not enabled anymore as you can see below..

Does anyone know how I can solve this? Anyone with same or other results with the ati radeon driver? Do I now need the fglrx driver from ati?

Thanks in advance

Code:
echelon@core:~$ glxgears
1108 frames in 5.0 seconds = 221.600 FPS
X connection to :0.0 broken (explicit kill or server shutdown).
echelon@core:~$ glxinfo 
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
[...]
glu version: 1.3
[...]
*edit*
I also get this in my syslog when X starts

Code:
Dec 18 18:33:15 core kernel: mtrr: 0xd8000000,0x4000000 overlaps existing 0xd8000000,0x1000000
Dec 18 18:33:15 core kernel: mtrr: 0xd8000000,0x4000000 overlaps existing 0xd8000000,0x1000000
Dec 18 18:33:15 core kernel: [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
Dec 18 18:33:15 core kernel: [drm:radeon_unlock] *ERROR* Process 3669 using kernel context 0

Last edited by core; 12-20-2003 at 07:20 PM.
 
Old 12-18-2003, 01:33 PM   #2
Invisible
LQ Newbie
 
Registered: Jun 2003
Location: Lithuania, Kaunas
Distribution: Gentoo
Posts: 17

Rep: Reputation: 0
I used fglrx driver from ATI with 2.4.23 kernel. Everything runned smoothly. But now I can't install 'em, something with versions won't work. My card is Mobility radeon 9000
 
Old 12-19-2003, 03:13 AM   #3
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Just compiled 2.6.0 on Slack and I'm having Radeon Hell. No probs with 2.4.23 but it's barfing like a mad dog in 2.6 stable.

Radeon 9700 Pro
Slackware 9.1/Kernel recompile 2.6.0
Latest crap drivers from ATI - just love to corrupt my kernel

===================
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.0/build/include/linux/autoconf.h says: SMP=1
assuming default: MODVERSIONS=0
.
CC=gcc
cc_version=3.2.3
found major but not minor version match for gcc and the ip-library
ls -l libfglrx_ip.a
lrwxr-xr-x 1 root root 18 Dec 19 03:44 libfglrx_ip.a ->
libfglr
.
probing for VMA API version...
cc_ret_vma_240 = 1
cc_ret_vma_253 = 1
check results are inconsistent!!!
none of the probed versions did succeed.
aborting module build.

======================

Sh*t
Annoying I say. It's not like I've seen a decent radeon driver for linux since I purchased the card some time ago. Still sucky. This is after manually fixing the missing configuration stuff.

Not much to google at this point either.

Last edited by Hooper; 12-19-2003 at 03:23 AM.
 
Old 12-19-2003, 10:03 AM   #4
hjles
Member
 
Registered: Jan 2003
Posts: 64

Rep: Reputation: 15
Radeon and 2.6 kernel

Hey all:

I'm also having this problem, with a Radeon 7500.

As an interesting side note, I downloaded and installed the latest Mandrake "Cooker", which comes with kernel 2.6.

Radeon is working great, in fact I'm seeing the best performance ever. The whole system is REALLY fast. Click on an icon to launch an appication, and it opens INSTANTLY. This is the most resposive this system has ever been!

Well, I just realized that Xfree86 4.4cvs ships with "Cooker", so maybe that's why DRI is working...or maybe Xfree86 needs to be recompiled against the new kernel?

I'll check it out later when I get home from work, and after going to see "The Return of the King."

-Charlie
 
Old 12-19-2003, 10:21 AM   #5
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Yeah I saw this last night with my 9700 Pro. I haven't had the time to geek out yet and make it work...hopefully this weekend I'll get to it.
 
Old 12-19-2003, 01:04 PM   #6
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Re: Radeon and 2.6 kernel

Quote:
Originally posted by hjles
Hey all:

I'm also having this problem, with a Radeon 7500.
As an interesting side note, I downloaded and installed the latest Mandrake "Cooker", which comes with kernel 2.6.

Radeon is working great

-Charlie

That's always been true with the Mandrake Team. They are an awsome organization of linux contributors. When something doesn't work, they do fix it. That and they stay on top of the cutting edge developement better than any distro IMO. I however prefer slackware or freebsd for it's internal simplicity and speed. An example being rc srcipting and layout verses other distro's. While chkconfig is a welcome addition for some, I prefer to keep as much of a Unix'ish style for the prompt and manually configure startup scripts. There are many other reasons, I cannot stand rpm's and it's deficiencies is another. Thus, FreeBSD is still my all time fave operating system, just not considering it for recent hardware technology (P4-SMP/HTT/Highmem) and the desktop. For servers, absolutely without hesitation. Slackware for the pretty desktop coupled with recent hardware technology.

I'll just suck it up until I get my ATI card a going. This card has been a pain on linux since day one. Nothing new here.

Have you ever watched a Unix geek on a desktop? Lol... first thing they do is open 4 terms, poke holes to the inerds, and turn the screen black.... Heh... They just can't stand it till they check to see how much resources are going to waste..Tweak Tweak Tweak...



Last edited by Hooper; 12-19-2003 at 02:27 PM.
 
Old 12-19-2003, 06:04 PM   #7
core
Member
 
Registered: May 2003
Location: Berlin
Distribution: Slackware 9.1 Kernel: 2.6.4
Posts: 60

Original Poster
Rep: Reputation: 15
Re: Re: Radeon and 2.6 kernel

Quote:
Originally posted by Hooper
That's always been true with the Mandrake Team. They are an awsome organization of linux contributors. When something doesn't work, they do fix it. That and they stay on top of the cutting edge developement better than any distro IMO.
Well that does not work out well every time.

Before I installed Slackware I've had Mandrake 9.1 running, and it was a MESS. The Radeon Driver was exactly the same like in slack - the one that came with XFree86 4.3.
This also worked well with radeon 8500 on slackware, but not with the new kernel. I think the Radeon module fron the kernel could cause this.
Anyway to get to the point: Mandrake does a lot of modifieing in the kernel etc. pp. I've had random X Crashes with mandrake - had none with slackware.. I think the Mandrake people make the stuff worser then it actually is. And mandrake's kernel is soooo slow compared to a slackware install....

The good results with the cooker cdrom must be because of the new X version 4.4.
I've read somewhere, that there's a new radeon driver which improved a lot.


Greetings.

ps..

@hjles: It would be very interesting if compiling the X server solved anything.
 
Old 12-19-2003, 07:00 PM   #8
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Cutting edge doesn't mean your machine will run. It means the Mandrake Disto itself is more apt to satisfy the requirement of new hardware because they integrate the latest updated packages for everything. This is what cooker is about and the above post by the gentleman claiming that his Radeon is working on cooker doesn't shock me. If the new version of Xfree fixes the issues, super. But I assure you Mandrake will have the latest of all software packaged and ready for distrobution before any other distro period. That is what they are known for. The shear number of contributors to that project would boggle your mind.

Last edited by Hooper; 12-19-2003 at 07:11 PM.
 
Old 12-20-2003, 07:39 AM   #9
core
Member
 
Registered: May 2003
Location: Berlin
Distribution: Slackware 9.1 Kernel: 2.6.4
Posts: 60

Original Poster
Rep: Reputation: 15
Well anyway, that's off-topic..

Aren't any users around that have a Radeon 8500 and the new Kernel?
 
Old 12-20-2003, 11:35 AM   #10
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Hmmm,

I spent part of yesturday going over my tips and tricks bookmarks. Tried a few things, recompiled the kernel with and without a few options, changed a few settings in the ATI files and still no go. Compared dmesg outputs of both kernel boots. I traced back what it was looking for and fixed the above issue, now it has three new errors. Not sure what the differences are in regards to the ATI cards and 2.6.0. Driver is the same one I used on 2.4.23. There is an explaination for this somewhere. There is also a new setting in 2.60 for this chipset I have in this machine. ICH 875P. I enabled this as needed.

Honestly, this may be something a new driver might fix, but I would still be curious as to the differences between 2.4.23 and 2.6 when it comes to the changes made that doesn't allow these drivers to work. I don't see anything in the kernel config besides new support for this chipset which is now replacing the generic support that would stand in the way. With others having the same issues, I'm pretty sure the new chipset support doesn't have anything to do with it.

As far as the changes I make vs.the slackware stock kernel, well... slackware pretty much loads everything as a module option. I eliminate a good majority of the slackware kernel from the get go enabling only the hardware support needed for a particular machine. Allows for an 8 minute kernel compile verses around a half hour. Thought I may have missed somthing, double checked... but nay. All hardware working, all available support loaded.


This is a real bummer.

Last edited by Hooper; 12-20-2003 at 01:20 PM.
 
Old 12-20-2003, 02:57 PM   #11
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Quote:
Originally posted by Hooper
Hmmm,

I spent part of yesturday going over my tips and tricks bookmarks. Tried a few things, recompiled the kernel with and without a few options, changed a few settings in the ATI files and still no go. Compared dmesg outputs of both kernel boots. I traced back what it was looking for and fixed the above issue, now it has three new errors. Not sure what the differences are in regards to the ATI cards and 2.6.0. Driver is the same one I used on 2.4.23. There is an explaination for this somewhere. There is also a new setting in 2.60 for this chipset I have in this machine. ICH 875P. I enabled this as needed.

Honestly, this may be something a new driver might fix, but I would still be curious as to the differences between 2.4.23 and 2.6 when it comes to the changes made that doesn't allow these drivers to work. I don't see anything in the kernel config besides new support for this chipset which is now replacing the generic support that would stand in the way. With others having the same issues, I'm pretty sure the new chipset support doesn't have anything to do with it.

As far as the changes I make vs.the slackware stock kernel, well... slackware pretty much loads everything as a module option. I eliminate a good majority of the slackware kernel from the get go enabling only the hardware support needed for a particular machine. Allows for an 8 minute kernel compile verses around a half hour. Thought I may have missed somthing, double checked... but nay. All hardware working, all available support loaded. This is a real bummer.


I am with ya man...I really think this may take new scripts to make and install the modules. The scripts are really goofy...I've spent the better part of a day playing with this mess. I have made it over some hurdles only to trip over some more. Frustrating...
 
Old 12-20-2003, 07:19 PM   #12
core
Member
 
Registered: May 2003
Location: Berlin
Distribution: Slackware 9.1 Kernel: 2.6.4
Posts: 60

Original Poster
Rep: Reputation: 15
Wel, finally I fixed it

So Guys..


I MADE IT.. YEAHAA

Code:
echelon@core:~$ uname -a
Linux core 2.6.0-3 #3 Sun Dec 21 02:01:55 CET 2003 i686 unknown unknown GNU/Linux
echelon@core:~$ glxinfo |grep direct
direct rendering: Yes
echelon@core:~$ glxgears 
9425 frames in 5.0 seconds = 1885.000 FPS
9464 frames in 5.0 seconds = 1892.800 FPS
9502 frames in 5.0 seconds = 1900.400 FPS
And to make this clear - It's without the fglrx driver by ATI. It's the radeon module.
I recompiled my Kernel and builtin is (not as module) DRM, the Radeon Driver (Not in Graphic Driver section, the one in Character Devices). And in Graphic Driver section just normal VESA (used for the framebuffer).. When you select the radeon driver there, the ttys will be unreadable. And I thin mtrr must be compiled in the kernel also.
(I have an Athlon XP CPU, I guess you need this with Intel too..)

In XF86config just use the 'radeon' driver.


Greetings :-)
 
Old 12-20-2003, 10:09 PM   #13
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Congratulations Core!!

That is not a half bad score on glxgears either. I dropped the ATI drivers challenge and tried your kernel compile. I'm pretty sure I hit everything you mentioned. Not sure how the scores will match up against a working ATI driver if there were such a thing. But regardless, it's nice to see you have accomplished this. Here is what I'm getting. I compiled as you had explained leaving the actual driver as a vesa built in. I think the issue is the direct rendering.

dmesg
================
mtrr: v2.0
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i875 Chipset.
agpgart: Maximum main memory to use for agp memory: 1919M
agpgart: AGP aperture is 128M @ 0xe8000000
[drm] Initialized radeon 1.9.0 20020828 on minor 0
================

glxgears
================
1732 frames in 5.0 seconds = 346.400 FPS
1700 frames in 5.0 seconds = 340.000 FPS
1640 frames in 5.0 seconds = 328.000 FPS
1700 frames in 5.0 seconds = 340.000 FPS
1900 frames in 5.0 seconds = 380.000 FPS

rjs@machine:~$ glxinfo |grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

Suggestions?

Last edited by Hooper; 12-20-2003 at 10:18 PM.
 
Old 12-21-2003, 04:43 AM   #14
core
Member
 
Registered: May 2003
Location: Berlin
Distribution: Slackware 9.1 Kernel: 2.6.4
Posts: 60

Original Poster
Rep: Reputation: 15
Is agpgart built into the kernel, also? I have it compiled in directly.
If yes, I might have some bad news.. as you mentioned you have a Radeon 9700 Pro. I think on http://dri.sourceforge.net is mentioned, that the radeon driver in Xfree has DRI support for 8500 boards only.. Maybe you should check that..

And in another Thread someone mentioned he had patched the fglrx driver and has it working with that... he stated this url
http://www.rage3d.com/board/showthre...eadid=33731500


Hope this helps ...
 
Old 12-21-2003, 10:58 AM   #15
Hooper
Member
 
Registered: Dec 2003
Location: FL
Distribution: Slack91-FBSD49
Posts: 80

Rep: Reputation: 15
Hi Core,

Is agpgart built into the kernel, also?

Yes. I have it compiled directly into the kernel this time. I thought I had tried this some time back with DRI and it didnt't work as well.

I'll try the link and see what happens. Thanks Core.
 
  


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 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? schatoor 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


All times are GMT -5. The time now is 06:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration