Jump to content

Ric_Notes
 Share

21 posts in this topic

Recommended Posts

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

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

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

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

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

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

 Share

×
×
  • Create New...