Jump to content

New AGPGart


Slice
 Share

941 posts in this topic

Recommended Posts

Hi there,

 

I've a ATI Mobility Radeon 9700 (by info on the PC sticker), but it's reported as the 9600 (64 MB) on PC boot.

 

I can't manage to have it work with CI/QE, even after trying almost every info I've found here.

 

Please help! :)

 

Here are the files as requested.

 

Archive.zip

 

 

Hope this helps...

 

Thank you!

Link to comment
Share on other sites

Hi there,

 

I've a ATI Mobility Radeon 9700 (by info on the PC sticker), but it's reported as the 9600 (64 MB) on PC boot.

 

I can't manage to have it work with CI/QE, even after trying almost every info I've found here.

 

Please help! :)

 

Here are the files as requested.

 

Hope this helps...

 

Thank you!

As I see you have AGP Bridge devID=3581 that is supported by AGPGart. But I don't see you install it.

Your VGA devID=4e50 also is supported by existing drivers. Don't know what is your problem.

May be your problem is called "mobility" as for me?

Link to comment
Share on other sites

Well i come back with my original graphic card, (the one in my signature) Sapphire ATI Radeon X1600 AGP 256Mb (ID 71c2),

was reading and find out that Dan Druff have the same card and same mic prossesor as well.

 

Slice/Dan Druff any advance in this case?

Can i try something to help?

 

Thanks to u all!

:)

Link to comment
Share on other sites

Well i come back with my original graphic card, (the one in my signature) Sapphire ATI Radeon X1600 AGP 256Mb (ID 71c2),

was reading and find out that Dan Druff have the same card and same mic prossesor as well.

 

Slice/Dan Druff any advance in this case?

Can i try something to help?

 

Thanks to u all!

:)

Read topic, see FAQ and reports from Dan Druff and JaS.

My advice - set aperture to 64Mb as JaS did.

Link to comment
Share on other sites

As I see you have AGP Bridge devID=3581 that is supported by AGPGart. But I don't see you install it.

Your VGA devID=4e50 also is supported by existing drivers. Don't know what is your problem.

May be your problem is called "mobility" as for me?

 

So how should I proceed? Do I have to had the IDs to the Info.plist file of AGPGart?

 

My AGPGart only has under "IONameMatch" "pciclass,060400" and "pci10de,e2".

 

By the way, it's a laptop... I think that the "Mobility" is there just because of that.

 

Thank you for your help! :)

Link to comment
Share on other sites

So how should I proceed? Do I have to had the IDs to the Info.plist file of AGPGart?

 

My AGPGart only has under "IONameMatch" "pciclass,060400" and "pci10de,e2".

 

By the way, it's a laptop... I think that the "Mobility" is there just because of that.

 

Thank you for your help! :wacko:

"pci10de,e2" - it is not your chipset, erase it.

You don't need to change anything in AGPGart. Your problem is in ATI drivers.

I have no good reports with "Mobility".

I am waiting for other developers to resolve the problem.

Link to comment
Share on other sites

"pci10de,e2" - it is not your chipset, erase it.

You don't need to change anything in AGPGart. Your problem is in ATI drivers.

I have no good reports with "Mobility".

I am waiting for other developers to resolve the problem.

 

The AGP driver is loading, but CI is Software and no QE.

 

I did so many stuff already that I lost track of it, but using the IOPCIFamily.kext and AGPGart.kext (267 & 270), when booting it stops where the attached image shows. I don't know if this helps or not.

 

post-272987-1219413778_thumb.jpg

 

Thank you!

Link to comment
Share on other sites

HI,

I have a radeon express 1150 card. as i understand this is a RS200M card.

I tried AGPgart 2.71 but i still have no QE and neither can i change resolution. With callisto i can change resolution but I am also looking for QE enabled..Is that possible with this?

 

my system profiler says....

Type: Display

Bus: PCI

VRAM (Total): 256 MB

Vendor: ATI (0x1002)

Device ID: 0x5975

Revision ID: 0x0000

Kernel Extension Info: No Kext Loaded

Displays:

Display:

Resolution: 1024 x 768

Depth: 32-bit Color

Core Image: Software

Main Display: Yes

Mirror: Off

Online: Yes

Quartz Extreme: Not Supported

 

I am attaching the ioreg and dmesg dump for reference.

 

Pls let me know if i am something wrong and is its possible to get QE on this card..

I am testing this in a test partition in external drive..

 

TIA,

dmesg12345.txt

ioreg12345.txt

Link to comment
Share on other sites

Hi Slice

I have HD2600xt 256MB AGP and Intel i865g chipset...

I tried AGPGart 2.7.1 with 0x08000000 Base and it work... :) :)

 

Report without the AGPGart

dmesg12345_without_AGPGart.txt

