Contribute
Register

[Guide] Disabling discrete graphics in dual-GPU laptops

Joined
Nov 18, 2018
Messages
46
Motherboard
ASUS K46CM Laptop - Clover UEFI
CPU
i7 3517U
Graphics
GT 635M/ IHD 4000 1366 x 768
Mobile Phone
  1. Android
Hey, I tried to follow RehabMan's guide, but it seems that there is no "_INI" method in my SSDT, can someone please help...thx in advance...

Laptop :
- ASUS K46CM
- Intel Core i7 3517U + IHD 4000
- Nvidia GT635M
 

Attachments

  • DSDT&SSDT.zip
    80.7 KB · Views: 77
Joined
Nov 10, 2015
Messages
106
Motherboard
Clevo 970EF Defiance VI - OpenCore
CPU
i7-8750H/HM370
Graphics
UHD630, RTX 2070, 1920x1080
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 128K
  2. iMac
  3. PowerBook
Mobile Phone
  1. iOS
@RizkiAA
Your DGPU _OFF method is: \_SB.PCI0.PEG0.PEGP._OFF()
It is in the DSDT file.

You may need the following SSDT in clover ACPI/patched folder:
Code:
DefinitionBlock ("", "SSDT", 2, "hack", "DGPU_OFF", 0x00000000)
{
    External (_SB_.PCI0.PEG0.PEGP._OFF, MethodObj)    // 0 Arguments (from opcode)

    Device (_SB.FJHK)
    {
        Name (_HID, EisaId ("PNP0C02"))  // _HID: Hardware ID
        Name (_CID, "DGPUOFF")  // _CID: Compatible ID
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            If (CondRefOf (\_SB.PCI0.PEG0.PEGP._OFF))
            {
                \_SB.PCI0.PEG0.PEGP._OFF ()
            }
        }
    }
}


Follow the below guide if you need to add/patch your DSDT/SSDT
 
Joined
Nov 18, 2018
Messages
46
Motherboard
ASUS K46CM Laptop - Clover UEFI
CPU
i7 3517U
Graphics
GT 635M/ IHD 4000 1366 x 768
Mobile Phone
  1. Android
@FreeJHack
@RizkiAA
Your DGPU _OFF method is: \_SB.PCI0.PEG0.PEGP._OFF()
It is in the DSDT file.

You may need the following SSDT in clover ACPI/patched folder:
Code:
DefinitionBlock ("", "SSDT", 2, "hack", "DGPU_OFF", 0x00000000)
{
    External (_SB_.PCI0.PEG0.PEGP._OFF, MethodObj)    // 0 Arguments (from opcode)

    Device (_SB.FJHK)
    {
        Name (_HID, EisaId ("PNP0C02"))  // _HID: Hardware ID
        Name (_CID, "DGPUOFF")  // _CID: Compatible ID
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            If (CondRefOf (\_SB.PCI0.PEG0.PEGP._OFF))
            {
                \_SB.PCI0.PEG0.PEGP._OFF ()
            }
        }
    }
}


Follow the below guide if you need to add/patch your DSDT/SSDT


Should I add a new SSDT? Or patch an SSDT? in what SSDT should i patch? Or if i add a new SSDT what name should i give?
 
Joined
Nov 10, 2015
Messages
106
Motherboard
Clevo 970EF Defiance VI - OpenCore
CPU
i7-8750H/HM370
Graphics
UHD630, RTX 2070, 1920x1080
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 128K
  2. iMac
  3. PowerBook
Mobile Phone
  1. iOS

Attachments

  • SSDT-DGPU.aml
    160 bytes · Views: 101
Joined
Nov 18, 2018
Messages
46
Motherboard
ASUS K46CM Laptop - Clover UEFI
CPU
i7 3517U
Graphics
GT 635M/ IHD 4000 1366 x 768
Mobile Phone
  1. Android
Yes...

Put the attached file in clover /ACPI/patched folder
OK, just returned hackintoshing atm, after a bit of school work:mrgreen:

I just pasted the SSDT that @Feartech gave me to the ACPI/Patched folder, and nothing else...........!
in my EFI folder and it worked like charm......:clap::clap:

This is the result :

Before :
IMG_20200514_070651[1].jpg




After :

IMG_20200514_071237[1].jpg


am I doing it the correct way @Feartech . wow... I never expect it was as easy as this....

Btw, thank you @Feartech for giving me the SSDT file, You're a hero:thumbup:
Now, i can focus on to making my HDMI working...., in another thread
 
Joined
Mar 20, 2019
Messages
2
Motherboard
Acer E5 573
CPU
i5-5200U
Graphics
HD 5500
Hello,

Im currently using the SSDT attached to this post.

What happens is, when i power on my laptop it works, and my nvidia card is succesfully disabled. But if i restart the card comes back on.

Only when i shutdown my laptop and power back on that the SSDT works again.

Can anyone help me to fix this please?
 

Attachments

  • DSDT + SSDT.zip
    44.7 KB · Views: 87
Joined
Nov 10, 2015
Messages
106
Motherboard
Clevo 970EF Defiance VI - OpenCore
CPU
i7-8750H/HM370
Graphics
UHD630, RTX 2070, 1920x1080
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 128K
  2. iMac
  3. PowerBook
Mobile Phone
  1. iOS
Im currently using the SSDT attached to this post.
Not enough for helping you...
Post PR file as per below guide
 
Joined
Apr 25, 2019
Messages
22
Motherboard
HP 8259
CPU
i7-7700HQ
Graphics
HD 630 + GTX 1050
Mobile Phone
  1. Android
One question, I'm updating from High Sierra to Catalina, all is ok, audio, battery, brightness keys, all are working fine, but
how can I disable the discrete graphic if when search using grep on terminal didn't find nothing?

I tried:
Code:
grep -l Method.*_INI *.dsl
grep -l Method.*_OFF *.dsl
And nothing found.
 
Joined
Jul 4, 2020
Messages
16
Motherboard
ASUSTek X556UV (U3E1)
CPU
i5-6200U
Graphics
Intel HD Graphic 520
Mobile Phone
  1. iOS
I can't eliminate errors when compiling. help me to fix.. battery percentage, blacklight and turn off discrete graphic... plz
 

Attachments

  • origin.zip
    199.7 KB · Views: 9
  • CLOVER.zip
    3.9 MB · Views: 12
Top