Help - Search - Members - Calendar
Full Version: New AGPGart
InsanelyMac Forum > InsanelyMac Lounge > The X Labs > AGPGart
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17
Slice
I continue to develop the AGPGart driver.
Now it supports Intel, nForce, VIA, SIS and ATI chipsets. (nForce and SIS only for AMD CPU)
If anyone have trouble with it then report as
ioreg -l -x -w 1024 >ioreg12345.txt
sudo dmesg >dmesg12345.txt
zip these files and upload here if you want I help you.

Installation as usual
Download to "your place", unpack, then in terminal
QUOTE
sudo -s
cp -R /your place/AGPGart.kext /System/Library/Extensions/
chown -R root:wheel /S*/L*/E*/AGP*
chmod -R 755 /S*/L*/E*/AGP*
diskutil repairpermissions /
rm /System/Library/Extensions.mkext
rm /System/Library/Extensions.kextcache


Reboot and report what is changed.

If you can't boot as usual then boot in safe mode and delete this kext.

Report please, successful or no!
About QuarzExtreme check the follow
CODE
$ cd /System/Library/Frameworks/ApplicationServices.framework/Versions\
/A/Frameworks/CoreGraphics.framework/Versions/A/Resources
$ sudo pico Configuration.plist

Once in the editor, change these values to match your machine (use System Profiler to get the required details):

<dict>
<key>Quartz2DExtremeEnabled</key>
<true/>
<key>Quartz2DExtremeMinimumVRAM</key>
<integer>64</integer>
<key>Quartz2DExtremeMinimumDRAM</key>
<integer>512</integer>
<key>Quartz2DExtremeVendorDisabled</key>
<array>
</array>
</dict>

EDITED:
Version 2.4.9 is obsolete.

EDITED:
Version 2.6.0 completely revised at post #138 with instructions.

EDITED 29-02-2008
Versions since 2.6.2 are compatible now with new IOPCIFamily.

Works great on AMD64 in Tiger. (Look for reports)

EDITED 07-03-2008
I still use only Tiger so I can't do anything for Leo. Other developers are welcomed!
But I know that AppleMacRiscAGP works in Leo with G4-G5 CPU so AGP technology is not oblolete for Leo.

EDITED 12-09-2008
Attention for users of ATI Radeon prior to X1000!
Leo version of ATIRadeon9700GLDriver.bundle is PowerPC only censored2.gif
So you can't get hardware QE with these cards in Leo! Other kexts versions?


EDITED 15-02-2008
You also need to replace IOPCIFamily.kext to the corrected version
If you are using Leopard now v244
IOPCIFamily Sources for Leo
IOPCIFamily.kext for Leo attached

If you are using Tiger now, get ready to use kext
IOPCIFamily.kext v244 for Tiger

EDITED 23-03-08
It is very hard to read all the thread so I make a guide "What to read". Press "NEXT" and read to next post with "NEXT".

EDITED 02-04-08
Next version of AGPGart 265b2 is at post #377 with instructions what to customize.

EDITED 05-04-08
Next version 265f with sources at post #486
http://forum.insanelymac.com/index.php?sho...1308&st=485

EDITED 27-05-08
For smart testers and programmers I explain how the driver works at posts 582-583

EDITED 30-05-08
New version 2.6.7.
http://forum.insanelymac.com/index.php?act...st&id=28732

EDITED 26-06-08
New version 2.7.0 with new addressing scheme at post 654.
AGPGart 2.7.0
Addressing method depends on Videocard and operation system, so try both versions 267 and 270. See other user's reports after publish the versions.

EDITED 25-07-08
New version 2.7.1 with corrections for ATI chipset. RS200M support included.
Flush_Timeout is no more used. Best flush is found.
AGB_Base is always equal Aperture now. Needs customization for HOST_Base.

I am not sure that developement of AGPGart is complete. Reports are welcomed.

SEE FAQ

NEXT
Leo version of corrected IOPCIFamily attached
hecker
Thanks! But the link doesn't work for me.

EDIT/CORRECTION: Sorry, it does work. The download window was just on another "space" on my desktop, so I couldn't see it.

I will try the new AGPGart and report back ASAP.

Cheers,

hecker
kramer2k
QUOTE(hecker @ Nov 14 2007, 09:59 AM) *
Thanks! But the link doesn't work for me.

EDIT/CORRECTION: Sorry, it does work. The download window was just on another "space" on my desktop, so I couldn't see it.

I will try the new AGPGart and report back ASAP.

Cheers,

hecker


Doesn't work for me...hangs at

AgpGart: Setting 08 data rate

Specs below...
zarac
i tried your new AGPGart.kext in leopard, but it didn't work.
actually it loads, but no acceleration whatsoever, just like v2.2.
at boot (-v) it doesnt show any lines concerning agp (unlike v2.1, but that one halts on login with black screen and mouse.)

in tiger, v2.1 was the only one working for me.
v2.2 would load and show no errors, but no acceleration and system profiler detected graphic card as pci.

attached are the zipped ioreg.txt and dmesg.txt taken with your AGPGart.kext loaded.
my hardware - check the sig.
Slice
2 zarac
I am not famous with leopard and I see you have a problem with device matching. May be you need to write into info.plist
<key>IONameMatch</key>
<string>pci-bridge</string>

2 kramer2k
Probably nForce3 is not correctly supported. Wait for news.
Where is your ioreg without AGPGart? I need to know bus devices.
kramer2k
QUOTE(Slice @ Nov 14 2007, 02:23 PM) *
2 zarac
I am not famous with leopard and I see you have a problem with device matching. May be you need to write into info.plist
<key>IONameMatch</key>
<string>pci-bridge</string>

2 kramer2k
Probably nForce3 is not correctly supported. Wait for news.
Where is your ioreg without AGPGart? I need to know bus devices.


Here it is with AGPgart 2.1 loaded
zarac
QUOTE(Slice @ Nov 14 2007, 03:23 PM) *
2 zarac
I am not famous with leopard and I see you have a problem with device matching. May be you need to write into info.plist
<key>IONameMatch</key>
<string>pci-bridge</string>

let me get this straight:
you mean simply to replace
CODE
<key>IONameMatch</key>
<string>pciclass,060400</string>

with
CODE
<key>IONameMatch</key>
<string>pci-bridge</string>

am i right?

also, which instance of Info.plist should i edit, the one in "AGPGart.kext/Contents/" or the one in "AGPGart.kext/Contents/Resources/" ?
Slice
QUOTE(zarac @ Nov 14 2007, 08:39 PM) *
let me get this straight:
you mean simply to replace
CODE
<key>IONameMatch</key>
<string>pciclass,060400</string>

with
CODE
<key>IONameMatch</key>
<string>pci-bridge</string>

am i right?

also, which instance of Info.plist should i edit, the one in "AGPGart.kext/Contents/" or the one in "AGPGart.kext/Contents/Resources/" ?

First one "AGPGart.kext/Contents/"

2 kramer2k
Also for you but
CODE
<key>IONameMatch</key>
<string>pci10de,e2</string>


NEXT
kramer2k
QUOTE(Slice @ Nov 15 2007, 07:55 AM) *
First one "AGPGart.kext/Contents/"

2 kramer2k
Also for you but
CODE
<key>IONameMatch</key>
<string>pci10de,e2</string>

No worky...
still @ 2.1
zarac
QUOTE(kramer2k @ Nov 16 2007, 03:24 AM) *
No worky...
still @ 2.1

same here

tried it on tiger too, no go..
Slice, i can send you ioreg with 2.1 loaded (if that helps)
Slice
QUOTE(zarac @ Nov 16 2007, 04:29 PM) *
same here

tried it on tiger too, no go..
Slice, i can send you ioreg with 2.1 loaded (if that helps)


Very interesting. As I understand from 2.1 to 2.2 driver is changed and became unusable? I should check!

2kramer2k
in your ioreg I found
QUOTE
"AAPL,gart-width" = 0x40

It is for PCIexpress card,
for AGP it must be =0x20!?
Or I wrong?
kramer2k
QUOTE(Slice @ Nov 16 2007, 07:47 PM) *
Very interesting. As I understand from 2.1 to 2.2 driver is changed and became unusable? I should check!

2kramer2k
in your ioreg I found

It is for PCIexpress card,
for AGP it must be =0x20!?
Or I wrong?

Woot - AGP on Leo...

Using 2.1 from tiger
zarac
QUOTE(kramer2k @ Nov 17 2007, 10:58 PM) *
Woot - AGP on Leo...

Using 2.1 from tiger

hey, what did you do to it?
i wanna piece of it smile.gif
Slice
QUOTE(kramer2k @ Nov 18 2007, 12:58 AM) *
Woot - AGP on Leo...

Using 2.1 from tiger

You are probably OK. But the question is how much the driver really accelerate graphics.
Can you compare xbench test without AGPGart, with 2.1 and with 2.4.x if the last would work?

According to your claims I correct some mistakes in my version. There is new one.
kramer2k
Nov 17 18:01:12 localhost kernel[0]: AGP: not supported 00ed
Nov 17 18:01:12 localhost kernel[0]: AGP: Found NVIDIA nForce3-250 AGP Controller
Nov 17 18:01:12 localhost kernel[0]: AGPGart: start
Nov 17 18:01:12 localhost kernel[0]: AGPgart: BridgeMemoryRange [fa800000, fe8fffff]
Nov 17 18:01:23 Cosmo-Kramers-Computer kernel[0]: AGP: Found an AGP 3.0 compliant device.
Nov 17 18:01:23 Cosmo-Kramers-Computer kernel[0]: AGP: ERROR! Attach device failed.AGPGart: destroyAGPSpace

So no go w/ 2.4.4, but it still shows as AGP under SP

Click to view attachment
Slice
Thank you for quick reply!
QUOTE
AGP: ERROR! Attach device failed. -- next mistake in the driver
AGPGart: destroyAGPSpace -- the driver switched off because of non-successful

But still shows as AGP -- it is loaded!

And PCI test the same as AGP244. It is not a result.
With AGP21 you have all slow, except OpenGL. blink.gif I think it should be opposite.

Try to find the settings
QUOTE
"AAPL,gart-width" = 0x40(64)
in the NViject info.plist and change to 0x20=32, because this driver written for PCIe cards.
kramer2k
QUOTE(Slice @ Nov 17 2007, 11:20 PM) *
Thank you for quick reply!

And PCI test the same as AGP244. It is not a result.
With AGP21 you have all slow, except OpenGL. blink.gif I think it should be opposite.

Try to find the settings in the NViject info.plist and change to 0x20=32, because this driver written for PCIe cards.

There is no entry like that in NVinject 0.1.3 for leo
Slice
QUOTE(kramer2k @ Nov 18 2007, 02:44 AM) *
There is no entry like that in NVinject 0.1.3 for leo

it's a pity. Most probably it is internally settings. It would be a problem for AGP bus. May be no. Wait for news.

The AGPGart downloaded a hundred times. Where ia another reports? All others already happy and rest in nirvana?

Simple mistake. Corrected
kramer2k
QUOTE(Slice @ Nov 18 2007, 12:15 AM) *
it's a pity. Most probably it is internally settings. It would be a problem for AGP bus. May be no. Wait for news.

The AGPGart downloaded a hundred times. Where ia another reports? All others already happy and rest in nirvana?

Simple mistake. Corrected

No change...

