Skip to contentSkip to conversation

AGP 3.0 for 2.4.21-pre5

DISCUSSION Toplica Tanasković 3 participants 4 messages Mar 15, 2003 – Mar 17, 2003 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi, everyone!

This is my second try to backport AGP 3.0 to 2.4 tree. This backport adds
generic AGP 3.0 routines and VIA chipset specific routines.
All code is based upon Dave's code for 2.5.64, and it now respects coding
style used in 2.4 tree, so no more stupid includes, makefile changes, etc.
There is support only for VIA KT400 chipset, at the moment. When I find intel
mobo to test, I'll try to add support for intel too.

	Works fine with XFree 4.2.0 and 4.3.0.
Signature · 2 lines
Regards,
Toplica Tanaskovic

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Dana nedelja 16. mart 2003. 17:54 napisali ste:

Quoted 7 lines

I tested it with my NVidia GeForce 4 Ti4200 with AGP8X. No luck for me yet. X is still reporting AGP 4X in the log, I get garbage on the screen and my PC locks up.

I am not sure if this has something to do with the NVidia driver for X, or just a bug in your module/backport.

You have to run make clean first, or faster way go to drivers/char/agp/ and
delete any .o files, and then do make modules...

I'll have to figure out way to force compilation of agpgart if only agp 3.0
menu item was changed.

Signature · 2 lines
Pozdrav,
Tanasković Toplica
#3 lore raw
Quoted 5 lines · Toplica Tanaskovic

You have to run make clean first, or faster way go to drivers/char/agp/ and delete any .o files, and then do make modules...

I'll have to figure out way to force compilation of agpgart if only agp 3.0 menu item was changed.

Well, you can apply your make to the agp directory only if needed :

# make clean SUBDIRS=drivers/char/agp
# make modules SUBDIRS=drivers/char/agp

I often use this, it's very convenient.

Cheers,
Willy

#4 lore raw
In reply to Toplica Tanaskovic

I did. If I patch the kernel, my compiling procedure is always as follows:

==================
make clean
make mrproper
make menuconfig
make dep
make modules
make bzlilo
make modules_install
shutdown -r now
==================

The module loads fine. In /var/log/messages there are reports of detecting AGP 3.5 compatible hardware, but as I said, X just won't start properly and will report AGP 4X mode.

I checked /proc/driver/nvidia, and it reports AGP 8X hardware and everything.

I was thinking, I have not tested the nvidia kernel module with the 2.5 kernel. There is an unofficial patch for getting it to compile. I might give it a try to see if it works, but that won't happen soon.

If anyone wants to give it a try, visit:

http://www.minion.de/nvidia.html

Quoted 15 lines · Toplica Tanaskovic

Dana nedelja 16. mart 2003. 17:54 napisali ste:

Quoted 7 lines

I tested it with my NVidia GeForce 4 Ti4200 with AGP8X. No luck for me yet. X is still reporting AGP 4X in the log, I get garbage on the screen and my PC locks up.

I am not sure if this has something to do with the NVidia driver for X, or just a bug in your module/backport.

You have to run make clean first, or faster way go to drivers/char/agp/ and
delete any .o files, and then do make modules...

I'll have to figure out way to force compilation of agpgart if only agp 3.0
menu item was changed.