Ric_Notes Posted February 8, 2016 Share Posted February 8, 2016 This is my first post, so I apologize if I don't know some of the rules, etiquette, etc... I've been having a problem waking my graphics from sleep. Sleep seems to work, just problems on wake. I can ssh into it after wake, so network is working. Capslock on keyboard works, and mouse lights up. I feel like it may be GPU related. I have graphics working perfectly before sleep QE/CI..etc. I'm using exotic patch kexts for 10.9.4. I patched the card into DSDT as well. An interesting note, is if I remove the Graphics accelerator kext (ATIRadeonX2000). The screen will wake, but It will be discoloured and distorted. But I can use the computer at that point to reboot. Any help would be appreciated. Have spent the last couple weeks trying to figure this out. Thanks RIc. Link to comment Share on other sites More sharing options...
Codinger Posted February 8, 2016 Share Posted February 8, 2016 Wich GPU? Link to comment Share on other sites More sharing options...
Ric_Notes Posted February 8, 2016 Author Share Posted February 8, 2016 Xfx Radeon hd4890 It's fully working before sleep (acceleration, dual display, full res) Just won't wake, stays in no signal mode. Link to comment Share on other sites More sharing options...
duffs Posted February 8, 2016 Share Posted February 8, 2016 post your dsdt. patched and orig. o and ioregistry dump to. Link to comment Share on other sites More sharing options...
Ric_Notes Posted February 9, 2016 Author Share Posted February 9, 2016 Hi Duff, Thanks a lot in advance for your help. I've attached the dsdts. The GPU injection starts at line 2733. THanks Ric DSDT.zip ioregdump.ioreg.zip Link to comment Share on other sites More sharing options...
duffs Posted February 9, 2016 Share Posted February 9, 2016 Hi ! Sometimes less is more . No need to add whole rom/bios to dsdt. In clover, when ati inject is enabled it takes care or injects needed information about gpu and dsdt is then only used to tell where gpu is located and some cosmetics info. is added. This code is MaciASL patch, so copy and apply it. This doesn't need DTGP method. Thx to PikerAlpha. into device label MRP3 insert begin Device (GFX0)\n {\n Name (_ADR, Zero)\n Method (_PRW, 0, NotSerialized)\n {Return (Package (0x02) {0x09, 0x04})}\n Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero))\n {\n Return (Buffer (One){0x03})\n }\n Return (Package ()\n {\n "ATY,Card#", Buffer () {"109-B77101-00"},\n "ATY,Rom#", Buffer () {"113-B7710C-176"},\n "model", Buffer () {"ATI Radeon HD 4890"},\n "hda-gfx", Buffer (){"onboard-1"}\n })\n }\n }\n Device (HDAU)\n {\n Name (_ADR, One)\n Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero))\n {\n Return (Buffer (One){0x03})\n }\n Return (Package ()\n {\n "hda-gfx", Buffer (0x0A) {"onboard-1"}\n })\n }\n }\n end; i see you are using voodoohda for sound, but we know that alc889 is supported with little tweaking of applehda. ati hdmi sound is natively supported. try switching to applehda all information is here on the forum duffs. Link to comment Share on other sites More sharing options...
Ric_Notes Posted February 10, 2016 Author Share Posted February 10, 2016 Thanks Duffs, I tried your edit, but now it just boots into a grey screen with no cursor. I tried ati inject but it didn't work either. With Inject ati i get grey screen, without it i get scrambled screen. with my previous dsdt edit, i was able to get graphics fully working without injection. any ideas? Ric. Link to comment Share on other sites More sharing options...
duffs Posted February 10, 2016 Share Posted February 10, 2016 yes. you need to fix ATI connector info. When clover starts press F6, that save's videoBIOS file into directory .../EFI/misc. upload that file. Guide how to proceed is here LINK. Link to comment Share on other sites More sharing options...
Ric_Notes Posted February 11, 2016 Author Share Posted February 11, 2016 Hi Duffs, I tried pressing F6 during clover boot, but nothing was in the Misc. folder. Is it only for uefi boot? Because I'm using legacy. I extracted a videobios from dpcimanager and attached. I tried a lot of combinations with the connectors patch from the link you posted but nothing worked so far. Can you give me a little help please? thanks Ric. p.s. trying to get dual dvi 1002_9460_27001682.rom.zip Link to comment Share on other sites More sharing options...
duffs Posted February 11, 2016 Share Posted February 11, 2016 You have windows installed ? use GPU-Z in winodws. Where it says bios version. click on far right on little icon. Link to comment Share on other sites More sharing options...
Ric_Notes Posted February 11, 2016 Author Share Posted February 11, 2016 I don't have Windows installed, but I can install it if I need to. Is there any other way? Link to comment Share on other sites More sharing options...
duffs Posted February 11, 2016 Share Posted February 11, 2016 if it doesn't work with clover, then i see no other way. Link to comment Share on other sites More sharing options...
Ric_Notes Posted February 11, 2016 Author Share Posted February 11, 2016 Got windows installed.... here's the rom I got from GPUz thanks again duffs RV790.rom.zip Link to comment Share on other sites More sharing options...
duffs Posted February 11, 2016 Share Posted February 11, 2016 ROM: Connector Object Id [2] which is [DVI_I] encoder obj id [0x1e] which is [iNTERNAL_UNIPHY (osx txmit 0x10 [duallink 0x0] enc 0x0)] linkb: false Connector Object Id [2] which is [DVI_I] encoder obj id [0x16] which is [iNTERNAL_KLDSCP_DAC2] linkb: false Connector Object Id [15] which is [DIN] encoder obj id [0x16] which is [iNTERNAL_KLDSCP_DAC2] linkb: false Connector Object Id [15] which is [DIN] encoder obj id [0x16] which is [iNTERNAL_KLDSCP_DAC2] linkb: false Connector Object Id [2] which is [DVI_I] encoder obj id [0x15] which is [iNTERNAL_KLDSCP_DAC1 (osx txmit 0x00 enc 0x10?)] linkb: false Connector Object Id [2] which is [DVI_I] encoder obj id [0x1f] which is [iNTERNAL_KLDSCP_LVTMA] linkb: false Connector at index 0 Type [@offset 44472]: DVI-I (2) Encoder [@offset 44476]: INTERNAL_UNIPHY (0x1e) i2cid [@offset 44582]: 0x92, OSX senseid: 0x3 Connector at index 1 Type [@offset 44482]: DVI-I (2) Encoder [@offset 44486]: INTERNAL_KLDSCP_DAC2 (0x16) i2cid [@offset 44582]: 0x92, OSX senseid: 0x3 Connector at index 2 Type [@offset 44492]: 9 pin DIN (9) Encoder [@offset 44496]: INTERNAL_KLDSCP_DAC2 (0x16) Connector at index 4 Type [@offset 44512]: DVI-I (2) Encoder [@offset 44516]: INTERNAL_KLDSCP_DAC1 (0x15) i2cid [@offset 44650]: 0x93, OSX senseid: 0x4 Connector at index 5 Type [@offset 44522]: DVI-I (2) Encoder [@offset 44526]: INTERNAL_KLDSCP_LVTMA (0x1f) i2cid [@offset 44650]: 0x93, OSX senseid: 0x4 ------------ Clover config.plist example: <key>Graphics</key> <dict> <key>FBName</key> <string>Motmot</string> <key>Inject</key> <dict> <key>ATI</key> <true/> </dict> <key>PatchVBios</key> <true/> </dict> <key>KernelAndKextPatches</key> <dict> <key>ATIConnectorsController</key> <string>4800</string> <key>ATIConnectorsData</key> <string>0004000004010000000100001000020304000000140200000001000001110104</string> <key>ATIConnectorsPatch</key> <string>0400000014020000000100001000010304000000140200000001000000100204</string> </dict> ---------- OK ! now. Personalities orig. el capitan !!!! check if this is the same in 10.9.x (use script: ati-personality.pl ) 00040000 04010000 0001 0000 10 00 02 03 DP 04000000 14020000 0001 0000 01 11 01 04 DVI Important Yes Yes No N N N YES Patched 04000000 1402 0000 0001 0000 10 00 01 03 DVI 04000000 1402 0000 0001 0000 00 10 02 04 DVI second column 1402 0000 byte swaped 00 00 02 14 as you can see there's a few options ControlFlag : 0x0016 - 0x0014 / 0x214 ControlFlag : 0x0014 / 0x0214 - 0x0204 ControlFlag : 0x0016 16000000, 14000000, 04020000, 14020000 if this doesn't work try using that guide and do some tests. and use that dsdt edit I posted !!! duffs. Link to comment Share on other sites More sharing options...
Ric_Notes Posted February 11, 2016 Author Share Posted February 11, 2016 Hi duffs, I tried every combination in the guide you posted, and I inserted the dsdt edit. But still nothing. Graphics was working well before, just not sleep. Do you think the wake problem is from another source? Ric. Link to comment Share on other sites More sharing options...
duffs Posted February 11, 2016 Share Posted February 11, 2016 try this into all code_regex Notify\s\(\\_SB\.PCI0\.MRP3,\s0x02\) replace_matched begin Notify (\_SB.PCI0.MRP3, 0x02)\n Notify (\_SB.PCI0.MRP3.GFX0, 0x02) end; and rename Device (_SB.PCI0.PEG0.GFX0) to Device (GFX0) and add this Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x09, 0x04 }) } ti should look like this Device (GFX0) { Name (_ADR, Zero) Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x09, 0x04 }) } Method (_DSM, 4, NotSerialized) { Store (Package (0x54) { "@0,AAPL,boot-display", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, ......... Link to comment Share on other sites More sharing options...
Ric_Notes Posted February 11, 2016 Author Share Posted February 11, 2016 Hi duffs, i'm sorry, I'm not very advanced with these techniques. what do I do with this code? Link to comment Share on other sites More sharing options...
duffs Posted February 11, 2016 Share Posted February 11, 2016 here's patched dsdt. try this. DSDTpatched.aml.zip Link to comment Share on other sites More sharing options...
Ric_Notes Posted February 11, 2016 Author Share Posted February 11, 2016 Thanks Duffs... ok graphics working again... but still no wake from sleep? Link to comment Share on other sites More sharing options...
duffs Posted February 11, 2016 Share Posted February 11, 2016 this DSDTpatched.aml1.zip Link to comment Share on other sites More sharing options...
Ric_Notes Posted February 11, 2016 Author Share Posted February 11, 2016 Hi Duffs, thanks again for all your help. I tried the new DSDT, but still no wake . if I take out ATIRadeonX2000.kext, I can get it to wake, but with very discoloured screen.... Does that info help? Link to comment Share on other sites More sharing options...
Recommended Posts