Contribute
Register

Dell N3459 - HD520 - HDMI Video issue

Joined
Oct 11, 2017
Messages
22
Motherboard
Dell Insprion 3459 (Clover)
CPU
I5-6200U
Graphics
Intel Graphics HD 520
Mobile Phone
iOS
ACPI/origin is missing.
Please re-create it, then use F4 in Clover to populate it with native ACPI files.

Note that you didn't patch ACPI correctly.
See guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/

These options are a bad idea (in config.plist/ACPI/DSDT/Fixes): FixRegions, AddHDMI. Remove.

SSDT.aml conflicts with config.plist/ACPI/SSDT/Generate/PluginType=true. Remove SSDT.aml from ACPI/patched.

Your kextcache output proves kexts are not installed correctly.
All kexts you need must be installed to the system volume.
Read post #2 of the Clover guide for details:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

No need for ACHIPortInjector.kext for your hardware. Use SATA-100-series-unsupported.kext instead.
Hi RehabMan. Thanks for your instructions. Here is what I did:
- Re-create native ACPI files through Clover - F4.
- I re-patched DSDT by static patching. These are patches I used: Fix _WAK Arg0 v2, Rename _DSM to XDSM, SMBUS Fix, Shutdown Fix V2.
- HPET and IRQ patches I did't use because I have no problem with sleep/wake and Audio until now.
- Remove FixRegions, AddHDMI from Clover.
- Remove SSDT.aml from ACPI/patched
- Reinstall all kexts in S/L/E. Add SATA-100-series-unsupported.kext

I attached 2 gen_debug.sh files. One is before sleep, two is after sleep.

My problem is after wake from sleep, my browser will crash if I tried to play any online video like from youtube. I can't preview image in finder. Finder need to be relaunch if I do that.

Thanks in advanced again.
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,716
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hi RehabMan. Thanks for your instructions. Here is what I did:
- Re-create native ACPI files through Clover - F4.
- I re-patched DSDT by static patching. These are patches I used: Fix _WAK Arg0 v2, Rename _DSM to XDSM, SMBUS Fix, Shutdown Fix V2.
- HPET and IRQ patches I did't use because I have no problem with sleep/wake and Audio until now.
- Remove FixRegions, AddHDMI from Clover.
- Remove SSDT.aml from ACPI/patched
- Reinstall all kexts in S/L/E. Add SATA-100-series-unsupported.kext

I attached 2 gen_debug.sh files. One is before sleep, two is after sleep.

My problem is after wake from sleep, my browser will crash if I tried to play any online video like from youtube. I can't preview image in finder. Finder need to be relaunch if I do that.

Thanks in advanced again.
ACPI not patched correctly.
- Fix _WAK Arg0 v2 does not apply to current macOS/OS X (read the comments in the patch)
- SMBUS not applicable to your hardware
- shutdown fix should be avoided
- missing any sort of "OS Check Fix" patch (one of the most important patches)
- no need to statically rename GFX0->IGPU (already done in config.plist/ACPI/DSDT/Patches)

You forgot to provide kextcache output (kextcache_log.txt is empty).
Please attach output of:
Code:
sudo kextcache -i /
Note: kexts should be installed to /L/E, not /S/L/E.

Note 2: USB not implemented correctly (see guides in FAQ).

You might try other ig-platform-id values (0x19160000).

Your drivers64UEFI is wrong. See guide regarding OsxAptioFix*.drv/AptioMemoryFix.efi: https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
 
Joined
Oct 11, 2017
Messages
22
Motherboard
Dell Insprion 3459 (Clover)
CPU
I5-6200U
Graphics
Intel Graphics HD 520
Mobile Phone
iOS
ACPI not patched correctly.
- Fix _WAK Arg0 v2 does not apply to current macOS/OS X (read the comments in the patch)
- SMBUS not applicable to your hardware
- shutdown fix should be avoided
- missing any sort of "OS Check Fix" patch (one of the most important patches)
- no need to statically rename GFX0->IGPU (already done in config.plist/ACPI/DSDT/Patches)

