Contribute
Register

[Guide] Disabling discrete graphics in dual-GPU laptops

No I didn't. I'm patching DSDT and SSDT-8 right now. I must just remove string with EC0?
Code:
Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0521), Local0)
            And (Local0, 0xCF, Local0)
            //\_SB.PCI0.LPCB.EC0.WRAM (0x0521, Local0)
            //\_SB.PCI0.LPCB.EC0.WRAM (0x0520, 0x95)
            //\_SB.PCI0.LPCB.EC0.WRAM (0x03A4, Zero)
            //\_SB.PCI0.LPCB.EC0.WRAM (0x03A5, Zero)

As written in post #1704, all of that code is EC related and must be removed (and moved to _REG) as a group.
 
Sorry, but I don’t understand that. I dont have much experience in hackintosh cause I’m a novice. Can I ask you for more detailed instructions or corrected files? I would be thankful.

Edit: I edited DSDT and SSDT and now it's booting normally, but nvidia is still present
 

Attachments

  • DSDT.zip
    37.4 KB · Views: 85
Last edited:
Sorry, but I don’t understand that. I dont have much experience in hackintosh cause I’m a novice. Can I ask you for more detailed instructions or corrected files? I would be thankful.

Edit: I edited DSDT and SSDT and now it's booting normally, but nvidia is still present

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
This is my debug.
 

Attachments

  • debug_31688.zip
    2.9 MB · Views: 76
This is my debug.

SSDT-9-OptTabl.aml is correct.
SSDT-8-SgPch.aml:
- no need to modify SGON
_INI is:
Code:
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP05.PEGP._ADR)
        }

Should be:
Code:
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP05.PEGP._ADR)
            External(\_SB.PCI0.RP05.PEGP._OFF, MethodObj)
            _OFF()
        }

DSDT, EC0._REG is:
Code:
            Method (_REG, 2, NotSerialized)  // _REG: Region Availability
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, ECFL)
                }

                If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One)))
                {
                    SPIN (0x96, Zero)
                    WRAM (0x0520, 0x97)
                    WRAM (0x052B, 0x9E)
                    WRAM (0x0520, 0x95)
                    WRAM (0x03A4, Zero)
                    WRAM (0x03A5, Zero)
                }
            }

Should be:
Code:
            Method (_REG, 2, NotSerialized)  // _REG: Region Availability
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, ECFL)
                }

                If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One)))
                {
                    SPIN (0x96, Zero)
                    Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0521), Local0)
                    And (Local0, 0xCF, Local0)
                    \_SB.PCI0.LPCB.EC0.WRAM (0x0521, Local0)
                    \_SB.PCI0.LPCB.EC0.WRAM (0x0520, 0x95)
                    \_SB.PCI0.LPCB.EC0.WRAM (0x03A4, Zero)
                    \_SB.PCI0.LPCB.EC0.WRAM (0x03A5, Zero)
                }
            }
 
Now Nvidia is not present, thank you :D. But sleep doesn't work. Screen just turns off and nothing happens.
 

Attachments

  • debug_5748.zip
    2.4 MB · Views: 80
Now Nvidia is not present, thank you :D. But sleep doesn't work. Screen just turns off and nothing happens.

Sleep is off-topic. Open a separate thread.

Your DSDT is not patched correctly (for example, you applied the PNOT patch, which is not correct... at that point, I stopped looking for mistakes, as it is a major one).
 
I have an Asus N551JB, that's not willing to cooperate since High Sierra. Getting the window server service.....
I tried patching my DSDT but i'm not entirely sure what i'm missing. I did get it to boot on el capitan and with some universal patch before. Would love a push in the right direction.
 

Attachments

  • clover.zip
    1.2 MB · Views: 78
I have an Asus N551JB, that's not willing to cooperate since High Sierra. Getting the window server service.....
I tried patching my DSDT but i'm not entirely sure what i'm missing. I did get it to boot on el capitan and with some universal patch before. Would love a push in the right direction.

AutoMerge=true requires the latest RehabMan Clover build.
All of my fixes are not in the sourceforge Clover.
And _OFF is not patched correctly. It has EC related code that needs to be moved to _REG.

Also...
"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Thanks for the help, I'm able to boot to the installer now, it ended up being me forgetting to save ssdt-8 as an aml file and having to use your clover fork.
I couldn't really use your tool because I wasn't even able to boot to the installer.
 
Back
Top