[Support] SpaceinvaderOne - Macinabox


Recommended Posts

On 11/15/2019 at 7:02 PM, bogglor said:

I can't recall precisely, but I seem to remember in a previous SpaceInvaderOne Mac OS X video, the recommended remote desktop software of choice was NoMachine.  I am not sure about anybody else, but SplashTop has been complete trash for me.  Connecting from a Win10 client to the Mac OS X guest VM, the display is sluggish and corrupts occasionally, the mouse pointer lags horribly, and I'm unable to even get the correct size running.  I have none of these problems with NoMachine.  Maybe it's ok with the default 1080p setup but it doesn't suffice for high res.

 

Here's what I did to get a high res desktop going:

 

- Boot VM as normal with an Unraid VNC connection

- Go get Clover Configurator, mount the EFI partition

- Change display resolution to 2560x1600 in Clover (native res of my monitor)

- Shut down VM

- Went into the VM BIOS and hit F2 a bunch of times, changed display res to 2560x1600 here

- Booted the VM, loaded SplashTop

- Tried a bunch of stuff to get SplashTop working properly, including changing the NIC to E1000 in the Unraid XML, no love

- Installed NoMachine, configured it and have been using it since

 

I also tried TeamViewer, it was comparable to NoMachine once you enable direct connection mode.  It's more 'busy' though; prefer the simplicity of NX.

Performance in all 3 seemed to be better with the vmxnet3 driver; have not tried iCloud or any other stuff.

No Machine is working great, i tried at least 5 different solutions for a good server and none of them worked well.  Very glad you posted this as it solved my dilemna of finding a nice low footprint remote access from windows 10.  

  • Like 1
Link to comment
On 11/16/2019 at 1:01 PM, Skitals said:

I'm passing through two onboard usb controllers from my x570 aorus elite wifi, it seems to work natively in High Sierra. I can plug in my usb astro mixamp or usb-c pixel buds, and they are recognized as audio devices. But the audio through either is garbled/clicky. I don't know where to begin, do you think it's a usb problem, or an audio problem? My understanding was if you successfully pass through a usb controller, a usb audio device should just work. All these controllers and devices work fine in my win10 vm.

 

Any suggestions are appreciated, and I appreciate the great work!

To answer my own question, I went ahead and picked up a FL1100 usb card. Passed it through to MacOS and my usb audio works fine now. This is the card I went with: https://www.amazon.com/gp/product/B00B6ZCNGM/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

Link to comment
1 hour ago, Skitals said:

picked up a FL1100 usb card. Passed it through to MacOS and my usb audio works fine now. This is the card I went with

Ive ordered a soundcard and usb card to passthrough for this VM, sadly I'm on a h97 M-ATX board, and my 2 pci-e are used up with my GPU and HBA, so have ordered some cheap PCI cards. Will report back

Link to comment
On 11/12/2019 at 11:36 AM, SpaceInvaderOne said:

 

Ok so I didnt realise that you are having the issue when the vm is using the GPU.

What the problem is is that I you are using a Nvidia gpu.I thought you had gone back to vnc.

An nvidia GPU this needs web drivers to make work.

 

So 3 things you will need to do.

 

1. Boot back into the vm without passthrough using vnc. Install splashtop desktop personal streamer (free) https://www.splashtop.com/streamer

on the vm. And the Spalashtop desktop on your computer.

2. Open the clover configurator and goto system parameters and check nvidia web

then on smbios make sure you have product imac 14,1 (see pics)

993133966_ScreenShot2019-11-12at16_27_09.thumb.png.08438dd6b18550df79b1ec128c177251.png

599833274_ScreenShot2019-11-12at16_27_40.thumb.png.0ba81226b8f9ffd91070147a01e1a96e.png

 

3. Stop then vm. passthrough the graphics card again, then boot. (you will still see the garbled screen)

Use splashtop to connect to the screen. It will be very small screen but don't worry.

Open terminal and run this 


