Contribute
Register

Skylake HD530 - Sleeps but won't wake

Joined
Jun 9, 2013
Messages
10,755
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
Ok, all files restored. I also tried with -x and disabling the injector without success, so I guess it's all about the LPC?

AppleLPC needs to be patched regardless.
 
Joined
Jul 9, 2013
Messages
16
Motherboard
osx
CPU
p2
Graphics
gf
Mac
Classic Mac
Mobile Phone
AppleLPC needs to be patched regardless.

Here is my progress:

clover config:
- AppleLPC is finally loading, but I had to click fakeLPC and addDTGP in Clover config.
- I hotfixed all names in the DSDT and replaced them manually in all ssdts (editing dsl, and recompiled to aml) by hex-ing the additional names as suggested in Rehabmans guide

acpi/ssdt:
- I added an SSDT for IGPU so I could skip the clover fixes.
- still use ssdts for CPU, USB and XOSI and of course your LPC

result:
- Whats new because many people say it's not possible: I now have two accelerated cards:
I have the Intel HD530 with acceleration for booting (and little artifacts) and my radeon RX480 also with acceleration. When I turn my display to split-mode, it also shows that both are active and running on Metal at the same time.
- system booting much faster, running smooth

open:
- I am not sure about the USB: It's all working without the injectall.kext, 3.1,3.0 and 2.0, but I definitely have to get more into ioreg to know if all works as it should. I attached the dump if you want to have a quick look.
- wake from sleep: I totally forgot to test this one, will now but first have to finish this posting in case it don't work :D

//ok Wake from hibernation still don't work. It turns on the graphic-cards, display and USB devices but I see a black screen. I think I have to test some pmset hibernate modes – but tbh. I don't think that it will work. Mode 25 is worth a try.
 

Attachments

  • Rastans iMac.ioreg
    7.4 MB · Views: 146
Last edited:
Joined
Dec 13, 2010
Messages
338
Motherboard
Z390 PHANTOM GAMIG-ITX/ac
CPU
i5-9600K
Graphics
UHD 630
Mac
  1. iMac
Mobile Phone
  1. iOS
Hi, i'am 99% Sierra perfect except sleep/wake.

i tried insert code HD530 to patch DSDT (Asus Z170i Pro gaming) and i have 3 syntax errors to compile.

Anyone help me?
 

Attachments

  • DSDT.aml
    140.3 KB · Views: 147
Joined
Jun 9, 2013
Messages
10,755
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
Hi, i'am 99% Sierra perfect except sleep/wake.

i tried insert code HD530 to patch DSDT (Asus Z170i Pro gaming) and i have 3 syntax errors to compile.

Anyone help me?

DSDT has errors. How did you extract DSDT from ACPI? You might be better to use Clover Hotpatch with a set of SSDTs.
 
Joined
Jun 9, 2013
Messages
10,755
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
Here is my progress:

clover config:
- AppleLPC is finally loading, but I had to click fakeLPC and addDTGP in Clover config.
- I hotfixed all names in the DSDT and replaced them manually in all ssdts (editing dsl, and recompiled to aml) by hex-ing the additional names as suggested in Rehabmans guide

acpi/ssdt:
- I added an SSDT for IGPU so I could skip the clover fixes.
- still use ssdts for CPU, USB and XOSI and of course your LPC

result:
- Whats new because many people say it's not possible: I now have two accelerated cards:
I have the Intel HD530 with acceleration for booting (and little artifacts) and my radeon RX480 also with acceleration. When I turn my display to split-mode, it also shows that both are active and running on Metal at the same time.
- system booting much faster, running smooth

open:
- I am not sure about the USB: It's all working without the injectall.kext, 3.1,3.0 and 2.0, but I definitely have to get more into ioreg to know if all works as it should. I attached the dump if you want to have a quick look.
- wake from sleep: I totally forgot to test this one, will now but first have to finish this posting in case it don't work :D

//ok Wake from hibernation still don't work. It turns on the graphic-cards, display and USB devices but I see a black screen. I think I have to test some pmset hibernate modes – but tbh. I don't think that it will work. Mode 25 is worth a try.

What about SMBUS? not loaded neither is MCHC.
 
Joined
Dec 13, 2010
Messages
338
Motherboard
Z390 PHANTOM GAMIG-ITX/ac
CPU
i5-9600K
Graphics
UHD 630
Mac
  1. iMac
Mobile Phone
  1. iOS
Hi, yes, i extracted DSDT from F4 Clover init screen and ACPI/Origin/ dir
 
Joined
Oct 20, 2011
Messages
41
Motherboard
DELL XPS 9550
CPU
i7-6700HQ
Graphics
HD 530 / GTX960M
Mobile Phone
  1. Android
AppleLPC needs to be patched regardless.
Can you tell me at least one reason to load AppleLPC on Skylake platform? At least one small reason. Apple is not using it on own Skylake machines - but everybody are still crying about it. It is not used anymore.
 
Joined
Jun 9, 2013
Messages
10,755
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
Can you tell me at least one reason to load AppleLPC on Skylake platform? At least one small reason. Apple is not using it on own Skylake machines - but everybody are still crying about it. It is not used anymore.

If its not used no more then don't worry about it. Fixed certain problems with Skylake Hackintoshes. This will give you a idea on which patch you require.

Code:
0x9d48, 0xa14e, 0,
            Package()
            {
                "device-id", Buffer() { 0xc1, 0x9c, 0, 0 },
                "compatible", Buffer() { "pci8086,9cc1" },
            },
        })
 
Joined
Oct 20, 2011
Messages
41
Motherboard
DELL XPS 9550
CPU
i7-6700HQ
Graphics
HD 530 / GTX960M
Mobile Phone
  1. Android
If its not used no more then don't worry about it. Fixed certain problems with Skylake Hackintoshes. This will give you a idea on which patch you require.

Code:
0x9d48, 0xa14e, 0,
            Package()
            {
                "device-id", Buffer() { 0xc1, 0x9c, 0, 0 },
                "compatible", Buffer() { "pci8086,9cc1" },
            },
        })

I know how to load it. Just curious why you are trying to do that. What kind of issues did it resolve for you? Also, do you have AppleBusPowerControllerUSB kext loaded? Are you on Sierra? Let me suppose that your embedded controller ACPI node has name different from "EC"? Something like "ECDV". You can check exact name in ioreg - it will have AppleACPIEC kext attached (and in case of wrong name - will not have AppleBusPowerControllerUSB. But this is in Sierra, and not true for older systems)
 
Joined
Jun 9, 2013
Messages
10,755
Motherboard
Gigabyte GA-H77N-WIFI
CPU
i7-3770
Graphics
HD 4000
Mac
  1. MacBook
  2. Mac mini
Mobile Phone
  1. Android
I know how to load it. Just curious why you are trying to do that. What kind of issues did it resolve for you? Also, do you have AppleBusPowerControllerUSB kext loaded? Are you on Sierra? Let me suppose that your embedded controller ACPI node has name different from "EC"? Something like "ECDV". You can check exact name in ioreg - it will have AppleACPIEC kext attached (and in case of wrong name - will not have AppleBusPowerControllerUSB. But this is in Sierra, and not true for older systems)

I don't have Skylake sorry. But loading AppleLPC has fixed issues on Skylake hacks. AppleBusPowerController is most likely USB power. Will not work unless you have patched USB in a DSDT.
 
Top