Installing Mojave in Parallels, and UI glitches running Electron Apps


I got macOS Mojave 10.14 / 10.14.1 installed in Parallels very easily! But encountered some graphics issues with certain apps... and managed to find a workaround.

Clean install of Mojave in a Parallels' VM

I tried a clean install of Mojave 10.14 (18A391) and 10.14.1 (18B75) from scratch with Parallels Desktop Lite Version 1.3.3 (19752) - in both cases, Mojave works perfectly. No APFS issues! I'm not sure if this due to an update in Parallels, but this is great, you can ignore my previously posted workaround!

You simply have to follow the Parallel's "Install Windows or another OS from a DVD or image file" wizard. The only issue you may have is if the image you downloaded from Apple is only a stub... On my MacBooks, I managed to get the 6GB versions, but some people report only getting a 22MB stub.

The fix:

The stub alone won't work, and I don't know how to force the full installer from the macOS App Store. Instead I resorted to using dosdude1's macOS Mojave Patcher Tool for Unsupported Macs to create the full image.

macOS Mojave running in a Parallel VM using APFS

Graphics issues with Mojave in a Parallels' VM

I encountered graphics issues with multiple Electron Apps. This includes with Microsoft Visual Studio Code, where the window is not properly drawn and "flickers" in and out. I'm guessing it'sto do with GPU hardware-acceleration issues with the combination of Chromium, Metal and Parallel's support for the same (or lack thereof?)

Here's a bad screen:

Microsoft Visual Studio Code -an Electron app - with graphics glitch

The fix:

The fix is to disable GPU acceleration, by running the App with a command line parameter instead. In the case of Visual Studio Code, from Terminal:

open /Application/Visual\ Studio\ --args --disable-gpu

This should with other similar Electron apps but your mileage may vary. I tried it on a couple with success.

Good luck, hope this helps!