Contribute
Register

<< Solved >> iOS Simulator not booting any device / Photos app crashing

Status
Not open for further replies.
Joined
Sep 9, 2020
Messages
11
Motherboard
MSI Z490I Unify
CPU
i10700K
Graphics
UHD630
Hey guys,

first of all I have to say that there is so much amazing content on this site which helped me A LOT while building my hackintosh. Now I have an issue which is really strange and I have absolutely no idea why this is happening. Also it's kinda hard for me to debug, as there are no real error messages logged (or I do not know where to look for it).

I'm having a solid working Hackintosh build with the following hardware:

- MSI Z490I Unify mini-ITX Board
- Intel i7-10700K with iGPU Intel UHD 630
- 32 GB G.Skill 3600 RAM
- Samsung 970 Evo Plus 1 TB
- NVIDIA RTX 2080 Super (which is disabled via a SSDT and is not showing up inside the System Report, although it also boots without this SSDT and works even with the listing in the System Report) - it's mainly a gaming rig but for development, the integrated gpu is totally fine for me.

Now I am a software developer, mainly web but doing quite a lot iOS development lately. And everything is working properly, I can run XCode, I can build stuff and can run Apps on my device. Only thing which is *not working at all* is the iOS Simulator. The icon pops up in the dock but no simulator has been started. There is no hidden window and if I try to start a new one via "File -> Open -> iPhone 11 (13.7)" simply nothing happens.

I went ahead and searched for logs inside the CoreSimulator.log using the Console App, but there is no meaningful entry in the logs (will attach it, though). I couldn't find anything like this on the interwebs. Did anybody of you encounter something like this and has any idea how to fix it?

Cheers
Ben
 

Attachments

  • EFI.zip
    15.2 MB · Views: 120
  • CoreSimulator.log.zip
    4.2 KB · Views: 79
Okay, I think I found the issue. When I tried to launch different applications like Photos.app, Android Studio, ... I got a instant crash with the crash report stating:

Code:
Application Specific Information:
dyld3 mode
Assertion failed: (0), function CreateCompiler, file /Library/Caches/com.apple.xbs/Sources/GPUDriversIntel/GPUDriversIntel-14.7.8/GLRenderer/kbl/usc_interface.cpp, line 1676.

That pointed into the right direction that there is something off with the iGPU drivers. Solution for me was to add the device-id <923E0000> into my config.plist. Not sure if this would be the best device ID. I just did a trial and error and this was the first one which worked. If you think I should spoof a different ID, let me know.

Not it's working really good. I haven't been able to run two 4k movies in full screen on two monitors simultaneously which is now working. :) Attached my changed config, in case anyone encounters the same.
 

Attachments

  • config.plist.zip
    4.7 KB · Views: 183
Last edited:
You are the man...

This fix also works on:

- MSI MPG Z490 GAMING EDGE WIFI
- Intel i9-10900 with iGPU Intel UHD 630
- 32 GB Corsair 3200 RAM
- WD Blue NVMe ssd 500 GB
 
So you are running two monitors off the iGPU? Sweet. Are they running off the HDMI and Displayport or via Thunderbolt?
Yep, two 4k monitors on the iGPU (Intel 630 UHD). One on the Display Port and the other one on the USB-C Thunderbolt port. The HDMI doesn't seem to work for me - always getting no signal there. But I also didn't investigate a lot of time yet on how to get it work. If you get HDMI running somehow please let me know. :)
 
I am still more than a month away from starting my build (still researching and waiting for the end-of-year sales), but here is a thread I bookmarked which mentions getting the HDMI working from the iGPU:


Looks like it became possible with a version of WhateverGreen released in July. Not sure what the specific incantation is to actually make it work, though.
 
Looks like it became possible with a version of WhateverGreen released in July. Not sure what the specific incantation is to actually make it work, though.
HDMI works if you use @CaseySJ 's lengthy opencore device property entry for the iGPU and change the device-id to 923E0000 per @benvp.

g\
 
HDMI works if you use @CaseySJ 's lengthy opencore device property entry for the iGPU and change the device-id to 923E0000 per @benvp.

g\
What do you mean with "lengthy opencore device property entry" ? Which one is it?
 
Okay, I think I found the issue. When I tried to launch different applications like Photos.app, Android Studio, ... I got a instant crash with the crash report stating:

Code:
Application Specific Information:
dyld3 mode
Assertion failed: (0), function CreateCompiler, file /Library/Caches/com.apple.xbs/Sources/GPUDriversIntel/GPUDriversIntel-14.7.8/GLRenderer/kbl/usc_interface.cpp, line 1676.

That pointed into the right direction that there is something off with the iGPU drivers. Solution for me was to add the device-id <923E0000> into my config.plist. Not sure if this would be the best device ID. I just did a trial and error and this was the first one which worked. If you think I should spoof a different ID, let me know.

Not it's working really good. I haven't been able to run two 4k movies in full screen on two monitors simultaneously which is now working. :) Attached my changed config, in case anyone encounters the same.


Wow, man, thank you!
I was unsuccessfully fighting with this problem for several days!
For some reason this topic didn't come on via google.

This fix also works on:

- Intel i9-10850k with iGPU Intel UHD 630 Comet Lake
- MSI MPG Z490 GAMING EDGE WIFI

But for my case I have choosed device-id <9B3E0000> (not 923E0000)
I have taken that device-id from there (under Native supported DevIDs):

What was not working for me before fix:

1. Xcode. iOS simulator not working:
Timed out trying to boot simulator after waiting 60.00s.
Domain: DVTCoreSimulatorAdditionsErrorDomain
Code: 0
Now fixed with 'device-id <9B3E0000>'

2. Xcode. Can't open any XIB or Storyborad in Xcode. (IB Interface Builder not working)
Now fixed with 'device-id <9B3E0000>'

3. Xcode. Debug View Hierarchy crashes Xcode. (Debug View Hierarchy not working)
Now fixed with 'device-id <9B3E0000>'

4. OpenGL Benchmark 'GpuTest.app' from GpuTest_OSX_x64_0.7.0.zip not working (Crash). (OpenGL not working)
Now fixed with 'device-id <9B3E0000>'

5. VLC media player 3.0.12 crashing on any video open. (VLC not working)
Now fixed with 'device-id <9B3E0000>'
 
Last edited:
Also guys I made HDMI working for me too.
This config part made HDMI work:


<key>DeviceProperties</key>
<dict>
<key>Add</key>
<dict>
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data>BwCbPg==</data>
<key>framebuffer-patch-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-stolenmem</key>
<data>AAAAAg==</data>
<key>framebuffer-fbmem</key>
<data>AAAwAQ==</data>
<key>device-id</key>
<data>mz4AAA==</data>
<key>framebuffer-con0-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con2-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con0-alldata</key>
<data>AwQIAAAEAADHAwAA</data>
<key>framebuffer-con1-alldata</key>
<data>AQEJAAAIAADHAwAA</data>
<key>framebuffer-con2-alldata</key>
<data>AgIKAAAIAADHAwAA</data>
<key>enable-hdmi20</key>
<data>AQAAAA==</data>
<key>hda-gfx</key>
<string>onboard-1</string>
</dict>
</dict>
<key>Delete</key>
<dict/>
</dict>

- Intel i9-10850k with iGPU Intel UHD 630 Comet Lake
- MSI MPG Z490 GAMING EDGE WIFI

I have took that config from:

 

Attachments

  • argamx.config.plist.zip
    5.3 KB · Views: 81
Last edited:
Status
Not open for further replies.
Back
Top