Jump to content
onejay09

please help me fix Brightness Control Nvidia Graphics Only Laptop

182 posts in this topic

Recommended Posts

This is for the default display at B@1. below is my practical experience.

 

Sierra 10.12.6, Brightness control is working

 

1132130916_ScreenShot2018-12-21at9_52_58PM.thumb.png.13217f6125c0767f960c08905f6757e3.png

 

what did I do:

  • fix XOSI
  • add device PNLF
  • rename GFX0 to _GFX both DSDT and SSDTs
  • rename PEGP to GFX0 both DSDT and SSDTs
  • add device (HDAU) under PEG0
  • return (one) under device (EDP1)

 

Brightness control shortcut key

            Method (_Q10, 0, NotSerialized)  // _Qxx: EC Query
            {
                If (LEqual (GPUM, 0x05))
                {
                    Notify (PS2K, 0x0205)
                    Notify (PS2K, 0x0285)
                }

                If (LEqual (GPUM, 0x03))
                {
                    Notify (^^^_GFX.DD1F, 0x87)
                }
                ElseIf (CondRefOf (\_SB.PCI0.PEG0.GFX0.EDP1))
                {
                    Notify (^^^PEG0.GFX0.EDP1, 0x87)
                }
            }

            Method (_Q11, 0, NotSerialized)  // _Qxx: EC Query
            {
                If (LEqual (GPUM, 0x05))
                {
                    Notify (PS2K, 0x0206)
                    Notify (PS2K, 0x0286)
                }

                If (LEqual (GPUM, 0x03))
                {
                    Notify (^^^_GFX.DD1F, 0x86)
                }
                ElseIf (CondRefOf (\_SB.PCI0.PEG0.GFX0.EDP1))
                {
                    Notify (^^^PEG0.GFX0.EDP1, 0x86)
                }
            }

 

_DSM of Device (GFX0)

                    Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
                    {
                        If (LEqual (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,
                                /* 0008 */  0x1E, 0x02, 0x00, 0x00, 0x2C, 0x00, 0x00, 0x00,
                                /* 0010 */  0x00, 0x04, 0x00, 0x00                         
                            }, 

                            "hda-gfx", 
                            Buffer (0x0A)
                            {
                                "onboard-1"
                            }
                        })
                    }

 

admin’s iMac_builtin1_brightnessOk_butNoHDMI.ioreg

 

DSDT.aml

SSDT-10-84DB.aml

SSDT-XOSI.aml

Edited by mail_hxm

Share this post


Link to post
Share on other sites
Advertisement

Asus ROG GL502VM with a GTX 1060
Fix in #1 post works ! I can't make the shortcuts work but I'm ok this way

Share this post


Link to post
Share on other sites

Hi, first time hackintosh here, I have been trying to tackle this problem since a week or so now. So far I have patched DSDT and SSDT and get the Display recognized as internal, no brightness slider still. The display shows up as AppleBacklightDisplay in IOREG but that's about all I have been able to achieve. I tried mainly two approaches, the one that @jacie950 was given by @onejay09, and the other by @mail_hxm (which resulted in black screen post boot with a cursor). I have attached the IOREG, zip of Clover, and the resulting zip of problem reporting script. Please let me know if anything else is needed

 

My device is an Omen ce0xx:

CPU- 7700HQ

GPU- GTX 1060 Max-Q (G-Sync so no iGPU)

RAM- 16GB

Storage- 128GB m.2 NVMe + 1TB HDD

debug_8415.zip

ioreg.ioreg

CLOVER.zip

Screen Shot 2019-01-10 at 4.40.52 AM.png

Share this post


Link to post
Share on other sites
On 1/9/2019 at 5:34 AM, gpex said:

Asus ROG GL502VM with a GTX 1060
Fix in #1 post works ! I can't make the shortcuts work but I'm ok this way

hi apex, my computer is a GL503VM with a GTX 1060 how did u manage to solve the problem ? Man U give me a hand ?

Share this post


Link to post
Share on other sites
On 1/10/2019 at 9:42 AM, ryi98 said:

Hi, first time hackintosh here, I have been trying to tackle this problem since a week or so now. So far I have patched DSDT and SSDT and get the Display recognized as internal, no brightness slider still. The display shows up as AppleBacklightDisplay in IOREG but that's about all I have been able to achieve. I tried mainly two approaches, the one that @jacie950 was given by @onejay09, and the other by @mail_hxm (which resulted in black screen post boot with a cursor). I have attached the IOREG, zip of Clover, and the resulting zip of problem reporting script. Please let me know if anything else is needed

 

My device is an Omen ce0xx:

CPU- 7700HQ

GPU- GTX 1060 Max-Q (G-Sync so no iGPU)

RAM- 16GB

Storage- 128GB m.2 NVMe + 1TB HDD

debug_8415.zip

ioreg.ioreg

CLOVER.zip

Screen Shot 2019-01-10 at 4.40.52 AM.png

 I'm having similar problems, blackscreen at boot when following @mail_hxm method, but I think I was close

Please help my, debug files attached

debug_11765.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   1 member

×