Contribute
Register
Status
Not open for further replies.
@MidGQ Here are the files.

Test as i said on previous posts.
Also disable the 3 AddProperties Patches for nvidia or remove them.

Report back with Results.
 

Attachments

  • Test.zip
    9.7 KB · Views: 73
@RehabMan i have 1 quick question about disabling DiscreteGPU.
Thinkpads laptops usually need the PCI0.VID to PCI0.IGPU two patches that are prebuilt on your config(s).plist files.
So my question is:
1.Does the Discrete GPU get renamed to IGPU with these patches as well, which in that case the disable patch should be:
Code:
// For disabling the discrete GPU

DefinitionBlock("", "SSDT", 2, "T440P", "D-DGPU", 0)
{
    External(_SB.PCI0.PEG.IGPU._OFF, MethodObj)

    Device(RMD1)
    {
        Name(_HID, "RMD10000")
        Method(_INI)
        {
            // disable discrete graphics (Nvidia/Radeon) if it is present
            If (CondRefOf(\_SB.PCI0.PEG.IGPU._OFF)) { \_SB.PCI0.PEG.IGPU._OFF() }
        }
    }
}
//EOF
2. or the discrete GPU holds the same name as before (VID) and only the intel Graphics gets renamed to IGPU which in that case the patch should stay with (VID) name:
Code:
// For disabling the discrete GPU

DefinitionBlock("", "SSDT", 2, "T440P", "D-DGPU", 0)
{
    External(_SB.PCI0.PEG.VID._OFF, MethodObj)

    Device(RMD1)
    {
        Name(_HID, "RMD10000")
        Method(_INI)
        {
            // disable discrete graphics (Nvidia/Radeon) if it is present
            If (CondRefOf(\_SB.PCI0.PEG.VID._OFF)) { \_SB.PCI0.PEG.VID._OFF() }
        }
    }
}
//EOF

The discrete GPU does not get renamed, as the patches should only rename _SB.PCI0.VID, not _SB.PCI0.PEG.VID.
You can verify by looking at your patchmatic -extract output.
 
@MidGQ Here are the files.

Test as i said on previous posts.
Also disable the 3 AddProperties Patches for nvidia or remove them.

Report back with Results.
Bad results.
Neither one can boot successfully. It shows that as usual.
GGNLpSPu_o.jpg

Ld6f3BCt_o.jpg


As for now, it won't boot without 3 AddProperties Patches & inject ON. If I remove them, it will come to IOConsoleUsers error.
 

Attachments

  • problem-reporting-20171230.zip
    2.2 MB · Views: 75
Uploaded before.
The changes are what Sniki told me to do. It's unbootable. So I can't add new problem reporting.

The files you attached include ioreg, which implies you can boot.
But you imply you cannot boot with your reply here.
Which is it?

The FAQ is very specific regarding the files required when you can't boot.
 
The files you attached include ioreg, which implies you can boot.
But you imply you cannot boot with your reply here.
Which is it?

The FAQ is very specific regarding the files required when you can't boot.
Sniki asked me to test new .aml files in #302. So the differences are only the new .aml file and 3 remved AddProperties Patches & inject ON in config.plist. Should I repack the EFI again?
 
Sniki asked me to test new .aml files in #302. So the differences are only the new .aml file and 3 remved AddProperties Patches & inject ON in config.plist. Should I repack the EFI again?

I cannot guess about what you're really doing.
So you must provide files the represent the problem scenario.
 
@MidGQ Here are the 2 new testing variants for Disabling Discrete GPU:

1. Since i think you are using separate SSDTs instead of SSDT-T440P, simply add this SSDT-DGPU.aml to EFI/Clover/ACPI/Patched and then reboot. (make sure before you reboot to remove the 3 patches from AddProperties and InjectNvidia=false.)
Check if discreteGPU is disabled, if yes then try putting laptop to sleep, let it sleep for a minute and try to wake, see if laptop wakes normally or if screen stays black, then try variant nr2.

2. If you have problems waking the laptop from sleep then try this variant.
Add to EFI/Clover/ACPI/Patched these two SSDTs: SSDT-BAT.aml & SSDT-PTS.aml
Again remove the three AddProperties Nvidia Patches and Set InjectNvidia=false. Reboot,
Test if everything works correctly.

If you still have issues, attach problem reporting with the files represting the problem.
 

Attachments

  • V1.zip
    850 bytes · Views: 89
  • V2.zip
    3.2 KB · Views: 74
@MidGQ Here are the 2 new testing variants for Disabling Discrete GPU:

1. Since i think you are using separate SSDTs instead of SSDT-T440P, simply add this SSDT-DGPU.aml to EFI/Clover/ACPI/Patched and then reboot. (make sure before you reboot to remove the 3 patches from AddProperties and InjectNvidia=false.)
Check if discreteGPU is disabled, if yes then try putting laptop to sleep, let it sleep for a minute and try to wake, see if laptop wakes normally or if screen stays black, then try variant nr2.

2. If you have problems waking the laptop from sleep then try this variant.
Add to EFI/Clover/ACPI/Patched these two SSDTs: SSDT-BAT.aml & SSDT-PTS.aml
Again remove the three AddProperties Nvidia Patches and Set InjectNvidia=false. Reboot,
Test if everything works correctly.

If you still have issues, attach problem reporting with the files represting the problem.
Hello Sniki! Thanks for your work.
Unfortunately, there is still error.
It can't boot with graphics glitches. Both v1 and v2 meet same problem.
Problem reporting files and boot verbose video(not clear) are attached.
(If you can't boot, a bare minimum is:
- Boot verbose, attach photo
- Attach EFI/Clover folder as ZIP (press F2 then F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.)
Note: I disabled EH1&EH2 in BIOS so I remove the .AML.
 

Attachments

  • CLOVER.zip
    1.6 MB · Views: 97
  • IMG_20180107_100519.jpg
    IMG_20180107_100519.jpg
    5.1 MB · Views: 160
  • VID_20180107_101910.mp4.zip
    39.4 MB · Views: 166
Last edited:
Status
Not open for further replies.
Back
Top