Jump to content

hello please help,Enabling Backlight on NVIDIA GTX 1060


almmb
 Share

10 posts in this topic

Recommended Posts

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!

2021-07-15 2.20.30 PM.png

2021-07-15 2.20.39 PM.png

EFI 2.zip ioreg.zip

Link to comment
Share on other sites

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"
                            }
                        })
                    }

 

 

Screen Shot 2021-07-15 at 8.34.02 PM.png

Screen Shot 2021-07-15 at 8.35.34 PM.png

Scroll bar control has no effect!

  • Like 1
Link to comment
Share on other sites

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 by shl628
  • Like 1
Link to comment
Share on other sites

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!

Screen Shot 2021-07-17 at 1.18.23 AM.png

EFI 3.zip ioreg.zip

Link to comment
Share on other sites

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 by shl628
Link to comment
Share on other sites

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.

1.jpg

Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...