This part below. First section is the video component, second is sound. Your address domain and pci domains will be different based on server configuration and card placement.
W eything works until you change to the gpu, so do this: make a new vm per the methods in the video (if you have a good backup img file then just start at that part of the video l where you modify the xml. Once it boots into vnc, shut it down.
Now, create a new vm, Linux or whatever. Remove the hard drive option so it doesn’t create a disk, only 1 core 255mb ram, whatever, it’s notngojng to be started. Select your gpu and it’s sound card. Click save but don’t start.
Edit that vm, and when in the edit screen, toggle to xml. Scroll down near the bottom, find the host dev tags, will look like above. Copy all of that.
Then go to your macOS vm, edit, and then toggle to edit xml. Scroll down to the bottom. Find the tag <memballon model =‘ virtio’> Tag. You want to paste the hostdev info you copied above/ just before that.
Now, in the part you just pasted, look for the lines <address type =‘pci’....../> there will be one in each hostdev section. Delete those (they will auto generate correctly on near start.
you are now ready to save the xml and boot the vm. We’ll deal with vnc removal later, but this is how you can manually add the gpu with the correct xml generatedand not have unRaid screw up the custom edits required for macos.
Well, what I pasted is the same as what was in VM already for right above MEMBALOON part:
This part below. First section is the video component, second is sound. Your address domain and pci domains will be different based on server configuration and card placement.
W eything works until you change to the gpu, so do this: make a new vm per the methods in the video (if you have a good backup img file then just start at that part of the video l where you modify the xml. Once it boots into vnc, shut it down.
Now, create a new vm, Linux or whatever. Remove the hard drive option so it doesn’t create a disk, only 1 core 255mb ram, whatever, it’s notngojng to be started. Select your gpu and it’s sound card. Click save but don’t start.
InteEdit that vm, and when in the edit screen, toggle to xml. Scroll down near the bottom, find the host dev tags, will look like above. Copy all of that.
Then go to your macOS vm, edit, and then toggle to edit xml. Scroll down to the bottom. Find the tag Tag. You want to paste the hostdev info you copied above/ just before that.
Now, in the part you just pasted, look for the lines there will be one in each hostdev section. Delete those (they will auto generate correctly on near start.
you are now ready to save the xml and boot the vm. We’ll deal with vnc removal later, but this is how you can manually add the gpu with the correct xml generatedand not have unRaid screw up the custom edits required for macos.
Interesting; will have to give this a try later today. Been swamped with home projects lately [emoji848][emoji2361]
you can compare to my working xml, I don't have time at the moment to go line by line for you, but you may find differences (excluding drive locations and uuid, nvram file name, Mac address, etc...) don't worry about the added Qemu arguments in mine, they are for pcie definitions, as it was added for a patch in an RC. This xml also has 2 network "cards" for the e1000 and vmxnet 3 that I used for testing of different speeds. This xml comes from one of my 2 Mojave vm's, and this one is running a 730. topology was removed to maximize performance.
Is changing from VNV to GT730 not enough? Is more of the VNC code supposed to be out than what it automatically does? Is their some way you can share what exact VNC code shouldn’t be in XML Once I change to GT730?
Been jacking with this last two days, tried everything I can come up with and moment I set it to 730 for video and sound and post my cpu XML stuff and vmxnet3 the Network adapter settings it won’t boot. Have tried plugging in monitor etc. No idea what’s going but it has me flustered beyond belief.
I ended up getting it to work... I had to have the Bitwarden docker on BRIDGE, and I tweaked the config file.. Works externally to use my ddns domain and internally via IP.
Weird; not sure why it would have to be on a bridge; mine didnt/wasn’t /isn’t [emoji848][emoji2373] Glad you got it working though!
I created mine probably a little different than what is in the video (as I got impatient when Mojave was first released.) I left the steps here but they were based on the high Sierra install video. Everything else was essentially the same with no special modifications.
Thanks for TIP on just copying IMG files and making duplicates to test with, if nothing more at moment that was VERY helpful thing to learn from you!! Moved my WIN10 to Unassigned drive too
I created mine probably a little different than what is in the video (as I got impatient when Mojave was first released.) I left the steps here but they were based on the high Sierra install video. Everything else was essentially the same with no special modifications.
Guess this weekend I’ll try another from scratch. Because no matter where I have vdisk it won’t boot with GT730 attached to it; on card no output on DVI, VGA or HDMI
I'm trying to setup Let's Encrypt along side Bitwarden... I have it to the point where I can go to my DDNS.Net domain/address and I get the Let's Encrypt "Welcome page". I have my router setup.. I think.. it's an ASUS - external Port 443, internal port 1443 Tower IP.. and External Port 80, Internal 180 Tower IP.. I have tweaked the bitwarden.subdomain.conf file and I can't get it to through to the Bitwarden. Any ideas? I did setup the Proxynet network (followed spaceinvaders video).
Here is latest XML with card in, and moved to a Unassigned Drive; it just flat out refuses to boot with GPU pointed to VM. Do you see anything awry I have done in this XML that you think might cause it to not boot?
Time to start from scratch. Pro tip: once you have a base img up and running with vnc, make a backup copy on the array. That way of you mess it up later it only takes a few minutes to copy over a known working good img vs starting over again (learned this the hard way a few times.)
Is their anything, anything at ALL in Clover/efi that should be ON/OFF? Wondering if my meddling from trying to get iGPU working left something sour that's genuinely conflicting with 730... Scratches Head. Converted back to VNC and did get it to boot...finally so all hope is not lost
Sometimes on the forum we assume others have read documentation or watched the videos on basic vm setup and performance. It’s not your fault, but rather ours.
Well, at any rate I have something borked good; even moving to different drive it just won't boot at all now. DOH
You may have misconfigured in the vm creation as well. But I can tell you that even if it's all 100% correct, running the img file in a parity protected array will never perform we'll.
Just so weird no one has told me that. Just moved it; will try and load it from Unassigned in just a few. Took a bit to copy. And it’s even weirder Win10VM works stellar under same conditions. Will report back launching off UD in a few
This is your problem, plain and simple. you still need to do some tuning like isolating cpu's from unRaid, but you'll never get good performance after tuning/optimizing as every change or file that needs to be made to the img file takes first one spin of the parity disk and then another spin of both the parity and data disk. This does not take into account any other data being used on the drive as a share, or the system as a whole.
If you want get a little bump, and you have an extra spinning drive, then you can mount it via unassigned devices plugin, or as a cache drive and move the img file there, then change the xml to reflect the new destination. then at least you'll have somewhat improved write performance vs what you have now which is going to be abysmal.
Otherwise your current xml and logs show no major errors after a little bit of looking. Trying to disable sound will not help you as it is in the same iommu group as the video output of the gpu, which will then prohibit the vm from starting.
Well, I do have two Unassigned Device HDDs; a 1tb and a 500gb.
It must just be taking so long too boot that well, its taking forever. I was able to VNC into Mojave ONE time but performance was horrible and unuseable. I don't know ANYTHING about isolating CPUs. I guess I need to look into how to change Mojave IMG to Unassigned Device HDD.
Been waiting 7-9minutes this time and still can't even VNC or JUMP into it; it may actually not even be booting now :facepalm:
Sad day though, pretty much wasted my time, or something, I think. Guess I need to pick up a SSD to be "cache" at some point. Really wanting to get a Mojave VM going, somehow. 😞
without looking at your diagnostics, it appears your img file is on the array disk 2, meaning a spinning disk. This means any reads are limited to about 110-120MB/s but writes are 30MB/s or less if you have a parity disk.
Apparently its NOT booting now; so slow can't get into it apparently. Almost appears something with audio, going to remove that pass through and see if circumstances change??
post full diagnostics file after failure to boot vm and the xml you are using (minus the apple key) This doesn't really tell me anything. Also just edit your post and remove this, as it has the apple key in it.
post full diagnostics file after failure to boot vm and the xml you are using (minus the apple key) This doesn't really tell me anything. Also just edit your post and remove this, as it has the apple key in it.
APOLOGIES! Alright, so I LIED, a little. It DOES boot up. Just SOOOOO SLOW that it's nearly un useable. It IS identifying GT730 in Abou this Mac. Trying to let it boot again and will pull ZIP.
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
in VMs
Posted · Edited by blaine07
Well, what I pasted is the same as what was in VM already for right above MEMBALOON part:
<address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</source>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
</source>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</hostdev>
<memballoon model='none'/>
Under VM Creation GPU is listed as 06:00:0 and Sound is listed as 06:00:1
At any rate, still no changes; not doing anything/booting 😞
EDIT: Once I pasted I took the "PCI" line out in entirely for both GPU/SOUND