Contribute
Register

[Guide] Disabling discrete graphics in dual-GPU laptops

A
You cannot disable the Nvidia device with config.plist (the plist you're referring to is just disabling the drivers).
So there is no solution for this laptop? What should I do?
 
A

So there is no solution for this laptop? What should I do?

You might try WhateverGreen's kernel flag: -wegnoegpu

Or read ACPI spec to better understand PowerResource macros to determine if there is a way to use the _OFF method within.
 
You might try WhateverGreen's kernel flag: -wegnoegpu

Or read ACPI spec to better understand PowerResource macros to determine if there is a way to use the _OFF method within.
Thanks again.. I will try :)
 
Guys, I'm trying to disable nvidia. The only file where is INI and OFF, is SSDT-2-CB-01.dsl. The problem is that I don't have similar methods like in this guide and I don't know now what to do.
 

Attachments

  • terminal.png
    terminal.png
    16.3 KB · Views: 70
  • SSDT-2-CB-01.dsl
    81.5 KB · Views: 81
Guys, I'm trying to disable nvidia. The only file where is INI and OFF, is SSDT-2-CB-01.dsl. The problem is that I don't have similar methods like in this guide and I don't know now what to do.
"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 gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.

Note: _INI and _OFF may be in separate files (as mentioned in post #1). Or _INI at the _OFF path may not exist, at which point you add one. You should really read the guide carefully.

But not possible to tell what you really have as you have omitted too many files from your problem report.
 
"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 gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.

Note: _INI and _OFF may be in separate files (as mentioned in post #1). Or _INI at the _OFF path may not exist, at which point you add one. You should really read the guide carefully.

But not possible to tell what you really have as you have omitted too many files from your problem report.
I don't think other SSDT have good INI and OFF functions for Nvidia graphic.
 

Attachments

  • debug_17197.zip
    2.8 MB · Views: 69
I don't think other SSDT have good INI and OFF functions for Nvidia graphic.

Your Clover bootlog proves your profile is inaccurate. Profile says you have only "HD 5600", but preboot.log shows Nvidia too:
Code:
0:101  0:000  PCI (00|01:00.00) : 10DE 1C8C class=030000

Please fix your profile as per FAQ.

_OFF is at _SB.PCI0.PEG0.PEGP in SSDT-2-CB01
It has EC related code that must be moved to _REG.
There is no associated _INI at that path, so you will need to add one.

All as per post #1. Nothing unexpected here.
 
Hi, first of all thanks for your laptop guide, I managed to install macOS High Sierra on an HP 250 G5 with an i5-6200u in a couple of hours.

Now I'm stuck disabling the radeon card from the .dsl files.

Code:
SImones-iMac:HP simone$ grep -l Method.*_OFF *.dsl
SSDT-12-INSYDE.dsl
SSDT-8-INSYDE.dsl
SImones-iMac:HP simone$ grep -l Method.*_INI *.dsl
DSDT.dsl
SSDT-12-INSYDE.dsl
SSDT-3-INSYDE.dsl

The only SSDT that matches both INI and OFF is the 12:

Code:
 Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
        }

Code:
Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            If (LEqual (CCHK (Zero), Zero))
            {
                Return (Zero)
            }

            HGOF ()
            Notify (\_SB.PCI0.RP01, Zero)
            Return (Zero)
        }

I can't understand what you mean with PowerResource Macro and if my code is inside it and how to disable the GPU if this is the only SSDT that contains both INI and OFF.

Thanks in advance for help.
 
Hi, first of all thanks for your laptop guide, I managed to install macOS High Sierra on an HP 250 G5 with an i5-6200u in a couple of hours.

Now I'm stuck disabling the radeon card from the .dsl files.

Code:
SImones-iMac:HP simone$ grep -l Method.*_OFF *.dsl
SSDT-12-INSYDE.dsl
SSDT-8-INSYDE.dsl
SImones-iMac:HP simone$ grep -l Method.*_INI *.dsl
DSDT.dsl
SSDT-12-INSYDE.dsl
SSDT-3-INSYDE.dsl

The only SSDT that matches both INI and OFF is the 12:

Code:
 Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP01.PXSX._ADR)
        }

Code:
Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            If (LEqual (CCHK (Zero), Zero))
            {
                Return (Zero)
            }

            HGOF ()
            Notify (\_SB.PCI0.RP01, Zero)
            Return (Zero)
        }

I cant understand what you mean with PowerResource Macro and if my code is inside it and how to disable the GPU if this is the only SSDT that contains both INI and OFF

You didn't attach any files. Read post #1, "Problem Reporting"

Also, please fix your profile as per FAQ:
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/

(before your next reply).

The _INI and _OFF look quite typical. But you need to check HGOF to see if it has EC related code (if present, that code must move to _REG). It is all detailed in post #1.
 
Your Clover bootlog proves your profile is inaccurate. Profile says you have only "HD 5600", but preboot.log shows Nvidia too:
Code:
0:101  0:000  PCI (00|01:00.00) : 10DE 1C8C class=030000

Please fix your profile as per FAQ.

_OFF is at _SB.PCI0.PEG0.PEGP in SSDT-2-CB01
It has EC related code that must be moved to _REG.
There is no associated _INI at that path, so you will need to add one.

All as per post #1. Nothing unexpected here.
I'm doing it on Lenovo Legion, not MSI.

After modification my _OFF looks:

Method (_OFF, 0, Serialized) // _OFF: Power Off
{
If (LNotEqual (\_SB.PCI0.PEG0.PEGP.GPRF, One))
{
Store (VREG, VGAB)
}
HGOF ()
Return (Zero)
}

But now I can't compile DSDT with deleted \_SB.PCI0.LPCB.EC0.ECAV part (EC0). I also don't know hot _INI need to look like and where to put it. Right before _OFF function in SSDT-2?
 

Attachments

  • 1.png
    1.png
    297.6 KB · Views: 124
  • debug.zip
    2.8 MB · Views: 99
Back
Top