almmb Posted July 15, 2021 Share Posted July 15, 2021 My notebook graphics card gtx1060 is factory shielded from the integrated graphics, only the discrete graphics. I did the backlight control appear, but it has no effect. In the past two weeks, I have tried various methods to enable the brightness and backlight control, but they all failed. I am so tired. Please help me! EFI 2.zip ioreg.zip Quote Link to comment Share on other sites More sharing options...
almmb Posted July 15, 2021 Author Share Posted July 15, 2021 Built-in display: Device (PEGP) { Name (_ADR, Zero) // _ADR: Address Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If ((Arg2 == Zero)) { Return (Buffer (One) { 0x03 // . }) } Return (Package (0x18) { "@1,AAPL,boot-display", Buffer (One) { 0x01 // . }, "@1,backlight-control", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 // .... }, "@1,display-type", Buffer (0x04) { "LCD" }, "@1,built-in", Buffer (One) { 0x01 // . }, "@0,connector-type", Buffer (0x04) { 0x00, 0x08, 0x00, 0x00 // .... }, "@1,connector-type", Buffer (0x04) { 0x00, 0x04, 0x00, 0x00 // .... }, "@2,connector-type", Buffer (0x04) { 0x00, 0x04, 0x00, 0x00 // .... }, "@3,connector-type", Buffer (0x04) { 0x00, 0x04, 0x00, 0x00 // .... }, "@4,connector-type", Buffer (0x04) { 0x00, 0x04, 0x00, 0x00 // .... }, "@5,connector-type", Buffer (0x04) { 0x00, 0x04, 0x00, 0x00 // .... }, "@1,pwm-info", Buffer (0x14) { /* 0000 */ 0x01, 0x14, 0x00, 0x64, 0xA8, 0x61, 0x00, 0x00, // ...d.a.. /* 0008 */ 0x1E, 0x02, 0x00, 0x00, 0x2C, 0x00, 0x00, 0x00, // ....,... /* 0010 */ 0x00, 0x04, 0x00, 0x00 // .... }, "hda-gfx", Buffer (0x0A) { "onboard-1" } }) } Scroll bar control has no effect! 1 Quote Link to comment Share on other sites More sharing options...
Allan Posted July 15, 2021 Share Posted July 15, 2021 Hello and welcome. Quote Link to comment Share on other sites More sharing options...
shl628 Posted July 16, 2021 Share Posted July 16, 2021 (edited) Brightness control of Nvidia external graphics requires injecting a PNLF Device into the external graphics. And, you need to use AppleBacklightFixup.kext Also, delete NvidiaGraphicsFixup and replace it with the latest version of WhateverGreen. Additionally, I recommend replacing other Kext with the latest version and deleting unnecessary Kext. The 3 Kexts below are already integrated into WhateverGreen. - CoreDisplayFixup.kext - NvidiaGraphicsFixup.kext - Shiki.kext Add applbkl=0 boot option to disable WEG brightness patch in Config.plist. And, SSDT-PNLF.aml will be added directly, so set AddPNLF in ACPI - DSDT - Fixes to False. Modify the existing \_SB.PCI0.GFX0 path in SSDT-PNLF.aml to \_SB.PCI0.PEG0.PEGP as shown below. External (_SB_.PCI0.PEG0.PEGP, DeviceObj) Scope (_SB.PCI0.PEG0.PEGP) { OperationRegion (RMP3, PCI_Config, Zero, 0x14) } Device (_SB.PCI0.PEG0.PEGP.PNLF) The SSDT-PNLF.aml I modified is attached below. Please replace SSDT-PNLF.aml with the one I modified. SSDT-PNLF.aml Edited July 16, 2021 by shl628 1 Quote Link to comment Share on other sites More sharing options...
almmb Posted July 16, 2021 Author Share Posted July 16, 2021 15 hours ago, shl628 said: Brightness control of Nvidia external graphics requires injecting a PNLF Device into the external graphics. And, you need to use AppleBacklightFixup.kext Also, delete NvidiaGraphicsFixup and replace it with the latest version of WhateverGreen. Additionally, I recommend replacing other Kext with the latest version and deleting unnecessary Kext. The 3 Kexts below are already integrated into WhateverGreen. - CoreDisplayFixup.kext - NvidiaGraphicsFixup.kext - Shiki.kext Add applbkl=0 boot option to disable WEG brightness patch in Config.plist. And, SSDT-PNLF.aml will be added directly, so set AddPNLF in ACPI - DSDT - Fixes to False. Modify the existing \_SB.PCI0.GFX0 path in SSDT-PNLF.aml to \_SB.PCI0.PEG0.PEGP as shown below. External (_SB_.PCI0.PEG0.PEGP, DeviceObj) Scope (_SB.PCI0.PEG0.PEGP) { OperationRegion (RMP3, PCI_Config, Zero, 0x14) } Device (_SB.PCI0.PEG0.PEGP.PNLF) The SSDT-PNLF.aml I modified is attached below. Please replace SSDT-PNLF.aml with the one I modified. SSDT-PNLF.aml 1.13 kB · 2 downloads Hello, thank you for your reply! I tried what you said, but it still failed(The scroll bar has no effect). Can you help me see what I am doing wrong? kext has been replaced with the latest! EFI 3.zip ioreg.zip Quote Link to comment Share on other sites More sharing options...
almmb Posted July 16, 2021 Author Share Posted July 16, 2021 After using the new kext, the display path is modified _SB.PCI0.PEG0.PEGP => _SB.PCI0.PEG0.GFX0 Quote Link to comment Share on other sites More sharing options...
shl628 Posted July 17, 2021 Share Posted July 17, 2021 (edited) 9 hours ago, almmb said: After using the new kext, the display path is modified _SB.PCI0.PEG0.PEGP => _SB.PCI0.PEG0.GFX0 Replaced clover bootloader with version r5119. And, I modified SSDT-PNLF.aml again. Replace it with the EFI folder attached below and try rebooting. EFI 4.zip Edited July 17, 2021 by shl628 Quote Link to comment Share on other sites More sharing options...
almmb Posted July 17, 2021 Author Share Posted July 17, 2021 Just now, shl628 said: Replaced clover bootloader with version r5119. And, I modified SSDT-PNLF.aml again. Replace it with the EFI folder attached below and try rebooting. EFI 4.zip 4.14 MB · 1 download Hello, thank you very much! I used your modified EFI. After restarting, I got stuck on the Apple interface, only the cursor. After I restarted manually, the mac startup option was lost. I now plan to reinstall the system. Sorry that my English is not very good, some descriptions may be inaccurate. Quote Link to comment Share on other sites More sharing options...
Fortitude Posted July 30, 2021 Share Posted July 30, 2021 I’m not sure if this will work for you, or if it will destroy your operating system. It recently worked for me on macOS Sierra 10.12.6 in order to get the brightness slider working properly: https://forums.macrumors.com/threads/screen-brightness-broken-sierra-10-12-4-beta-3.2033660/page-3 Try replacing your High Sierra files with the corresponding Sierra files by following the instructions in this thread. (Don't forget to rebuild permissions/cache afterwards.) You should be then be able to vary the brightness with the slider. Quote Link to comment Share on other sites More sharing options...
Fortitude Posted July 30, 2021 Share Posted July 30, 2021 (edited) One other thing, I looked at your original config file... You'll also need to also add the ACPI hotpatch "change GFX0 to iGPU" if you want to get variable brightness working. Edited July 30, 2021 by Fortitude Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.