Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unofficial r300+nforce2+athlon+2.4.22 guide
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
roofy
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2003
Posts: 86
Location: miami

PostPosted: Wed Oct 15, 2003 9:48 am    Post subject: Unofficial r300+nforce2+athlon+2.4.22 guide Reply with quote

Hey guys after literally a week of no sleep i finally got my radeon card to work with the nforce2 agpgart module...glxgears now gives me about 4081fps and about 2000 with AA enabled. So now, you too can get your wonderful radeon r300 and get it working with anti-aliasing and all that other fun stuff :)
So if you've tried everything and still cant get it to work, just follow the easy instructions below. This is the first DOC ive ever written, so please bear with me, i am by no means a guru.

Step 1: The kernel
The first step in getting your nforce to see your card agp-wise is to use vanilla -sources (2.4.22), if your already using vanilla sources, then goto step 2, if your not then:
Code:
emerge vanilla-sources


now verify that the 'linux' symlink is pointing to the right tree:
Code:
cd /usr/src

Code:
ln -sf linux-2.4.22 linux


Step 2: Configuration of the kernel
Now we must configure the kernel to work with and see the agp gart on your board:
Code:
cd /usr/src/linux

Code:
make menuconfig


then inside your kernel, set everything else the way you normally would (ethernet, sound, etc.), but make sure you have the following set up aswell:
Code:
Processor type and features --->
  <*> MTRR (Memory Type Range Register) support
Character devices --->
  <M> /dev/agpgart (AGP Support)
  [*] NVIDIA chipset support
  [ ] Direct Rendering Manager (XFree86 DRI support)


If you noticed i added /dev/agpgart as a module, this is extremely important, as i used to have it built-in and it would never work, and as soon as i made it a module, everything was dandy. Another point worth mentioning is that i have direct rendering manager support turned OFF inside the kernel, well be using it, but not from the kernel.

After your done with your kernel, compile it and copy it over:
Code:
make dep && make clean bzImage modules modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot


Step 3: Reboot
Code:
reboot


Step 4: Clean your system of any previous ati-driver:
Code:
emerge -C ati-drivers


Step 5: Installation of new ati-drivers (3.2.8 )
First lets switch to the xfree gl libraries:
Code:
opengl-update xfree


Now emerge the new drivers:
Code:
ACCEPT_KEYWORDS="~x86" emerge ati-drivers


Step 6: XFree86 Configuration
Now, lets configure xfree, use the ati specific program, fglrxconfig:
Code:
fglrxconfig


Use your standard xfree config options for the mouse, monitor, etc. But, pay special attention to this option:
Code:
UseInternalAGPGART? (y/n)

Say no to this, because well be using the kernel agp, althought this one works too, its more hassle-free to use the kernel's

Step 7: Testing
Let's start xfree and see whats up:
Code:
startx


Hopefully, what this will do is load X and look for the agp module and load it along with the ati driver module , fglrx. If you want to confirm these were loaded use after getting into X:
Code:
lsmod

you should get somthing back like:
Code:
Module                  Size  Used by    Tainted: P
fglrx                 173896 116
agpgart                15528  15  (autoclean)


Once your in, try this:
Code:
glxgears


Another cool feature is ati's control panel within x:
Code:
fireglcontrol




If you played your cards correctly, you should be getting really good glxgear scores, i have a 9700pro and i get around 4000 fps with no AA enabled

Another sure way to test it is to exit X (ctrl+shift+alt+backspace), and look at the bottom of the log which is on the screen when you exit for any agp errors, or just any errors at all.

Well, I sure hope this FAQ/DOC helped you guys out with getting your radeons working with your nforce2 chipsets. Goodluck and Godspeed :)
_________________
/* event horizon */
Athlon XP 2100+ (o/c'ed to 2.1ghz)
LanParty NForce2 Ultra
80GB Maxtor HD
48x CD-RW
ATI 9700 Pro


Last edited by roofy on Fri Oct 17, 2003 6:08 am; edited 2 times in total
Back to top
View user's profile Send private message
Nuage
n00b
n00b


Joined: 04 Sep 2003
Posts: 39

PostPosted: Thu Oct 16, 2003 5:35 pm    Post subject: ati radeon 9200se Reply with quote

I tryed your steps, but this failed with my ati-radeon-9200-se.
I have kernel 2.4.22, and a motherboard asus A7N8X-X (nforce2).

This fails when I "startx", my computer crashes! (no ssh, nor ping aviable!)
The "fglrxconfig" did recognise the card (which is very recent).

When do you set the "opengl-update ati" ?

Thanks for any help!!
Back to top
View user's profile Send private message
raejae
n00b
n00b


Joined: 29 Sep 2003
Posts: 8

PostPosted: Fri Oct 17, 2003 3:25 am    Post subject: Reply with quote

Concise, and works perfectly on my A7N8X non-deluxe with Radeon 9500 Pro. BRAVO!

-Nick
Back to top
View user's profile Send private message
roofy
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2003
Posts: 86
Location: miami

PostPosted: Fri Oct 17, 2003 5:46 am    Post subject: Reply with quote

thank you nick :):):)


