MoI discussion forum
MoI discussion forum

Full Version: moi v4 quit unexpectedly (OSX catalina)

From: trufo
19 Feb 2021   [#1]
Hello,

I'm working on an opencore machine with osx catalina and a Radeon RX5700.
When I start moi v4 I get the message "Moi v4 quit unexpectedly."
I attached a screenshot of the message.

Thanks

Michael


Image Attachments:
Screenshot 2021-02-20 at 11.52.43.png 


From: Michael Gibson
20 Feb 2021   [#2] In reply to [#1]
Hi Michael, can you check if a crash report was created inside ~/Library/Logs/DiagnosticReports ?

If so please post it or e-mail it to me at moi@moi3d.com . That could help me figure out what the problem is.

An opencore machine means you're on a hackintosh? I wouldn't be surprised if it's a video driver problem.

- Michael
From: trufo
20 Feb 2021   [#3] In reply to [#2]
Hello Michael,

yes you may be right since in the crash report I saw these two lines :
Application Specific Information:
Assertion failed: (0), function CreateCompiler, file /Library/Caches/com.apple.xbs/Sources/GPUDriversIntel/GPUDriversIntel-14.7.8/GLRenderer/kbl/usc_interface.cpp, line 1676.

anyway, I sent you the whole crash report via email.

It seems like Moi uses the intel GPU and crashes although the graphic card is connected to the RX5700.

Cheers for your fast answer.

Michael
From: Michael Gibson
20 Feb 2021   [#4] In reply to [#3]
Hi Michael, thanks for sending the crash report.

Yes it looks like the video driver is throwing an assert.

I found a reference to this crash, maybe the configuration information in the post will help you to solve it:
https://www.reddit.com/r/hackintosh/comments/jpbsot/opencore_063_comet_lake_msi_mpg_z490_gaming_plus/

Then yes the other thing is that it's using the Intel integrated graphics instead of the RX5700. Either the RX5700 doesn't have a driver set up or it's ordered or prioritized in some way different from a regular macOS install.

- Michael
From: Michael Gibson
20 Feb 2021   [#5] In reply to [#1]
The way the 2 graphics cards in macOS is supposed to work is that when an app creates an OpenGL context the system is supposed to automatically use the discrete GPU instead of the Intel integrated GPU unless the app has specifically requested to allow the integrated one (which MoI does not do):
https://developer.apple.com/library/archive/qa/qa1734/_index.html

Maybe you'll need to set an option in the OS as described here:
https://nathansnelgrove.com/how-to-force-your-macbook-pro-to-use-its-discrete-graphics-card-when-its-plugged-in/

Also this utility may help:
https://gfx.io/
https://www.howtogeek.com/288346/how-to-tell-which-graphics-chip-your-macbook-is-using-and-switch-it/

And there might be another setting for it here:
https://osxdaily.com/2017/01/08/disable-gpu-switching-macbook-pro/

- Michael
From: trufo
20 Feb 2021   [#6] In reply to [#4]
I managed to sort it out :)

Apparently it was a setting in the bios which I needed to disable...
Namely : IGPU-Multi-Monitor
This is the guide I followed for my build, and that setting is mentioned under the "imac 20.2-specific settings" paragraph :
https://github.com/SchmockLord/Hackintosh-Intel-i9-10900k-AsRock-Z490-Phantom-ITX-TB3/blob/master/Docs/BIOS-settings/bios-settings.md

Thanks for your input.

Michael
From: Michael Gibson
20 Feb 2021   [#7] In reply to [#6]
That's great I'm glad it's working now!

- Michael