LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-10-2003, 07:29 PM   #16
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30

i had just download the driver from http://www.schneider-digital.de/html/download_ati.html and had used
rpm -i --force fglrx-glc22-4.3.0-3.2.8.rpm.
After installation changed XF86Config manually, then i got

Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: Detected nVidia nForce2 chipset
agpgart: Bridge device is in AGP v1/v2 mode
agpgart: AGP aperture is 128M @ 0xe0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState = 0x00000000 (hardware caps of chipset)
[fglrx:firegl_unlock] *ERROR* Process 9780 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer


from dmesg

and

(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP


(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): ********************************************* *


again from XF86 log

Coud you figure out what's going on here
I had kernel2.4.22, redhatlinux9 with xfree86-4.3.0
 
Old 11-10-2003, 09:37 PM   #17
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
What distro are you running? You should update your profile to include that info (edit: just noticed it's redhat ) What does lsmod show?

You may have to recompile your kernel to include DRI support, but I may be wrong. Hopefully someone more knowlegable comes along to help.

Last edited by Scruff; 11-10-2003 at 10:00 PM.
 
Old 11-10-2003, 09:52 PM   #18
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Also, post your monitor and graphic device sections from xf86config-4. You did run 'fglrxconfig' to create this file, right?

I can't really speak for an rpm install. I changed it from an rpm to a .tgz (slack package) and still had to cd around to a few different directories to make/make install a few things.

Last edited by Scruff; 11-10-2003 at 10:08 PM.
 
Old 11-11-2003, 02:51 PM   #19
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
What you mean by "had to cd around to a few different directories to make/make install a few things."
lsmod does show fglrx
Also, i do have DRI support
Can you post your kernel configuration file, so i could compare what's wrong with mine?
 
Old 11-11-2003, 05:00 PM   #20
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
I mean it took several steps to get the driver installed as shown in Shade's instructions. I posted the link on the 1st page, but here it is again: http://www.linuxquestions.org/questi...ghlight=radeon

Here's a link to my kernel config. Better I upload it to my old site than everyone have to scroll 2 miles right here

The kernel config is pretty well stock. I haven't gotten around to doing a proper recompile since I re-installed last week (I did a new install to make installing a new Audigy painless). All I really made sure of during this one, is that the nforce support was selected under character devices and that AGPGART was compiled in as well so I could quickly see if this was going to work. I swore I had at least changed the processor from a 486 to an Athlon, but it doesnt appear that I had .....

Anyway, give it a look.

Last edited by Scruff; 11-11-2003 at 05:05 PM.
 
Old 11-11-2003, 05:03 PM   #21
Scruff
Member
 
Registered: Oct 2002
Location: Stoughton, MA
Distribution: Gentoo x86_64 & PPC
Posts: 949

Rep: Reputation: 30
Quote:
Originally posted by Scruff
Also, post your monitor and graphic device sections from xf86config-4. You did run 'fglrxconfig' to create this file, right?
I just realized you still hadn't answered these questions.
 
Old 11-13-2003, 08:34 PM   #22
Hwulex
LQ Newbie
 
Registered: Nov 2003
Distribution: Ubuntu 12.10
Posts: 4

Rep: Reputation: 0
Quote:
Originally posted by Shade
Definitely. I've done it 10 times over.
The advice above is all wrong for the 9000 Pro if you want 3d acceleration.(same card I've got.)

Here are the general steps

<<snip>>

That should be it buddy

-Shade
Shade; you're a legend!

Was struggling with those damn ATi drivers for hours, but I came and found your steps and I'm now enjoying full resolution, hardware accelerated, Linux goodness.

/pats on back
 
Old 12-09-2003, 06:02 PM   #23
scobiej
Member
 
Registered: Aug 2003
Location: London
Distribution: Redhat, SuSE, Ubuntu
Posts: 75

Rep: Reputation: 15
You know, I changed back to slack (used it back in the first release) after getting fed up with RedHat and the none standard builds, fedora etc. I had less problems setting up hardware acceleration - actually, was a snap after reading this post - on my Radeon 9000Pro than I ever had with RH9.
Thanks a bunch guys. Great stuff Slack.
 
Old 12-09-2003, 09:51 PM   #24
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Wow... Glad to see that a lot of people have had success with my instructions.
I may put up a more thorough how-to.

I've gone through a few more installs since that post, just trying things out differently and acouple of other things I noticed --

agpgart must be compiled as module -- not in the kernel. If compiled in kernel, you will get an odd message from dmesg about the fglrx module having to be inserted prior to any other DRI module -- which I deduced to be agpgart compiled in.

To help with the 9600 --
Ati's newest driver released supports it. I believe you may follow the same install procedure as stated before for Slack 9.1 --
rpm2tgz fglrx-2.5.8<whatever>.rpm
installpkg fglrx-2.5.8<whatever>.tgz

edit XF86Config-4 to use fglrx driver.

And there's the difference for the 9600 -- this is just a hunch based on the errors I saw listed in a previous post of this thread:

Option "hw_cursor"

Try that under the Device section for the vid card.

-Shade
 
Old 12-10-2003, 01:44 PM   #25
T_cat
LQ Newbie
 
Registered: Sep 2003
Location: Hungary
Distribution: Slackware 9.1
Posts: 2

Rep: Reputation: 0
Hi!

Today I installed slackware 9.1 and compiled a 2.4.23 kernel.

I've downloaded the latest driver from ATI, and followed Shade's instructions, but got a very strange error:

root@darkstar:/lib/modules/fglrx/build_mod# ./make
-bash: ./make: No such file or directory
root@darkstar:/lib/modules/fglrx/build_mod# ./make.sh
ATI module generator V 2.0
==========================
initializing...
probing for VMA API version...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
patching 'drm_os_linux.h'...
doing script based build for kernel 2.4.x and similar
compiling 'agpgart_be.c'...
compiling 'agp3.c'...
compiling 'i7505-agp.c'...
compiling 'nvidia-agp.c'...
compiling 'firegl_public.c'...
linking of fglrx kernel module...
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
root@darkstar:/lib/modules/fglrx/build_mod# cd ..
root@darkstar:/lib/modules/fglrx# ./make_install.sh
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
Warning: loading /lib/modules/2.4.23/kernel/drivers/char/drm/fglrx.o will taint the kernel: non-GPL license - Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
/lib/modules/2.4.23/kernel/drivers/char/drm/fglrx.o: init_module: Operation not permitted
/lib/modules/2.4.23/kernel/drivers/char/drm/fglrx.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.23/kernel/drivers/char/drm/fglrx.o: insmod /lib/modules/2.4.23/kernel/drivers/char/drm/fglrx.o failed
/lib/modules/2.4.23/kernel/drivers/char/drm/fglrx.o: insmod fglrx failed
failed.
root@darkstar:/lib/modules/fglrx#

??? What the hell is this? Unfortunately XFREE 4.3's generic ati and radeon drivers don't work for my system, so the problem is critical, cause vesa suxx
 
Old 12-11-2003, 01:20 AM   #26
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
T-Cat --

Check to see if you maybe compiled agpgart into the kernel.

Use dmesg and see what the last line is after you try a modprobe fglrx.
If it says something like, fglrx must be loaded prior to any other kernel DRI manager.. then that's your problem

Recompile 2.4.23 with agpgart as module.

-Shade
 
Old 12-11-2003, 01:25 PM   #27
T_cat
LQ Newbie
 
Registered: Sep 2003
Location: Hungary
Distribution: Slackware 9.1
Posts: 2

Rep: Reputation: 0
Thx Shade!!

Everything went OK after I compiled agpgart and the radeon support from the DRI section as a module
 
Old 12-11-2003, 05:13 PM   #28
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
No problem
 
Old 02-02-2004, 01:10 AM   #29
Zer0X
LQ Newbie
 
Registered: Jan 2004
Posts: 10

Rep: Reputation: 0
Sorry to bring back this old thread, but I was wondering if anyone could help me out. I followed the steps listed, and checked my kernel config and am positive that AGP support is builtin. I have an nForce2, and was thinking that maybe that PCI Bus ID thing might be the problem. My mobo is an NF7-S by Abit. Also, this line at the bottom of dmesg caught my eye: [fglrx:firegl_unlock] *ERROR* Process 16747 using kernel context 0. Help is much appreciated.
 
Old 02-02-2004, 05:19 PM   #30
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
it does on my machine too. it doesn't says that when my system boots up. but after i play tux racer, there is several line which was about it.
maybe upgrade kernel to 2.6.1?
i will stay with 2.4.23. just want a kernel compiling break!!
 
  


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 3D Acceleration on Suse 9.0 lahtalion Linux - Laptop and Netbook 4 03-14-2005 04:18 AM
radeon 9000 pro... "direct rendering: yes" but no 3D acceleration in fact cpukiller Linux - Hardware 0 08-08-2004 09:34 PM
3D acceleration not working on XFree86 4.3 with radeon 9000 Oxyd Linux - Software 7 04-29-2004 11:21 AM
Getting 3d acceleration to work on sapphire OEM radeon 9000 yelo Linux - Software 1 01-09-2004 04:27 PM
ATI Radeon 9000 Pro 3d acceleration verigoth Linux - Hardware 0 02-06-2003 03:02 PM

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

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