profzei/Matebook-X-Pro-2018

3.1.0 Crash after 1-2 mins of startup

rohirrim27 opened this issue · 7 comments

Hi @profzei,

Thank you for working on and releasing 3.1.0 which I'm sure addresses the challenges a few people were experiencing with 3.0.0.

However, as I didn't update to 3.0.0 and am testing out 3.1.0, not sure if the following is a new issue or needs me to make changes on my end. I've followed the updated ReadMe step by step but the laptop crashes and restarts every 2 mins with the following Apple Error Report (sorry for the pictures, wasn't able to take a screenshot and send in time).

WhatsApp Image 2021-10-19 at 3 22 50 PM
WhatsApp Image 2021-10-19 at 3 22 49 PM

I've been using a dual booting system with Windows on the internal SSD and Mac OS installed on the external SSD and it's been working flawlessly thanks to you till date.

@rohirrim27

It's a longshot but try this and let us know if this helps: #186 (comment)

Thanks @PLTorrent! Your solution seems to have had a lot of success so I'm keen to try it.

A simple question though - if I've already updated the EFI folder in my external SSD with Mac OS (after using MountEFI) is there a way for me to edit it without a working Mac OS. I'm afraid I'm not able to carry out the steps to update the EFI folder on my external SSD before it crashes again.

I probably should have thought of this before updating.

@rohirrim27

Just place the EFI on the USB like you would for installing and boot off that selecting your macOS from the boot menu. If the system boots and is stable, than introduce necessary changes to your HD.

Thank you @PLTorrent! Seems to be working now thanks to the suggestions on the two threads. Closing this issue now.

@rohirrim27

Glad to hear that.

@profzei
Seems like for the time being we have found the mother of all problems with the 3.X.X ;]

@PLTorrent

Thank you very much for your precious collaboration!... if possible I would like to take advantage of it again to try to "understand" better...

The function pci-aspm-default is used to activate for macOS Active-State Power Management for pci (also express) devices like:

  • PciRoot(0x0)/Pci(0x1c,0x0) which is PCI-Express bus for nVIDIA card
  • PciRoot(0x0)/Pci(0x1c,0x4) which is PCI-Express bus for LiteON SSD
  • PciRoot(0x0)/Pci(0x1d,0x0) which is PCI-Express bus for Thunderbolt Controller
    and therefore optimize power consumption for these buses

We need to point out that macOS is an OS which is designed for working well/optimally only on Mac hardware, so in our hackintoshes it could be advisable to force a such property whenever possible...

How we could say if a such feature is working fine or is supported for our hardware?
Simple: if the device does not support ASPM, then the operating system may freeze: I checked (during this summer) that my machine didn't suffer any issue...

So, why did this issue affect your device and others?

  • Thunderbolt Controller must be the same...
  • nVIDIA card must be the same...
  • SSD could be different: this is why I suggested to some user to disable this feature...
  1. Could you check, please, that you need to remove ALL those properties?
  2. Could you report, please, your BIOS version?

Power management properties could be changed/optimized with newer BIOS version (even if ACPI DSDT is essentially the same...), even if, in a such case, it seems to me, we could talk about a regression because in my case adding a such property was not harmful which means that ASPM is supported and working fine... issues are only for devices NOT supporting well ASPM...

@profzei

My BIOS is 1.37. My exact model is MACH-W19. I have stock config with LIteOn NVMe 256GB. I can provide exact model later on. I also do not have discreet GPU only iGPU. I have tried disabling the ASPM only for e.g. SSD but the system did not start as well.
EDIT: Exact details below:
Intel Core i5-8250U @ 1.60 GHz
Micron memory 8192MB @ 2133 GHz
LiteOn CA3-8D256 NVMe SSD (256GB)
BIOS reported model: MACH-WX9
BIOS version: 1.37

I could try downgrading the BIOS but are we sure that BIOS in the repo will match my machine?