linuxsuperuser Posted May 1, 2006 Share Posted May 1, 2006 Hey Guys Like most people with the Radeon Mobility Laptop cards, I have been trying to hack Quartz Extreme into running . One major obsticle is getting my Card to be identified as a AGP card and Not a PCI card. Ive looked at the other forum topics but none offer a straght answear. Could you guys offer some help? Thanks Linuxsuperuser Usefull Info Running OSX 10.4.6 ATI Radeon Mobility 9000 (M9) IBM R51 Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/ Share on other sites More sharing options...
joblo10 Posted May 2, 2006 Share Posted May 2, 2006 Here is the AppleI386PCI that gives you agp support, I compiled it from Darwin sources. You can have your card recognize as agp but forget about ati support with it, ie QE/CI/GL. As of now, the problem is to load both kext at boot, AGP and ATI's. Have fun AppleI386PCI.zip Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-106267 Share on other sites More sharing options...
rogabean Posted May 2, 2006 Share Posted May 2, 2006 played this game.. been where you are going. never found a reliable way in the new releases (10.4.5/10.4.6) to fix this. Was doable with the old kext... but still did not fix this problem. even went the route I went on my G3 by hacking quartz extreme and core graphics to allow a PCI card to do QE. no go. you may find something I didn't.. so I suppose it's worth the shot. I have the 7500 32MB and the 9000 32MB both for my laptop (the 9000 gives more heat so I use the 7500... i am fortunate enough to have a laptop with upgradable video). I'll be glad to offer any assistance you may need though. Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-106269 Share on other sites More sharing options...
linuxsuperuser Posted May 2, 2006 Author Share Posted May 2, 2006 Thanks for your leads guys, I am sure im just running in circles but I have still have some interesting ideas, ill let you know if I make any progress. Linuxsuperuser Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-106566 Share on other sites More sharing options...
The_Sequencer Posted May 3, 2006 Share Posted May 3, 2006 Hi! Well, has someone tried the following: in the kext, AGP bridges are named as AppleI386AGP or I am wrong? However in the ATi kext is no link to AppleI386AGP device, something like IOClassMatch -> AppleI386AGP, so if you edit the file with your card, your card doesn´t match IOPCIDevice, cause it is not a IOPCIDevice, BUT it should match AppleI386AGP. Ah ok, wired writing, can´t bring this to words correctly. +sigh+ Hope you get the point. Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-106801 Share on other sites More sharing options...
joblo10 Posted May 3, 2006 Share Posted May 3, 2006 Hi! Well, has someone tried the following: in the kext, AGP bridges are named as AppleI386AGP or I am wrong? However in the ATi kext is no link to AppleI386AGP device, something like IOClassMatch -> AppleI386AGP, so if you edit the file with your card, your card doesn´t match IOPCIDevice, cause it is not a IOPCIDevice, BUT it should match AppleI386AGP. Ah ok, wired writing, can´t bring this to words correctly. +sigh+ Hope you get the point. Now when I boot I have a lot more information than before, I included my system.log below. The interface seems to work much faster. Going to install some OGL games right now. I'm posting my new xbench score Results 97.76 Quartz Graphics Test 97.76 Line 72.59 4.83 Klines/sec [50% alpha] Rectangle 94.66 28.26 Krects/sec [50% alpha] Circle 92.07 7.50 Kcircles/sec [50% alpha] Bezier 107.50 2.71 Kbeziers/sec [50% alpha] Text 150.55 9.42 Kchars/sec MY previous scores were 78 overall at the very max!!! Not even close to this. Before being too optimistic, I will try more things and post back my results. edit OGL doesn't work Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-106837 Share on other sites More sharing options...
joblo10 Posted May 3, 2006 Share Posted May 3, 2006 In fact, I have no OGL nor QE/CI according to profiler but it feels much more reponsive than before... even the screensaver almost work without OGL. The ATIRadeon kext fails to load at boot but loads w/o problems once booted. Maybe some of you agp ati owners could try it also and see results. Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-106850 Share on other sites More sharing options...
mmk Posted May 3, 2006 Share Posted May 3, 2006 Did you use the applei386pci file from the 1st post, or the original files + edit plist ? can you be more specific what modifications you made? Did you do the OGL test in xbench? thanks Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-106851 Share on other sites More sharing options...
Suser Posted May 3, 2006 Share Posted May 3, 2006 I would also want to know what you have modified. My card is the Radeon 9700 mobility Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-106862 Share on other sites More sharing options...
joblo10 Posted May 3, 2006 Share Posted May 3, 2006 At first, I only had the ATIRadeon9700 files in my extensions dir. I tried different things and now I'm stuck at the same point than I was before, ie no windowserver starting. I just edited the info.plist, changing IOPCIDevice to AppleI386AGP. Well, now I think that doesn't change much things, the card is listed as AGP (as before) and the ATI driver didn't load with AppleI386PCI in the extensions dir (also as before). So you can try it, but it probably needs something else to load properly. Did you do the OGL test in xbench? And no, the OGL didn't ran, well it gave me 5fps or so.. Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-106867 Share on other sites More sharing options...
linuxsuperuser Posted May 3, 2006 Author Share Posted May 3, 2006 Now you guys are confusing me, I used the Apple386PCI patch and now my card is now recognized on the AGP bus. My computers benchmarks remain the same. Linuxsuperuser Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-107001 Share on other sites More sharing options...
The_Sequencer Posted May 3, 2006 Share Posted May 3, 2006 Hm, well. If changing IOPCIDevice to AppleI386AGP not working, maybe changing it to AppleI386PCI is working. I will try this myself. I think the problem is to tell the system the right linkings. As far as I know, AGP cards on a AGP Mac will shown on Buslocation: PCI xyz but working as AGP. Can´t check this, have only PCI Graphic Macs here. I think that has something to do with the PCI superstructure of Mac OS X, maybe. Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-107041 Share on other sites More sharing options...
linuxsuperuser Posted May 3, 2006 Author Share Posted May 3, 2006 The intergrated Radeon 9200 in my macmini (PowerPC) shows up as an AGP. If its not working run an ioreg -bl and look for the <Compatible> Tag under AGP. put that data in Apple386pci eg pci8086,3341 ( I had to add this for it to work) I compiled the latest CVS from the OpenATI project on sourceforge and the driver loads and works pretty well compaired to a stuck apple screen when OSX picking my card up as PCI. Graphics are faster most improvements are in video playback. Im gonna start developing this source further for Radeon Mobility 9000 users. Linuxsuperuser Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-107239 Share on other sites More sharing options...
The_Sequencer Posted May 4, 2006 Share Posted May 4, 2006 Well. I have tried several things with no luck. However, I searched around and getting a other idea. The problem is that Apple Radeon cards are "Bulit by ATi" and not "Powered by ATi" like most pc cards are. So, most pc cards have a subsystem vendor and device id - look into Catalyst Control Center -> Hardware Information. For example, my Sapphire Radeon X800XT PE has subsystem vendor 174B that is known as Sapphire. Now, we all edit the Radeon kexts with the chip - not card - vendor and card id but I think we need a way to put in the card vendor and device id. So for me it should be 0x4a50174B at info plist. However this is only the half thing, the 174B has to be in the hex code of the radeon file - or else - too. I have no idea how to do such a thing, but maybe someone skilled in programming can do this? Otherwise, flashing a Card with a original ATi Bios could do the same thing. Maybe a original ATi Bios has no subsystem vendor and device id, so the card is a real "Built by ATi" card, but this could destroy the card aswell or disables functions that has been implemanted by the manufactor, like the heat sensor or fan control. Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-107664 Share on other sites More sharing options...
linuxsuperuser Posted May 5, 2006 Author Share Posted May 5, 2006 I checked my windows card ID and it differed from the mac os x one. Does it say 174B in OsX's System Info? Linuxsuperuser Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-107845 Share on other sites More sharing options...
The_Sequencer Posted May 5, 2006 Share Posted May 5, 2006 Nope. This 174B comes only in windows at the Hardware Information at the ATi CCC, CP i don´t know. However the MAC Editions shown as ATY Radeon xyz. PC cards - if they supported - have to shown up as Gigabyte Radeon or Spphire Radeon xyz, but OS X doesn´t support 3rd party graphic cards, so the trick is to say OS X that the card is not a 3rd party and I think the manufactor BIOS does tell it. Yeah, wired. It´s just a dumb idea or a great security mechanism by Apple. I will download some ATi BIOS files and check them for subsystem IDs. Someone with a INTEL Mac and Boot Camp can look into the CCC and post if subsystem vendor and device ID are listed, please? Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-107869 Share on other sites More sharing options...
moseschrist Posted May 5, 2006 Share Posted May 5, 2006 can someone explain exactly how to get the 7500 to register as AGP and not as PCI ? i figured that i shoud edit the info.plist inside the atiradeon.kext but i don't know what diffrent does it make since it's not even loaded on my machine for some reason... also i repalced the appleI386PCI.kext with the one on the first post, and still i got PCI... Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-108115 Share on other sites More sharing options...
moseschrist Posted May 5, 2006 Share Posted May 5, 2006 linuxsuperuser, i've tried to do what u said about editing the info.plist to include my pci-agp bridge, but no luck after reboot the i get the grey apple logo, system loads up, and then the last image of the logo is "stuck" on the screen, the mouse respondes and works and it seems like the entire system is working except the screen. which is kinda strance since i had to change the exact thing you did... pci8086,3341 Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-108312 Share on other sites More sharing options...
Blackice Posted May 6, 2006 Share Posted May 6, 2006 yea, I'm also a little confused by the development of this thread: does it work or not? I have the following PCI<>AGP bridge (ioreg output) | | +-o pci-bridge@1 <class IOPCIDevice, registered, matched, active, bu$ | | | | { | | | | "device-id" = <"q%"> | | | | "vendor-id" = <86800000> | | | | "ranges" = <0000008200000000000000fa0000008200000000000000fa000$ | | | | "IOName" = "pci-bridge" | | | | "IOPCIConfigured" = Yes | | | | "acpi-reg" = <0008000000000000000000000000000000000000> | | | | "reg" = <0008000000000000000000000000000000000000> | | | | "revision-id" = <02000000> | | | | "Power Management protected data" = "{ theNumberOfPowerStates =$ | | | | "built-in" = <00> | | | | "class-code" = <00040600> | | | | "Power Management private data" = "{ this object = 0373a800, in$ | | | | "compatible" = <"pci8086,2571","pciclass,060400"> | | | | "#size-cells" = <02000000> | | | | "name" = "pci-bridge" | | | | "#address-cells" = <03000000> | | | | "IODTPersist" = <78b9f42cb0b9f42c> | | | | } | | | | | | | +-o IOPCI2PCIBridge <class IOPCI2PCIBridge, registered, matched, a$ | | | | { | | | | "Power Management protected data" = "{ theNumberOfPowerStates$ | | | | "Bridge Memory Ranges" = (18446744073608888320,18446744073625$ | | | | "CFBundleIdentifier" = "com.apple.iokit.IOPCIFamily" | | | | "IOClass" = "IOPCI2PCIBridge" | | | | "IONameMatched" = "pci-bridge" | | | | "IOProbeScore" = 18446744073709551516 | | | | "Power Management private data" = "{ this object = 03784a00, $ | | | | "IOMatchCategory" = "IODefaultMatchCategory" | | | | "IONameMatch" = "pci-bridge" | | | | "Bridge IO Ranges" = (41216,45055) | | | | "IOProviderClass" = "IOPCIDevice" | | | | } And so, I need to put pci8086,2571 in the Info.plist. Which I do, to no effect after rebooting. However, one of my devices are recognised as AGP (in fact, it is recognised as AGP without any modifications. Just by installing a clean OSX): | | | +-o pci1106,3044@A <class IOPCIDevice, registered, matched, acti$ | | | | | { | | | | | "AAPL,slot-name" = <"AGP"> | | | | | "IODeviceMemory" = (({"address"=18446744073593171968,"lengt$ | | | | | "device-id" = <"D0"> | | | | | "IOChildIndex" = 1 | | | | | "name" = "pci1106,3044" | | | | | "IOPCIConfigured" = Yes | | | | | "IOName" = "pci1106,3044" | | | | | "vendor-id" = <06110000> | | | | | "revision-id" = <"F"> | | | | | "subsystem-vendor-id" = <62140000> | | | | | "IOInterruptControllers" = ("io-apic-0") | | | | | "Power Management private data" = "{ this object = 0373a280$ | | | | | "Power Management protected data" = "{ theNumberOfPowerStat$ | | | | | "acpi-reg" = <0050020000000000000000000000000000000000> | | | | | "class-code" = <10000c00> | | | | | "compatible" = <"pci1462,716d","pci1106,3044","pciclass,0c0$ | | | | | "assigned-addresses" = <1050028200000000003010f900000000000$ | | | | | "subsystem-id" = <"mq"> | | | | | "reg" = <00500200000000000000000000000000000000001050020200$ | | | | | "IOInterruptSpecifiers" = (<1500000007000000>) | | | | | } And system profiler shows it to be on the AGP slot (like I said, even before putting in AppleI386PCI.kext). This device is sort of useless, though, as it holds the FireWire controller. So it isn't AGP, but OSX thinks it is (uses it like it is?) EDIT: OK, so I got my card registered to the AGP slot, and ATIRadeon9700.kext and AppleI386PCI.kext load, but I get no CI or QE... So now I apparently have 2 devices on the AGP slot... For those wondering, I changed my ATIRadeon9700.kext's Info.plist like this: <key>IOProviderClass</key> <string>AppleI386AGP</string> <key>IOSourceVersion</key> <string>1.4.26.11</string> </dict> </dict> <key>OSBundleLibraries</key> <dict> <key>com.apple.driver.AppleI386PCI</key> <string>1.3.0</string> <key>com.apple.iokit.IOGraphicsFamily</key> <string>1.0.0b1</string> <key>com.apple.iokit.IONDRVSupport</key> <string>1.0.0b1</string> <key>com.apple.iokit.IOPCIFamily</key> <string>1.0.0b1</string> <key>com.apple.kernel.iokit</key> <string>1.0.0b1</string> </dict> </dict> </plist> Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-108459 Share on other sites More sharing options...
moseschrist Posted May 6, 2006 Share Posted May 6, 2006 i have managed to get it to register as an AGP card, but now i get no kext loaded on the video card... probebly messed it up a bit... i'll try and get the original one from the cd and update... update: either i'm too stupid to figure out how to extract kexts out of the install cd or it's not possible... can someone link me to the original atiradeon.kext from 4.5/4.4 install cd ? Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-108523 Share on other sites More sharing options...
Blackice Posted May 6, 2006 Share Posted May 6, 2006 are you sure the video card kext isn't loaded? Make sure you have the permissions set up correctly for AppleI368PCI.kext. Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-108537 Share on other sites More sharing options...
moseschrist Posted May 6, 2006 Share Posted May 6, 2006 i'm sure... it says that i lack the dependencies... Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-108543 Share on other sites More sharing options...
The_Sequencer Posted May 6, 2006 Share Posted May 6, 2006 Hm. If AppleI386PCI and Radeon*.* kexts load and it shows as AGP in system profiler but the ioreg says class IOPCIDevice for the AGP Bridge and QE is not working, maybe this thread helps: Change QE requirements Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-108548 Share on other sites More sharing options...
moseschrist Posted May 6, 2006 Share Posted May 6, 2006 looks promising but i still need to load that atiradeon.kext. Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-108556 Share on other sites More sharing options...
Blackice Posted May 6, 2006 Share Posted May 6, 2006 but the ioreg says class IOPCIDevice for the AGP Bridge and QE is not working sorry for the confusion, those ioreg extracts were from before I modified the ATIRadeon9700.kext. Right now I'm downloading the next Vista build (5381 just released), so I can't test it out till tomorrow. I'm quite sure it recognises the bridge as an AGP bridge, as I modified some of the registry settings with one of the CHUD tools (the display adapter came up with AGP settings. I don't think it did that before, but I'm unsure. That link is for getting QE to accept PCI rather than AGP. If I'm detected as AGP, I don't see why I should switch to PCI. Maybe if I change it to "AppleI386AGP" rather than "IOAGPDevice", it'll accept it. Link to comment https://www.insanelymac.com/forum/topic/16472-agp-pci-graphic-clarity/#findComment-108761 Share on other sites More sharing options...
Recommended Posts