ioreg12345_without_AGPGart.txt

 

Results	62.48	
System Info		
	Xbench Version		1.3
	System Version		10.5.4 (9E17)
	Physical RAM		1024 MB
	Model		MacPro3,1
	Drive Type		ST3200822AS ST3200822AS
Quartz Graphics Test	54.25	
	Line	91.95	6.12 Klines/sec [50% alpha]
	Rectangle	29.24	8.73 Krects/sec [50% alpha]
	Circle	71.85	5.86 Kcircles/sec [50% alpha]
	Bezier	39.45	995.01 beziers/sec [50% alpha]
	Text	127.85	8.00 Kchars/sec
OpenGL Graphics Test	  73.65	
	Spinning Squares	73.65	93.42 frames/sec

 

 

Report with the AGPGart

dmesg12345_with_AGPGart.txt

ioreg12345_with_AGPGart.txt

 

Results	66.70	
System Info		
	Xbench Version		1.3
	System Version		10.5.4 (9E17)
	Physical RAM		1024 MB
	Model		MacPro3,1
	Drive Type		ST3200822AS ST3200822AS
Quartz Graphics Test	56.91	
	Line	92.87	6.18 Klines/sec [50% alpha]
	Rectangle	30.47	9.10 Krects/sec [50% alpha]
	Circle	80.50	6.56 Kcircles/sec [50% alpha]
	Bezier	40.77	1.03 Kbeziers/sec [50% alpha]
	Text	136.53	8.54 Kchars/sec
OpenGL Graphics Test	   80.55	
	Spinning Squares	80.55	102.19 frames/sec

 

These tests were done with Leo4All v3 10.5.2 update to 10.5.4...

 

Thanks!!!

Link to comment
Share on other sites

cerbero85: which version of IONDRVSupport are you using? 1.4.3 from Tiger 10.4.6 or the original one in Leopard? which IOPCIFamily?

 

I have used the original of Leopard (version 1.5.2) and the IOPCIFamily in the first post of this discussion (version 2.4.4)...

 

could you please provide kexstat results? thx!

 

the command is: sudo kextstat >> kext_output.txt ???

Link to comment
Share on other sites

Back from the dead!!!

 

Hi, I had a very busy summer and couldn't get near my PC for long.

 

Also, I've got another MB/CPU, more powerful (with C2D support and everything), but it's still AGP!

 

Now, I'm still under 10.5.2 as before and everything still works the way it had, but I'm installing anoher partition under 10.5.4 and I'm in testing now. After numerous unsucessful attempts, I managed to get my X1600 pro AGP running fine under 10.5.4 using this method: http://forum.insanelymac.com/index.php?sho...33&hl=x1650.

 

This method uses old AGPGart by Joblo, so why not update to 2.7.1! That's what I did and guess what, all is working nearly fine, it may needs some tweaking but all in all it's nearly perfect.

 

I'm sending logs and images for you to see.

 

Setup #15

Leo 10.5.4 with vanilla kernel

AGPGart 2.7.1 -> AGP_HOST: 0xf0000000

IOGraphicsFamily -> Vanilla 10.5.4

 

IONDRVsupport -> 1.5.2 from Modbin Video install

atindrv -> 10.5.28.21 from Modbin Video install

Graph kext -> 10.5.28.21 from Modbin Video install with 71C2 key added

ATIinject.kext -> from Modbin Video install with 71C2 key added

 

Boots fine, some image tearing (see included image). I suppose that the OpenGL performance is attribuable to my new CPU. I suppose, also, that the prodigious leap made on GioFX (from 440 to 512) is also attribuable to my new system, my memory bus is now very fast compared to my old system.

 

Tearing: Some image tearing

Shading (OpenGL Standard): 3449 (CPU performance)

GioFX: 512

Logs.zip

post-94880-1220841180_thumb.jpg

post-94880-1220841210_thumb.png

Link to comment
Share on other sites

As it is very confusing to keep trace of everything (mod, compatibility, chipset supported, etc.) I created a Wiki page here to keep everything in order. The layout is simple and can be change to suit our needs. Now everybody can help to centralize information for everyone and make this project easier to maintain/follow.

 

http://wiki.osx86project.org/wiki/index.php/AGPGart 

Link to comment
Share on other sites

I continue to develop the AGPGart driver.

Now it supports Intel, nVorce, VIA, SIS and ATI chipsets.

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

 

 

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

$ 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 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.

 

 

SEE FAQ

NEXT

Leo version of IOPCIFamily attached

 

didn't work for me it froze on vram on grafics

Link to comment
Share on other sites

Hi nickhe!

 

Welcome aboard!

 

To begin to help you, you must provide to other some information, like what is your install. Is it the one in your signature?

 

