AlexSolo Posted January 21, 2020 Share Posted January 21, 2020 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. 1 Quote Link to comment
david279 Posted January 21, 2020 Share Posted January 21, 2020 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. Quote Link to comment
AlexSolo Posted January 21, 2020 Author Share Posted January 21, 2020 (edited) 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, 2020 by AlexSolo Quote Link to comment
AlexSolo Posted January 21, 2020 Author Share Posted January 21, 2020 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> Quote Link to comment
AlexSolo Posted January 22, 2020 Author Share Posted January 22, 2020 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> Quote Link to comment
thomas9992 Posted April 25, 2020 Share Posted April 25, 2020 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 Quote Link to comment
renegade5150 Posted May 7, 2020 Share Posted May 7, 2020 Anyone ever get this working? Quote Link to comment
thomas9992 Posted May 7, 2020 Share Posted May 7, 2020 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 Quote Link to comment
renegade5150 Posted May 8, 2020 Share Posted May 8, 2020 got it working thanks! Quote Link to comment
NoVillage90 Posted May 30, 2020 Share Posted May 30, 2020 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? 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.