Contribute
Register

[Guide] Disabling discrete graphics in dual-GPU laptops

Joined
Feb 23, 2017
Messages
6
Hi,
I tried to patch DDST,DSDT to disable NVidia 970M on my laptop,I read your guide, but somewhere I make a mistake.
I can't find the '_INI' method in my dsdt or ssdt files. how can I disable it ?
 

Attachments

  • origin.zip
    45.7 KB · Views: 51

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,477
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi,
I tried to patch DDST,DSDT to disable NVidia 970M on my laptop,I read your guide, but somewhere I make a mistake.
I can't find the '_INI' method in my dsdt or ssdt files. how can I disable it ?

There is no _INI.
So just add one to SSDT-7, right before _OFF:
Code:
Method(_INI) { _OFF() }
 
Joined
May 21, 2017
Messages
2
Motherboard
Clevo
CPU
Skylake i7-6700HQ
Graphics
Nvidia GTX950M
Mobile Phone
  1. Android
hi there
i tried your guide but still getting "Window Server Service only ran for 0 seconds" error, i think i did something wrong.
my system details are as follows and i attached my original acpi files i get with clover f4 method.
clevo n550 RC1
Sky lake intel 6700HQ CPU
INTEL HD 530 + Nvidida gForce GTX950M dual gpu
here is system details i get with aida64 if you need detailed information about my hardware : https://paste.ee/p/4NdvR
 

Attachments

  • 8origin.zip
    50.5 KB · Views: 45

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,477
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
hi there
i tried your guide but still getting "Window Server Service only ran for 0 seconds" error, i think i did something wrong.
my system details are as follows and i attached my original acpi files i get with clover f4 method.
clevo n550 RC1
Sky lake intel 6700HQ CPU
INTEL HD 530 + Nvidida gForce GTX950M dual gpu
here is system details i get with aida64 if you need detailed information about my hardware : https://paste.ee/p/4NdvR

"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/]

Also, please fill out your profile as per FAQ.
 
Joined
Dec 26, 2017
Messages
1
laptop install 10.13 ,if i use SSDT-Disable_DGPU.aml will stuck at Attempting system restart...MACH Reboot ,and if i don't use it which will stuck at Service only ran for 0 seconds. Pushing respawn out by 10 second.what should i do?please!
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,477
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
laptop install 10.13 ,if i use SSDT-Disable_DGPU.aml will stuck at Attempting system restart...MACH Reboot ,and if i don't use it which will stuck at Service only ran for 0 seconds. Pushing respawn out by 10 second.what should i do?please!

Off-topic.
Disabling the discrete card is a post install task.
For install, read here:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
https://www.tonymacx86.com/threads/...-only-ran-for-0-seconds-with-dual-gpu.233092/

Open a separate thread if you need help with booting the installer.
 
Joined
Oct 3, 2015
Messages
8
Motherboard
Gigabyte 1150 GA-H97N-WIFI
CPU
Intel 4690k
Graphics
Intel HD Graphics 4600
Hello,
i dissembled my files and i found the methods in
DSDT.dsl SSDT-2-PegSsdt.dsl but i cant find anything like "\_SB.PCI0.RP05.PEGP._ADR" ...
 

Attachments

  • origin.zip
    170.3 KB · Views: 50

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,477
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hello,
i dissembled my files and i found the methods in
DSDT.dsl SSDT-2-PegSsdt.dsl but i cant find anything like "\_SB.PCI0.RP05.PEGP._ADR" ...

You should not expect to find the same code as the example (ACPI code varies by BIOS vendor/model/architecture/etc).

_OFF is in SSDT-8-OptTabl, it calls PGOF in SSDT-2-PegSsdt. Neither has EC references.
There is no _INI at path _SB.PCI0.PEG0.PEGP.
So you just need to add one... A good place is right before _OFF:
Code:
        Method (_INI) { _OFF() }
 
Joined
Oct 3, 2015
Messages
8
Motherboard
Gigabyte 1150 GA-H97N-WIFI
CPU
Intel 4690k
Graphics
Intel HD Graphics 4600
You should not expect to find the same code as the example (ACPI code varies by BIOS vendor/model/architecture/etc).

_OFF is in SSDT-8-OptTabl, it calls PGOF in SSDT-2-PegSsdt. Neither has EC references.
There is no _INI at path _SB.PCI0.PEG0.PEGP.
So you just need to add one... A good place is right before _OFF:
Code:
        Method (_INI) { _OFF() }

Happy new year to all

Hello RehabMan and thank you for your help.
I'm new to DSTD patches so it's a little bit difficult to understand..
I added INI method to SSDT-8-OptTabl and compiled with some warnings

Now i'm trying to patch DSDT.dsl _REG methods but when i compile i get the following errors
Code:
15344,6126 syntax error, unexpected PARSEOP_ZERO
15363, 6126, syntax error, unexpected PARSEOP_ZERO
15380, 6126, syntax error, unexpected PARSEOP_SCOPE, expecting $end and premature End-Of-File

I tried the following patched with no success

Fix PARSEOP_ZERO Error
Fix PARSEOP_ZERO Error (agressive)

Is something wrong with iasl?
 

Attachments

  • Screen Shot 2018-01-01 at 14.18.16.png
    Screen Shot 2018-01-01 at 14.18.16.png
    199.2 KB · Views: 126
  • debug_1797.zip
    2.4 MB · Views: 50
Top