Nov 17 20:20:02 localhost kernel[0]: AGP: not supported 00ed
Nov 17 20:20:02 localhost kernel[0]: AGP: Found NVIDIA nForce3-250 AGP Controller
Nov 17 20:20:02 localhost kernel[0]: AGPGart: start
Nov 17 20:20:02 localhost kernel[0]: AGPgart: BridgeMemoryRange [fa800000, fe8fffff]
Nov 17 20:20:12 Cosmo-Kramers-Computer kernel[0]: AGP: Found an AGP 3.0 compliant device.
Nov 17 20:20:12 Cosmo-Kramers-Computer kernel[0]: AGP: ERROR! Attach device failed.AGPGart: destroyAGPSpace

K
Slice
QUOTE(kramer2k @ Nov 18 2007, 04:21 AM) *
No change...

Nov 17 20:20:02 localhost kernel[0]: AGP: not supported 00ed
Nov 17 20:20:02 localhost kernel[0]: AGP: Found NVIDIA nForce3-250 AGP Controller
Nov 17 20:20:02 localhost kernel[0]: AGPGart: start
Nov 17 20:20:02 localhost kernel[0]: AGPgart: BridgeMemoryRange [fa800000, fe8fffff]
Nov 17 20:20:12 Cosmo-Kramers-Computer kernel[0]: AGP: Found an AGP 3.0 compliant device.
Nov 17 20:20:12 Cosmo-Kramers-Computer kernel[0]: AGP: ERROR! Attach device failed.AGPGart: destroyAGPSpace


4u
this is a trace version (with more IOLog) for me to understand your problem.
Please report the same manner
kramer2k
QUOTE(Slice @ Nov 18 2007, 06:43 PM) *
4u
this is a trace version (with more IOLog) for me to understand your problem.
Please report the same manner

Here's the console report (from system.log)

Booting goes to blue screen, then black screen with mouse that I can move around. Also keyboard functions work, but I can't see anything.

K
kramer2k
So I get the same black screen with mouse when using AppleI386PCI.kext file that they've gotten ATI cards to work with...
From here...
http://forum.insanelymac.com/index.php?showtopic=68384#
Post 16


Here's the error
Nov 18 19:19:37 amdesktop kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x6 = Fifo: Parse Error
Nov 18 19:19:37 amdesktop kernel[0]: 0000000b
Nov 18 19:19:37 amdesktop kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x6 = Fifo: Parse Error
Nov 18 19:19:37 amdesktop kextd[10]: writing kernel link data to /var/run/mach.sym
Nov 18 19:19:37 amdesktop kernel[0]: 0000000b
Nov 18 19:19:37 amdesktop kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x6 = Fifo: Parse Error
Nov 18 19:19:37 amdesktop kernel[0]: 0000000b
Nov 18 19:19:39 amdesktop kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x6 = Fifo: Parse Error
Nov 18 19:19:39 amdesktop kernel[0]: 0000000b
Nov 18 19:19:39 amdesktop kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x6 = Fifo: Parse Error
Nov 18 19:19:39 amdesktop kernel[0]: 0000000b
Nov 18 19:19:39 amdesktop kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x6 = Fifo: Parse Error
Nov 18 19:19:39 amdesktop kernel[0]: 0000000b
Nov 18 19:19:39 amdesktop kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x6 = Fifo: Parse Error
Nov 18 19:19:39 amdesktop kernel[0]: 0000000b

K
Slice
QUOTE(kramer2k @ Nov 19 2007, 12:51 AM) *
Here's the console report (from system.log)

Booting goes to blue screen, then black screen with mouse that I can move around. Also keyboard functions work, but I can't see anything.

K

