Contribute
Register

[solved] Sierra HD4000 5MB VRAM problem

Status
Not open for further replies.
I've read it carefully. Saved it as, and zipped it. Also opened it before and after zipping it. It seems fine. Could it be an upload problem? I can upload it again.

You're using the wrong IORegistryExplorer.
Please read "Problem Reporting" carefully.
 
Sorry again. This is the right one.
 

Attachments

  • IOReg.zip
    642.1 KB · Views: 79
Sorry again. This is the right one.

Your attempt at implementing backlight control is not correct.
IntelBacklight.kext does not work on 10.12.4 and later.
Must use this guide:
https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/

But you can see already that it is probably not going to work. Your display is connected to a connector with DP type, connector-type <00 04 00 00> instead of LVDS <02 00 00 00>.
And as a result, AppleDisplay is not changing to AppleBacklightDisplay, even though you have PNLF.
It might get fixed when you implement backlight control correctly, but probably not.
 
Did you check in Windows to see if your display is eDP?
eDP is not well supported by the HD4000 drivers.
It is a common problem with Samsung laptops such as yours.

Hello, I'm trying to solve the same problem and I still have the screen blurred, I checked if my screen is eDP or LVDS and it is LVDS (Using intel_reg_dumper). I've tried to change some values of the connectors with clover patches, I found a guide of the numbers for the different types of connectors of HD4000. I'm using Mavericks 10.9.5. Another detail is that I verified when the screen is blurry that AGPM is not loaded, I am injecting the HD4000 through Clover not in the DSDT. Any Suggestions? Thanks!
 
Can you try these files, install them with your favorite kext installer and replace config.plist and report?
Don't forget to backup your files.
You don't need to install Fake_PCIID and Fake_PCIID_HD files.
 
Hello, I'm trying to solve the same problem and I still have the screen blurred, I checked if my screen is eDP or LVDS and it is LVDS (Using intel_reg_dumper). I've tried to change some values of the connectors with clover patches, I found a guide of the numbers for the different types of connectors of HD4000. I'm using Mavericks 10.9.5. Another detail is that I verified when the screen is blurry that AGPM is not loaded, I am injecting the HD4000 through Clover not in the DSDT. Any Suggestions? Thanks!

Try ig-platform-id 0x0166000a.
 
Can you try these files, install them with your favorite kext installer and replace config.plist and report?
Don't forget to backup your files.
You don't need to install Fake_PCIID and Fake_PCIID_HD files.

Try ig-platform-id 0x0166000a.

Hi, thanks for your help, with 0x0166000a now the screen looks perfect, before I had tried with the same ID and it did not work, what made the difference is to check the option "Inject EDID" (Graphics) in Clover.
AGPM is not loaded and the other problem is that you can not adjust the brightness of the screen by recognizing it as external.
 
AGPM is not loaded and the other problem is that you can not adjust the brightness of the screen by recognizing it as external.

AGPM will load with GFX0->IGPU rename.
The problem of it being external (due to DP connector-type) is known.
Maybe you can patch it for LVDS.
Make sure you implement backlight control correctly before giving up on it (you didn't attach "Problem Reporting" files, so I can't tell whether you did it or not).
 
I tried your backlight instructions and I ''think'' that I managed all steps correctly but I cannot control backlight with Fn keys.
Here's what I did.
- Installed necessary tools you provided with git
- Extracted aml files with Clover F4 method.
- Used iasl and MaciASL versions you recommended. (I extracted and decompiled aml files earlier with another version of iasl and MaciASL and I encountered some syntax errors when I tried to patch SSDT file for SB.PCI0.IGPU renaming)
- DSDT.aml file was patched with backlight control patches before, I removed my old DSDT.aml file and I patched (GFX0->IGPU renaming, Audio layout 12, Samsung NP470R5E battery patch, Fix_WAK Arg0 v2, Fix Mutex with non-zero SyncLevel, HPET Fix, IRQ Fix, OS Check Fix Windows 8, RTC Fix, Shutdown Fix v2, SMBUS Fix, 7-series/8-series USB) DSDT.dsl file, which I most recently extracted.
- Removed AddPNLF_1000000 patch from config.plist
- Put SSDT-PNLF.aml to CLOVER/ACPI/patched
- Put AppleBacklight patch in config.plist/KernelAndKextPatches/KextsToPatch
- Put AppleBacklightInjector.kext into /L/E
- I arranged the sort order for SSDT files (First SSDT-8.aml which contains SB.PCI0.IGPU renaming, then SSDT-PNLF.aml)
- Rebuild cache

Terminal outputs:
Code:
Huseyin-MacBook-Air:~ aequitas-mac$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Lilu.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelGraphicsFixup.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AHCI_3rdParty_SATA.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext VoodooHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext EAPDFix.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2SmartTouchPad.kext
kext file:///System/Library/Extensions/AppleHDADisabler.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
Invalid signature -67030 for kext <OSKext 0x7ff5aace5c80 [0x7fff9eaadda0]> { URL = "VoodooHDA.kext/ -- file:///System/Library/Extensions/", ID = "org.voodoo.driver.VoodooHDA" }
KernelCache ID: 4461AA731BA8E8C8CDDCBDFE46A4F04A
Huseyin-MacBook-Air:~ aequitas-mac$ kextstat|grep -y acpiplat
   13    2 0xffffff7f82896000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