Also, to help debugging, you should always run these commands, these are required by Slice to help debugging.

ioreg -l -x -w 1024 >ioreg12345.txt

sudo dmesg >dmesg12345.txt

 

To help to accelarate these commands, I've created a script provided below, less typing is more fun.

 

If you can't get these, try to picture the screen and send the image on the forum, other could get a look at it.

Logs.sh.zip

Link to comment
Share on other sites

didn't work for me it froze on vram on grafics

see FAQ

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.

Link to comment
Share on other sites

Analizing

Your dmesg

CodecAD198x[ID 0]::setAnalogOutputMute(1, 1, 1) offset 0x4 volume 0x8888
AppleAC97CodecAD198x[ID 0]::setAnalogOutputMute(0, 1, 1) offset 0x2 volume 0x8888
AppleAC97AudioEnginePCMOut::performAudioEngineStart
AppleAC97AudioIntelICH::startDMAEngine[1]
...

and so on. No information about graphics.

You use debug version of AppleAC97 driver. It may work but with delays and crashes.

 

Your ioreg

1. Strange version of IOPCIFamily.kext

2. I see AGPGart used for PCCard

	| |   | +-o AGPGart  <class AGPGart, registered, matched, active, busy 0, retain 19>
| |   |   | {
| |   |   |   "IOProbeScore" = 0x384
| |   |   |   "IOProviderClass" = "IOPCIDevice"
| |   |   |   "CFBundleIdentifier" = "com.apple.driver.AGPGart"
| |   |   +-o C19E@6  <class IOPCIDevice, registered, matched, active, busy 0, retain 8>
| |   |   | | {
| |   |   | |   "IOPCIResourced" = Yes
| |   |   | |   "#address-cells" = <03000000>
| |   |   | |   "IOName" = "pci1217,7223"
| |   |   | | }
| |   |   | | 
| |   |   | +-o IOPCCardBridge  <class IOPCCardBridge, registered, matched, active, busy 0, retain 5>
| |   |   |	 {

it is not good.

3. As I understand this ioreg made with light version of AGPGart? It is loaded and show AGP in system profiler but no more.

4. Callisto never works with AGPGart. (see FAQ)

5. Your HOST_Base probably must be 0x9c000000 or 0xa0000000. (v.271)

Link to comment
Share on other sites

Hi Slice,

 

Installed Leo4All on P4 2.0 sse2, sis chipset 900, agp x1300 pro 256 mb, ven/devid 1002x7142, trying to get agp and accel working.

 

Installed you AGPGart 2.71 and IOPCIFamily kexts from first post, set permissions as instructed, rebooted, now agpgart is loaded but SP still shows display as PCI, no kext loaded, still stuck at 1024x768 60 Hz.

 

Here is ioreg and dmesg:

 

What else you need?

Archive.zip

Link to comment
Share on other sites

Analizing

Your dmesg

CodecAD198x[ID 0]::setAnalogOutputMute(1, 1, 1) offset 0x4 volume 0x8888
AppleAC97CodecAD198x[ID 0]::setAnalogOutputMute(0, 1, 1) offset 0x2 volume 0x8888
AppleAC97AudioEnginePCMOut::performAudioEngineStart
AppleAC97AudioIntelICH::startDMAEngine[1]
...

and so on. No information about graphics.

You use debug version of AppleAC97 driver. It may work but with delays and crashes.

 

Your ioreg

1. Strange version of IOPCIFamily.kext

2. I see AGPGart used for PCCard

	| |   | +-o AGPGart  <class AGPGart, registered, matched, active, busy 0, retain 19>
 | |   |   | {
 | |   |   |   "IOProbeScore" = 0x384
 | |   |   |   "IOProviderClass" = "IOPCIDevice"
 | |   |   |   "CFBundleIdentifier" = "com.apple.driver.AGPGart"
 | |   |   +-o C19E@6  <class IOPCIDevice, registered, matched, active, busy 0, retain 8>
 | |   |   | | {
 | |   |   | |   "IOPCIResourced" = Yes
 | |   |   | |   "#address-cells" = <03000000>
 | |   |   | |   "IOName" = "pci1217,7223"
 | |   |   | | }
 | |   |   | | 
 | |   |   | +-o IOPCCardBridge  <class IOPCCardBridge, registered, matched, active, busy 0, retain 5>
 | |   |   |	 {

it is not good.

3. As I understand this ioreg made with light version of AGPGart? It is loaded and show AGP in system profiler but no more.

4. Callisto never works with AGPGart. (see FAQ)

5. Your HOST_Base probably must be 0x9c000000 or 0xa0000000. (v.271)

I'll try it with out Calllisto but the sound works everything exept the IN-audio so no headset but my mic works

Link to comment
Share on other sites

 Share

×
×
  • Create New...