January 21, 20206 yr Hello community, I want to start another one topic about HDMI sound issues on QEMU MacOS. I'm using unraid in many locations for virtualisation Windows and Linux machines for couple of years now, not always without issues, but I found solutions very fast. Not with MacOs install :). Now the anamnesis: I've successfully installed Mac OS and its working fine without sound. On two different UNRAIDs. One x399 taichi(downgraded bios)+3900x+RX570. Second Z370A+8700k+rx570 also. My pass thought setup in xml: <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <rom file='/mnt/user/Bios/Sapphire.RX570.8192.171019.rom'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/> </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='0x00' slot='0x05' function='0x1'/> </hostdev> I've installed Kexts Lilu, Whatevergreen and AppleACL. All latest and loaded by system. I see device in PCI devices! But I see nothing in MacOs settings audio I'm struggling with with for one week now. Followed every HDMI manual on machardwarex86 site. (after every method I've recovered new system from backup). I can't handle it myself. Need some help. PS1: I've tried 2 different monitors. One with DP, one with HDMI.
January 21, 20206 yr Put the GPU on bus=0x01 or something. Its on bus 0x00 slot 0x05. Thats not gonna work. This is how my GPU is setup. Also you don't need AppleALC for GPU audio only Lilu/Whatevergreen is needed. <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0a' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/> </hostdev> Little tip tho make sure you ethernet is on bus 0x00 that way it will be seen as built in and all the imessage/handoff stuff will work.
January 21, 20206 yr Author Then i change bus to something else I see only black screen. VM don't start. I've tryed to delete this <address strings to let unraid automatically select bus and slot. Still nothing. Black screen. But with bus 0 and slot >5 I have everything good with video card passthought(tryed GPU test and games). Edited January 21, 20206 yr by AlexSolo
January 21, 20206 yr Author May be something wrong in my qemu args? I've experimented a lot with em before did backup and installed Kexts. <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='************************'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-cpu'/> <qemu:arg value='IvyBridge,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+fma,+bmi1,+bmi2,+aes,+xsave,+xsaveopt,check'/> </qemu:commandline>
January 22, 20206 yr Author 22 hours ago, david279 said: Put the GPU on bus=0x01 or something. Its on bus 0x00 slot 0x05. Thats not gonna work. This is how my GPU is setup. Also you don't need AppleALC for GPU audio only Lilu/Whatevergreen is needed. <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0a' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/> </hostdev> Little tip tho make sure you ethernet is on bus 0x00 that way it will be seen as built in and all the imessage/handoff stuff will work. I've successfully changed bus. Problem was with bios I've downloaded from TechPower. Now I have bios dumped with GPU-z in Windows. Also deleted AppleALC. Nothing changed :(. Now I have this passthought config: <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <rom file='/mnt/user/Bios/Ellesmere.rom'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0' multifunction='on'/> </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='0x05' slot='0x00' function='0x1'/> </hostdev>
April 25, 20206 yr I am seeing pretty much the exact same symptoms you are describing here. Have you had any luck getting the audio passed though from your rx570? As soon as i try to passthrough audio in any of the methods i have found, I end up with no display output at all. My config is pretty much identical to what you have shown here. Thanks
May 7, 20206 yr yeah I got it working. In my experience the default machine type needed to be changed to Q35-4.2. macinabox set it to a lower version that caused errors. All I did was follow the general instructions for passing through HDMI audio as shown above with the machine type changed. Worked right away
May 30, 20206 yr i'm experiencing the same issue. Tried changing the machine type and no dice. Did you have to do any of the other steps listed above to get it working?
Archived
This topic is now archived and is closed to further replies.