You forgot to provide kextcache output (kextcache_log.txt is empty).
Please attach output of:
Code:
sudo kextcache -i /
Note: kexts should be installed to /L/E, not /S/L/E.

Note 2: USB not implemented correctly (see guides in FAQ).

You might try other ig-platform-id values (0x19160000).

Your drivers64UEFI is wrong. See guide regarding OsxAptioFix*.drv/AptioMemoryFix.efi: https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
Hi RehabMan. Sorry for 2-days replying, I was busy for lunar new year holiday so now I have time. Here is what I changed:
- Remove Fix _WAK Arg0 v2 patch. Now I only use Rename _DSM to XDSM, Shutdown Fix V2 and OS Check Fix(Windows 7, 8 and Vista) for patching my DSDT. Without Shutdown Fix V2 patch, my hack will restart even I choose shut down.
- Move all kexts in system to /L/E. No additional kexts in /S/L/E now.
- Re-install Clover to use AptioMemoryFix.efi instead of OsxAptioFix*.drv and system functions well.
- About my "USB not implemented", my laptop does't have USB power properties so I dont need to inject them. With USBInjectAll.kext, my hack detect USB3.0 and two USB2.0 clearly. In summary, I want to ask about how to check my USB implemented.

I find out my problem is the same as this thread but their solution is not working with mine. https://www.tonymacx86.com/threads/hd-530-not-responding-applications-after-sleep.244594/#post-1682850

Note:
- I dont have an ECDT in ACPI. I only see H_EC in my DSDT so I use Clover to change H_EC to EC.
- My SMBIOS is MacBookPro13.1, I don't see USBX in my IOREG too, I create my own SSDT-USBX from your sample.

If I did wrong at any points, pls show me. Thanks in advanced. I really appreciate your help.
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,716
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Without Shutdown Fix V2 patch, my hack will restart even I choose shut down.
Look into XPEE option for SSDT-PTSWAK.dsl. It is detailed in my ACPI hotpatch guide/README.

- About my "USB not implemented", my laptop does't have USB power properties so I dont need to inject them.
Nonsense.
See guide:
https://www.tonymacx86.com/threads/guide-usb-power-property-injection-for-sierra-and-later.222266/

- I dont have an ECDT in ACPI. I only see H_EC in my DSDT so I use Clover to change H_EC to EC.
As per ioreg data, your EC is named ECDV.

- I don't see USBX in my IOREG too, I create my own SSDT-USBX from your sample.
There is no SSDT-USBX.aml in ACPI/patched.

With USBInjectAll.kext, my hack detect USB3.0 and two USB2.0 clearly. In summary, I want to ask about how to check my USB implemented.
Your ioreg clearly shows USB not implemented correctly.
Follow guide:
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/

I find out my problem is the same as this thread but their solution is not working with mine. https://www.tonymacx86.com/threads/hd-530-not-responding-applications-after-sleep.244594/#post-1682850
You should try without FakePCIID_Intel_HD_Graphics.kext. It is not compulsory and may cause problems as much as fix them.
What is DVMT-prealloc set in BIOS?

If I did wrong at any points, pls show me. Thanks in advanced. I really appreciate your help.
Your kextcache output proves kexts are not installed correctly.
All kexts you need must be installed to the system volume.
Read post #2 of the Clover guide for details:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
 
Joined
Oct 11, 2017
Messages
22
Motherboard
Dell Insprion 3459 (Clover)
CPU
I5-6200U
Graphics
Intel Graphics HD 520
Mobile Phone
iOS
Look into XPEE option for SSDT-PTSWAK.dsl
I use SSDT-RMCF.aml with enable XPEE, SSDT-PTSWAK. Shutdown problem is fixed. I removed Shutdown Fix patch from my DSDT.

