Contribute
Register

[Guide] Disabling discrete graphics in dual-GPU laptops

Joined
Oct 15, 2016
Messages
69
Motherboard
80TK
CPU
i7 6500U
Graphics
HD520
Mobile Phone
  1. Android
Hi, @RehabMan
How do you check if the patch works if you use ssdt-discretespoof.aml for your ACPI/patched?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi, @RehabMan
How do you check if the patch works if you use ssdt-discretespoof.aml for your ACPI/patched?

You can't.
Must remove SSDT-DiscreteSpoof.aml in order to see if the patch is working.
 
Joined
Oct 15, 2016
Messages
69
Motherboard
80TK
CPU
i7 6500U
Graphics
HD520
Mobile Phone
  1. Android
You can't.
Must remove SSDT-DiscreteSpoof.aml in order to see if the patch is working.

Sorry for replying late.
Do you still need to use SSDT-DiscreteSpoof.aml after getting patched correctly?
 
Joined
Oct 15, 2016
Messages
69
Motherboard
80TK
CPU
i7 6500U
Graphics
HD520
Mobile Phone
  1. Android

I only have _OFF and _INI in SSDT-14.aml, and the thing is I got boot loop when adding your _INI patch to my SSDT. Now I'm trying to find the problem.
Anyway, this _OFF is different compared to your example in 1st post.
Code:
Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            If (LEqual (CCHK (Zero), Zero))
            {
                Return (Zero)
            }

            HGOF ()
            Notify (\_SB.PCI0.RP01, Zero)
            Return (Zero)
        }
How do I modify it? Should I just remove the "Notify (...."?
 

Attachments

  • Archive.zip
    5.8 MB · Views: 32

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I only have _OFF and _INI in SSDT-14.aml, and the thing is I got boot loop when adding your _INI patch to my SSDT. Now I'm trying to find the problem.
Anyway, this _OFF is different compared to your example in 1st post.
Code:
Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            If (LEqual (CCHK (Zero), Zero))
            {
                Return (Zero)
            }

            HGOF ()
            Notify (\_SB.PCI0.RP01, Zero)
            Return (Zero)
        }
How do I modify it? Should I just remove the "Notify (...."?

You cannot replace only SSDT-14.
To patch any SSDT, you must include all of them in ACPI/patched, then DropOem=true, and use SortedOrder to specify SSDT load order.

I have a future build of Clover (source already checked in) that removes this restriction (if config.plist/ACPI/AutoMerge=true), but you would have to build my version of Clover from sources to be able to use that feature.
 
Joined
Oct 15, 2016
Messages
69
Motherboard
80TK
CPU
i7 6500U
Graphics
HD520
Mobile Phone
  1. Android
You cannot replace only SSDT-14.
To patch any SSDT, you must include all of them in ACPI/patched, then DropOem=true, and use SortedOrder to specify SSDT load order.

I have a future build of Clover (source already checked in) that removes this restriction (if config.plist/ACPI/AutoMerge=true), but you would have to build my version of Clover from sources to be able to use that feature.

Do I also need to define SSDT-*x.aml too?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,867
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Still got the boot loop, the boot loop is more like when you don't use SSDT-SpoofDiscrete.aml when booting to high sierra.

As I wrote before, you must use DropOem=true when you have patched SSDTs in ACPI/patched.
You have it set false.
 
Top