LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   VIA KT400 chipset and agpgart (https://www.linuxquestions.org/questions/linux-hardware-18/via-kt400-chipset-and-agpgart-38634/)

tlee5794 08-16-2003 12:19 PM

Jason,

GLTron works for me as long as I don't try to change any video settings. If I do I get the same FreeBuffer error. Someplace in the module or drivers there must be a memory allocation/free error. It seems that in all the games it is when they are trying to change some kind of mode.

For instance when Wolf starts it is fine, but when you try to play a game it crashes. Same for tuxracer and Enemy Territory. Not sure if there is much I can do from here. I've got OpenGL screen savers at least for now.

I'll probably submit it on the www.atitech.com web page but that never seems to help much.

Thanks for all your help,
Tim Lee

jpbarto 08-16-2003 04:32 PM

Tim, it's probably a long shot but you might want to check any library dependancies of the ATI gl libraries (libGL, etc). That many games having the same problem... might be a SuSE specific issue? I'm running an LFS and I've never used SuSE but it might pay off to post this problem on SuSE's forums as well as ATI's.

best of luck,
jpbarto

ajn131 09-04-2003 07:13 PM

KT400/600 agpgart radeon 9700 pro anybody?
 
I don't know if anyone's had any success with the latest drivers from schneider-digital (2.9.13) with a KT600 board but I've tried just about everything from this forum to try and get 3d going. I've tried the patch for the module gernerator for KT400 boards (using the internal agp gart only) and I get a black screen and the machine locks. I've tried kernel 2.6-test4 with no luck there either (problems with oprofile it destorys my /var/lib/rpms lib-db-4.xx blah blah) and the fglrx driver won't build a kernel module for it. I don't want to do it but I'm thinking about putting windows back on :( so if anyone has any ideas I'd really appreciate it.


Thanks,
Art

Asus A7V600
Redhat 9.0
Radeon 9700

jpbarto 09-05-2003 09:55 AM

ajn131, we can try the same trick used to get P4X400's working... the routines used to operate the KT400 in 8x work for the P4X400... they might also work for the KT400.

If you are not comfortable modifying the schneider source let me know and I will try to get some time to add support for the KT600 using the KT400 functions.

jpbarto

ajn131 09-05-2003 01:38 PM

That would be great, I'm new to linux and I have no idea how to modify the drivers. I had 3d acceleration working before with a KT266 board with no problems and great performance if I could just get back to that level I'd be in great shape.


Thanks,
Art

jpbarto 09-05-2003 01:51 PM

not gonna promise anything but we can certainly give it a shot. The KT400 routines have proven pretty robust so far in operating the P4X400 chipset lets hope they work well for the KT600.

I'll need the device ID for the chipset... can you provide a 'cat /proc/pci' ?

ajn131 09-05-2003 05:02 PM

cat /proc/pci
 
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge (rev 128).
Prefetchable 32 bit memory at 0xfc000000 [0xfdffffff].
Bus 0, device 1, function 0:
PCI bridge: PCI device 1106:b198 (VIA Technologies, Inc.) (rev 0).
Master Capable. No bursts. Min Gnt=8.
Bus 0, device 13, function 0:
Ethernet controller: Intel Corp. 82559 InBusiness 10/100 (rev 8).
IRQ 11.
Master Capable. Latency=32. Min Gnt=8.Max Lat=56.
Non-prefetchable 32 bit memory at 0xdd000000 [0xdd000fff].
I/O at 0xb800 [0xb83f].
Non-prefetchable 32 bit memory at 0xdc800000 [0xdc8fffff].
Bus 0, device 14, function 0:
PCI bridge: Intel Corp. 80960RP [i960 RP Microprocessor/Bridge] (rev 1).
Master Capable. Latency=32. Min Gnt=4.
Bus 0, device 14, function 1:
RAID bus controller: Intel Corp. 80960RP [i960RP Microprocessor] (rev 1).
IRQ 10.
Master Capable. Latency=32.
Prefetchable 32 bit memory at 0xdf000000 [0xdf00ffff].
Bus 0, device 15, function 0:
RAID bus controller: PCI device 1106:3149 (VIA Technologies, Inc.) (rev 128).
IRQ 5.
Master Capable. Latency=32.
I/O at 0xa800 [0xa807].
I/O at 0xa400 [0xa403].
I/O at 0xa000 [0xa007].
I/O at 0x9800 [0x9803].
I/O at 0x9400 [0x940f].
I/O at 0x9000 [0x90ff].
Bus 0, device 15, function 1:
IDE interface: VIA Technologies, Inc. VT82C586B PIPC Bus Master IDE (rev 6). IRQ 3.
Master Capable. Latency=32.
I/O at 0x8800 [0x880f].
Bus 0, device 16, function 0:
USB Controller: VIA Technologies, Inc. USB (rev 129).
IRQ 5.
Master Capable. Latency=32.
I/O at 0x8400 [0x841f].
Bus 0, device 16, function 1:
USB Controller: VIA Technologies, Inc. USB (#2) (rev 129).
IRQ 5.
Master Capable. Latency=32.
I/O at 0x8000 [0x801f].
Bus 0, device 16, function 2:
USB Controller: VIA Technologies, Inc. USB (#3) (rev 129).
IRQ 9.
Master Capable. Latency=32.
I/O at 0x7800 [0x781f].
Bus 0, device 16, function 3:
USB Controller: VIA Technologies, Inc. USB (#4) (rev 129).
IRQ 9.
Master Capable. Latency=32.
I/O at 0x7400 [0x741f].
Bus 0, device 16, function 4:
USB Controller: VIA Technologies, Inc. USB 2.0 (rev 134).
IRQ 11.
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xdc000000 [0xdc0000ff].
Bus 0, device 16, function 5:
Network controller: PCI device 1106:d104 (VIA Technologies, Inc.) (rev 0).
IRQ 9.
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xdb800000 [0xdb8000ff].
Bus 0, device 17, function 0:
ISA bridge: PCI device 1106:3227 (VIA Technologies, Inc.) (rev 0).
Bus 0, device 17, function 5:
Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 96).
IRQ 11.
I/O at 0xe000 [0xe0ff].
Bus 1, device 0, function 0:
VGA compatible controller: PCI device 1002:4e44 (ATI Technologies Inc) (rev
0).
IRQ 11.
Master Capable. Latency=64. Min Gnt=8.
Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
I/O at 0xd800 [0xd8ff].
Non-prefetchable 32 bit memory at 0xde000000 [0xde00ffff].
Bus 1, device 0, function 1:
Display controller: PCI device 1002:4e64 (ATI Technologies Inc) (rev 0).
Master Capable. Latency=64. Min Gnt=8.
Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
Non-prefetchable 32 bit memory at 0xdd800000 [0xdd80ffff].


Thanks for trying to help me with this.
~
Art

jpbarto 09-07-2003 04:03 PM

Re: cat /proc/pci
 
Quote:

Originally posted by ajn131
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge (rev 128).

dude, it looks like you have a KT400 AGP chipset... what's the mobo?

ajn131 09-07-2003 06:24 PM

Mobo
 
It's an ASUS A7V600 KT600 chipset:

http://usa.asus.com/products/mb/sock...0/overview.htm

I know it identifies it as a KT400 and it looks like it does that when I install the fglrx drivers. However, they don't work. I tried ATI's newly released 3.2.5 drivers last evening and I can get back into X after installing them, but when I do an fglrxinfo I get mesa 3d 1.4 etc etc... I tried the patch from here in conjunction with the new drivers but that doesn't work either. I'm not sure what to do. You seem to have the most success in this thread any ideas? I'm even willing to try the 2.6 kernel if someone can walk me through installing it I seem to botch it everytime I attempt it even with RPMS from redhat.

Thanks,
Art
ajn131@psu.edu

jpbarto 09-07-2003 06:42 PM

ajn131, I've modded the code so that when it detects the 8377 chipset (the KT400) it will initiate the kt400 setup routines (instead of more detailed detection code). Its in a tarball (take the normal rpm, install it then extract this tarbal in the /lib/modules/fglrx directory (it should overwrite / replace the build_mod subdirectory).

then execute the two shell scripts (the first in build_mod) and the second in the fglrx directory to build a new kernel module and then install it.

send me an email and I'll ship it to you.

best of luck,
jpbarto

ajn131 09-07-2003 06:46 PM

email
 
ajn131@psu.edu


Also, do I want to use mod builder with 2.9.13 (3.2.0?) from schneider-digital or with ATI's 3.2.5 driver?

Thanks,
Art

jpbarto 09-07-2003 06:53 PM

use it with Schneider's latest linux 4.3 drivers

ajn131 09-07-2003 07:11 PM

It works!!!!
 
glx gears:

15904 frames in 5.0 seconds = 3180.800 FPS
19155 frames in 5.0 seconds = 3831.000 FPS
19129 frames in 5.0 seconds = 3825.800 FPS
19176 frames in 5.0 seconds = 3835.200 FPS
19067 frames in 5.0 seconds = 3813.400 FPS

I'm using the internal AGPGART should I enable the external one?

Thanks again for all your help I'm going to put that file up so other people with KT600's can get to it. I've been playing with this for 4 weeks trying to get it to work.

jpbarto 09-07-2003 08:12 PM

no problem glad it worked. those kt400 routines are proving to be REALLY resiliant... now peeps like us should run through them and see if we couldn't make them more p4x400 / kt600 specific... might be able to squeek out some more speed or better reliability.

keep the internal agpgart.

cheers,
your friendly neighborhood barto

ajn131 09-08-2003 03:10 AM

KT600 Patch
 
For anyone out there with a KT600 and a Radeon 9700 pro this patch worked for me thanks to jpbarto.

obtain the latest schneider-digital drivers
install the RPM
download the patch
into /lib/modules/fglrx
extract the patch there (this will overwrite your existing build_mod directory)
cd build_mod
./make.sh
cd ..
./make_install.sh
run fglrxconfig (be sure to use the internal AGPGART module when prompted).


Good Luck,
~
Art


All times are GMT -5. The time now is 05:40 PM.