Huseyin-MacBook-Air:~ aequitas-mac$ kextstat|grep -y appleintelcpu
   27    0 0xffffff7f82761000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (219.0.0) F7CC3395-98DB-3420-9C24-1017D52E13AE <7 6 5 4 3 1>
   34    0 0xffffff7f8275c000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (219.0.0) B802638B-251C-3602-BA8C-001F87228765 <7 6 5 4 3 1>
Huseyin-MacBook-Air:~ aequitas-mac$ kextstat|grep -y applelpc
   94    0 0xffffff7f825e7000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <86 12 5 4 3>
Huseyin-MacBook-Air:~ aequitas-mac$ kextstat|grep -y applehda
  110    1 0xffffff7f8212a000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <109 97 79 12 7 6 5 4 3 1>
Huseyin-MacBook-Air:~ aequitas-mac$
Files are added.
 

Attachments

  • patchmatic.zip
    18.4 KB · Views: 69
  • IOReg.zip
    613.9 KB · Views: 68
  • CLOVER.zip
    1.9 MB · Views: 81
I tried your backlight instructions and I ''think'' that I managed all steps correctly but I cannot control backlight with Fn keys.
Here's what I did.
- Installed necessary tools you provided with git
- Extracted aml files with Clover F4 method.
- Used iasl and MaciASL versions you recommended. (I extracted and decompiled aml files earlier with another version of iasl and MaciASL and I encountered some syntax errors when I tried to patch SSDT file for SB.PCI0.IGPU renaming)
- DSDT.aml file was patched with backlight control patches before, I removed my old DSDT.aml file and I patched (GFX0->IGPU renaming, Audio layout 12, Samsung NP470R5E battery patch, Fix_WAK Arg0 v2, Fix Mutex with non-zero SyncLevel, HPET Fix, IRQ Fix, OS Check Fix Windows 8, RTC Fix, Shutdown Fix v2, SMBUS Fix, 7-series/8-series USB) DSDT.dsl file, which I most recently extracted.
- Removed AddPNLF_1000000 patch from config.plist
- Put SSDT-PNLF.aml to CLOVER/ACPI/patched
- Put AppleBacklight patch in config.plist/KernelAndKextPatches/KextsToPatch
- Put AppleBacklightInjector.kext into /L/E
- I arranged the sort order for SSDT files (First SSDT-8.aml which contains SB.PCI0.IGPU renaming, then SSDT-PNLF.aml)
- Rebuild cache

Terminal outputs:
Code:
Huseyin-MacBook-Air:~ aequitas-mac$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Lilu.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelGraphicsFixup.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AHCI_3rdParty_SATA.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext VoodooHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext EAPDFix.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ApplePS2SmartTouchPad.kext
kext file:///System/Library/Extensions/AppleHDADisabler.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
Invalid signature -67030 for kext <OSKext 0x7ff5aace5c80 [0x7fff9eaadda0]> { URL = "VoodooHDA.kext/ -- file:///System/Library/Extensions/", ID = "org.voodoo.driver.VoodooHDA" }
KernelCache ID: 4461AA731BA8E8C8CDDCBDFE46A4F04A
Huseyin-MacBook-Air:~ aequitas-mac$ kextstat|grep -y acpiplat
   13    2 0xffffff7f82896000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
Huseyin-MacBook-Air:~ aequitas-mac$ kextstat|grep -y appleintelcpu
   27    0 0xffffff7f82761000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (219.0.0) F7CC3395-98DB-3420-9C24-1017D52E13AE <7 6 5 4 3 1>
   34    0 0xffffff7f8275c000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (219.0.0) B802638B-251C-3602-BA8C-001F87228765 <7 6 5 4 3 1>
Huseyin-MacBook-Air:~ aequitas-mac$ kextstat|grep -y applelpc
   94    0 0xffffff7f825e7000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <86 12 5 4 3>
Huseyin-MacBook-Air:~ aequitas-mac$ kextstat|grep -y applehda
  110    1 0xffffff7f8212a000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <109 97 79 12 7 6 5 4 3 1>
Huseyin-MacBook-Air:~ aequitas-mac$
Files are added.

Backlight control not expected with 0x0166000a.
It is a desktop ig-platform-id, which detects your internal monitor as external.
External monitors do not have backlight control...

You should try patching the framebuffer ig-platform-id data to change the connector-type from DP <00 04 00 00> to LVDS <02 00 00 00>.

Note: Keyboard access to brightness controls (once working) are a separate issue and are covered in the main/older backlight control guide.
 
Status
Not open for further replies.
Back
Top