There is no SSDT-USBX.aml in ACPI/patched.
Edit: I use patch to rename EC0, H_EC and ECDV to EC in Clover
I use SSDT-USBX with your sample, now USBX is appear in my IOREG.

Your ioreg clearly shows USB not implemented correctly.
I add SSDT-UIAC.aml. Remove all package expect "8086_9d2f". Remove HS04, HS07. I only have 3.0 usb so I will make more tests in future.
HS01: charging Iphone through cable.
HS02: USB2 right
HS03: USB2 right
HS05: Webcam
HS06: USB2.0-CRW@14500000/AppleUSBHostLegacyClient. // I really don't know what it is so I don't remove it.
HS08: bluetooth
SS01: USB3 left
SS02/SS03/SS05/SS06: I don't remove because of HS02/HS03/HS05/HS06

What is DVMT-prealloc set in BIOS?
My bios setting don't have DVMT-prealloc setting. But I check through Windows it is set to 128Mb.

Your kextcache output proves kexts are not installed correctly.
All kexts you need must be installed to the system volume.
All my kexts is installed in /L/E now. I dont know what I did wrong although I read your post#2 very clearly. The only reason I've think is because some kexts exist in both /Clover/kexts/other and /L/E. I need more instructions.

You should try without FakePCIID_Intel_HD_Graphics.kext. It is not compulsory and may cause problems as much as fix them.
I removed FakePCIID_Intel_HD_Graphics.kext and tried all your instructions but problem is still not fixed.

Thanks in advanced.
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,716
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Edit: I use patch to rename EC0, H_EC and ECDV to EC in Clover
You only need ECDV->EC.

I use SSDT-USBX with your sample, now USBX is appear in my IOREG.
Your ioreg now shows new USB power properties working.

SS02/SS03/SS05/SS06: I don't remove because of HS02/HS03/HS05/HS06
The numbers used for SSxx/HSxx do not necessarily correspond.

My bios setting don't have DVMT-prealloc setting. But I check through Windows it is set to 128Mb.
You didn't read the FAQ:
IMPORTANT!: Contrary to many of the guides you will read, Windows is NOT a valid way to determine what DVMT-prealloc is set to. There is no correlation, especially with Windows 10.
All my kexts is installed in /L/E now. I dont know what I did wrong although I read your post#2 very clearly. The only reason I've think is because some kexts exist in both /Clover/kexts/other and /L/E. I need more instructions.
Your kextcache output proves kexts are not installed correctly.
All kexts you need must be installed to the system volume.
Read post #2 of the Clover guide for details:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Hint: FakeSMC.kext is not installed to /L/E. Why do you think FakeSMC.kext is not a "kext you need"?
 
Joined
Oct 11, 2017
Messages
22
Motherboard
Dell Insprion 3459 (Clover)
CPU
I5-6200U
Graphics
Intel Graphics HD 520
Mobile Phone
iOS
You only need ECDV->EC.
I removed patched for rename EC0 and H_ECT

The numbers used for SSxx/HSxx do not necessarily correspond.
I removed SS02 to SS06 from SSDT-UIAC.

You didn't read the FAQ:
I'm so sorry for skipping the Important note. I was reading only FAQ for Skylake before. I will read more carefully next time.
Following this guide https://www.tonymacx86.com/threads/guide-alternative-to-the-minstolensize-patch-with-32mb-dvmt-prealloc.221506/ , I added this patch to my clover.
Comment: 0x19160000/etc, 19MB framebuffer 9MB cursor bytes (credit RehabMan)
Name: AppleIntelSKLGraphicsFramebuffer
Find: 01030303 00002002 00005001
Replace: 01030303 00003001 00009000

Hint: FakeSMC.kext is not installed to /L/E. Why do you think FakeSMC.kext is not a "kext you need"?
I dont know why I thought it is enough for only installing FakeSMC in /Clover/kexts/others.
I added FakeSMC with FakeSMC_ACPISensors.kext, FakeSMC_CPUSensors.kext, FakeSMC_GPUSensors.kext, FakeSMC_LPCSensors.kext in /L/E and rebuild cache.

