Contribute
Register

[Guide] Disabling discrete graphics in dual-GPU laptops

Thank you RehabMan for everything! Graphics card disabled. (Sorted out)
 
I have checked,
Code:
grep -l Method.*_OFF *.dsl
grep -l Method.*_INI *.dsl
grep -l Method.*_ON *.dsl
For all, output is same,
Code:
DSDT.dsl
SSDT-4.dsl
That puts me in both categories mentioned in "Note", and as per my understanding, all I have to do now is use "Call _OFF from _INI (SSDT)" patch from your repo on MaciASL.
Note that this example is complex and not all laptops will have the same configuration. For most, the _INI and _OFF associated with the discrete device are in the same SSDT. In that case it is not necessary to use the External declaration. You can use the "Call _OFF from _INI (SSDT)" patch directly. Some even have it in DSDT (again you can use the patch directly). And not all _OFF methods access the EC, so the movement of the EC related code to _REG is not needed.

It is also possible that the EC related code is more than one line. All such code should be moved to _REG.
However, on DSDT, and SSDT-4, that patch is greyed out.

In DSDT, "Disable from _REG (DSDT)" is apply-able, but I have not applied it yet.

What should I do? also do I need to edit patches from your repo before applying by changing BIOS Device name, as in your patches they are
Code:
into method label _INI parent_label \_SB.PCI0.PEG0.PEGP insert
but in my device they are
Code:
\_SB.PCI0.RP01.PXSX

I tried my best to keep this reply detailed yet small as I could. Thank you for your patience and time Mr. RehabMan!

Edit: Adding those DASL files. Just in case.
 

Attachments

  • patched.zip
    111.5 KB · Views: 86
I have checked,
Code:
grep -l Method.*_OFF *.dsl
grep -l Method.*_INI *.dsl
grep -l Method.*_ON *.dsl
For all, output is same,
Code:
DSDT.dsl
SSDT-4.dsl
That puts me in both categories mentioned in "Note", and as per my understanding, all I have to do now is use "Call _OFF from _INI (SSDT)" patch from your repo on MaciASL.

However, on DSDT, and SSDT-4, that patch is greyed out.

In DSDT, "Disable from _REG (DSDT)" is apply-able, but I have not applied it yet.

What should I do? also do I need to edit patches from your repo before applying by changing BIOS Device name, as in your patches they are
Code:
into method label _INI parent_label \_SB.PCI0.PEG0.PEGP insert
but in my device they are
Code:
\_SB.PCI0.RP01.PXSX

I tried my best to keep this reply detailed yet small as I could. Thank you for your patience and time Mr. RehabMan!

Edit: Adding those DASL files. Just in case.

I had no issue applying the correct patch to SSDT-4.aml as per guide:
Code:
into method label _INI parent_label \_SB.PCI0.RP01.PXSX insert
begin
//added to turn nvidia/radeon off\n
_OFF()\n
end;
 
how do I know if dedicated Nvidia is disabled or not?

You will not see it in System Information->Graphics/Displays.
Also, changes in ioreg (Nvidia device will no longer be on the PCIe bus).
 
Hi. I have successfully disabled the Nvidia optimus card in my laptop, and it no longer shows at System Information > Graphics/Displays. However, the fan is going crazy now, spinning at full speed even the temperature is very low. Can I have any clues please? I am attaching the debug info and the patched ACPI files here. Thank you.
 

Attachments

  • debug_2394.zip
    1.6 MB · Views: 69
  • DSDT_SSDT_Patched.zip
    159.2 KB · Views: 72
Hi. I have successfully disabled the Nvidia optimus card in my laptop, and it no longer shows at System Information > Graphics/Displays. However, the fan is going crazy now, spinning at full speed even the temperature is very low. Can I have any clues please? I am attaching the debug info and the patched ACPI files here. Thank you.

As per guide, try calling _PS3 instead of _OFF.

Note: You still need to patch DSDT (for example, you have no accommodation for _OSI("Darwin"). Requires an "OS Check Fix" patch or at least _OSI->XOSI + SSDT-XOSI.aml.
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
I have Asus x550jx I7-4720 Wıth Nvidia 950 and hd4600 boot wıth clover UEFI. I just could not dısable optımus could you guys please have a look
 

Attachments

  • origin.zip
    50.4 KB · Views: 87
  • patched.zip
    98 KB · Views: 134
  • config.plist
    25.2 KB · Views: 215
Back
Top