Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Opencore installation with MSI 5700 XT #27

Open
johanlantz opened this issue Jul 24, 2020 · 1 comment
Open

Opencore installation with MSI 5700 XT #27

johanlantz opened this issue Jul 24, 2020 · 1 comment

Comments

@johanlantz
Copy link

If you have an MSI card you might have come across this thread:
acidanthera/bugtracker#901

because your macOS installation crashes but since I had to struggle a bit to understand the comments in that thread I thought it might be helpful to share the steps I took to make this work.

In my case the first issue was that at some point the installation stopped and I just got a black screen. This was mentioned here:
https://dortania.github.io/OpenCore-Install-Guide/config.plist/coffee-lake.html#add-2

The default setting from this repo did not work for me but since I did not want the iGPU as output I did the following:

  1. Change the platform id value to 0300913E (Used when the Desktop iGPU is only used for computing tasks and doesn't drive a display)
  2. Added agpmod=pikera
  3. Removed shikigva (not sure if this matters but I saw somewhere it should not be used).

Now I got passed the black screen after the verbose output and I saw the crash described in acidanthera/bugtracker/issues/901 i.e. the MSI problem.

To solve that you need to get some info about the graphics card. The link above shows how to get that info in Windows but also mentions getting it in mac without too many details so these are the necessary steps that worked for me:

  1. Download gfxutils and put it on your opencore installation USB.
  2. Boot the opencore macOS installer just like a fresh install. No need to use recovery mode.
  3. When you get to the macOS installer (where you have the options of starting DiskUtilty etc) select Terminal from the menu at the top.
  4. Type diskutil mountDisk /dev/diskX (where X is the number of your "Install MacOS Catalina"
  5. cd /Volumes/Image Volume/
  6. Run ./gfxutil
  7. Locate the entry called GFX0, it looks something like this: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)
  8. Go back to your config.plist and create a new entry in DeviceProperties/Add with this value.
  9. The AAPL,slot-name value is the decimal representation of the hex values for GFX0.
  10. Add the ATY,Rom# parameter.

My updated settings look like this:
Screenshot 2020-07-24 at 14 10 27

Feel free to close this issue, I just added the info in case it could help someone else.

@kwuster
Copy link

kwuster commented Jul 24, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants