[SOLVED] macOS Catalina HDMI/DP Audio RX570.


Recommended Posts

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.

1650885478_Screenshot2020-01-21at20_06_40.png.51554bc6556fb5341a56695745d66a2e.png1755466668_Screenshot2020-01-21at20_06_29.png.0d07f5697b9f793689a6b2b3bc3031e6.png1076676066_Screenshot2020-01-21at20_06_14.png.df2c0cc3c60750e3dee923a9393adfc9.png

 

50560704_Screenshot2020-01-21at20_06_58.png.94a6812262e6408f7f170647e44a7c24.png

 

I see device in PCI devices!

923929855_Screenshot2020-01-21at20_10_01.thumb.png.9593b5a85897dc60379f2952abdc4ab7.png

 

But I see nothing in MacOs settings audio :(

67295104_Screenshot2020-01-21at20_11_14.png.9c6a46613b7be8c70f7faa8460f4335b.png

 

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.

 

Screenshot 2020-01-21 at 18.43.43.png

  • Like 1
Link to comment

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.

Link to comment

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 by AlexSolo
Link to comment

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>

 

 

Link to comment
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>

 

Link to comment
  • 3 months later...

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

Link to comment
  • 2 weeks later...

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

Link to comment
  • JorgeB changed the title to [SOLVED] macOS Catalina HDMI/DP Audio RX570.
  • 3 weeks later...

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.