This is a best report I ever seen! I think I am able to solve your problem. Wait!
QUOTE
Nov 18 16:44:34 Cosmo-Kramers-Computer kernel[0]: AGP: Found an AGP 3.0 compliant device.\
Nov 18 16:44:34 Cosmo-Kramers-Computer kernel[0]: AGP: hammer bus DevID=1100 VenID=1022\
Nov 18 16:44:34 Cosmo-Kramers-Computer kernel[0]: AGP: hammer bus DevID=1101 VenID=1022\
Nov 18 16:44:34 Cosmo-Kramers-Computer kernel[0]: AGP: hammer bus DevID=1102 VenID=1022\
Nov 18 16:44:34 Cosmo-Kramers-Computer kernel[0]: AGP: hammer bus DevID=1103 VenID=1022\
Nov 18 16:44:34 Cosmo-Kramers-Computer kernel[0]: AGP: hammer bus DevID=ffff VenID=ffff\
Nov 18 16:44:34 Cosmo-Kramers-Computer kernel[0]: AGP AMD: hammers not found\
Nov 18 16:44:34 Cosmo-Kramers-Computer kernel[0]: AGP: Setting 04 data rate\

1. simple mistake - hammers exits but not found!
2. I have the same problem - in new version only 04 data rate, while previous one - 08. Searching changes...

QUOTE
Nov 18 16:45:09 amdesktop kernel[0]: AGP: commitAGPmemory options 00 memoryPhys=0ddbf001\
Nov 18 16:45:09 amdesktop kernel[0]: AGP commit memory 0dd98000 length 00004000 offset 00027000 cnt 00008035\

It is very important for developing new version! Thank you very match!

QUOTE(kramer2k @ Nov 19 2007, 03:33 AM) *
So I get the same black screen with mouse when using AppleI386PCI.kext file that they've gotten ATI cards to work with...

The AppleI386PCI.kext works only with Intel865 chipset. And it works without accelerations.
Aivarz
Leopard boots to black screen with mouse cursor with 2.4.4, keyboard works. Seems to be close.

Click to view attachment
Click to view attachment

Tiger hangs on pale blue screen without mouse cursor with 2.4.4.

Click to view attachment
Click to view attachment
Slice
QUOTE(Aivarz @ Nov 19 2007, 02:42 PM) *
Leopard boots to black screen with mouse cursor with 2.4.4, keyboard works. Seems to be close.

Tiger hangs on pale blue screen without mouse cursor with 2.4.4.

Thank you for information.
New mistake I found with you
QUOTE
Nov 19 13:15:32 - kernel[0]: AGPATI Bind memory 13027000 length 00001000 offset 00000010 -> phys 00000003
Nov 19 13:15:32 - kernel[0]: AGP: commitAGPmemory options 00 memoryPhys=1302a001
Nov 19 13:15:32 - kernel[0]: AGP commit memory 13027000 length 00001000 offset 00003000 cnt 00008004

You have no any ATI!
2.4.4 is not work while I have successful report with 2.4.3. Wait for 2.4.5 with corrections.
Slice
OK!
New version with corrected mistakes noted above.
Tnhx to Kramer2k & Aivarz.
kramer2k
QUOTE(Slice @ Nov 19 2007, 03:26 PM) *
OK!
New version with corrected mistakes noted above.
Tnhx to Kramer2k & Aivarz.


Not yet on leo...

AGP: not supported 00ed
AGP: Found NVIDIA nForce3-250 AGP Controller
AGPGart: start
AGPgart: BridgeMemoryRange [fa800000, fe8fffff]
AGP: Found AGP Bus
AGP: hammerbus DevID=1100 VenID=1002
AGP: hammerbus DevID=1101 VenID=1002
AGP: hammerbus DevID=1102 VenID=1002
AGP: hammerbus DevID=1103 VenID=1002
AGP: hammerbus DevID=ffff VenID=ffff
AGP: hammerbus DevID=ffff VenID=ffff
AGP: hammerbus DevID=ffff VenID=ffff

Then it just hangs there, no further booting
Aivarz
Still stops @ black screen with 2.4.5
Click to view attachment
cyclonefr
sounds great same speed as 2.4.3 smile.gif opengl is fast as rock but not under games weirdo.
Quartz=73 and UI=37 : poor

here is a little ioreg to light ur candle smile.gif

worst is with GLexntesion viewer tester : the reference for opengl test i do a poor 500 with/without AGPGART sad.gif still point zero
Slice
Hi all!
2 kramer2k
I probably found what is wrong with you nForce chipset. If you successful with 2.1 then I can make 2.4.x working. And I don't like your gart-width=0x40 setting by NVinject. Are you ever tried natit?
cyclonefr have gart-width=0x20 and he is successful, more or less.

2 aivarz. dunno what is wrong with Intel875. Are you successful with any other versions?
QUOTE
Nov 19 22:37:16 - kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x6 = Fifo: Parse Error
Nov 19 22:37:16 - kernel[0]: 0000000b

I have one think about it.

2 cyclonefr
You have slow UI may be because of large IOLog outputs. I need it for development but in next version I cancel unnecessory outputs.
GERGÖ
Hi!
Is this a solution for Ati X1950GT AGP blue screen with cursor effect??
Slice
QUOTE(GERGÖ @ Nov 20 2007, 03:41 PM) *
Hi!
Is this a solution for Ati X1950GT AGP blue screen with cursor effect??

As I see
QUOTE
switch (dev) {
case 0x1a31:
return ("Intel 82845 host to AGP bridge");
case 0x3341:
return ("Intel 82855 host to AGP bridge");
case 0x2531:
return ("Intel 82860 host to AGP bridge");
case 0x2571:
return ("Intel 82865 host to AGP bridge");
case 0x255d:
return ("Intel E7205 host to AGP bridge");
case 0x2579:
return ("Intel 82875P host to AGP bridge");
case 0x2561:
return ("Intel 82845G host to AGP bridge");
case 0x3581:
return ("Intel 82855GM host to AGP bridge");
};

There are no 848 chipset.
Upload your ioreg from the command
ioreg -l -x -w 1024 >ioregGergo.txt
I shall try to add your bus to the driver.
Aivarz
QUOTE(Slice @ Nov 20 2007, 11:41 AM) *
2 aivarz. dunno what is wrong with Intel875. Are you successful with any other versions?


Previously I had P4P800E-Deluxe which is 865PE and moved to P4C800 Deluxe just a week ago. On Leopard and Tiger I kept the same version of AGPGart I used on P4P800E-Deluxe - the only version that have worked for me. It is one of the AGPGart Light versions, cant't check it right now. The only thing is that it's not setting up gart at all, just a bus speed and card shows up as AGP instead of PCI. So I dont know if I can call it success. I understand that it's not very grateful to make AGPGart for 875P since there is very few boards on this chipset, but on the other hand it should be similar to 865PE, so there's still little hope for me.
Let me know if you need more detailed info on my hardware and/or AGPGart I'm using wich you think may help you to develop working AGPGart.

Keep up a good work!
Slice
2 aivarz
As I see at Linux driver and at previous AGPGart
QUOTE
case 0x25708086: /* i865 */ case 0x25788086: /* i875P */ case 0x25608086: /* i845G */ pciwrite8(hostSpace, AGP_INTEL_I845_MCHCFG, (pciread8(hostSpace, AGP_INTEL_I845_MCHCFG) | (1 << 1)));
your chipset supported as 865. Cyclonefr with i865 successfully booted AGPGart245 and have QE/CI.Why not you? nVidia driver not work as AGP?
As I have a free time I made some changes in the driver
Slice
QUOTE(cyclonefr @ Nov 20 2007, 01:55 AM) *
sounds great same speed as 2.4.3 smile.gif opengl is fast as rock but not under games weirdo.
Quartz=73 and UI=37 : poor

here is a little ioreg to light ur candle smile.gif

worst is with GLexntesion viewer tester : the reference for opengl test i do a poor 500 with/without AGPGART sad.gif still point zero

