Jump to content
8755 posts in this topic

Recommended Posts

19 minutes ago, olmirror said:

Thanks viorel but I get the same messages in the SSDT-EC I compiled with ssdtTime in windows (attached), it doesn't matter which one I use. Do you know what is causing the error, or what it is pointing to?

 

SSDT-EC.aml

 

SSDT-EC and SSDT-PLUG compiled from OpenCore's repo

 

 

Archive.zip

1 hour ago, viorel said:

check ACPI Patch--Rename EC0 to EC, Rename LPC to LPCB 

Hi viorel, in the ssdt-EC that I have they are already named like that:

 

/*
 * Intel ACPI Component Architecture
 * AML/ASL+ Disassembler version 20180427 (64-bit version)(RM)
 * Copyright (c) 2000 - 2018 Intel Corporation
 *
 * Disassembling to non-symbolic legacy ASL operators
 *
 * Disassembly of iASLlRltqB.aml, Wed May 13 13:46:33 2020
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x0000007D (125)
 *     Revision         0x02
 *     Checksum         0xC0
 *     OEM ID           "ACDT"
 *     OEM Table ID     "SsdtEC"
 *     OEM Revision     0x00001000 (4096)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20180427 (538444839)
 */
DefinitionBlock ("", "SSDT", 2, "ACDT", "SsdtEC", 0x00001000)
{
    External (_SB_.PCI0.LPCB, DeviceObj)    // (from opcode)

    Scope (\_SB.PCI0.LPCB)
    {
        Device (EC)
        {
            Name (_HID, "ACID0001")  // _HID: Hardware ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (_OSI ("Darwin"))
                {
                    Return (0x0F)
                }
                Else
                {
                    Return (Zero)
                }
            }
        }
    }
}

 

5 hours ago, ghost8282 said:

This seems an issue with msr reading, vit9696 pointed me to the right direction to fix it and a workaround should be available (the issue should not be within opencore but more likely with qemu).

 

May I ask what is the latest OVMF version officially supported by opencore? I wasn't able to find it, apart in a bugtracker post stating edk2-stable201905.

Is edk2-stable202002 supported officially?

I am not aware of any official support from OVMF for OpenCore but the MSR issue can be resolved by this adding this https://github.com/Pavo-IM/Proxintosh/blob/master/etc/modprobe.d/kvm.conf

  • Thanks 1
1 hour ago, olmirror said:

Hi viorel, in the ssdt-EC that I have they are already named like that:

 

/*
 * Intel ACPI Component Architecture
 * AML/ASL+ Disassembler version 20180427 (64-bit version)(RM)
 * Copyright (c) 2000 - 2018 Intel Corporation
 *
 * Disassembling to non-symbolic legacy ASL operators
 *
 * Disassembly of iASLlRltqB.aml, Wed May 13 13:46:33 2020
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x0000007D (125)
 *     Revision         0x02
 *     Checksum         0xC0
 *     OEM ID           "ACDT"
 *     OEM Table ID     "SsdtEC"
 *     OEM Revision     0x00001000 (4096)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20180427 (538444839)
 */
DefinitionBlock ("", "SSDT", 2, "ACDT", "SsdtEC", 0x00001000)
{
    External (_SB_.PCI0.LPCB, DeviceObj)    // (from opcode)

    Scope (\_SB.PCI0.LPCB)
    {
        Device (EC)
        {
            Name (_HID, "ACID0001")  // _HID: Hardware ID
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                If (_OSI ("Darwin"))
                {
                    Return (0x0F)
                }
                Else
                {
                    Return (Zero)
                }
            }
        }
    }
}

 

 

I managed to load LPC by renaming it LPC0 but am still getting this in my output. Aaargh, so close... Anybody have any suggestions?

 

619228578_Screenshot2020-05-13at15_44_46.thumb.png.0595663dae3dcd8542fdb2a3f6282309.png

18 minutes ago, viorel said:

no renaming needed, delete all this pacth from config.plist

Thanks, but I'm a bit confused. The ssdt-EC seems to be working so far, lpc and ec0 are loaded in IORegistryExplorer. Now I'm trying to get the ssdt-plug to run its course and enable p-states by setting plugin-type to one. I've tried several versions, this is the cleanest one I have generated with ssdtTime where I changed PR00 for CP00. Could you please tell me what exactly to get rid of in this ssdt. Thanks for your help!

 

/*
 * Intel ACPI Component Architecture
 * AML/ASL+ Disassembler version 20180427 (64-bit version)(RM)
 * Copyright (c) 2000 - 2018 Intel Corporation
 *
 * Disassembling to non-symbolic legacy ASL operators
 *
 * Disassembly of iASLOF9yF3.aml, Wed May 13 16:35:16 2020
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x000000B1 (177)
 *     Revision         0x02
 *     Checksum         0xCC
 *     OEM ID           "CORP"
 *     OEM Table ID     "CpuPlug"
 *     OEM Revision     0x00003000 (12288)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20180427 (538444839)
 */
DefinitionBlock ("", "SSDT", 2, "CORP", "CpuPlug", 0x00003000)
{
    External (_SB_.SCK0.CP00, ProcessorObj)    // (from opcode)

    Scope (\_SB.SCK0.CP00)
    {
        Method (DTGP, 5, NotSerialized)
        {
            If (LEqual (Arg0, ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b")))
            {
                If (LEqual (Arg1, One))
                {
                    If (LEqual (Arg2, Zero))
                    {
                        Store (Buffer (One)
                            {
                                 0x03                                           
                            }, Arg4)
                        Return (One)
                    }

                    If (LEqual (Arg2, One))
                    {
                        Return (One)
                    }
                }
            }

            Store (Buffer (One)
                {
                     0x00                                           
                }, Arg4)
            Return (Zero)
        }

        Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
        {
            Store (Package (0x02)
                {
                    "plugin-type",
                    One
                }, Local0)
            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
            Return (Local0)
        }
    }
}

Edited by olmirror
17 hours ago, shhbz said:

here you go!!!

EFI.zip

 

 

Obviously it would be helpful if you find what you changed to break your system.

 

You have a couple of SSDT's related to USB and sleep.

Why do have SSDT-GPRW.aml and where did you get it from ?

 

Your SSDT-EC-USBX.aml seems modded from the OC sample, why do you need that and not the standard SSDT-EC.dsl ?

 

Also, your description of the problem is not clear when you say the wifi is trying to connect when you put the system to sleep.

How do you know that ?

 

Post your IOREG file.

 

  • Like 1
1 hour ago, MacNB said:

 

 

Obviously it would be helpful if you find what you changed to break your system.

 

You have a couple of SSDT's related to USB and sleep.

Why do have SSDT-GPRW.aml and where did you get it from ?

 

Your SSDT-EC-USBX.aml seems modded from the OC sample, why do you need that and not the standard SSDT-EC.dsl ?

 

Also, your description of the problem is not clear when you say the wifi is trying to connect when you put the system to sleep.

How do you know that ?

 

Post your IOREG file.

 

Sorted all issues , thanks for the heads up 

 

Edited by shhbz

@vit9696 remember that issues I was having with second stage boot showing only the loading bar and nothing else?

 

When you have a bit of time, you can take a look at the video here. :D 

 

So, looks like the issue was the iGPU (+ BIOS).

 

Anyway, this is what worked for me. 

In BIOS:

1. switched IGD to PEG (I initially set it to IGD for testing the iGPU itself). Which...after switching the ig-platform-id, showed similar results as before. So...not really an improvement.

2. Set Multi Monitor ON.

3. set video memory to 256MB (probably 64MB or 128MB would have been enough)

 

In config (and I haven't tested it with Clover, but I think it's gonna work, as well):

Set Device Properties, PCIRoot(0x0)Pci(0x2,0x0) - AAPL,ig-platform-id to default for Haswell IGPU: 0300220D with reversed bites (or 0x0D220003 without). Before, I was using a "headless" connectivity with ID 04001204 (or 0x04120004). Which helps with compute, but doesn't do anything for the FV issue.

 

I think I need to try a few other IDs because the default one, while it fixes the issue with second stage boot on FV, it also makes apps like iMovie and FCPX crash when opening.

 

So...either that ig-platform-id is not quite ok for all purposes, oor...there's something else I need to add to device properties to make it work for both.

 

Anyway, I just thought I'd share the result with you. :) 

 

 

Edited by arsradu
2 hours ago, viorel said:

Thanks!! I had to fiddle around with some settings in order to boot. It's getting late on this side of the pond so I'll let you know how it went tomorrow. Again, thanks for your time, effort and patience.

Edited by olmirror
On 5/11/2020 at 10:30 PM, hardcorehenry said:

Without rename this SSDT won’t load. Check log with Hackintool>logs>System if it applied correctly.

 

zpts.png.f592e52697583ac7d6631bfa6cde630e.png

 

Fix_Shutdown.zip

Thanks for your advice.

In order to check this kernel logs how can I get it as shown here ?

15 hours ago, MacNB said:
 
Cool.
What was the solution so that others may learn in case they have similar issues.
After all, that's why we are here ....to share good knowledge 


Well for my system Catalina turned out to be disaster even after patches applied lot of bugs were there, went back with to Mojave and all the patches i executed worked perfect.
Need to test further will report 

 

Update: all my ACPI patch was fine nothing fancy there, it just Catalina issue and getting rid of Disabling real EC in ACPI patch as it was not needed.

Edited by shhbz
4 hours ago, hardcorehenry said:

pic.thumb.png.e84bc9a01d3519161f6a0d3f9862b62c.png

Thanks for your prompt reply and help which worked for me !

[Edit]

In my Legacy booting OpenCore 0.5.7 & 0.5.8 hackintoshs (Asus P6TSE & P5Q PRO) I have to enabled their patched DSDT.aml plus these _PTS->ZPTS patch & SSDT-ZPTS.aml, otherwise I can not get true power off of CPU, monitor, & HDDs.

Edited by jsl2000
  • Like 1

 

15 hours ago, viorel said:

Allright, I did manage to reduce the acpi errors with your files, even though I had to make some adjustments, renaming lpcb to lpc0 and I disabled ssdt-awac as it produced acpi erors. I also had to make some adjustments to the config file that you provided as my system won't boot with DevirtualizeMmio enabled, I enabled and disabled AppleCpuPmCfgLock and AppleXcpmCfgLock but it doesn't make a difference and I enabled AppleXcpmExtraMsrs since my system won't boot without it.

 

These are the errors left in the log:

 

1650485378_Screenshot2020-05-14at10_47_34.thumb.png.9cc5eb7a0e55fa1141e8bc2d8ac6b033.png

I found some patches in ACPI that rename _dsm to XDSM or ZDSM since the errors keep referring to _DSM. But they don't seem to make any difference either.

 

I'm also uploading my IORegistry output just in case someone wants to look.

 

All I want is to get rid of PMDrvr.kext from my system, enable package c-states and have my cpu run at its full potential. At this point without PMDrvr I have a 30% performance drop. In clover I was able to manage getting fully enabled power management by enabling PluginType and entering the corresponding xcpm patches.

 

I looked over the CPUfriend instructions but can't seem to get a complete grasp of how and what. Pretty confusing.

 

But then again, maybe I should be happy with how far I got. Thanks again viorel.

 

OC.zip

 

Edited by olmirror
On 4/21/2020 at 4:05 PM, gorans said:

 

- (Lilu) SMCProcessor      scpu: @ failed to get system model

- (AppleACPIPlatform) <AppleACPIPlatform`newObjectFromACPIObject(acpi_object const*)> ACPI: cannot translate ACPI object 14

- (IONVMeFamily) <IONVMeFamily`IONVMeDebugAssert> AppleNVMe Assert failed: ( 0 != data )

- (pmtelemetry) <pmtelemetry`com_apple_driver_pmtelemetry::_pch_init()> Unsupported CPU

- (pmtelemetry) <pmtelemetry`com_apple_driver_pm_pch_reporter::setup(com_apple_driver_pmtelemetry*, IOReportLegend*)> Unsupported PCH

- (AppleMobileFileIntegrity) <AppleMobileFileIntegrity`AMFILoadTrustedKeysFromNVRam> AMFILoadTrustedKeysFromNVRam: no nvram variable

and buttload of (IOAudioFamily) and (Sandbox) messages.

 

any progress here to get rid of these issue. as for me too all end sorted but logs mention these would be more quick to load if some can be sorted

×
×
  • Create New...