bash <(curl -s https://raw.githubusercontent.com/Benjamin-Dobell/nvidia-update/master/nvidia-update.sh)

That will install the webdrivers for the gpu easily.

After that reboot and you should have a workable vm !! ....hopefully 😃

Thanks SpaceInvader!

 

I started over, followed those^ instructions, and got a working 2-core VM with passthrough. The key issue was just installing the nvidia drivers remotely when the screen was garbled.

 

THEN I went and tried to change the # of cores in the VM (and made all the right edits to the XML again) and somehow this resulted in the VM not outputting to the display. It boots with a black monitor at 1280x1024 resolution. I can Splashtop in and use the VM no problem, but it won't even show me the full 2560x1440 resolution option in osx preferences. Any thoughts?

 

Here is what I see in display preferences:

image.png.52be302806b119da6daf921120a8cdae.png

Edited by GameKing505
  • Like 1
Link to comment

So I have been able to get Catalina installed. I can pass along 4 cores (8 threads) to the OS. I can also pass along my RX580 graphics card. I have updated the OS portion of the XML file, but I still get the offset apple logo on startup with the 6 lines. Boot time takes a while considering it's on a SSD. Once the OS starts it looks fine, but I get terrible performance and tons of graphics issues. If I try to open the chrome browser it only seems to display halve of the page at a time, can't even get to the login screen for Discord as I only can see the outlines of the main boxes. I get the same issues with VNC as well. Here is my XML:

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxCatalina</name>
  <uuid>e6270312-e89d-4a26-a09d-500a0e35f1e9</uuid>
  <description>MacOS Catalina</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="MacOS" icon="/mnt/user/domains/MacinaboxCatalina/icon/catalina.png" os="Catalina"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <vcpupin vcpu='4' cpuset='6'/>
    <vcpupin vcpu='5' cpuset='14'/>
    <vcpupin vcpu='6' cpuset='7'/>
    <vcpupin vcpu='7' cpuset='15'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_VARS.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='8' threads='1'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxCatalina/Clover.qcow2'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxCatalina/Catalina-install.img'/>
      <target dev='hdd' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxCatalina/macos_disk.img'/>
      <target dev='hde' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x8'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x9'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0xa'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:53:18:5c'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x09' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x041e'/>
        <product id='0x324d'/>
      </source>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x046d'/>
        <product id='0xc52b'/>
      </source>
      <address type='usb' bus='0' port='3'/>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x046d'/>
        <product id='0xc537'/>
      </source>
      <address type='usb' bus='0' port='4'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value=___REMOVED___
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
  </qemu:commandline>
</domain>
 

Glitch.jpg

Edited by mkleist
Added Image
Link to comment
7 hours ago, Jimmy235 said:

Which version of Unraid is needed for Macinabox? I have 6.5.3 and can`t find in apps.

Probably you have an old version of Community Applications too so that might be the problem. Why don't you upgrade? If for no other reason than old versions are difficult for us to give support.

Link to comment

@SpaceInvaderOne great video as usual! Cannot thank you enough.  I have been using a Mac VM since High Sierra and although have had a couple of issues (and still do), the VM is my daily driver. My main issue since Mojave has been passing through sound.  No matter what I try, it just will not work.  It use to frustrate me but I use a bluetooth soundbar instead  and it works perfectly.  I tried all the tips etc to get it to work but it just never did.  NB: I am not asking for help here....I am just giving a bit of background.

@mkleist , not sure what your setup is with your motherboard and GPU passthrough of the RX580, but in my experience I have had to also passthrough the Graphics Card BIOS for both Mojave and Catalina of my RX580.  this may or may not help your situation.  I have a strange situation with my motherboard (ASUS P8B-E/4L) in that after upgrading the BIOS, the primary GPU changed from onboard graphics to the first PCI slot!!  So, after hours of frustration, I just pass through the BIOS for the graphics card and it works fine.

Link to comment

Good Morning (If you're in the UK!)

 

@SpaceInvaderOne thank you again for such amazing work, I've been following videos from you for such a long time now! I've watched the video all the way through, however I am having some trouble getting GPU passthrough going. I've checked out the post which you replied to previously about using clover configurator to set the Nvidia web drivers and that all looks good.

 

I've installed High Sierra (as I believe it supports Nvidia still - I am a noob) It works like a dream with the VNC as graphics but as soon as I enable the passthrough it doesnt seem to boot. I've installed Splashtop and rebooted with VNC which allows me to connect, again with Passthrough it never seems to get anywhere. 

Sitting in front of the monitor... i can see it begins to boot (Apple symbol with a bar) when it gets half way through it just goes black.

 

I've pasted my xml below with OSK removed, would really appreciate it if anyone could offer some advice?

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='7' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>MacinaboxHighSierra</name>
  <uuid>afe34291-d4bd-42c2-93d4-85ee888822e8</uuid>
  <description>MacOS High Sierra</description>
  <metadata>
    <vmtemplate xmlns="unraid" name="MacOS" icon="/mnt/user/domains/MacinaboxHighSierra/icon/highsierra.png" os="HighSierra"/>
  </metadata>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxHighSierra/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/MacinaboxHighSierra/ovmf/OVMF_VARS.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='2' threads='1'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxHighSierra/Clover.qcow2'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxHighSierra/HighSierra-install.img'/>
      <backingStore/>
      <target dev='hdd' bus='sata'/>
      <alias name='sata0-0-3'/>
      <address type='drive' controller='0' bus='0' target='0' unit='3'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/MacinaboxHighSierra/macos_disk.img'/>
      <backingStore/>
      <target dev='hde' bus='sata'/>
      <alias name='sata0-0-4'/>
      <address type='drive' controller='0' bus='0' target='0' unit='4'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='ide'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'>
      <alias name='pcie.0'/>
    </controller>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <alias name='pci.1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <alias name='pci.2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <alias name='pci.3'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <alias name='pci.4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:b9:e1:ca'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='vmxnet3'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-7-MacinaboxHighSierra/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'>
      <alias name='input1'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input2'/>
    </input>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
  <qemu:commandline>
    <qemu:arg value='-usb'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='REMOVED'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
    <qemu:arg value='-cpu'/>
    <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/>
  </qemu:commandline>
</domain>

 

I'm not overly confident with the xml changes I've made but have also attempted to paste in the QEMU command line arguments, copied back the OS portion of the XML after using template editor but still do not seem to get anywhere!

 

I'm running Unraid 6.7.2 just to confirm too.

 

Many Thanks,

-J
 

Edited by thejamkel
more details
Link to comment

Hi,

I'm trying to get this to work, and I can get up to the part where I need to stop/start the array and the VM appears in the VMS tab.  Then, when I try to start the VM, it simply disappears and nothing happens. 

 

What am I doing wrong?

 

Many thanks!

Edited by BartDG
Link to comment
On 11/17/2019 at 11:06 PM, hk21x said:

I had this same issue, fixed it by modifying my template as my default network bridge was incorrect. It was picking up br0 for me when it should have been virbr0.

Force stop the VM you wish to have working, then click 'Edit' - select 'XML view (this is important!!!) then modify the br0 value for your network bridge!

 

That should solve it for you, did for me!

Thanks so much that did the trick!

Link to comment

I managed to get it all working with a passed through GTX 1080 on High Sierra but then mistakenly allowed the Mac App Store to make updates (not a full OS update but some sort of security patch). 
 

Now my display is messed up again at boot, even though the correct Nvidia web drivers are installed. OSX VMs seem like a PITA...

 

Thoughts on how to fix it?

Edited by GameKing505
Link to comment
On 11/8/2019 at 4:44 PM, SpaceInvaderOne said:

 

The macinabox template uses  custom ovmf files. If you change


<os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/e930dfa3-ce5f-4a14-a642-d140ed8035bd_VARS-pure-efi.fd</nvram>
  </os>

to be as below you will be back without the screen corruption.


  <os>
    <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_CODE.fd</loader>
    <nvram>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_VARS.fd</nvram>
  </os>

hope that helps 😀

Missed this when you posted it. Thanks a ton!!

Link to comment
23 hours ago, dexxy said:

See my post above thanking SpaceInvader

Thank you! That fixed my problems.

After installation finished should I remove most of the boot drive and is anyone have able to pass through GPU? I had no luck with it

Also getting error Domain id=9 is tainted: custom-argv and warning host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17]

Edited by ducnghich
Link to comment
On 11/18/2019 at 7:00 AM, samtrois said:

Ive ordered a soundcard and usb card to passthrough for this VM, sadly I'm on a h97 M-ATX board, and my 2 pci-e are used up with my GPU and HBA, so have ordered some cheap PCI cards. Will report back

Sadly no luck so far with my PCI soundcard. The chipset is a C-Media CMI8738 and is detected by unRaid.
 

 

 

I have tried all PCIe ACS override options .

Disabled:

628148279_PCIeACSoverrideDisabled.png.0371b04a9f2b145236937515e27e04ef.png

 

Downstream:

106411226_PCIeACSoverrideDownstream.png.4200afa3eeb61ed39c8b19adf7dc24c8.png

 

Multi-function:

334415611_PCIeACSoverrideMulti-function.png.3d600c58c29b7e2fc5f7055011478479.png

 

Both:

1828183435_PCIeACSoverrideBoth.png.db90adfa8e7fceb6be8131413820aa75.png

 

 

 

And it just doesn't show up as an option in my VM config.

477835795_Soundcardspassthrough.png.9f0182e0035a23b76b7704b3d79d51fb.png

Could someone suggest the best ACS override setting and code to enter it in the XML manually?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.