Jump to content

New AGPGart


  • Please log in to reply
940 replies to this topic

#601
cybland

cybland

    InsanelyMac Protégé

  • Members
  • PipPip
  • 78 posts
  • Gender:Male
  • Location:Belgrade, Serbia
Hi Slice,

I know that AGP is 32bit, hence "AAPL,gart-width"=0x20. What I was asking is if you know if graphical kexts are checking for the value of "AAPL,gart-width" and if they check for it than maybe, in Leo, kexts need a value 0x40 (64bit PCIe). I guess that, if that is true, it would mean that AGP cannot work in Leo. Anyhow I'll test your new AGPGart later today and report my findings.

#602
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,044 posts
  • Gender:Male
  • Location:Moscow

Hi Slice,

I know that AGP is 32bit, hence "AAPL,gart-width"=0x20. What I was asking is if you know if graphical kexts are checking for the value of "AAPL,gart-width" and if they check for it than maybe, in Leo, kexts need a value 0x40 (64bit PCIe). I guess that, if that is true, it would mean that AGP cannot work in Leo. Anyhow I'll test your new AGPGart later today and report my findings.

If so it is finish. I know that Tiger's ATIRadeon8500.kext check gart-width and works different way in the two cases. To know that I reversed the kext and read 10000 codes. I am not ready to repeat the procedure with Leo kext.

#603
cybland

cybland

    InsanelyMac Protégé

  • Members
  • PipPip
  • 78 posts
  • Gender:Male
  • Location:Belgrade, Serbia

If so it is finish. I know that Tiger's ATIRadeon8500.kext check gart-width and works different way in the two cases. To know that I reversed the kext and read 10000 codes. I am not ready to repeat the procedure with Leo kext.



Well I suspected that since I've tried everything that I thought of and no success in Leo. All that is left then is to perfect the AGPGart for Tiger (for VIA and Intel chipsets) and maybe hope that someone will stumble on the solution for Leo.

#604
jeffc2005

jeffc2005

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
Slice can i get your help with my ati 9600 card? Here's a copy of my ioreg/dmesg.

Attached Files



#605
Wppley

Wppley

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male
  • Location:Valinhos, Brazil
2 Wppley
Corrected for VIA chipset. I check linux driver from VIA and made all the same.
http://www.viaarena....nel-src_200.tgz
Install, repair permissions, boot with -s and then sh /etc/rc. If stop, make dmesg for me to know where is the stop.[/quote]

hi Slice.

Well, unfortunately, it doesnt works here. Stops in boot at the same point that 265 and 266:
AGP: found VIA VT83xx/VT87xx/KTxxx/Px8xx host to pci bridge
AGP: savebridgestate ok
AGP create nub for 022110de bus=1 CAP=68
AGPGart: publish nub display

after that, nothing more happens.

Im sending dmesg for you but without AGPGart loaded, off course, i dont if it help (ive saw something about nub there).

Thank you for your hard work with my issue.

Attached File  dmesgWppley.txt.zip   2.06KB   2 downloads

#606
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,044 posts
  • Gender:Male
  • Location:Moscow

Well I suspected that since I've tried everything that I thought of and no success in Leo. All that is left then is to perfect the AGPGart for Tiger (for VIA and Intel chipsets) and maybe hope that someone will stumble on the solution for Leo.

I am sure that ATIRadeonXXXX.kext works in Leo with gart-width=0x20. The problem is in AMD64.

Slice can i get your help with my ati 9600 card? Here's a copy of my ioreg/dmesg.

You have the same problem: AMD64 in Leo. If you have Tiger you can check in it.
And with aperture=256Mb ATIRadeon9700.kext is not working.

hi Slice.

Well, unfortunately, it doesn‘t works here. Stops in boot at the same point that 265 and 266:
AGP: found VIA VT83xx/VT87xx/KTxxx/Px8xx host to pci bridge
AGP: savebridgestate ok
AGP create nub for 022110de bus=1 CAP=68
AGPGart: publish nub display

after that, nothing more happens.

Im sending dmesg for you but without AGPGart loaded, off course, i dont if it help (i‘ve saw something about nub there).

:D Previously I didn't understand your stop point. It is strange. At this place common part of AGPGart is working. Other users have no difficulties here. I need to think.
P.S. dmesg without AGPGart is not informative.

#607
jeffc2005

jeffc2005

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

I am sure that ATIRadeonXXXX.kext works in Leo with gart-width=0x20. The problem is in AMD64.
You have the same problem: AMD64 in Leo. If you have Tiger you can check in it.
And with aperture=256Mb ATIRadeon9700.kext is not working.
:angel: Previously I didn't understand your stop point. It is strange. At this place common part of AGPGart is working. Other users have no difficulties here. I need to think.
P.S. dmesg without AGPGart is not informative.



