Jump to content

[SUCCESS] Mavericks Installs on ESXi 5.1 - All 100% working in DP1, DP2, DP3, and DP4 w/GPU passthrough, audio, and usb passthrough


  • Please log in to reply
11 replies to this topic

#1
kwiksilver

kwiksilver

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male

Last night I duplicated a blank 10.8 VM in ESXi 5.1 and ran the upgrade from 10.8 to 10.9.

 

Specs:

Intel i7 920 - (http://www.amazon.co.../dp/B001H5T7LK/)

ASUS Rampage III Extreme - (http://www.newegg.co...N82E16813131642)

24GB DDR3 [6x4gb] Three of these kits (http://www.newegg.co...N82E16820231314)

Corsair TX 750 (http://www.newegg.co...N82E16817139021)

ATI 5450 GPU - PCIe - 512mb - (http://www.newegg.co...N82E16814150600)

Belkin USB PCI card 5 Port USB 2.0 Model: F5U220V1 - (http://www.newegg.co...N82E16815108012)

 

Software:

ESXI 5.1 1065491 with Donk's Unlocker Patch

 

VM Specific:

40GB VM container on Intel 520 SSD 180GB

 

VT-D Passthrough to:

ATI 5450 GPU - PCIe - 512mb

Belkin USB PCI card 5 Port USB 2.0 Model: F5U220V1 

 

 

 

Update 6/27/13: I started over last night. After a fresh install, and updating to DP2 I modified two kext files and now GPU passthrough is working 100%. 

The two kext's I added my device ID for my ATI 5450 are:

AMD5000Controller.kext and AMDRadeonX3000.kext.

 

 

Everything appears to be functional. I installed the VMware tools from ESXi and reboot and got some graphics options. 

Only three resolution choices. 

1280x800

1680x1050

1920x1200

 

If anyone wants to see any tests done I'll give it a shot. 

Attached Files



#2
kwiksilver

kwiksilver

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male

Well I found an issue. If you go to "About This Mac" and click "System Report" the whole GUI crashes and it takes you back to the login screen. So I can't ever view the system profiler. 



#3
A.I.Ghost

A.I.Ghost

    Vault 13 dweller

  • Members
  • PipPipPipPip
  • 213 posts
  • Gender:Male
  • Location:Prague - Czech Republic
  • Interests:Sex, Drugs (well... not really :-) ) and Rock'n'Roll.
    Mostly PC, now Mac too.
And if you run the "System Information" from the Utilities inside the Applications?
Also you could try the terminal approach:
system_profiler > ~/Desktop/sysprofile.txt
Just curious. It's DP after all

#4
kwiksilver

kwiksilver

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male

It looks like it errors out along the way. It exports quite a bit to the text document then it fails and says:

mavericks:~ myusername$ system_profiler > ~/Desktop/sysprofile.txt
2013-06-17 11:38:33.054 system_profiler[1581:1103] Internal name did not resolve to internal address!

After looking at where the log file tripped up it looks like it didn't like the ESXi serial ports.

 

I removed them via system preferences and networking and now it will run a full report using the terminal command.

 

When I try to run it from the GUI it still crashes. It starts to load and then it tanks. I need to get myself a ATI 5450 Kext because I passed a GPU to the VM via VT-d. The card works with a simple kext install in 10.8 and 10.7. It does not seem to load in 10.9. Hmm It is detected though. 



#5
Alfishe

Alfishe

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

Well I found an issue. If you go to "About This Mac" and click "System Report" the whole GUI crashes and it takes you back to the login screen. So I can't ever view the system profiler. 

Seems apple re-wrote most of Cocoa internals and apps so not GL surfaces capable drivers are required and no VM drivers available for now (I tested in VMWare Fusion also). Parallels declared yesterday that new 8.0 version of their emulator has test support for Mavericks


 

When I try to run it from the GUI it still crashes. It starts to load and then it tanks. I need to get myself a ATI 5450 Kext because I passed a GPU to the VM via VT-d. The card works with a simple kext install in 10.8 and 10.7. It does not seem to load in 10.9. Hmm It is detected though. 

Yes Vt-d passing calls to real hardware is the only choice for Mavericks. No more SVGA II...



#6
kwiksilver

kwiksilver

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male

Seems apple re-wrote most of Cocoa internals and apps so not GL surfaces capable drivers are required and no VM drivers available for now (I tested in VMWare Fusion also). Parallels declared yesterday that new 8.0 version of their emulator has test support for Mavericks


Yes Vt-d passing calls to real hardware is the only choice for Mavericks. No more SVGA II...

I am having real problems trying to get my 5450 working in Mavericks. 

I updated the ATI5000Controller.kext and AMDRadeonAccelerator.kext with the correct device IDs, and repair permissions and now with kextstat I get:

kextstat | grep AMD
   60    1 0xffffff7f8157f000 0x6d000    0x6d000    com.apple.kext.AMDSupport (1.1.4) <59 58 11 10 7 5 4 3 1>
   61    0 0xffffff7f815f9000 0x1d0000   0x1d0000   com.apple.kext.AMD5000Controller (1.1.4) <60 58 11 10 5 4 3 1>

I am wondering if there is something else I am missing. 

 

My /var/log/asl is polluted with this error

2013-06-20 16:49:02 -0400 kernel[0]: ATICLASS::detectPowerDown: GPU is not found. NO MM access!!!
2013-06-20 16:49:02 -0400 kernel[0]: ATICLASS::detectPowerDown: GPU is not found. NO MM access!!!
2013-06-20 16:49:02 -0400 kernel[0]: ATICLASS::detectPowerDown: GPU is not found. NO MM access!!!
2013-06-20 16:49:02 -0400 kernel[0]: ATICLASS::detectPowerDown: GPU is not found. NO MM access!!!
2013-06-20 16:49:02 -0400 kernel[0]: ATICLASS::detectPowerDown: GPU is not found. NO MM access!!!
2013-06-20 16:49:02 -0400 kernel[0]: ATICLASS::detectPowerDown: GPU is not found. NO MM access!!!
2013-06-20 16:49:02 -0400 kernel[0]: ATICLASS::detectPowerDown: GPU is not found. NO MM access!!!
2013-06-20 16:49:02 -0400 kernel[0]: ATICLASS::detectPowerDown: GPU is not found. NO MM access!!!
2013-06-20 16:49:02 -0400 kernel[0]: ATICLASS::detectPowerDown: GPU is not found. NO MM access!!!
2013-06-20 16:49:02 -0400 kernel[0]: ATICLASS::detectPowerDown: GPU is not found. NO MM access!!

If I shut down the VM and pass the card to my 10.8 or my 10.7 VMs it works just fine. 



#7
kwiksilver

kwiksilver

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male

Well I got everything functional last night.

 

I have a virtual machine that I can actually sit down at and use like a desktop.

 

I was able to passthrough my USB 2.0 PCI card and my GPU to the VM. 

 

From there I hooked up a USB keyboard mouse and USB soundcard. Everything is working 100%.

 

I was able to hookup a monitor to my ATI 5450 I passed to the VM and I have a 100% working machine.

 

Geek Bench: http://browser.prima...kbench2/2101346

 

I only passed two CPU cores from my i7 920 and 4GB of ram.

 

Also attached is a screenshot of OPEN GL working with the 5450. 

Attached Files



#8
A.I.Ghost

A.I.Ghost

    Vault 13 dweller

  • Members
  • PipPipPipPip
  • 213 posts
  • Gender:Male
  • Location:Prague - Czech Republic
  • Interests:Sex, Drugs (well... not really :-) ) and Rock'n'Roll.
    Mostly PC, now Mac too.
Detailed guide would be awesome addition, since it would allow to use one powerful enough machine to be used as multi-seat workstation.

#9
kwiksilver

kwiksilver

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male

Detailed guide would be awesome addition, since it would allow to use one powerful enough machine to be used as multi-seat workstation.

I used this system for virtualized HTPCs for a while. It worked great. I had it in my basement and ran  HDMI->cat5->HDMI cables to my TV and then used my tablet to control them.

 

There really isn't much to say for a guide b/c it really only applies to a very very limited set of hardware. You need a motherboard/processor that supports VT-d and a chipset on your mobo that properly supports gpu passthrough, and has an Intel processor. Also ESXi seems to only pass ATI/AMD cards through correctly and not NVidia.

 

1.) Install ESXi 5.1 (sign up for a free vmware account to get a free key) - Run Donk's ESXi unlocker patch [this allows you to install OSX on esxi on non-Apple hardware] and reboot.

2.) Go to the Config and enable passthrough of the GPU and USB card.

3.) Reboot ESXi

4.) Create your OSX VM Install OSX 10.X and get it up to date. 

