Harrywong Posted September 14, 2019 Share Posted September 14, 2019 (edited) Dear unraid community, Does anyone have the similar problem? - can't reboot / shutdown: goes to black screen when rebooting from MacOS, or from unraid web UI. I have to force stop the VM from unraid web UI. - randomly black screen: goes to black screen randomly, around once per day of heavy use. Sometimes can't visit unraid web UI as well. <- this is the most annoying issue. - can't update OS: when updating by clicking the prompt in MacOS does not work, after reboot (reboot into black screen and force stop VM and start VM), MacOS says it can't update. Anyone has the experience of successfully updating? I use MacOS very frequently, so any tip will be very helpful. Thank you! My setup: Threadripper 1950x, Vega 64. I have to use custom GPU vbios, without it the fan is very loud, but with the custom vbois, the fan never runs - that's why I want to update Mojave, the lasted version solves the fan issue. Here is my config: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='2' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>OSX</name> <uuid>ffe0f7c5-6016-1ff2-80a0-66fc0e550ff8</uuid> <metadata> <vmtemplate xmlns="unraid" name="OpenSUSE" icon="opensuse.png" os="opensuse"/> </metadata> <memory unit='KiB'>60817408</memory> <currentMemory unit='KiB'>60817408</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>32</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='16'/> <vcpupin vcpu='2' cpuset='1'/> <vcpupin vcpu='3' cpuset='17'/> <vcpupin vcpu='4' cpuset='2'/> <vcpupin vcpu='5' cpuset='18'/> <vcpupin vcpu='6' cpuset='3'/> <vcpupin vcpu='7' cpuset='19'/> <vcpupin vcpu='8' cpuset='4'/> <vcpupin vcpu='9' cpuset='20'/> <vcpupin vcpu='10' cpuset='5'/> <vcpupin vcpu='11' cpuset='21'/> <vcpupin vcpu='12' cpuset='6'/> <vcpupin vcpu='13' cpuset='22'/> <vcpupin vcpu='14' cpuset='7'/> <vcpupin vcpu='15' cpuset='23'/> <vcpupin vcpu='16' cpuset='8'/> <vcpupin vcpu='17' cpuset='24'/> <vcpupin vcpu='18' cpuset='9'/> <vcpupin vcpu='19' cpuset='25'/> <vcpupin vcpu='20' cpuset='10'/> <vcpupin vcpu='21' cpuset='26'/> <vcpupin vcpu='22' cpuset='11'/> <vcpupin vcpu='23' cpuset='27'/> <vcpupin vcpu='24' cpuset='12'/> <vcpupin vcpu='25' cpuset='28'/> <vcpupin vcpu='26' cpuset='13'/> <vcpupin vcpu='27' cpuset='29'/> <vcpupin vcpu='28' cpuset='14'/> <vcpupin vcpu='29' cpuset='30'/> <vcpupin vcpu='30' cpuset='15'/> <vcpupin vcpu='31' cpuset='31'/> </cputune> <resource> <partition>/machine</partition> </resource> <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/ffe0f7c5-6016-1ff2-80a0-66fc0e550ff8_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='custom' match='exact' check='full'> <model fallback='forbid'>EPYC-IBPB</model> <vendor>AMD</vendor> <topology sockets='1' cores='32' threads='1'/> <feature policy='require' name='x2apic'/> <feature policy='disable' name='tsc-deadline'/> <feature policy='require' name='hypervisor'/> <feature policy='disable' name='tsc_adjust'/> <feature policy='require' name='cmp_legacy'/> <feature policy='require' name='perfctr_core'/> <feature policy='disable' name='virt-ssbd'/> <feature policy='disable' name='monitor'/> <feature policy='disable' name='sha-ni'/> <feature policy='disable' name='cr8legacy'/> <feature policy='require' name='topoext'/> <feature policy='require' name='invtsc'/> </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>destroy</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/nvme1n1'/> <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/Mojave/1_17_2019_rsync.img'/> <backingStore/> <target dev='hde' bus='sata'/> <boot order='1'/> <alias name='sata0-0-2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/nvme0n1'/> <backingStore/> <target dev='hdg' 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='0x8'/> <alias name='pci.1'/> <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'/> <alias name='pci.2'/> <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'/> <alias name='pci.3'/> <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'/> <alias name='pci.4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0xc'/> <alias name='pci.5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/> </controller> <controller type='pci' index='6' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='6' port='0xd'/> <alias name='pci.6'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/> </controller> <controller type='pci' index='7' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='7' port='0xe'/> <alias name='pci.7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/> </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:17:19:69'/> <source bridge='br0'/> <target dev='vnet1'/> <model type='e1000-82545em'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/1'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/1'> <source path='/dev/pts/1'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-2-OSX/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='mouse' bus='ps2'> <alias name='input0'/> </input> <input type='keyboard' bus='ps2'> <alias name='input1'/> </input> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <rom file='/mnt/user/backup/mojave/Sapphire.RXVega64.8192.180125.rom'/> <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='0x0d' slot='0x00' function='0x3'/> </source> <alias name='hostdev1'/> <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='0x0c' slot='0x00' function='0x3'/> </source> <alias name='hostdev2'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x44' slot='0x00' function='0x3'/> </source> <alias name='hostdev3'/> <address type='pci' domain='0x0000' bus='0x06' 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-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=<REDACTED>'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-cpu'/> <qemu:arg value='Penryn,vendor=GenuineIntel,kvm=on,+invtsc,+fpu,+vme,+de,+pse,+tsc,+msr,+pae,+mce,+cx8,+apic,+sep,+mtrr,+pge,+mca,+cmov,+pat,+pse36,+clflush,+mmx,+fxsr,+sse,+sse2,+syscall,+nx,+mmxext,+fxsr_opt,+pdpe1gb,+rdtscp,+lm,+pni,+pclmulqdq,+ssse3,+fma,+cx16,+sse4_1,+sse4_2,+movbe,+popcnt,+aes,+xsave,+avx,+f16c,+rdrand,+lahf_lm,+cmp_legacy,+svm,+abm,+sse4a,+misalignsse,+3dnowprefetch,+osvw,+topoext,+perfctr_core,+ibpb,+fsgsbase,+bmi1,+avx2,+smep,+bmi2,+rdseed,+adx,+smap,+clflushopt,+xsaveopt,+xsavec,+xgetbv1,+arat,+npt,+nrip_save,vmware-cpuid-freq=on,'/> </qemu:commandline> </domain> Edited September 14, 2019 by trurl redact osk Quote Link to comment
david279 Posted September 14, 2019 Share Posted September 14, 2019 what kext are you using? Quote Link to comment
Harrywong Posted September 14, 2019 Author Share Posted September 14, 2019 12 minutes ago, david279 said: what kext are you using? Thanks, here are the kexts: Quote Link to comment
david279 Posted September 14, 2019 Share Posted September 14, 2019 (edited) Delete the NullCPUPowerManagement and see if it helps also update your kext. Also update your kext they are probably not the latest updated versions. Edited September 14, 2019 by david279 Quote Link to comment
david279 Posted September 14, 2019 Share Posted September 14, 2019 These are the only kext i use on my Mojave and Catalina VMs Quote Link to comment
Harrywong Posted September 14, 2019 Author Share Posted September 14, 2019 (edited) 21 minutes ago, david279 said: These are the only kext i use on my Mojave and Catalina VMs Thanks. I am backing up my image and then will try changing the kexts to match yours. Since we are all using qemu, I think the required kexts will be similar. Do you add additional arguments to clover? I am not familiar with clover, but I vaguely remember that arguments can be passed to Lilu / WhateverGreen. Btw, do you use APFS for your MacOS? Edited September 14, 2019 by Harrywong Quote Link to comment
david279 Posted September 14, 2019 Share Posted September 14, 2019 (edited) No you can leave it as is. Also the smbios you use helps a bit. Im using 18,3 for mine. Stay away from the iMacPro 1,1 as it will cause a black screen at startup. These are the drivers i am using. Edited September 14, 2019 by david279 Quote Link to comment
david279 Posted September 14, 2019 Share Posted September 14, 2019 yea i use APFS for the file system Quote Link to comment
Harrywong Posted September 14, 2019 Author Share Posted September 14, 2019 Thanks! Update now works, and is able to shutdown correctly. Not sure if random black screen problem went away because did not have a chance to use it for a long period of time. What I did: Removed kexts, the remaining kexts were the same 3 you have. I tried to update the drivers (.efi files) to match what you have, but unfortunately after that clover can not see any boot drive, which is strange. So I am keeping my old drivers, unupdated. Thanks! Quote Link to comment
Harrywong Posted September 14, 2019 Author Share Posted September 14, 2019 What's best, after the update, I don't need to use a custom vbios for graphics card anymore. And the fan issue is resolved Quote Link to comment
Harrywong Posted September 26, 2019 Author Share Posted September 26, 2019 Hi David, I am not getting (unchanged from before updating Majave) the expected performance with Vega 64 on FCPX. Could I have some suggestions from you on the possibility to fix it? - We are using QEMU, I am not sure if disabling iGPU would help. Threadripper does not have a iGPU, but I think without disabling it, QEMU will emulate an iGPU, which is suboptimal. - Curious what is the clover configurator SIMBIOS configuration that you are using? I know you are using 18,3, could you share some specifics? This is mine: - do you know what does clover's CPU->QEMU mean? Should I select it? I could not find documentation regarding it. Thanks! Quote Link to comment
david279 Posted September 26, 2019 Share Posted September 26, 2019 Check out the post here Guy has figured out how to update clover to a newer version and how to use the iMacPro smbios which means native hardware acceleration for video task. Quote Link to comment
Recommended Posts
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.