can you tell me how to change the aperture..

Attached Files



#608
cybland

cybland

    InsanelyMac Protégé

  • Members
  • PipPip
  • 78 posts
  • Gender:Male
  • Location:Belgrade, Serbia

I am sure that ATIRadeonXXXX.kext works in Leo with gart-width=0x20. The problem is in AMD64.


Hi Slice

I've started testing AGPGart 267. I'll go through several settings of AGP_Base, AGP_Mode and flush and try to collect as much data as I can. It'll take some time. In the meantime here are some docs about AMD64. Maybe it will help you.

1.) BIOS and Kernel Developer's Guide for the AMDAthlonTM 64 and AMDOpteronTM Processors > http://www.amd.com/u..._docs/26094.PDF

2.) Software Optimization Guide for AMD64 Processors > http://www.amd.com/u..._docs/25112.PDF -> Appendix D AGP Considerations

I have made a PCI dump in WinXP. Maybe you'll find some useful info.

Attached Files



#609
jeffc2005

jeffc2005

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
Slice can you tell me what "May 29 19:57:15 jcs-7426gx kernel[0]: VGA: match category IOFramebuffer exists" means? I have attached a copy of my sys log.

Attached Files



#610
zorglups

zorglups

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
Hi Slice,

Thanks, it is partely clearer now.

I guess I gave too many details on what I try; The short version is:
5) ATIRadeon9700* from 10.4.11 and AGPGart266 - various AGP_Base
Nothing worked at all: black screen on all Bases/fastwrite enabled/disabled (<key>AGP_Mode</key><integer>0xffffffff</integer> / <integer>0x7fffffff</integer> ).
<key>IOProviderClass</key>
<string>IOFramebuffer</string>
with IONDRVSupport1441, IONDRVSupport1442 (yours), IONDRVSupport1.4.8 (10.4.11)
with IOPCIFamily2.2 (10.4.11) and IOPCIFamily2.2.4 (yours)
The difficulty is to get any info on either combination without GUI (command line)

7+8) New ATIRadeon9700* from 10.4.11 , Callisto003 and AGPGart266 (AGP_Base?)->

You are walking around my statement that Callisto is not compatible with AGPGart. To know why I need to make new framebuffer.

Sorry about that, I did not read that Callisto is not compatible with AGPGart before.

But I guess taht is all off topic for you...


9) ATIRadeon9700* from 10.4.11 , AGPGart266 (AGP_Base?) AND Modifyed ATIRadeon9700GA.plugin

Without correct name you will have software QE/CI and no ATIR300 - it is strict rule.
<string>10024a49-0000-0000-0000-000a27898d3e</string> - I am really doubt that it has influence on somehow. If somebody show me tests with differencies it would be great contribution to the project.

You are most probably right: it is ATIRadeon9700GA.plugin that AGPGart refuse to work with (at least its ATIR300 part). Now I could probably just remove the plugin all together, and AGPGart would work but is that the point?
So the trick for me at least is that modifying
<string>10024a49-0000-0000-0000-000a27898d3e</string>
simply prevents the ATIRadeon9700GA.plugin from loading (evrything or just the ATIR300 part?),
and I get a working GUI to dump info on the kext changes.

#611
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,044 posts
  • Gender:Male
  • Location:Moscow
How much of you! :)

1.) BIOS and Kernel Developer's Guide for the AMDAthlonTM 64 and AMDOpteronTM Processors –> http://www.amd.com/u..._docs/26094.PDF2.) Software Optimization Guide for AMD64 Processors –> http://www.amd.com/u..._docs/25112.PDF -> Appendix D AGP ConsiderationsI have made a PCI dump in WinXP. Maybe you'll find some useful info.

It is really help. Thank! No comment while I am reading.Another question. If AMD64 work good in Tiger but not work in Leo then we need to know what is the difference between the systems concerning CPU or memory controller.

Slice can you tell me what "May 29 19:57:15 jcs-7426gx kernel[0]: VGA: match category IOFramebuffer exists" means? I have attached a copy of my sys log.

You probably write IOFramebuffer into not good place.And I notice some bad place in your syslog

May 29 20:12:44 jcs-7426gx kernel[0]: AGPAMD trace host PCI spaceMay 29 20:12:44 jcs-7426gx kernel[0]: (00)=31881106 (04)=22300006 (08)=06000001 (0c)=00000800 May 29 20:12:44 jcs-7426gx kernel[0]: (10)=00000008 (14)=00000000 (18)=00000000 (1c)=00000000

It is AGP_Base. The value must not be 0. There must be e0000008. My mistake?

The difficulty is to get any info on either combination without GUI (command line)So the trick for me at least is that modifying<string>10024a49-0000-0000-0000-000a27898d3e</string>simply prevents the ATIRadeon9700GA.plugin from loading (evrything or just the ATIR300 part?),and I get a working GUI to dump info on the kext changes.

