Contribute
Register

Issue on installing Sierra 12.6 with disabling Nvidia (Optimus graphics type)

Status
Not open for further replies.
Joined
May 31, 2018
Messages
14
Motherboard
Lenovo ThinkPad T470 (Clover)
CPU
Intel Core i7-7600U @ 2.80 GHz
Graphics
Intel HD Graphics 620 and NVIDIA GeForce 940MX, 1920x1080
Mobile Phone
  1. iOS
Hi All,

I'm attaching my EFI in my bootable USB.
I've patched DSTD and both SSDT-7 and SSDT-8 to disable the Nvidia. I also have copied the config.plist from config_HD620 RehabMan. After changing fake cpu id, I start the installation. First Apple logo appeared, but after few minutes, it changed to ban logo and it stuck.

Please advise, what should I do again ?

Best Regards,
Afin
 

Attachments

  • EFI.zip
    4.4 MB · Views: 70
  • thumbnail_IMG_8106.jpg
    thumbnail_IMG_8106.jpg
    168.3 KB · Views: 84
Hi All,

I'm attaching my EFI in my bootable USB.
I've patched DSTD and both SSDT-7 and SSDT-8 to disable the Nvidia. I also have copied the config.plist from config_HD620 RehabMan. After changing fake cpu id, I start the installation. First Apple logo appeared, but after few minutes, it changed to ban logo and it stuck.

Please advise, what should I do again ?

Best Regards,
Afin

"Problem Reporting" files are incomplete (ACPI/origin files not present, misc/preboot.log also missing, you forgot to press F2 and F4).

Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
 

Attachments

  • EFI.zip
    4.5 MB · Views: 63
Verbose boot photo is missing.
Please read the FAQ carefully.

Note: Clover/kexts/Other is missing SATA-100-series-unsupported.kext.

You cannot call _OFF from _REG (it is too late).
Read guide:
https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.232988/
There were no boot line commands. After apple logo loading bar it show banned logo like in my first attachment.

It seems my acpi origin are little bit different with the guidance. When I search _off _ini it didn’t show ssdt-7 and ssdt-8. It showed dsdt and ssdt-11 sghpch. In dsdt file patches are successfully completed. But when I run the patch in ssdt-11 it show syntax error.
 
There were no boot line commands. After apple logo loading bar it show banned logo like in my first attachment.

You must boot verbose.
The option is available after you press spacebar (with boot target selected) in Clover.

It seems my acpi origin are little bit different with the guidance. When I search _off _ini it didn’t show ssdt-7 and ssdt-8. It showed dsdt and ssdt-11 sghpch. In dsdt file patches are successfully completed. But when I run the patch in ssdt-11 it show syntax error.

File names always vary.
If you have an issue applying a certain patch, you must provide details.
It is not possible to guess what you're actually doing.
 
You must boot verbose.
The option is available after you press spacebar (with boot target selected) in Clover.



File names always vary.
If you have an issue applying a certain patch, you must provide details.
It is not possible to guess what you're actually doing.

Hi RehabMan,

I'm attaching the verbose pictures until it showed ban logo.

My DSL patching steps are below.
1. after disassembling using iasl, I ran below patch in DSDT
- Fix PARSEOP_ZERO Error (agressive) --> apply button is disabled. So I didn't do anything with this patch
- Fix ADBG Error --> applied and compiled successfully
- Rename _DSM methods to XDSM --> applied successfully but when I compiled, I got 201 errors. Details are in attachment.
- IRQ Fix --> apply button is disabled. So I didn't do anything with this patch
- SMBUS Fix --> applied and compiled successfully. (I undo the Rename _DSM methods to XDSM patch)
- Add IMEI --> applied and compiled successfully
- RTC Fix --> applied and compiled successfully
- Fix _WAK Arg0 v2 --> applied and compiled successfully
- USB3 _PRW 0x6D --> applied and compiled successfully
- Audio Layout 12 --> applied and compiled successfully
2. then I run
Code:
grep -l Method.*_OFF *.dsl
which shows
Code:
     DSDT.dsl
     SSDT-11-SgPch.dsl
3. then I run
Code:
grep -l Method.*_INI *.dsl
which shows
Code:
     DSDT.dsl
     SSDT-11-SgPch.dsl
4. I open SSDT-11-SgPch.dsl and search _Off method. It shows.
Code:
Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            \_SB.PCI0.HGOF ()
            Return (Zero)       
        }
Then I modified it like the guidance, and it returns error
"393, 6084, Object does not exist (CTXT)"
"395, 6084, Object does not exist (GPRF)"
"397, 6084, Object does not exist (VGAR)"
"397, 6084, Object does not exist (VGAB)"
"403, 6084, Object does not exist (SGOF)"
5. I tried to run the patch for SSDT
- Cleanup / Fix Erros --> applied and compiled successfully
- Disable from _INI --> applied button is disabled.
6. Then I search _INI method in SSDT-11-SgPch.dsl and it shows.
Code:
Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP01.PEGP._ADR)
            Store (0x06, CMDR)
            Store (0x06, CMDS)
            Store (SVID, HVID)
            Store (SDID, HDID)
        }
