Jump to content

New AGPGart


Slice
 Share

941 posts in this topic

Recommended Posts

I probably know why AGPGart 2.1 works in Tiger but doesn't work in Leo. It is based on IOPCIFamily 2.0 for Tiger while in Leo v2.4 which is differ. Now we use v2.4.2 both in Tiger and in Leo.

 

2 toadspit

We would be happy soon. I hope :D

Link to comment
Share on other sites

I probably know why AGPGart 2.1 works in Tiger but doesn't work in Leo. It is based on IOPCIFamily 2.0 for Tiger while in Leo v2.4 which is differ. Now we use v2.4.2 both in Tiger and in Leo.

 

2 toadspit

We would be happy soon. I hope :P

 

I'm sure we will! My complete trust to you, I'm ready to test again! :moil:

Link to comment
Share on other sites

@ Slice

 

I just got an idea, what if I installed Tiger where my AGPGart actually worked, and gave you the following:

 

1. dmesg and ioreg from Tiger using joblo AGPGart 2.1

2. dmesg and ioreg from Tiger using Slice AGPGart 2.6.2

3. dmesg and ioreg from Leopard using joblo AGPGart 2.1

4. dmesg and ioreg from Leopard using Slice AGPGart 2.6.2

 

Do you think it would help?

Link to comment
Share on other sites

@ Slice

 

I just got an idea, what if I installed Tiger where my AGPGart actually worked, and gave you the following:

 

1. dmesg and ioreg from Tiger using joblo AGPGart 2.1

2. dmesg and ioreg from Tiger using Slice AGPGart 2.6.2

3. dmesg and ioreg from Leopard using joblo AGPGart 2.1

4. dmesg and ioreg from Leopard using Slice AGPGart 2.6.2

 

Do you think it would help?

I should be very grateful. I think you already try to compile joblo 2.1z to Leo?

And you say nothing about deviceNum=0.

In all variants, if you can boot with GA, test XBench or better GioFX OpenMark.

 

2 toadspit

I give you no new test until I can boot with GA.

Link to comment
Share on other sites

Hi Toadspit!

I am not successful yet but I have a problem with RadeonIGP 5835.

I need to know what is wrong AGP or Radeon?

So, please, test this version of AGPGart as detailed as you can.

Link to comment
Share on other sites

Hi Toadspit!

I am not successful yet but I have a problem with RadeonIGP 5835.

I need to know what is wrong AGP or Radeon?

So, please, test this version of AGPGart as detailed as you can.

 

Hi! Nice to see you going ahead!

KP with this AGPGart version, in module com.apple.GeForce (4.5.2), even if I run in single mode and manually launch sh /etc/rc

So I can't provide you with full debug info.

In attachment dmesg before sh etc/rc, but no news there.

Let me know if I can send you something else

 

EDIT: I add zipped ioreg, in the doubt you might find it useful.

ioreg.txt.zip

dmesg.txt

Link to comment
Share on other sites

Hi Slice,

 

I would love to help with testing, how do i get dmesg and ioreg? my specs are in my sig.

1st All links & instruction in topic.

The best way to get dmesg and ioreg, even if you can't boot is follow

boot with -v -s

/sbin/fsck -fy

/sbin/mount -uw /

dmesg >dmesgNNN1.txt where NNN - some information to differ one file from other.

sh /etc/rc

wait a minute then type ctrl-c

dmesg >dmesgNNN2.txt

ioreg -l -x -w 2048 >ioregNNN.txt

If you can boot so can type the same dmesg and ioreg coomands in terminal after sudo -s

 

2 Common Sense

I found an old error for your chipset :D

		if ((pciread16(hostSpace,0) == 0x1106) && (pciread16(via,34) != 0))
	{
		pciwrite32(via, AGP3_VIA_ATTBASE, gattPhys << 12);

This value 34 is decimal but you need Hexadecimal 0x34 :D

Corrected version 263

Link to comment
Share on other sites

Hi! Nice to see you going ahead!

KP with this AGPGart version, in module com.apple.GeForce (4.5.2), even if I run in single mode and manually launch sh /etc/rc

So I can't provide you with full debug info.

In attachment dmesg before sh etc/rc, but no news there.

Let me know if I can send you something else

 

EDIT: I add zipped ioreg, in the doubt you might find it useful.

May be you can overcome KP if you delete GA.plugin?

I need dmesg after sh /etc/rc

Link to comment
Share on other sites

May be you can overcome KP if you delete GA.plugin?

I need dmesg after sh /etc/rc

 

 

uh oh look what I've found in my System Profiler:

 

GeForce:

 

Versione: 1.4.52

Ultima modifica: 28/08/07 04:16

Informazioni: GeForce 1.4.52.6 (8.7.5f3)

Posizione: /System/Library/Extensions/GeForce.kext

Versione kext: 4.5.2

Carica indirizzo: 0x201ed000

Valida: Sì

Autentico: Sì

Dipendenze: Incomplete

Errori dipendenze:

com.apple.iokit.IOGraphicsFamily: Impossibile trovare una versione valida di questa dipendenza

com.apple.iokit.IONDRVSupport: Impossibile trovare una versione valida di questa dipendenza

com.apple.iokit.IOPCIFamily: Impossibile trovare una versione valida di questa dipendenza

com.apple.NVDAResman: Impossibile trovare una versione valida di questa dipendenza

Integrità: Kext è stato modificato

 

Uhm could this be a problem?

Link to comment
Share on other sites

Slice: sorry, no better luck removing GeforceGA.plugin.

It always KP after this line:

 

AGPATI: aperlength = 10000000 asked=20000000

 

I noticed that "asked" is always = 20000000, while aperlength changes if I change AGP aperture in BIOS.

Is it correct?

 

Sorry I must leave, and can't do further tests 'till monday.

Link to comment
Share on other sites

uh oh look what I've found in my System Profiler:

 

GeForce:

 

Versione: 1.4.52

Ultima modifica: 28/08/07 04:16

Informazioni: GeForce 1.4.52.6 (8.7.5f3)

Posizione: /System/Library/Extensions/GeForce.kext

Versione kext: 4.5.2

Carica indirizzo: 0x201ed000

Valida: Sì

Autentico: Sì

Dipendenze: Incomplete

Errori dipendenze:

com.apple.iokit.IOGraphicsFamily: Impossibile trovare una versione valida di questa dipendenza

com.apple.iokit.IONDRVSupport: Impossibile trovare una versione valida di questa dipendenza

com.apple.iokit.IOPCIFamily: Impossibile trovare una versione valida di questa dipendenza

com.apple.NVDAResman: Impossibile trovare una versione valida di questa dipendenza

Integrità: Kext è stato modificato

 

Uhm could this be a problem?

May be!

You can correct dependencies in info.plist to real versions or as in good kexts.

 

 

Slice: sorry, no better luck removing GeforceGA.plugin.

It always KP after this line:

 

AGPATI: aperlength = 10000000 asked=20000000

This is an info to study!

I noticed that "asked" is always = 20000000, while aperlength changes if I change AGP aperture in BIOS.

Is it correct?

Yes, AGPGart must correct wrong aperlength asked by driver.

Sorry I must leave, and can't do further tests 'till monday.

We would work together later.

 

2 Common Sense and all other

Breaking news!

Apple publish new sources of IOPCIFamily driver 103.1 with only one correction

Were

	_messagedInterruptsAllocator = IORangeAllocator::withRange(0, 0, IORangeAllocator::kLocking);

Now

	_messagedInterruptsAllocator = IORangeAllocator::withRange(0, 0, 4, IORangeAllocator::kLocking);

Only one digit but it might be catastrofic :(

I also get back

  //Slice
err = getDTNubAddressing( nub );  //V22
//	err = getNubAddressing( nub );  //V16
//

Don't know what is better.

Here is my corrected sources

And kext for Tiger. Works even with 10.4.6

 

NEXT

IOPCIFamily_103v243src.zip

Link to comment
Share on other sites

I should be very grateful. I think you already try to compile joblo 2.1z to Leo?

And you say nothing about deviceNum=0.

In all variants, if you can boot with GA, test XBench or better GioFX OpenMark.

 

2 toadspit

I give you no new test until I can boot with GA.

 

@ Slice

 

Very interesting to try in Tiger, AGP work full speed with no slow downs whatsoever, xbenches proves that AGP works. Im sending dmesg, ioreg and xbench for your agp, joblos version and without agp. It should be an interesting discussion!

cs_dmesg_ioreg_xbench_tiger.zip

Link to comment
Share on other sites

@ Slice

 

Very interesting to try in Tiger, AGP work full speed with no slow downs whatsoever, xbenches proves that AGP works. Im sending dmesg, ioreg and xbench for your agp, joblos version and without agp. It should be an interesting discussion!

Fantastic! :D

 

I am sorry for the debug output

AGP memory 17a22000 length 00002000 offset 0006e000 cnt 00000000

AGP memory 0c056000 length 00001000 offset 00070000 cnt 00000000

AGP memory 0c056000 length 00001000 offset 0003b000 cnt 00000000

We need to stop it!

Now what about Leo?

 

What is interesting to compare.

Joblo driver set IOAGPFlag=1

You use for my driver=0x10027

Is it a factor of performance?

Link to comment
Share on other sites

Fantastic! :censored2:

 

I am sorry for the debug output

 

We need to stop it!

Now what about Leo?

 

What is interesting to compare.

Joblo driver set IOAGPFlag=1

You use for my driver=0x10027

Is it a factor of performance?

 

@ Slice

 

Im uploading the same for Leopard except for the xbench tests which only run without agp since OpengGL crashes with any AGPGart.

 

I dont know about the performace issues xbench can give slightly different scores from time to time so it could be random, but then again it doesn't have to be. Atleast we can see AGP is working just compare the UI result!

 

EDIT: I'm using IOPCIFamily 2.2 in Tiger, it's the standard that comes with 10.4.10 (no modifications by you or chun-nan).

EDIT2: I see your comparing your AGPGart vs. Joblos on x86dev.org, i'm going to try out 0x10005 and see what it gives :blink: but right now I must do some other things. I'm setting the IOAGPFlags 0xffffffff to enable all AGP features in your AGPGart.

cs_dmesg_ioreg_xbench.zip

Link to comment
Share on other sites

I tried with IOPCIFamily 2.4.3 and AGPGart 2.1. I made it to the blue screen before the login window, it stopped there. Here are my test files. CommonSense, i will try that next.

 

Edit:

 

Here is my dmesg using AGP 2.1 and PCI 2.2. Made it to a black screen, than monitor went to sleep. Test file: AGP21PCI22.zip

dmesg211.txt

dmesg212.txt

ioreg21.txt

Test_AGP21PCI22.zip

Link to comment
Share on other sites

I tried with IOPCIFamily 2.4.3 and AGPGart 2.1. I made it to the blue screen before the login window, it stopped there. Here are my test files. CommonSense, i will try that next.

 

Edit:

 

Here is my dmesg using AGP 2.1 and PCI 2.2. Made it to a black screen, than monitor went to sleep. Test file: AGP21PCI22.zip

 

Did it freeze? Do you think it actually gets into the desktop and is working as it should but without displaying a picture? Could you remote login to it from your other computer? If you have two apple computers you should be able to share desktop and remote administrate your computer (if it indeed is working). Or you could try VLC to remote control your computer.

 

Remote administration can be enabled from preferences -> sharing

 

What happens with AGPGart 2.63?

Link to comment
Share on other sites

Common SEnse u had it working damn ! which file did u use to get 300 in UI

im running ATI X1600 it may not give the same result. I use Leopard as far as i know u didnt get it to work on leo. Weirdly u have posted UI=160 without AGP on Leopard meanwhile u do 60 on Tiger....

My UI score is 40 using my X1600 in PCI mode :(

 

EDIT ive justed tested IOPCIFAMILY 2.4.3 (leo version??????) and AGPGART 2.6.3 with my X1600 i get a weird flashy and goes trough GUI but exact same result in XBENCH wtf?

Link to comment
Share on other sites

Common SEnse u had it working damn ! which file did u use to get 300 in UI

im running ATI X1600 it may not give the same result. I use Leopard as far as i know u didnt get it to work on leo. Weirdly u have posted UI=160 without AGP on Leopard meanwhile u do 60 on Tiger....

My UI score is 40 using my X1600 in PCI mode :(

 

I can use either joblo 2.1 or Slice 2.6.3 and they both work in Tiger. I have QuartzGL enabled in Leopard perhaps it accelerates UI Performance? Or perhaps its just that Leopard has more optimized drivers. AGP has never worked in Leopard I have always had the same error message.

Link to comment
Share on other sites

Common sense ive edit my post. Ive tried with IOPCIFAMILY 243 and AGPGART 263. SO what does fix it on TIGER? IOPCI? or only AGPGART is finally working? I really need a working GART for Leopard. Leopard rocks. Tiger is old.

BTw can u edit ur signature or post your whole config : Mobo, chipset, videocard etc, and do u have QE/CI with AGP working ? which version of tiger do u use?

Link to comment
Share on other sites

Common sense ive edit my post. Ive tried with IOPCIFAMILY 243 and AGPGART 263. SO what does fix it on TIGER? IOPCI? or only AGPGART is finally working? I really need a working GART for Leopard. Leopard rocks. Tiger is old.

BTw can u edit ur signature or post your whole config : Mobo, chipset, videocard etc

 

 

I'm using IOPCIFamily 2.2 (not modified by anyone) and AGPGart 2.63, AGPGart 2.1 by joblo works as well.

 

GFX and motherboard:

Geforce 6800 LE 128 mb

MSI NEO2 VIA K8T800 PRO

 

btw, xbench isn't very reliable it gives me 300 in UI one time and 337 the next. Take it with a grain of salt, but ofcourse if your UI is 40 than there is something wrong.

Link to comment
Share on other sites

 Share

×
×
  • Create New...