Contribute
Register

[Guide] Disabling discrete graphics in dual-GPU laptops

I'm trying to disable my gt610m on my lenovo g580 with el capitan, i searched for _INI and it is only in SSDT-6.dsl, so when i try to call from INI to OFF it gave me this error:
Schermata 2016-03-25 alle 12.00.39.pngSchermata 2016-03-25 alle 12.00.46.png
What I need to do? @RehabMan
Thank you!
 
Delete all files from EFI/Clover/ACPI/origin. Re-do the extract with Clover F4.


I did exactly what you said ... the result is in attached origin.zip

However, when I ran patchmatic I noticed the following:

- in extract: only DSDT, SSDT, SSDT1 SSDT2, SSDT3 & SSDT4 are loaded by patchmatic
- in CLOVER/ACPI/origin: there is no (SSDT) file extracted while DSDT, and all SSDT files (0-8) are extracted by CLOVER F4 method

- I noticed also in CLOVER/ACPI/origin, some SSDT files has (x) as part of the file name
example: SSDT-3x.aml, SSDT-4x.aml, SSDT-5x.aml & SSDT-x6.aml
does that have any significance ?!!!


 

Attachments

  • origin.zip
    59.1 KB · Views: 80
  • extract.zip
    53.3 KB · Views: 79
I did exactly what you said ... the result is in attached origin.zip

_OFF is in DSDT.

There is no corresponding _INI, so just add one under _OFF:
Code:
Method (_INI) { _OFF() }

Your EC is named IEC. If you look at _OFF you will see EC related code (the call to SPIN)... That code will need to be moved to _REG as described in the guide.

However, when I ran patchmatic I noticed the following:

- in extract: only DSDT, SSDT, SSDT1 SSDT2, SSDT3 & SSDT4 are loaded by patchmatic
- in CLOVER/ACPI/origin: there is no (SSDT) file extracted while DSDT, and all SSDT files (0-8) are extracted by CLOVER F4 method

You should not expect the same files from patchmatic -extract as Clover F4.

- I noticed also in CLOVER/ACPI/origin, some SSDT files has (x) as part of the file name
example: SSDT-3x.aml, SSDT-4x.aml, SSDT-5x.aml & SSDT-x6.aml
does that have any significance ?!!!

Your question regarding dynamic SSDTs is answered in the guide: http://www.tonymacx86.com/el-capitan-laptop-support/152573-guide-patching-laptop-dsdt-ssdts.html
 
I'm trying to disable my gt610m on my lenovo g580 with el capitan, i searched for _INI and it is only in SSDT-6.dsl, so when i try to call from INI to OFF it gave me this error:
View attachment 182485View attachment 182486
What I need to do? @RehabMan
Thank you!

No idea.

You did not provide your native ACPI files. Post files from ACPI/origin (Clover F4 extract).
 
my disassembly log after fresh CLOVER F4 extraction has error:ACPI Error:

"[MPPC] Namespace lookup failure, AE_ALREADY_EXISTS (20141107/dswload-451)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20141107/psobject-305)
Could not parse external ACPI tables, AE_ALREADY_EXISTS"
 

Attachments

  • disassebly log.txt
    6.1 KB · Views: 141
my disassembly log after fresh CLOVER F4 extraction has error:ACPI Error:

"[MPPC] Namespace lookup failure, AE_ALREADY_EXISTS (20141107/dswload-451)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20141107/psobject-305)
Could not parse external ACPI tables, AE_ALREADY_EXISTS"

You forgot to remove duplicate SSDTs. Use 'ls -l *.aml' to find files with the same size. It will usually be the first dynamic SSDT. Remove it and then try disassembly again.

It is in the guide...
 
No idea.

You did not provide your native ACPI files. Post files from ACPI/origin (Clover F4 extract).

I just patched SSDT-1 with:

into_all all code_regex Package\s+\(0x06\)\n.*\{\n(.*0x80000000.*\n){6}.*\} removeall_matched;

and SSDT-6 with:


into_all method label MXMX remove_entry;

and applied to DSDT and SSDT-6 GFX0 to IGPU and Brightness fix for HD3000/4000

and deleted from the folder where i have all my ssdt.dsl the dynamic file like ssdt3x,4x,5x

however my extract:
View attachment DSDT&SSDT.zip
 

Attachments

  • origin.zip
    27.8 KB · Views: 62
I just patched SSDT-1 with:

into_all all code_regex Package\s+\(0x06\)\n.*\{\n(.*0x80000000.*\n){6}.*\} removeall_matched;

and SSDT-6 with:


into_all method label MXMX remove_entry;

and applied to DSDT and SSDT-6 GFX0 to IGPU and Brightness fix for HD3000/4000

and deleted from the folder where i have all my ssdt.dsl the dynamic file like ssdt3x,4x,5x

however my extract:
View attachment 182511

I disassembled (per guide) with: iasl -da -dl -fe refs.txt *.aml

Applied "Remove _PSS placeholders" to SSDT-1.dsl
Applied "Fix/Cleanup Errors (SSDT)" to SSDT-6.dsl (comment or remove the Arg0 patch within).

No errors in the result.
 
I disassembled (per guide) with: iasl -da -dl -fe refs.txt *.aml

Applied "Remove _PSS placeholders" to SSDT-1.dsl
Applied "Fix/Cleanup Errors (SSDT)" to SSDT-6.dsl (comment or remove the Arg0 patch within).

No errors in the result.

I did as you write, and got 0 error, tried to change from _INI to _OFF and the compiler windows won't show up, so i rewrote _INI and at the and i wrote _OFF (), but when i reboot i still see nvidia card. What I'm doing wrong? That's the only one _INI that i have in SSDT6.
screen1.pngscreen2.png
 
I did as you write, and got 0 error, tried to change from _INI to _OFF and the compiler windows won't show up, so i rewrote _INI and at the and i wrote _OFF (), but when i reboot i still see nvidia card. What I'm doing wrong? That's the only one _INI that i have in SSDT6.
View attachment 182523View attachment 182524

Read post #1, "Problem Reporting".
 
Back
Top