What value do you expect?
My Core2Duo 2.5 GHz + nVidia7300 PCIE give me (both overclocked)
QUOTE
System Info
Xbench Version 1.3
System Version 10.4.9 (8P2137)
Physical RAM 1024 MB
Model ACPI
Drive Type ST3200820AS
CPU Test 130.78
GCD Loop 300.45 15.84 Mops/sec
Floating Point Basic 145.28 3.45 Gflop/sec
vecLib FFT 101.95 3.36 Gflop/sec
Floating Point Library 94.65 16.48 Mops/sec
Thread Test 255.67
Computation 233.92 4.74 Mops/sec, 4 threads
Lock Contention 281.87 12.13 Mlocks/sec, 4 threads
Memory Test 167.39
System 171.59
Allocate 137.03 503.22 Kalloc/sec
Fill 206.37 10033.99 MB/sec
Copy 187.28 3868.14 MB/sec
Stream 163.38
Copy 148.73 3071.91 MB/sec
Scale 150.70 3113.45 MB/sec
Add 180.61 3847.40 MB/sec
Triad 179.02 3829.61 MB/sec
Quartz Graphics Test 188.11
Line 153.21 10.20 Klines/sec [50% alpha]
Rectangle 198.32 59.21 Krects/sec [50% alpha]
Circle 187.83 15.31 Kcircles/sec [50% alpha]
Bezier 171.03 4.31 Kbeziers/sec [50% alpha]
Text 260.42 16.29 Kchars/sec
OpenGL Graphics Test 184.13
Spinning Squares 184.13 233.58 frames/sec
User Interface Test 488.48
Elements 488.48 2.24 Krefresh/sec

And OpenGL extension viewer
Aivarz
2.4.6 on Leopard

with NVinject 0.1.3

Nov 20 19:02:39 - kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x6 = Fifo: Parse Error
Nov 20 19:02:39 - kernel[0]: 0000000b

with Titan

Nov 20 19:14:00 hole kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x6 = Fifo: Parse Error
Nov 20 19:14:00 hole kernel[0]: 0000000b
Nov 20 19:14:00 hole kernel[0]: NVChannel(GL): Graphics channel exception! status = 0xffff info32 = 0x3 = Fifo: Unknown Method Error
Nov 20 19:14:00 hole kernel[0]: 0000000b
Nov 20 19:14:00: --- last message repeated 1 time ---

At the same time I can get results like this with AGPGart light and QuartzGL enabled.

Quartz Graphics Test 129.17
Line 129.62 8.63 Klines/sec [50% alpha]
Rectangle 126.70 37.83 Krects/sec [50% alpha]
Circle 160.50 13.08 Kcircles/sec [50% alpha]
Bezier 74.71 1.88 Kbeziers/sec [50% alpha]
Text 286.97 17.95 Kchars/sec
OpenGL Graphics Test 110.79
Spinning Squares 110.79 140.54 frames/sec
User Interface Test 115.46
Elements 115.46 529.92 refresh/sec

Click to view attachment

I don't know how it works.
Slice
AGPlight don't create gart table. In this case graphic driver create own gart table as PCIE. But I don't understand how it may work with AGP bus controlled by own chip. Or may be Leo already support Intel875?
As I know Cyclonefr change some graphics kexts by tiger's versions. May be tiger's driver better support AGP and Leo PCIE only?


NEXT
verleihnix
Hi,
Stop booting with blank screen.
that's my output.

2.4.6 on Tiger
Slice
QUOTE(verleihnix @ Nov 20 2007, 10:04 PM) *
Hi,
Stop booting with blank screen.
that's my output.

2.4.6 on Tiger

Many reports with the same problem
"AAPL,gart-width" = 0x40
nVidia driver don't work with AGP gart table that has width=0x20, i.e. 32bits
I think about AGPGart64 rolleyes.gif but what about 32 bit AGP bus?
cyclonefr
2..4.6 tested CEQO but same perf exactly as 2.4.5
opengl:150
UI:37
Quart 76
kramer2k
QUOTE(cyclonefr @ Nov 20 2007, 10:24 PM) *
2..4.6 tested CEQO but same perf exactly as 2.4.5
opengl:150
UI:37
Quart 76


