Contribute
Register

[Guide] Disabling discrete graphics in dual-GPU laptops

How is it off-topic? It's a request for simple files regarding to dGPU disabling (which is on topic)...

Only questions relating to those following the guide in post #1 are on-topic.
I will remove these off-topic posts shortly.
 
Is it normal for System Report to show NVIDIA Chip Model even after patching DSDT?
I have followed your instructions and found out _INI and _OFF methods for the Optimus GPU only exists in SSDT-6
It does not access to EC so I did not patch to _REG, in fact I can't do that.
I have it in EFI/Clover/ACPI/patched
It shall work right?
 
Last edited by a moderator:
Hi!!
I've followed the guide and
applied grep -l Method.*_INI *.dsl
which showed

DSDT.dsl
SSDT-2.dsl
SSDT-7.dsl

However I can't find similar code as showed in the guide

Method (_INI, 0, NotSerialized) // _INI: Initialize
{
Store (Zero, \_SB.PCI0.RP05.PEGP._ADR)
}
 

Attachments

  • RehabMan.zip
    143.3 KB · Views: 83
Hi!!
I've followed the guide and
applied grep -l Method.*_INI *.dsl
which showed

DSDT.dsl
SSDT-2.dsl
SSDT-7.dsl

However I can't find similar code as showed in the guide

Method (_INI, 0, NotSerialized) // _INI: Initialize
{
Store (Zero, \_SB.PCI0.RP05.PEGP._ADR)
}

That's because it doesn't exist...
Just add an _INI method in SSDT-7 before _OFF:
Code:
        Method(_INI) { _OFF() }
        Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
/// existing code for _OFF
        }
 
That's because it doesn't exist...
Just add an _INI method in SSDT-7 before _OFF:
Code:
        Method(_INI) { _OFF() }
        Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
/// existing code for _OFF
        }

Thanks for your reply. I've add
Code:
Method(_INI) { _OFF() }
Then, am I supposed to edit SSDT-7 this way which deleted this three lines

Store (\_SB.PCI0.LPCB.EC.AIRP, Local0)
And (Local0, 0x7F, Local0)
Store (Local0, \_SB.PCI0.LPCB.EC.AIRP)

Code:
 Method (_INI) { _OFF() }
        Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            Store (0x8E, P80H)

            If (LEqual (CTXT, Zero))
            {
                If (LNotEqual (GPRF, One))
                {
                    Store (VGAR, VGAB)
                }

                Store (One, CTXT)
            }
 
Then, am I supposed to edit SSDT-7 this way which deleted this three lines

Store (\_SB.PCI0.LPCB.EC.AIRP, Local0)
And (Local0, 0x7F, Local0)
Store (Local0, \_SB.PCI0.LPCB.EC.AIRP)

Code:
 Method (_INI) { _OFF() }
        Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            Store (0x8E, P80H)

            If (LEqual (CTXT, Zero))
            {
                If (LNotEqual (GPRF, One))
                {
                    Store (VGAR, VGAB)
                }

                Store (One, CTXT)
            }

Yes... it is likely any access to EC fields will fail (and cause abort).
As per guide, must move such code to _REG.
 
I tried the patches on both SSDT and DSDT from your repo to disable Nvidia. I have attached the patched SSDT and DSDT.

But it didn't got disabled.
extraysdeMacBook-Pro:~ x86$ kextstat|grep -y acpiplat

13 2 0xffffff7f82cdc000 0x66000 0x66000 com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

extraysdeMacBook-Pro:~ x86$ kextstat|grep -y appleintelcpu
 

Attachments

  • origin 2.zip
    105.3 KB · Views: 83
extraysdeMacBook-Pro:~ x86$ kextstat|grep -y acpiplat

13 2 0xffffff7f82cdc000 0x66000 0x66000 com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

extraysdeMacBook-Pro:~ x86$ kextstat|grep -y appleintelcpu

If you're trying to report a problem, problem report must include details and all "Problem Reporting" files as per post #1.
Also, not sure why you're posting here... your profile does not indicate dual-GPU.
If your profile is inaccurate, please fix before your next reply as per FAQ.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 
If you're trying to report a problem, problem report must include details and all "Problem Reporting" files as per post #1.
Also, not sure why you're posting here... your profile does not indicate dual-GPU.
If your profile is inaccurate, please fix before your next reply as per FAQ.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
I'm very sorry, because English is very good, thanks to Google translation, you need tutorials are executed in the case of uncertain meaning.. so not sure how to report problems in IASL -da -dl to... Contains 3 *x.aml files with the implementation? CPU containing SSDT is discarded or retained. In addition SortedOrder configuration node now? Is it effective? Please thank God!
 
Back
Top