I tried to change the _INI method with the guidance
Code:
Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP05.PEGP._ADR)
            //added to turn nvidia/radeon off
            External(\_SB.PCI0.RP05.PEGP._OFF, MethodObj)
            _OFF()
        }
but it returns an error "373, 6084, Object does not exist (\_SB.PCI0.RP05.PEGP._ADR)".
7. I go back to DSDT and changed the _REG method to like below
Code:
Method (_REG, 2, NotSerialized)  // _REG: Region Availability
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, \H8DR)
                }
                //added to turn nvidia/radeon off
                If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))
                {
                    \_SB.PCI0.LPCB.EC0.SPIN (0x96, Zero)
                }               
            }
but it returns an error "16007, 6084, Object does not exist (\_SB.PCI0.LPCB.EC0.SPIN)"

Please advise.

Thanks

Best Regards,
Afin
 

Attachments

  • thumbnail_IMG_8350.jpg
    thumbnail_IMG_8350.jpg
    406.6 KB · Views: 68
  • thumbnail_IMG_8353.jpg
    thumbnail_IMG_8353.jpg
    404.3 KB · Views: 65
  • thumbnail_IMG_8354.jpg
    thumbnail_IMG_8354.jpg
    250.9 KB · Views: 73
  • macasiLLog_Rename_DMS_to_XDSM.pdf
    36.9 KB · Views: 136
Last edited:
Hi RehabMan,

I'm attaching the verbose pictures until it showed ban logo.

My DSL patching steps are below.
1. after disassembling using iasl, I ran below patch in DSDT
- Fix PARSEOP_ZERO Error (agressive) --> apply button is disabled. So I didn't do anything with this patch
- Fix ADBG Error --> applied and compiled successfully
- Rename _DSM methods to XDSM --> applied successfully but when I compiled, I got 201 errors. Details are in attachment.
- IRQ Fix --> apply button is disabled. So I didn't do anything with this patch
- SMBUS Fix --> applied and compiled successfully. (I undo the Rename _DSM methods to XDSM patch)
- Add IMEI --> applied and compiled successfully
- RTC Fix --> applied and compiled successfully
- Fix _WAK Arg0 v2 --> applied and compiled successfully
- USB3 _PRW 0x6D --> applied and compiled successfully
- Audio Layout 12 --> applied and compiled successfully
2. then I run
Code:
grep -l Method.*_OFF *.dsl
which shows
Code:
     DSDT.dsl
     SSDT-11-SgPch.dsl
3. then I run
Code:
grep -l Method.*_INI *.dsl
which shows
Code:
     DSDT.dsl
     SSDT-11-SgPch.dsl
4. I open SSDT-11-SgPch.dsl and search _Off method. It shows.
Code:
Method (_OFF, 0, Serialized)  // _OFF: Power Off
        {
            \_SB.PCI0.HGOF ()
            Return (Zero)      
        }
Then I modified it like the guidance, and it returns error
"393, 6084, Object does not exist (CTXT)"
"395, 6084, Object does not exist (GPRF)"
"397, 6084, Object does not exist (VGAR)"
"397, 6084, Object does not exist (VGAB)"
"403, 6084, Object does not exist (SGOF)"
5. I tried to run the patch for SSDT
- Cleanup / Fix Erros --> applied and compiled successfully
- Disable from _INI --> applied button is disabled.
6. Then I search _INI method in SSDT-11-SgPch.dsl and it shows.
Code:
Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP01.PEGP._ADR)
            Store (0x06, CMDR)
            Store (0x06, CMDS)
            Store (SVID, HVID)
            Store (SDID, HDID)
        }
I tried to change the _INI method with the guidance
Code:
Method (_INI, 0, NotSerialized)  // _INI: Initialize
        {
            Store (Zero, \_SB.PCI0.RP05.PEGP._ADR)
            //added to turn nvidia/radeon off
            External(\_SB.PCI0.RP05.PEGP._OFF, MethodObj)
            _OFF()
        }
but it returns an error "373, 6084, Object does not exist (\_SB.PCI0.RP05.PEGP._ADR)".
7. I go back to DSDT and changed the _REG method to like below
Code:
Method (_REG, 2, NotSerialized)  // _REG: Region Availability
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, \H8DR)
                }
                //added to turn nvidia/radeon off
                If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))
                {
                    \_SB.PCI0.LPCB.EC0.SPIN (0x96, Zero)
                }              
            }
but it returns an error "16007, 6084, Object does not exist (\_SB.PCI0.LPCB.EC0.SPIN)"

Please advise.

Thanks

Best Regards,
Afin

No "Problem Reporting" files attached.
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 gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Status
Not open for further replies.
Back
Top