But the problem is still remain after I check. Apps still crash.
Thanks in advanced as always.
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,716
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
I removed SS02 to SS06 from SSDT-UIAC.
I can't tell you if that is correct or not.
You should include whatever SSxx ports are active.
See here for correct port discovery procedures:
https://www.tonymacx86.com/threads/guide-creating-a-custom-ssdt-for-usbinjectall-kext.211311/

I'm so sorry for skipping the Important note. I was reading only FAQ for Skylake before. I will read more carefully next time.
Following this guide https://www.tonymacx86.com/threads/guide-alternative-to-the-minstolensize-patch-with-32mb-dvmt-prealloc.221506/ , I added this patch to my clover.
Comment: 0x19160000/etc, 19MB framebuffer 9MB cursor bytes (credit RehabMan)
Name: AppleIntelSKLGraphicsFramebuffer
Find: 01030303 00002002 00005001
Replace: 01030303 00003001 00009000
If you can boot without the minStolenSize patch and without any patch for 32mb DVMT-prealloc, then your DMVT-prealloc must be at least 64mb...

I dont know why I thought it is enough for only installing FakeSMC in /Clover/kexts/others.
I added FakeSMC with FakeSMC_ACPISensors.kext, FakeSMC_CPUSensors.kext, FakeSMC_GPUSensors.kext, FakeSMC_LPCSensors.kext in /L/E and rebuild cache.
I don't recommend using the FakeSMC sensor kexts (they are inefficient and not needed), but that is your choice.

But the problem is still remain after I check. Apps still crash.
Thanks in advanced as always.
Your ioreg shows that the Intel MEI has no ACPI identity.
macOS requires it... must be named IMEI.
 
Joined
Oct 11, 2017
Messages
22
Motherboard
Dell Insprion 3459 (Clover)
CPU
I5-6200U
Graphics
Intel Graphics HD 520
Mobile Phone
iOS
I can't tell you if that is correct or not.
You should include whatever SSxx ports are active.
See here for correct port discovery procedures:
In the future, maybe I will find out. I checked only SS01 is active with left USB3.0.

If you can boot without the minStolenSize patch and without any patch for 32mb DVMT-prealloc, then your DMVT-prealloc must be at least 64mb...
I'm not sure. I tried to find "0103 0303 0000 2002 0000 5001" in my AppleIntelSKLGraphicsFramebuffer then they are existed. Is there any way to make sure about this?

Your ioreg shows that the Intel MEI has no ACPI identity.
macOS requires it... must be named IMEI.
I used patches for rename MEI and HECI to IMEI. But I can't find any things with MEI or HECI or IMEI in my IOREG with "search" functions. What should I do and how can I check them?

Thanks.
 

Attachments

Joined
Oct 11, 2017
Messages
22
Motherboard
Dell Insprion 3459 (Clover)
CPU
I5-6200U
Graphics
Intel Graphics HD 520
Mobile Phone
iOS
Your ioreg shows that the Intel MEI has no ACPI identity.
macOS requires it... must be named IMEI.
Dear RehabMan. I think finally my sleep problem may be fixed, It took me several hours to find out what is Intel MEI in my ioreg and I also found out that Device IMEI is not existed in my DSDT. So I used "Add IMEI" patch, then IMEI shows up in my ioreg from now. I will make more tests to make sure everything is alright.

I have another question about patching IMEI. First time, I was going to use hotpatch with SSDT-IMEI. I read your comment
Code:
// need the device-id from PCI_config to inject correct properties"
But I don't know how to find device-id from PCI_config, I read other threads saying that I can find it from using
Code:
lspci -nn
in linux (Image attched). I tried that but having no clue how to detect it. I hope you can give me some hints or any useful guild, instructions, ect. Thank you so much.

If I did wrong at any points or anything is not right, please let me know and guide me.
 

Attachments

Top