First things first...
A question that really hasn't been asked yet...
Is this complied for Tiger or Leo? Or can we use it for both?

Secondly, 246 still doesn't work with Leo using NVinject, NvidiaEFI 1.0.2, or Natitdual
All hang at my previously posted error

I know I'm not a coder, but what changed from 2.1 to 2.2 to make it not work on nF3? Anyway that we can implement that on the current version? And why the heck won't 2.1 work on Leo?

K
Slice
QUOTE(kramer2k @ Nov 21 2007, 05:54 AM) *
First things first...
A question that really hasn't been asked yet...
Is this complied for Tiger or Leo? Or can we use it for both?

Secondly, 246 still doesn't work with Leo using NVinject, NvidiaEFI 1.0.2, or Natitdual
All hang at my previously posted error

I know I'm not a coder, but what changed from 2.1 to 2.2 to make it not work on nF3? Anyway that we can implement that on the current version? And why the heck won't 2.1 work on Leo?

K

I am a coder.
Here is the natit version that do not make gart-width=0x40.
Version 2.2 and later has a different classes structure then 2.1. It is not a problem, but during rewrite joblo makes some mistakes that I repeat. Now I am catching bugs.
Second thing is that 2.1 use very few gart table entries so it don't crashes using its.
Try this natit and AGPGart246. May be I found one more mistake for nForce.
Compare natit.info.plist with your existing, may be you need to add some value.

NEXT
GERGÖ
QUOTE(Slice @ Nov 20 2007, 01:57 PM) *
As I see

There are no 848 chipset.
Upload your ioreg from the command
ioreg -l -x -w 1024 >ioregGergo.txt
I shall try to add your bus to the driver.

Hi! Thank u for your help.My dev. id is listed there: 848 is 865 like and has the same 2571 id. I'll try it and report back.THX biggrin.gif
Slice
O yes!
I found great difference 2.1 and 2.2
2.1
CODE
    while( (phys = mem->getPhysicalSegment64(offset, &len)))
    {
        offset += len;
        len = (len + PAGE_MASK) & ~PAGE_MASK;
        while( len > 0)
        {
            BUG_ON(phys & 0xffffff0000000ffcULL);
            pte = (phys & 0x000000ff00000000ULL) >> 28;
            pte |=(phys & 0x00000000fffff000ULL);
            pte |= GPTE_VALID | GPTE_COHERENT;
            OSWriteLittleInt32( agpInfo->gartArray, agpOffset, pte);
            agpOffset += 4;

2.2
CODE
    while( (phys = mem->getPhysicalSegment(offset, &len)))
    {
        offset += len;
        len = (len + PAGE_MASK) & ~PAGE_MASK;
        while( len > 0)
        {
            phys |= addrMask;
            OSWriteLittleInt32(gartArray, gartOffset, phys);

This is a difference in 32bit and 64bit gart. But in 2.1 agpOffset +=4 - the same 4 bytes unsure.gif
Other change - "nvidia_set_aperture" that is not used by 2.1 but used by 2.2 blink.gif Is it bad setting?
Without good advice I can only propose you test different combination to find a good one.
Slice
It is not a problem to create AGPGart64, but I don't know is it work or no.
For this version AAPL,gart-width=0x40 would be good setting.
Is there anyone want to try it?
kramer2k
QUOTE(Slice @ Nov 21 2007, 11:39 AM) *
It is not a problem to create AGPGart64, but I don't know is it work or no.
For this version AAPL,gart-width=0x40 would be good setting.
Is there anyone want to try it?

Still no go with 264 w/ Natit you provided...will try 64
verleihnix
both doesn't work.
blue blank screen.

cyclonefr
is this version for me also Slice? im running I865 and X1600 (using natit)
SU182
I'm wondering, Is AGPGart64 a 64 bit version of the kext or is it the Leopard compatible one?
Slice
Why you ask me? Try and report!
I will ask you what do I change to make it working. I have no Leo to test.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.