the opengl-update ati is very optional, and not even significant, but i do it anyway for stability, try unmerging X and trying again, because if it hard crashes..somthing is up
_________________
/* event horizon */
Athlon XP 2100+ (o/c'ed to 2.1ghz)
LanParty NForce2 Ultra
80GB Maxtor HD
48x CD-RW
ATI 9700 Pro
Back to top
View user's profile Send private message
Starfox
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2002
Posts: 93

PostPosted: Fri Oct 17, 2003 6:45 am    Post subject: Reply with quote

Is it absolute necessary to use kernel-2.4.22, because that one always gives me unresoved sysmbols when i try to use isdn!
Back to top
View user's profile Send private message
roofy
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2003
Posts: 86
Location: miami

PostPosted: Fri Oct 17, 2003 8:24 am    Post subject: Reply with quote

you could try other sources, but you need to make sure its its built around 2.4.22, gaming and gs, are built around 2.4.21, if i recall correctly
_________________
/* event horizon */
Athlon XP 2100+ (o/c'ed to 2.1ghz)
LanParty NForce2 Ultra
80GB Maxtor HD
48x CD-RW
ATI 9700 Pro
Back to top
View user's profile Send private message
redflash
Apprentice
Apprentice


Joined: 17 Oct 2003
Posts: 213
Location: Germany

PostPosted: Fri Oct 17, 2003 8:31 am    Post subject: Reply with quote

i think you can also use 2.4.20 sources. but only when you patch them with the nvidia agpgart patch
Back to top
View user's profile Send private message
roofy
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2003
Posts: 86
Location: miami

PostPosted: Fri Oct 17, 2003 7:45 pm    Post subject: Reply with quote

or that, yea the reason the 2.4.22's work is cuz of the nvidia agp patch
_________________
/* event horizon */
Athlon XP 2100+ (o/c'ed to 2.1ghz)
LanParty NForce2 Ultra
80GB Maxtor HD
48x CD-RW
ATI 9700 Pro
Back to top
View user's profile Send private message
irasnyd
Apprentice
Apprentice


Joined: 16 Feb 2003
Posts: 286
Location: Placentia, CA

PostPosted: Sat Oct 18, 2003 7:55 am    Post subject: Reply with quote

Thanks for the post.

I was having trouble getting my new nforce2 + r300 up and running with any stability.

I moved from gentoo-sources-2.4.20-r7 to vanilla-sources-2.4.22 and now it appears to be stable, although I haven't submitted it to extensive testing yet :) Next week and I'll know for sure.

Thanks again!
Back to top
View user's profile Send private message
roofy
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2003
Posts: 86
Location: miami

PostPosted: Sun Oct 19, 2003 8:51 am    Post subject: Reply with quote

glad i helped :)
_________________
/* event horizon */
Athlon XP 2100+ (o/c'ed to 2.1ghz)
LanParty NForce2 Ultra
80GB Maxtor HD
48x CD-RW
ATI 9700 Pro
Back to top
View user's profile Send private message
canibuz
n00b
n00b


Joined: 23 Feb 2003
Posts: 61

PostPosted: Sun Oct 19, 2003 8:56 am    Post subject: Reply with quote

Yeehaw ... thank you ...
I tried now for 4 days to get my ati radeon 9600 Pro get working ...

Now it works, and i get really good glxgears Scores ...

Thanx a lot ...
Back to top
View user's profile Send private message
roofy
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2003
Posts: 86
Location: miami

PostPosted: Mon Oct 20, 2003 3:40 am    Post subject: Reply with quote

always here to help :)
_________________
/* event horizon */
Athlon XP 2100+ (o/c'ed to 2.1ghz)
LanParty NForce2 Ultra
80GB Maxtor HD
48x CD-RW
ATI 9700 Pro
Back to top
View user's profile Send private message
Frozensun
Tux's lil' helper
Tux's lil' helper


Joined: 16 Oct 2003
Posts: 82

PostPosted: Mon Oct 20, 2003 5:32 am    Post subject: Reply with quote

I've been having a problem getting a similar config to work. I'll have to try this now.
Back to top
View user's profile Send private message
canibuz
n00b
n00b


Joined: 23 Feb 2003
Posts: 61

PostPosted: Mon Oct 20, 2003 9:51 am    Post subject: Reply with quote

Damn ... i now always get these from dmesg:

Code:

kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 96k freed
Adding Swap: 2000052k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,9), internal journal
PCI: Setting latency timer of device 00:04.0 to 64
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: unsupported bridge
agpgart: no supported devices found.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: unsupported bridge
agpgart: no supported devices found.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: unsupported bridge
agpgart: no supported devices found.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: unsupported bridge
agpgart: no supported devices found.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: unsupported bridge
agpgart: no supported devices found.
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: unsupported bridge
agpgart: no supported devices found.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: unsupported bridge
agpgart: no supported devices found.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: unsupported bridge
agpgart: no supported devices found.
[fglrx:firegl_unlock] *ERROR* Process 1548 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer


My Kernel is vanilla-sources with ac-r4 patch... [when it worked it was a vanilla-sources kernel with ac1] ...

when i do an "modprobe agpgart" this happens:
box root # modprobe agpgart
Code:
/lib/modules/2.4.22-ac4/kernel/drivers/char/agp/agpgart.o: init_module: No such device
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.22-ac4/kernel/drivers/char/agp/agpgart.o: insmod /lib/modules/2.4.22-ac4/kernel/drivers/char/agp/agpgart.o failed
/lib/modules/2.4.22-ac4/kernel/drivers/char/agp/agpgart.o: insmod agpgart failed


Any Idea ?
Did the same steps you did again ... but this time it doesn't work ...
:?


Edit:
Can't locate the Problem ... everything else works/worked fine ...
Now i downgraded to 2.4.22-ac1 and it works again ... ?
Don'T know what's happening... but now i am leaving it this way ...
Thanx ...
GLXGEARS:
15108 frames in 5.0 seconds = 3021.600 FPS

Harrrrr
Back to top
View user's profile Send private message
roofy
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2003
Posts: 86
Location: miami

PostPosted: Mon Oct 20, 2003 2:18 pm    Post subject: Reply with quote

well if you really want to use ac-4 then i suggest you find a pure nvidia-agp patch and patch it against that kernel tree....if that doesnt work i noticed some of the errors said 816M??, try making your agp window size 64mb in BIOS and trying again, also did you recompile your ati-drivers after you moved to ac-4, cuz you always have to recompile your drivers after you recompile your kernel, if you didnt im 100% sure that was the problem with ac-4
_________________
/* event horizon */
Athlon XP 2100+ (o/c'ed to 2.1ghz)
LanParty NForce2 Ultra
80GB Maxtor HD
48x CD-RW
ATI 9700 Pro
Back to top
View user's profile Send private message
canibuz
n00b
n00b


Joined: 23 Feb 2003
Posts: 61

PostPosted: Wed Oct 22, 2003 8:34 pm    Post subject: Reply with quote

Hmmm ... Now it works ... !!! And it's good *ggg*

I recompiled my drivers [ati and nforcenet] ... That didn't help,
Back to top
View user's profile Send private message
Ross
n00b
n00b


Joined: 20 Jun 2003
Posts: 20

PostPosted: Sat Oct 25, 2003 9:12 pm    Post subject: Reply with quote

The glxgears scores look good, but how do the games themselves run? :)
Back to top
View user's profile Send private message
roofy
Tux's lil' helper
Tux's lil' helper


Joined: 01 Sep 2003
Posts: 86
Location: miami

PostPosted: Sun Oct 26, 2003 10:32 am    Post subject: Reply with quote

still figuring that out myself
_________________
/* event horizon */
Athlon XP 2100+ (o/c'ed to 2.1ghz)
LanParty NForce2 Ultra
80GB Maxtor HD
48x CD-RW
ATI 9700 Pro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum