ESXi 6.7U2, OSX Mojave, GPU Passthrough

Discussion in 'VMware, VirtualBox, Citrix' started by Swiz, Jul 6, 2019.

  1. Swiz

    Swiz New Member

    Joined:
    Apr 5, 2017
    Messages:
    22
    Likes Received:
    0
    This is my first virtual Mac, so I'm learning as I go. Yes, I know none of this is officially supported. I followed these instructions: https://ghost.brentondurkee.com/esxi-6-0-hackintosh/ with great success. Everything worked on the first try, including unlocker v3, iMessage, iCloud, etc.

    However, the Radeon Pro WX4100 that I passed through doesn't seem to be working as expected. When I install macOS with the passthrough activated, it seems to only use the VMWare display adapter. I tested the passthrough in a Windows VM and it works perfectly fine, so I know the hypervisor is doing its job. The issue only seems to be with macOS. I even have a display emulator plugged into the back, but nothing changes when I access the VM remotely. Both remote access and the VMware console seems to want to use the VMware tools SVGA adapter. Under displays, there is no second screen or option to change it. I purchased this card, because it's listed as compatible with Mojave. Unfortunately, it looks like something is preventing me from using it with a virtualized macOS. If anyone has ran into this issue before, please let me know.
     
    #1
  2. pricklypunter

    pricklypunter Well-Known Member

    Joined:
    Nov 10, 2015
    Messages:
    1,460
    Likes Received:
    414
    I have never tried doing this, so have no idea what might be causing it not to be recognised, assuming the drivers are installed and available for it etc. Have you tried changing things up in the Mac VM BIOS?
     
    #2
  3. Swiz

    Swiz New Member

    Joined:
    Apr 5, 2017
    Messages:
    22
    Likes Received:
    0
    There's not much to change in the BIOS, but I have tried setting several different flags in the VMX file. Nothing has worked so far. This card is natively supported by macOS. The drivers install automatically, which is why they're not listed on the AMD website. The exception would be if you were using an Nvidia card. In that case you would need to load the drivers yourself.
     
    #3
  4. levifig

    levifig Member

    Joined:
    Nov 27, 2017
    Messages:
    47
    Likes Received:
    9
    You're probably going to need to use Lilu.kext and WhateverGreen.kext to get that card going. For macOS outside of Apple hardware, even if virtualized, I highly recommend you run Clover as bootloader.

    Basically, you're looking at running a "Hackintosh on ESXi", not "macOS on ESXi", so all the Hackintosh requirements apply… :)
     
    #4
  5. Swiz

    Swiz New Member

    Joined:
    Apr 5, 2017
    Messages:
    22
    Likes Received:
    0
    Clover isn't supported for ESXi anymore. Several people have told me to stay away from it if I'm trying to use a virtual machine. It's unstable on VMware (kernel panics/host instability) and the devs have no plans to fix the problems from what I've read. They seem only focus on traditional hackintosh machines now. I was trying to use those kexts without Clover yesterday, but it doesn't look like I can install them due to some Rt variables that have to be adjusted through Clover first?
     
    #5
  6. RyC

    RyC Active Member

    Joined:
    Oct 17, 2013
    Messages:
    354
    Likes Received:
    83
    This has been an issue for a while: https://forums.servethehome.com/ind...with-gpu-passthrough.12680/page-2#post-145054

    Basically, as of Sierra (10.12), AMD cards will not initialize correctly when using passthrough in ESXi. I tried all sorts of different ways (including Lilu + WhateverGreen) to try to get an AMD card to come up in Sierra, High Sierra, and Mojave, but I was unable to make anything work.

    Nvidia cards do passthrough correctly, but Web Drivers only go up to High Sierra (10.13). Mojave only supports (IIRC) Kepler Nvidia cards natively, which are quite old at this point.
     
    #6
  7. Swiz

    Swiz New Member

    Joined:
    Apr 5, 2017
    Messages:
    22
    Likes Received:
    0
    RyC, you just saved me a ton of time, thanks. So my choices are to stick with Mojave and accept no hardware acceleration or go back to El Capitan? They obviously aren't updating it anymore, so it probably won't be long before Safari breaks. I guess I could install FireFox in the meantime?
     
    #7
  8. gigatexal

    gigatexal I'm here to learn

    Joined:
    Nov 25, 2012
    Messages:
    2,649
    Likes Received:
    482
    It’s these headaches that keep me paying the Apple tax and getting hardware from them.
     
    #8
    dswartz likes this.
  9. Swiz

    Swiz New Member

    Joined:
    Apr 5, 2017
    Messages:
    22
    Likes Received:
    0
    I can't get it to work under El Capitan either. It looks the exact same as my original screenshot. I wonder if this has to do with the fact that I'm using ESXi 6.7 U2?
     
    #9
Similar Threads: ESXi 67U2
Forum Title Date
VMware, VirtualBox, Citrix ESXi & nvdimms Jul 14, 2019
VMware, VirtualBox, Citrix Disk Passthrough ESXi to FreeNAS Jul 4, 2019
VMware, VirtualBox, Citrix ESXi 6.7 shell command line very laggy response Jun 25, 2019
VMware, VirtualBox, Citrix ESXi - dvswitch, intel X540, Cisco switch - no jumbo frame Jun 22, 2019
VMware, VirtualBox, Citrix Tweaks to my new setup that im thinking? ESXI/FreeNAS Jun 12, 2019

Share This Page