PDA

View Full Version : nforce2 AGPgart and linux


Pages : 1 2 3 4 5 6 [7]

greenjelly84
05-27-03, 05:37 PM
I think you should read a little about making your own custom kernel. The reason is that you need to download some kernel sources and apply the patch to that. Then you need to be able to correctly choose which things you need in your kernel. I have the same MB, I did the following:

Downloaded the 2.4.20 kernel. www.kernel.org
delete the current linux link in /usr/src
create a new one using ln -s (new sources) linux
Applied the ck patches http://members.optusnet.com.au/ckolivas/kernel/
Applied nforce patch.

I didnt get any errors

Good luck

leibold
05-28-03, 04:59 AM
Originally posted by D3F4U7T
I am getting an agp_backend.h error when patching with the diff file.

I got the same error. The fix is to edit the agp_backend.h file and add the line
NV_NFORCE_2, right after the line HP_ZX1,.

D3F4U7T
05-28-03, 11:27 AM
I am using the 2.4.21 kernel. Will the patch still work? If not, how can I downgrade my kernel or get a suitable patch?

jay_gentoo
05-28-03, 11:29 AM
Just out of curiosity:
Can we expect the same development for NVIDIA nforce network drivers? I desperately want them becoming part of the kernel, so that we all will be able to compile them into the 2.5.x kernel series...

greenjelly84
05-28-03, 12:54 PM
Default:

Im not sure if it will work. If no one gives you a reply, you may as well try. Just have a boot disk ready :) Experimenting is the best way to learn.

D3F4U7T
05-28-03, 05:04 PM
I am still getting the agp_backend.h error.

Am I supposed to have installed the ati drivers for my graphics card before patching my kernel?

greenjelly84
05-28-03, 08:59 PM
Hi, try a 2.4.20 kernel

http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.gz

just unpack it to /usr/src/

update the linux simlink to point to this new kernel and try patching

leibold
05-29-03, 02:04 AM
Originally posted by D3F4U7T
I am still getting the agp_backend.h error.
What do you mean you are still getting that error ? You are only supposed to install the patch *once*. After it failed to update agp_backend.h make that one little change that didn't get done automatically (the one I posted earlier). That's it. Really! ;)

Based on responses I have seen in other forums that patch works on 2.4.20 and 2.4.21.

Maliekieth
05-30-03, 12:06 AM
Well I got DRI working finally :D.

I used the build_mod that was given in the thread nonolk linked too. I tried the kernel patch as well, it appared to work but crashes X if I try to do glxgears or glxinfo, so I went back to the ATI driver internal AGPGART. It says it is running in AGP 3.0 natively 8x, with SBA and FW (from the fireglcontrol program).

My only problem is that I get a lower framerate in glxgears than I got when it was running purely software mode.

Software = 255fps
DRI = 75-80fps.

Something seems dreadfully wrong.

I'm running the 2.9.12 w/ build_mod from wardy. I'm using Debian Stable with 2.4.21-rc2 kernel and Xfree 4.1.0

Any ideas?

Kiamu
05-30-03, 02:22 AM
checked glxinfo?

are you running on the ati libGL.so or on the native one?

bladerunner.cz
06-01-03, 11:03 AM
maybe your fglrx has activated vertical synchronization.
depends on fglrx configuration.

MidnightWatcher
06-01-03, 03:39 PM
Hi everyone, I'm relatively new to Linux and have just installed the new Mandrake 9.1.

I tried to install the patch mentioned here, but when I type in patch -p0 <name> it seems to just sit there, doing nothing except for a blinking cursor. Is this normal and do I need to wait a while, or should it patch immediately and give me some information? I'd really like to get this working. Thank you all in advance.

MW

Kiamu
06-01-03, 03:42 PM
try: patch -p0 -E < 'patch'

for further info try: patch --help or man patch

bladerunner.cz
06-02-03, 09:08 AM
also you can try
patch -Np0 -i $patch_name
I'm using patch -p0 -f -i $patch_name for kernel patches
take a look in `man patch` for details
where file $patch_name is outside but the same level of to be patched directory.

omen
06-08-03, 08:22 AM
Hi, the http://www.epitech.net/~nonolk Webpage is down.
Could everyone send me the patch please.

leibold
06-10-03, 01:46 AM
Originally posted by omen
Could everyone send me the patch please.
I think you meant "someone" or do you really have such a big mailbox :) ?

I have the initial version of the agpgart patch from nonolk (and that's what I'm using myself). I also seem to have picked up a later version of that same patch as well as the fglrx patch (but I don't think it was the final version). If you are interested in any or all of the above send me your email address.

dom521
07-01-03, 06:55 PM
Ok, since kernel 2.4.21 is out, we also been a working agp patch for it :) Nvidia finally updated their drivers, but, the patch seems to be for the 2.4.20 kernel. Did anyone see the patch floating around anywhere? If so, posting the link would be appreciated. Thanks.

nonolk
07-02-03, 01:49 AM
Hi dom521,

you can find a patch for 2.4.21 here :

http://members.optusnet.com.au/ckolivas/kernel/

or use the 2.4.21-ac4 patch.

Enjoy