PGBSean / Surface-Pro-5-OpenCore

An working EFI for the Surface Pro 5 lineup
19 stars 2 forks source link

Doesnt Boot #3

Closed SimiJS closed 9 months ago

SimiJS commented 11 months ago

Hangs on apple logo after picking and reboots

PGBSean commented 10 months ago

Please check one of the following:

Newer releases aren't properly checked so there will be some toggles that may affect the booting sequence on newer machines. Sorry about that!

Leventionz commented 10 months ago

Similar issue here, first menu appears, I select it then apple logo appears and that's it.

Using Somoma BaseSystem.dmg with OC 0.9.6 and your latest 1.2 EFI with the 1.21 config.plist I have used genSMBIOS to update the various serials.

Have checked the above options are as you state also.

Leventionz commented 10 months ago

For clarity I am using the i7 model with Iris Plus Graphics 640 unsure if that makes any difference

LordImmaculate commented 10 months ago

Are you sure you are on an Suface Pro 5? I'm not sure if it would make a difference with the cpu (probably).

Leventionz commented 10 months ago

Model is 1796, when I have hunted down the specs it looks to be a 5 yes.

i7-7660U @ 2.5 with a 640 Plus Integrated Graphics.

https://support.microsoft.com/en-us/surface/surface-pro-5th-gen-specs-and-features-42d321e4-52d6-dcb1-e014-9ffc76fbca14

PGBSean commented 10 months ago

..1.2 EFI with the 1.21 config.plist

This should explain why your build isn't bootable. The 1.2 EFI use the OC0.9.5 package, while the 1.2.1 plist use OC0.9.6

Leventionz commented 10 months ago

Thanks, managed to format the entire drive to APFS and install using the EFI 1.2 with OC0.9.5 Debug.

Post install everything works up until entering a username or accepting the EULA then it freezes.

Is there any way I can debug or provide more information to you as to why this might be happening. Tried using Ventura but can try a different version if needed.

PGBSean commented 10 months ago

By looking at your machine's specifications, you're running the 640 Plus GPU card - which is not the case in the EFI settings, and need to be removed from the EFI.

Here's what you need to do:

  1. Open the config.plist on your EFI USB
  2. Go to the DeviceProperties section in the plist
  3. Direct to children "PciRoot(0x0)/Pci(0x2,0x0)"
  4. Delete entries "AAPL,ig-platform-id" and "device-id"

    You may remove the rest in the same children if it does not work out for you.

  5. Save your changes.
  6. Test!
Leventionz commented 10 months ago

Thank you for these instructions. I have tried deleting 4. and also deleting all entries under 3 (I assume you mean deleting the key itself and not the value of the key).

When just deleting 3. I experience the same behaviour as before and it freezes post install during the post install setup.

If I delete all keys under "PciRoot(0x0)/Pci(0x2,0x0)" what happens is the Apple logo is displayed on boot, but then freezes about 1/3 of the way through the loading progress bar.

Separately I have tried a fresh internet recovery install using Sonoma and get the same results under both scenarios.

Leventionz commented 10 months ago

Managed to get it up and running and on to the desktop, it's not crashing anymore. Used 000025A8 for AAPL,ig-platform-id and 25A80000 for device-id

Followed guide here for Iris Plus https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.en.md

It's not usable however, not only is it running quite slowly and text is small, I think the entire display isn't working correctly.

PGBSean commented 10 months ago

At this moment, you have to refer to the GPU Patching guide on the OpenCore Post-Install guide. You may also consider changing your SMBIOS to the one that matches your current GPU for better results.

Leventionz commented 10 months ago

Fixed!

AAPL,ig-platform-id = 02002659 device-id = 26590002

LordImmaculate commented 10 months ago

@Leventionz Can you close the issue when it's fixed please? BTW good job fixing it!

Leventionz commented 10 months ago

I have tried to close it but I cannot seem to locate the button, potentially as I was not the author of the issue?

Separately I have noted for the Iris Plus 640 that support stops at Ventura. Whilst this can be worked around by using the SystemProductName 'MacBookPro15,2' as you have done, you lose Metal support and overall performance is impacted.

I have modified config.plist to use MacBookPro14,1 which further improves performance.

The limitation is you cannot use Sonoma. To workaround this I plan to use OCLP; if successful I can merge/share my updates into this repository if you would like for others to use.

LordImmaculate commented 10 months ago

I see, I don't have Mac OS installed on my Surface right now because I really need the WiFi. Anyways, you should probably make a pull request and then PGBSean would have to merge your code. I'm just active in here because I am subscribed. PGBSean might also want to make me an Contributor so I can handle some of these issues.

Leventionz commented 10 months ago

FYI I just got an Archer 2TUB Nano (combined Wireless and Bluetooth USB adapter) and followed this guide to enable Wireless:- https://github.com/chris1111/Wireless-USB-OC-Big-Sur-Adapter/releases/tag/V16

PGBSean commented 9 months ago

This should be resolved by the latest release in https://github.com/PGBSean/Surface-Pro-5-OpenCore/releases/tag/20231202