Contribute
Register

[Guide] Disabling discrete graphics in dual-GPU laptops

Joined
Jun 16, 2015
Messages
11
Motherboard
Laptop > Need laptop model name > See Forum Rules!
CPU
i5-4210U
Graphics
HD 4400 + GT 840m
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Sorry, but I don’t understand that. I dont have much experience in hackintosh cause I’m a novice. Can I ask you for more detailed instructions or corrected files? I would be thankful.

Edit: I edited DSDT and SSDT and now it's booting normally, but nvidia is still present
 

Attachments

  • DSDT.zip
    37.4 KB · Views: 73
Last edited:

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,519
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Sorry, but I don’t understand that. I dont have much experience in hackintosh cause I’m a novice. Can I ask you for more detailed instructions or corrected files? I would be thankful.

Edit: I edited DSDT and SSDT and now it's booting normally, but nvidia is still present

"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 tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Joined
Jun 16, 2015
Messages
11
Motherboard
Laptop > Need laptop model name > See Forum Rules!
CPU
i5-4210U
Graphics
HD 4400 + GT 840m
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
This is my debug.
 

Attachments

  • debug_31688.zip
    2.9 MB · Views: 61

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,519
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
This is my debug.

SSDT-9-OptTabl.aml is correct.
SSDT-8-SgPch.aml:
- no need to modify SGON
_INI is:
Code:
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP05.PEGP._ADR)
        }

Should be:
Code:
        Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP05.PEGP._ADR)
            External(\_SB.PCI0.RP05.PEGP._OFF, MethodObj)
            _OFF()
        }

DSDT, EC0._REG is:
Code:
            Method (_REG, 2, NotSerialized)  // _REG: Region Availability
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, ECFL)
                }

                If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One)))
                {
                    SPIN (0x96, Zero)
                    WRAM (0x0520, 0x97)
                    WRAM (0x052B, 0x9E)
                    WRAM (0x0520, 0x95)
                    WRAM (0x03A4, Zero)
                    WRAM (0x03A5, Zero)
                }
            }

Should be:
Code:
            Method (_REG, 2, NotSerialized)  // _REG: Region Availability
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, ECFL)
                }

                If (LAnd (LEqual (Arg0, 0x03), LEqual (Arg1, One)))
                {
                    SPIN (0x96, Zero)
                    Store (\_SB.PCI0.LPCB.EC0.RRAM (0x0521), Local0)
                    And (Local0, 0xCF, Local0)
                    \_SB.PCI0.LPCB.EC0.WRAM (0x0521, Local0)
                    \_SB.PCI0.LPCB.EC0.WRAM (0x0520, 0x95)
                    \_SB.PCI0.LPCB.EC0.WRAM (0x03A4, Zero)
                    \_SB.PCI0.LPCB.EC0.WRAM (0x03A5, Zero)
                }
            }
 
Joined
Jun 16, 2015
Messages
11
Motherboard
Laptop > Need laptop model name > See Forum Rules!
CPU
i5-4210U
Graphics
HD 4400 + GT 840m
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Now Nvidia is not present, thank you :D. But sleep doesn't work. Screen just turns off and nothing happens.
 

Attachments

  • debug_5748.zip
    2.4 MB · Views: 63

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,519
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Now Nvidia is not present, thank you :D. But sleep doesn't work. Screen just turns off and nothing happens.

Sleep is off-topic. Open a separate thread.

Your DSDT is not patched correctly (for example, you applied the PNOT patch, which is not correct... at that point, I stopped looking for mistakes, as it is a major one).
 
Joined
Oct 14, 2012
Messages
7
Motherboard
Asus N551JB-CN021H
CPU
I7-4720HQ
Graphics
Intel HD 4600
Classic Mac
  1. iMac
Mobile Phone
  1. Android
I have an Asus N551JB, that's not willing to cooperate since High Sierra. Getting the window server service.....
I tried patching my DSDT but i'm not entirely sure what i'm missing. I did get it to boot on el capitan and with some universal patch before. Would love a push in the right direction.
 

Attachments

  • clover.zip
    1.2 MB · Views: 65

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,519
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I have an Asus N551JB, that's not willing to cooperate since High Sierra. Getting the window server service.....
I tried patching my DSDT but i'm not entirely sure what i'm missing. I did get it to boot on el capitan and with some universal patch before. Would love a push in the right direction.

AutoMerge=true requires the latest RehabMan Clover build.
All of my fixes are not in the sourceforge Clover.
And _OFF is not patched correctly. It has EC related code that needs to be moved to _REG.

Also...
"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 tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Joined
Oct 14, 2012
Messages
7
Motherboard
Asus N551JB-CN021H
CPU
I7-4720HQ
Graphics
Intel HD 4600
Classic Mac
  1. iMac
Mobile Phone
  1. Android
Thanks for the help, I'm able to boot to the installer now, it ended up being me forgetting to save ssdt-8 as an aml file and having to use your clover fork.
I couldn't really use your tool because I wasn't even able to boot to the installer.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,519
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Top