Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Jagadguru

Members
  • Joined

  • Last visited

Everything posted by Jagadguru

  1. Try removing mode='host-passthrough' check='none' that improved my VM. At least it improved the bootup.
  2. I second that. But now I can't get e1000-82545em to work anymore. MacOS reports "cable unplugged." virsh domif-setlink Catalina vnet0 up does not help.
  3. Domain is tainted error can be safely ignored. I just means you're running a configuration or some component that is not officially supported by the maintainers of either KVM or QEMU. That means that if you ever need to contact them to report a bug or get help, you would need to adjust your configuration such that it is purely running their supported code and not "tainted" or they will not try to fix it, because they don't support that use or component added.
  4. Hey @david279 or anybody. I have been using a MacoS VM as my daily driver for 2 years now and have gone through 4 or 5 versions of MacOS starting with Yosemite I believe. Through several versions of Clover and and even QEMU/Libvirt/OVMF. Maybe every 5th time or so, the VM will crash immediately on showing the apple logo on boot. This has happened through all these iterations. It's not critical. Really just an annoyance. Lately, with Catalina-Beta on start it bootloops 2 or 3 times before it "catches." Does that happen to you guys? I haven't read anywhere about this being common.
  5. I use Sabrent USB External Stereo Sound Adapter for Windows and Mac. Plug and play No drivers Needed. (AU-MMSA). Plugged into a passed through USB3 controller. Also just works.
  6. You can just make a backup of your vdisk and try it. It worked for me. That is how I got from HS to Mojave. When a new MacOS comes out sometimes I upgrade in-place and sometimes I do a clean install, whatever I feel like.
  7. Seems like it's got to be one of a few things-- Your OVMF files, your Clover version or drivers, disk setup in the XML, or malformed .img file. Hmm. you could try attaching a known good vdisk i.e. from a Windows or Linux VM to the MacOS VM (make a backup first) as a test to see if Clover can detect anything at all.
  8. It works. At first it did not work, but when I upgraded to Catalina-Beta 5 it started working.
  9. Please share the relevant portions of your XML.
  10. I have tried it. I put the main graphics card on another, removable GPU in the bios of he computer, and gave it a go. It works fine for my Libre Elec VM. No reset problems or anything. All other VM's -- MacOS, Windows, BSD, Ubuntu give a black screen for me. Libre Elec is primarily made for Intel graphics because it is geared toward installing on NUC type tiny form factor devices. Maybe it boils down to drivers. As far as the state of iGPU passthrough in UnRAID. There is a blog post on this topic:
  11. Do you still have your lag/freeze issue when you are not using any kind of remote desktop software? Testing with passthrough would eliminate that variable.
  12. @Zer0Nin3r Ooohh. Thanks for clarifying that.
  13. I'm really interested. How is it you have that working on a passthrough hackintosh?
  14. Yes. I have Catalina Beta running perfectly with Clover 4900+ from https://github.com/kholia/OSX-KVM. It works flawlessly with one of my GT 710's passed though. Curiously it does not work flawlessly on another GT 710 (from a different manufacturer). EDIT: Both cards work fine. I just had to set the right iMac profile in clover and set the dsdt name (whatever that is). I just cloned this repository and from it used CloverNG.qcow2 as my 3rd disk in my VM. It already contains a Catalina-Beta-ready clover version. For the install disk I followed the directions on the repository and ran ./fetch.py to download the Catalina Beta .dmg and then ran dmg2img as the instructions said to convert it to vdisk and then create a blank mac_hdd_ng.img for the main disk. From there I stopped following the instructions and modified the given macOS-libvirt-NG.xml into the following: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='4' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>Catalina-VNC</name> <uuid>2aca0dd6-cec9-4717-9ab2-0b7b13d111c3</uuid> <title>Catalina-VNC</title> <metadata> <vmtemplate xmlns="unraid" name="Linux" icon="Apple_vintage_trans.png" os="linux"/> </metadata> <memory unit='KiB'>4194304</memory> <currentMemory unit='KiB'>4194304</currentMemory> <vcpu placement='static'>4</vcpu> <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/Catalina-VNC/OVMF_CODE.fd</loader> <nvram>/mnt/user/domains/Catalina-VNC/OVMF_VARS-1024x768.fd</nvram> </os> <features> <acpi/> <kvm> <hidden state='on'/> </kvm> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='4' threads='1'/> </cpu> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writeback'/> <source file='/mnt/user/domains/Catalina-Beta/CloverNG.qcow2'/> <backingStore/> <target dev='sda' bus='sata'/> <boot order='1'/> <alias name='sata0-0-0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writeback'/> <source file='/mnt/user/domains/Catalina-Beta/mac_hdd_ng.img'/> <backingStore/> <target dev='sdb' bus='sata'/> <boot order='2'/> <alias name='sata0-0-1'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/Catalina-VNC/BaseSystem.img'/> <backingStore/> <target dev='sdc' bus='sata'/> <boot order='3'/> <alias name='sata0-0-2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <controller type='sata' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1c' 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='0x1e' 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='0x1e' 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='0x1e' 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='0x18'/> <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-to-pci-bridge'> <model name='pcie-pci-bridge'/> <alias name='pci.2'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0x19'/> <alias name='pci.3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> </controller> <interface type='bridge'> <mac address='52:54:00:8e:e2:66'/> <source bridge='br0'/> <target dev='vnet1'/> <model type='e1000-82545em'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> <input type='keyboard' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='3'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='tablet' bus='usb'> <alias name='input2'/> <address type='usb' bus='0' port='4'/> </input> <input type='keyboard' bus='ps2'> <alias name='input3'/> </input> <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc534'/> <address bus='3' device='5'/> </source> <alias name='hostdev0'/> <address type='usb' bus='0' port='2'/> </hostdev> <hub type='usb'> <alias name='hub0'/> <address type='usb' bus='0' port='1'/> </hub> <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-mouse,bus=usb-bus.0'/> <qemu:arg value='-device'/> <qemu:arg value='usb-kbd,bus=usb-bus.0'/> <qemu:arg value='-device'/> <qemu:arg value='isa-applesmc,osk=xxxxxxxxxxxxxxxxxxxx'/> <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'/> </qemu:commandline> </domain> That works with VNC. Then I modified it from GPU Passthrough <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>Catalina-Beta</name> <uuid>9f778493-da3e-4c06-76fb-409d4c37788f</uuid> <title>Catalina-Beta</title> <metadata> <vmtemplate xmlns="unraid" name="Linux" icon="macOS-catalina.png" os="linux"/> </metadata> <memory unit='KiB'>7864320</memory> <currentMemory unit='KiB'>7864320</currentMemory> <vcpu placement='static'>4</vcpu> <os> <type arch='x86_64' machine='pc-q35-3.1'>hvm</type> <loader readonly='yes' type='pflash'>/mnt/user/domains/Catalina-Beta/OVMF_CODE.fd</loader> <nvram>/mnt/user/domains/Catalina-Beta/OVMF_VARS-1024x768.fd</nvram> </os> <features> <acpi/> <kvm> <hidden state='on'/> </kvm> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='4' threads='1'/> </cpu> <clock offset='utc'/> <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/Catalina-Beta/CloverNG.qcow2'/> <target dev='sda' bus='sata'/> <boot order='1'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writeback'/> <source file='/mnt/user/domains/Catalina-Beta/mac_hdd_ng.img'/> <target dev='sdb' bus='sata'/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/Catalina-Beta/BaseSystem.img'/> <target dev='sdc' bus='sata'/> <boot order='3'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <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> <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='0xb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </controller> <controller type='pci' index='5' model='pcie-to-pci-bridge'> <model name='pcie-pci-bridge'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </controller> <controller type='pci' index='6' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='6'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x01' function='0x0'/> </controller> <controller type='pci' index='7' model='pci-bridge'> <model name='pci-bridge'/> <target chassisNr='7'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x02' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:8e:e2:66'/> <source bridge='br0'/> <model type='e1000-82545em'/> <link state='up'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <input type='keyboard' bus='usb'> <address type='usb' bus='0' port='2'/> </input> <input type='mouse' bus='ps2'/> <input type='tablet' bus='usb'> <address type='usb' bus='0' port='3'/> </input> <input type='keyboard' bus='ps2'/> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x02' 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='0x03' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc534'/> </source> <address type='usb' bus='0' port='4'/> </hostdev> <hub type='usb'> <address type='usb' bus='0' port='1'/> </hub> <memballoon model='none'/> </devices> <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='isa-applesmc,osk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'/> <qemu:arg value='-usb'/> <qemu:arg value='-device'/> <qemu:arg value='usb-mouse,bus=usb-bus.0'/> <qemu:arg value='-device'/> <qemu:arg value='usb-kbd,bus=usb-bus.0'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-cpu'/> <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,vmware-cpuid-freq=on'/> </qemu:commandline> </domain>
  15. Just checking the obvious: Might it be some heavy process inside the VM itself? Can you see any processes hogging resources in the the Activity Monitor when it happens?
  16. Thank you that was great. It worked for me.
  17. I have an idea to get MacVM's to cleanly shutdown from scripts, i.e for backup or server shutdown. 1. Have the script email IFTTT by 2. using a Postfix docker container to send an email to 3. an IFTTT app to create a file in Dropbox on receiving the email then 4. with Dropbox installed on the Mac VM then 5. Use folder actions to detect changes in a special folder, i.e when file arrives and 6. Finally invoking an Automator script to (cleanly) shutdown the VM Update: I was successful but with a different method: Shutdown via passwordless SSH login.
  18. USB Devices would not show under Other PCI Devices unless you were passing through a USB controller card and had specified something like vfio-pci.ids=xxxx:xxxx in the bzimage append line on the boot flash drive.
  19. I did not look very deeply into it. But one thing is you don't need to allow the new template to create a vdisk. You can just put your old one or a copy of it wherever you want and assign the 1st drive to it straight away. Can you start MacOS in verbose mode and see if you can see what message it's on when it stops? In clover you just select the correct icon you want to boot with the left-right keys and hit spacebar. Then use up-down keys to select verbose and hit spacebar to check it. Then select boot with selected startup options.
  20. Go back and check your resolution in OVMF. Make sure it matches your clover resolution.
  21. Most NVIDIA cards, including the GTX 1070 will not have acceleration even if you do get them to work in Mojave because there are no Webdrivers released from NVIDIA for Mojave yet. I think these cards worked in High Sierra however. I've been using an inexpensive GT 710 in my Mojave. It works great. But then I don't do anything demanding like modern games or rendering. Acceleration works.
  22. Do you think it would be possible to run an Apple Thunderbolt Display? They are getting pretty cheap now on Craigslist.
  23. It does not work. macOS doesn't have the ACPI shutdown support like Windows and Linux. I've wandered is there is a way to hack it. Maybe make it SSH in and issue the shutdown command? Mine hard-power-offs all the time when my Unraid VM backup script runs. it has never gotten messed up or lost data.
  24. They changed the key to F2 in the latest version of QEMU.
  25. I'm not using the osk key. Only fakesmc.kext. Works great.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.