Yes, it is a trick. Without GA.plugin you can get all informations except speed.Try to get new information by means of RadeonPCIhttp://forum.insanel...o...96664&st=27Without GA in two configurations: with and without AGPGart. It will be great!
Thank Cybland!It is a mistake in previous AMD driver. We need no shift Gart_Physical address!!!

Attached Files



#612
cybland

cybland

    InsanelyMac Protégé

  • Members
  • PipPip
  • 78 posts
  • Gender:Male
  • Location:Belgrade, Serbia

Thank Cybland!It is a mistake in previous AMD driver. We need no shift Gart_Physical address!!!



You're welcome Slice. I'm glad that info has helped. I'll wait for the corrected driver to do the tests.

#613
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,044 posts
  • Gender:Male
  • Location:Moscow
2 Toadspit
I see you are here :wacko:
Increase flush
<key>AGP_FlushTimeout</key>
<integer>10</integer>
to 100, 1000, 10000, 100000 and more and check speed

Changes for all. Some changes for AMD64. Hope it is better for Leo.
The version is still 2.6.7. Previous one is not good.

Attached Files



#614
Wppley

Wppley

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male
  • Location:Valinhos, Brazil

2 Toadspit
I see you are here -_-
Increase flush
<key>AGP_FlushTimeout</key>
<integer>10</integer>
to 100, 1000, 10000, 100000 and more and check speed

Changes for all. Some changes for AMD64. Hope it is better for Leo.
The version is still 2.6.7. Previous one is not good.


Hi Slice.

Do you think its better for me too?

Thanks in advance.

Edit.
Nothing changes for me. :hysterical:

#615
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,044 posts
  • Gender:Male
  • Location:Moscow

Hi Slice.

Do you think its better for me too?

Thanks in advance.

Edit.
Nothing changes for me. :(

Up to now I don't understand what is the mistake for you. Did you see any new messages after "publish nub"?
Is there any old version that don't freeze your system?
Check once more what information can you give me.
I will be absent up to 6 of june.

#616
toadspit

toadspit

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

2 Toadspit
I see you are here :)
Increase flush
<key>AGP_FlushTimeout</key>
<integer>10</integer>
to 100, 1000, 10000, 100000 and more and check speed

Changes for all. Some changes for AMD64. Hope it is better for Leo.
The version is still 2.6.7. Previous one is not good.


I've never gone away! :P
I'll give you some result ASAP

#617
Wppley

Wppley

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male
  • Location:Valinhos, Brazil

Up to now I don't understand what is the mistake for you. Did you see any new messages after "publish nub"?
Is there any old version that don't freeze your system?
Check once more what information can you give me.
I will be absent up to 6 of june.


Hi Slice.

Nothing happens after publish nub, it freezes.
v2.1 is loaded, system profiler says AGP but Open GL suffer decrease: without AGPGart=85 / with AGPGart=74 in Xbench.
v2.2 is loaded, system profiler says AGP but no CI/QE.

Thanks in advance and good rest.

#618
toadspit

toadspit

    InsanelyMac Protégé

  • Members
  • PipPip
  • 86 posts

I've never gone away! :mellow:
I'll give you some result ASAP


Slice: I tried to modify flushtime with following vals: 10 100000 100000000
No performance improvements at all.
Test results in attachment.

t.

Attached Files



#619
jeffc2005

jeffc2005

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
Slice, what does this mean?

1 13:00:08 localhost kernel[0]: IONDRV: VGA baseAddr=d8000000 rowBytes=00001000 Width=00000400 height=00000300 depth=00000020
Jun 1 13:00:08 localhost com.apple.launchd.peruser.501[80]: BootCacheControl: could not insert prefetch tag: No such file or directory
Jun 1 13:00:09 localhost kernel[0]: CODE SIGNING: cs_invalid_page: p=78[ATSServer] clearing CS_VALID
Jun 1 13:00:09 localhost kernel[0]: CODE SIGNING: cs_invalid_page: p=76[mdworker] clearing CS_VALID
Jun 1 13:00:11 localhost loginwindow[36]: Login Window Started Security Agent

I have included a copy of my ioregistry and my xbench score jumped from 30's/40's -> 80's after i updated my AppleVIAATA.kext (1.02). Can you explain?

Oh, I am using ati9700(1.4.58)/agpgart(2.6.7)/iopcifamily(2.4.4)/iondrvsupport(1.4.42).

Attached Files



#620
jeffc2005

jeffc2005

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
Slice here the report without agpgart.. The interesting thing i noticed was that ati9700radeon, atiradeon9700vadriver, atiradeon9700gldriver and ioaccelerator was shown in the ioreg, but ioframebufferparameterhandler is not serializable.???

Attached Files







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy