Jump to content

Lya_Castled

Lya_Castled

Member Since 18 Nov 2011
Offline Last Active Dec 15 2011 01:29 PM
-----

Posts I've Made

In Topic: [HOW TO]modify AppleGraphicsPowerManagement.kext for X1400 of T60 in 10.6.8

06 December 2011 - 05:27 PM

Firstly i may say that the way your card's working is not normal. I advise you to use ATI1600Controller.kext with modified personalities instead of RadeonHD.kext (the mucha's topic on this forum is about editing personalities in Controller kexts - ATIFramebuffer in 10.6.0-10.6.7 and ATIXXXXController in 10.6.8 & Lion).

So, the PowerPlay (that one you want to enable) in 10.6 is supported by two kexts - ATIRadeonX1000.kext (in Info.plist you'll find the key such as "Disable_PPLib" or smthng similar) & AppleGraphicsPowerManagement.kext. At first look in your IOReg with IORegistryExplorer app. Find where is ATIRadeonX1000 posts it's classes (such as GLContext, 2DContext & s.o.). The key above will be GFX@0, - you can be sure in it. So you may look for GFX0 settings in AppleGraphicsPowerManagement.

When this kext is posted you'll find such a thing in IOReg: [attachment=105253:________..._______1.png]

It means that this kext will work only with ATINDRV (Iago is the Framebuffer for RV610 - ATI HD 2xxx & 3xxx series, your one is Wormy as you know). So Using RadeonHD will not bring you AGPM support. The only way (i think) is to modifier the key "Disable_PPLib" (i don't remember exactly how it's named) in ATIRadeonX1000.kext's Info.plist.


what's your videocard's type? how did you make it work well?
I tried to modify ATI1600Controller.kext, but unlucky, I can't output my ROM directly as it's locked.

the only thing from my VBIOS I can find is below:

RadeonDump -d
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/GFX0@0/RadeonPCI
it matched on name "display"



RadeonDump regnum
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/GFX0@0/RadeonPCI
it matched on name "display"
0x7200:  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000



RadeonDump -i
Found a device of class RadeonPCI: IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/PEGP@1/IOPCI2PCIBridge/GFX0@0/RadeonPCI
it matched on name "display"
Detected ATI Mobility Radeon X1400 (device id: 0x7145)
Start I2C dump
ATOM BIOS detected
ATOM BIOS Rom:
SubsystemVendorID: 0x17aa SubsystemID: 0x2006
IOBaseAddress: 0x2000
Filename: BR25482.bin
BIOS Bootup Message:
M64CSP/M62CSP/M54CSP/M52CSP BIOS							 "			
Bios Connector table:
Port1: DDCType-0x7e50, DACType-7, TMDSType-0, ConnectorType-0, hpd_mask-0x0
Port3: DDCType-0x7e60, DACType-1, TMDSType-1, ConnectorType-0, hpd_mask-0x1
EDID for connector 0:
Read data failed
EDID for connector 1:
Read data failed
EDID for connector 3:
0x0000: 00FFFFFFFFFFFF0030AE224000000000
0x0010: 000F0103801D1578EA2D059757518A27
0x0020: 23505421080081800101010101010101
0x0030: 010101010101302A7820511A10403070
0x0040: 13001ED61000001925237820511A1040
0x0050: 307013001ED6100000190000000F0090
0x0060: 43329043280F01004CA35034000000FE
0x0070: 004C544E31343150342D4C30320A0019


It's so few, I don't know how to do it.
As you know, x1400 is Wormy, that's no solution in that topic now, and I keep waitting the lastest RadeonHD.kext

In ATIRadeonX1000.kext, I can't find any " Disable_PPLib" or "PPLib".
In IOReg, about "GLContext", there're really words, but no "AGPM" existed.

Now the only thing I feel possible to do, is still to modify the words in #1, but I don't know how to relate the code from my VBIOS with AppleGraphicsPowerManagement.kext\Contents\Info.plist .

__________________
my files below

In Topic: [HOW TO]modify AppleGraphicsPowerManagement.kext for X1400 of T60 in 10.6.8

23 November 2011 - 05:34 AM

Do you get any CSTInfo output in your ioreg eg. if you do a ioreg | grep CSTInfo in a Terminal window do you see any output? With my T60 I see no output but I see a change in the PerformanceStateArray or Pstate's after the AppleIntelCPUManagement.kext loads. Perhaps you could post your DSDT.aml so I can look at it..

Edit: And do you have the dock for the laptop if so can you get OS X to load if the T60 is connected to it as mine dies off every time right when the desktop starts if attached to the dock.


Thanks to reply .
Too, I have no information with "ioreg | grep CSTInfo".

My dock works well, and those icons like bettery showed a little delay. If I edit AppleGraphicPowerManagement.kext that delete the words, dock also die when desktop start.

My DSDT is here, It's base on silencer's of thinkpads forum.

In Topic: [HOW TO]modify AppleGraphicsPowerManagement.kext for X1400 of T60 in 10.6.8

21 November 2011 - 05:37 AM

I think the better way is to know what mac name is default for your computer without smbios. Then simply watch if your AGPM works with this. If there is no entry for your system - use the one, that works.

Firstly look on IOreg. If your card (as mine) registered with GFX@0 key, - search if AppleGraphicsPowerManagement use that key (for example MacBookPro5,1->GFX0 key) so that config is useful for you.

As I know the key Vendor1002DeviceXXXX is used for NVidia Graphics. ATI use other parameters. My advice - use MacBoocPro 5,1 or 5,X series in SMbios. I have HD2400 Mobility & that configuration is more than usefull. Because that is default for ATI Graphics Cards.



I tested with openGL, It showed better FPS in MAC10.6.8 than WIN7, I think it's effected. But I can't find any information in LOG, so AppleGraphicsPowerManagement.kext maybe not loaded.



I had compared my T60 with the real MBP info, and now be sure that MacBook Pro 2,2 is best for me. MBP2,2 use T7600 as me, and X1600 that similar to X1400, and APPLE official says MBP2,2 surpport 10.6.8 and 10.7 , But it seems no information I can find about macbookpro2,2 and X1600.


To drive my videocard, I use ATIRadeonX1000.kext and RadeonHD.kext, they make X1400 work with QE. So it's not base on AppleGraphicsPowerManagement.kext in most status. But I need it to enable the function of SLEEP and WAKE.

In AppleGraphicsPowerManagement.kext\Contents\Info.plist of 10.6.8, I find it's different with other SnowLeopard's code, I guess the code maybe Lion.

I can see 3 types code that below
----1. IGPU

----2. GFX0

----3. Vendor****Device****

I guess the1 IGPU is the default INTEL card ,maybe the no_pcie card;

and the2 GFX0 is the default N card, mostly pcie card;

those the3 Vendor****Device**** means direct HardwareID. e.g. Vendor8086 is INTEL, Vendor10de is N, Vendor1002 is ATI. I guess it's not direct surpported in old IOreg, but surpported with KEXT in newer system.

In some tips somewhere, I find different manufacturers' code may be common, if it's suitable.
© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy