rochelleRk / T480s-MacOS-Ventura

hackintosh EFI for Thinkpad T480s
2 stars 0 forks source link

ACPI ERRORS #1

Open Hasodikis opened 10 months ago

Hasodikis commented 10 months ago

Could you please use the system logs in hackintool and check if you get any ACPI ERRORS?

I get these:

2023-08-25 08:50:37.970023+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Error: 2023-08-25 08:50:37.970025+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Error: 2023-08-25 08:50:37.970299+0300 localhost kernel[0]: (AppleACPIPlatform) [OINI] 2023-08-25 08:50:37.970300+0300 localhost kernel[0]: (AppleACPIPlatform) [OINI] 2023-08-25 08:50:37.970436+0300 localhost kernel[0]: (AppleACPIPlatform) Namespace lookup failure, AE_ALREADY_EXISTS 2023-08-25 08:50:37.970437+0300 localhost kernel[0]: (AppleACPIPlatform) Namespace lookup failure, AE_ALREADY_EXISTS 2023-08-25 08:50:37.971440+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/dswload-462) 2023-08-25 08:50:37.971441+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/dswload-462) 2023-08-25 08:50:37.975644+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:37.975645+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:37.976443+0300 localhost kernel[0]: (AppleACPIPlatform) During name lookup/catalog 2023-08-25 08:50:37.976444+0300 localhost kernel[0]: (AppleACPIPlatform) During name lookup/catalog 2023-08-25 08:50:37.977039+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/psobject-310) 2023-08-25 08:50:37.977040+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/psobject-310) 2023-08-25 08:50:37.981311+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:37.981312+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:37.982110+0300 localhost kernel[0]: (AppleACPIPlatform) (SSDT: _INIT) while loading table 2023-08-25 08:50:37.982110+0300 localhost kernel[0]: (AppleACPIPlatform) (SSDT: _INIT) while loading table 2023-08-25 08:50:37.982908+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-319) 2023-08-25 08:50:37.982909+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-319) 2023-08-25 08:50:37.988782+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Error: 2023-08-25 08:50:37.988783+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Error: 2023-08-25 08:50:37.989057+0300 localhost kernel[0]: (AppleACPIPlatform) [_TTS] 2023-08-25 08:50:37.989058+0300 localhost kernel[0]: (AppleACPIPlatform) [_TTS] 2023-08-25 08:50:37.989194+0300 localhost kernel[0]: (AppleACPIPlatform) Namespace lookup failure, AE_ALREADY_EXISTS 2023-08-25 08:50:37.989195+0300 localhost kernel[0]: (AppleACPIPlatform) Namespace lookup failure, AE_ALREADY_EXISTS 2023-08-25 08:50:37.990198+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/dswload-462) 2023-08-25 08:50:37.990199+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/dswload-462) 2023-08-25 08:50:37.994578+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:37.994579+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:37.995376+0300 localhost kernel[0]: (AppleACPIPlatform) During name lookup/catalog 2023-08-25 08:50:37.995377+0300 localhost kernel[0]: (AppleACPIPlatform) During name lookup/catalog 2023-08-25 08:50:37.995970+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/psobject-310) 2023-08-25 08:50:37.995971+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/psobject-310) 2023-08-25 08:50:38.000396+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:38.000397+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2023-08-25 08:50:38.001196+0300 localhost kernel[0]: (AppleACPIPlatform) (SSDT: _Sleep) while loading table 2023-08-25 08:50:38.001196+0300 localhost kernel[0]: (AppleACPIPlatform) (SSDT: _Sleep) while loading table 2023-08-25 08:50:38.001994+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-319) 2023-08-25 08:50:38.001995+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-319) 2023-08-25 08:50:38.006896+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Error: 2023-08-25 08:50:38.006897+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Error: 2023-08-25 08:50:38.007171+0300 localhost kernel[0]: (AppleACPIPlatform) 2 table load failures, 32 successful 2023-08-25 08:50:38.007172+0300 localhost kernel[0]: (AppleACPIPlatform) 2 table load failures, 32 successful 2023-08-25 08:50:38.007992+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-342) 2023-08-25 08:50:38.007993+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/tbxfload-342)

The TTS error comes from a duplicate method between SSDT-Sleep.aml and SSDT-LED.aml. Strange thing is sleep works. The OINI error is more confusing to me, since I cannot file any dublicate. The only mention of this method is in SSDT-INIT.aml.

I also get this:

(AppleACPIPlatform) ACPI Exception: AE_BAD_PARAMETER, 2023-08-28 21:45:35.094740+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI Exception: AE_BAD_PARAMETER, 2023-08-28 21:45:35.095571+0300 localhost kernel[0]: (AppleACPIPlatform) Could not install PciConfig handler for Root Bridge PCI0 2023-08-28 21:45:35.095572+0300 localhost kernel[0]: (AppleACPIPlatform) Could not install PciConfig handler for Root Bridge PCI0 2023-08-28 21:45:35.096942+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/evrgnini-340) 2023-08-28 21:45:35.096943+0300 localhost kernel[0]: (AppleACPIPlatform) (20160930/evrgnini-340) 2023-08-28 21:45:35.103802+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI: 2023-08-28 21:45:35.103804+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI: 2023-08-28 21:45:35.103951+0300 localhost kernel[0]: (AppleACPIPlatform) Executed 53 blocks of module-level executable AML code 2023-08-28 21:45:35.103952+0300 localhost kernel[0]: (AppleACPIPlatform) Executed 53 blocks of module-level executable AML code 2023-08-28 21:45:35.105276+0300 localhost kernel[0]: (AppleACPIPlatform) 2023-08-28 21:45:35.105277+0300 localhost kernel[0]: (AppleACPIPlatform) 2023-08-28 21:45:35.136423+0300 localhost kernel[0]: (AppleACPIPlatform) ACPI: sleep states S3 S4 S5 2023-08-28 21:45:35.140383+0300 localhost kernel[0]: PMRD: setSleepSupported(1) 2023-08-28 21:45:35.140393+0300 localhost kernel[0]: PMRD: power event 7 args 0x56ee16f5727614cd 0x0 2023-08-28 21:45:35.140400+0300 localhost kernel[0]: PMRD: PowerChangeOverride (ON_STATE->ON_STATE, f,

Do you have any idea?

rochelleRk commented 10 months ago

I'm sorry to tell you that because I went to another city to pursuit my master's degree few days ago, and nolonger needs Mac OS for IOS app development, I have already turned to Windows PC. Consequently , I cann't do this test right now. Accorrding to my exprience "Could not install PciConfig handler for Root Bridge PCI0" in system" in logs can be ignored, because After disabling MX150 eGPU by editing spoof-SSDT, it is normal to see this. This is a known bug of MaciASL decompiler,We cann't do anything about it.

Hasodikis commented 10 months ago

Thank you for your swift reply . My laptop does not have the MX150, therefor I do not use an SSDT to disable it.

rochelleRk commented 10 months ago

AE_BAD_PARAMETER suggests an incorrect parameter was passed to an ACPI method. This could also relate to any custom SSDTs or DSDTs, are there any feature of Macos doesn't work properly? or have the system crashed?

Hasodikis commented 10 months ago

At the moment everything seems to work fine... I just want to resolve all errors and reduce energy consumption even more

Hasodikis commented 10 months ago

OK.

PART 1: After I lot of searching, trial and error, the OINI ACPI error is no more. I changed the SSDT-INIT

FROM: DefinitionBlock ("", "SSDT", 2, "tyler", "_INIT", 0x00001000) { External (SB.PCI0, DeviceObj) External (SB.PCI0.RP09.INIT, MethodObj) // 0 Arguments External (DPTF, FieldUnitObj) External (HPTE, FieldUnitObj) External (OSDW, MethodObj) // 0 Arguments External (OSYS, FieldUnitObj) External (WNTF, FieldUnitObj) External (ZINI, MethodObj) // 0 Arguments

Scope (_SB.PCI0) { Method (OINI, 0, NotSerialized) { If (OSDW ()) { Debug = "INIT: Set Variables..." HPTE = Zero WNTF = One DPTF = Zero OSYS = 0x07DF }

ZINI () If ((OSDW () && CondRefOf (_SB.PCI0.RP09.INIT))) { _SB.PCI0.RP09.INIT () } } } }

TO: DefinitionBlock ("", "SSDT", 2, "T480", "INIT", 0x00001000) { External (SB.PCI0, DeviceObj) External (DPTF, FieldUnitObj) External (HPTE, FieldUnitObj) External (OSYS, FieldUnitObj) External (WNTF, FieldUnitObj)

Method (OINI, 0, NotSerialized) { If (_OSI ("Darwin")) { Debug = "Set Variables..." HPTE = Zero OSYS = 0x07DF } } }

the _TTS ACPI Error disappears only when SSDT-SLEEP is disabled in OC/ACPI.

Sleep seems to work fine without this SSDT.

Do you know what this SSDT does? Why is it necessary for this machine. The thing is every repo in github for a t480 or a t480s includes this SSDT in its configuration. I have posted issues in this but got no answers yet.