5.) Shut down your OSX VM

6.) Edit the VM and choose to passthrough the GPU and USB card

7.) Start the VM.

8.) At this point your card probably won't work unless it has native GPU support from OSX.

9.) Edit kexts to add your device IDs for your card and re-install your edited kexts 

10.) Reboot

11.) Enjoy your new "workstation"



#10
kwiksilver

kwiksilver

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male

Well I updated from DP2 to DP3. It went smoothly from the app store.

 

Once I rebooted my AMD GPU was no longer properly detected.

 

I had to add my device ID back into AMD5000Controller.kext and AMDX3000.kext, repair permissions and reboot.

 

I also did the DP3 gpu update after that and it didn't change anything. It just worked after that reboot. 



#11
kwiksilver

kwiksilver

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts
  • Gender:Male

Update:

 

I updated from DP3 to DP4. It booted up without issues.

 

Once I rebooted my AMD GPU was no longer properly detected.

 

I had to add my device ID back into AMD5000Controller.kext and AMDX3000.kext, repair permissions and reboot.

 

Again everything works in DP4. It looks like they aren't preventing us from editing kexts just yet. :) 



#12
patpro

patpro

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
  • Gender:Male

Hi kwiksilver,

I'm glad to read OS X can run on top of ESXi with lots of features like GPU, sound, USB passthrough. I've done some testing on top of my Mac Pro (hence fully supported, no hack). But on Apple hardware I was not able to passthrough USB and sound. Some reading about my project at http://www.patpro.ne...virtualisation/ from bottom to top of the page.

My main purpose is to build a multi-OS workstation, with full hardware power (a GPU and USB passthrough for each VM is a nice start, but sound would be great too). It would need at least one discrete GPU for each VM, of course.

So my question about your setup is the following: do you run other VMs on your ESXi, with passthrough? I'm especially curious about USB and sound.

Also, are you using this setup on a daily basis, or is it just for fun/challenge?







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy