Ryzen 5000 series
The problem with the sound from speakers through UAD arrow also exist in Windows 10. I don't know if it is Thunderbolt issue or a problem with UAD arrow.
I read from the manual that two sticks of ram should be placed at 2 and 4 slots.
There is a fix for the Audio. It works for me, at least.
I made my own ALC887 for my Gigabyte Aorus B550 Pro AC.
It requires the latest ALC.kext, OC 0.6.4, and SSDT-5.aml (generated from Hackintool).
I have all my port line-outs working and in synch, Headphones, 5700XT (HDAU), and even tested Airplay.
The only remaining issues are the microphone inputs. Sleep/wake works with audio working normally after wake.
Obtaining the Audio Codec raw.
Use a USB with Clover 4988 No kernel patches or config edits. Hit F8 at Clover menu and go to Clover/misc./ALCXXXX files, and drag a copy of the ALCXXXX.bin to the desktop. Open PinConfigurator then go to File and select Desktop/ALCXXXX.bin file. Save the ALCXXXX.text file for editing later it has names and locations of the ports for testing and confirming.
Pin Configurator App.
headkaze/PinConfigurator: HDA Audio Codec verb ... - GitHubgithub.com › headkaze › PinConfigurator
Open a copy AppleALC.kext by right clicking and selecting "Show Package Contents". Right click on the info.plist and open with Propertree or other plist editor. Propertree and Xcode are the easiest for cut and paste.
corpnewt/ProperTree: Cross platform GUI plist editor ... - GitHubgithub.com › corpnewt › ProperTree
Save the info.plist edits and place the edited AppleALC.kext in OC/Kexts folder. Make your SSDT-HDAU.aml using Hackintool Utilities section. It should be labeled SSDT-5.aml. Add SSDT-HDAU.aml to OC/ACPI folder. Make sure to run Propertree/OC-Snapshot after adding or replacing SSDTs and kexts.
Boot up and test your Audio and open up Pin Configurator and go to File/Import/IOregistry.
The ALC layout should appear.
You can test ports and edit this then hit the "Get ConfData" tab and get a new set of Data.
Repeat the process from above and cut and paste the new values in the info.plist of the AppleALC.kext.
Below you can double click on devices and edit, ports types, internal/external, color etc..
After finalizing your configuration and testing, save the data and make a final edit to the ALC.kext info.plist.
I noticed that the AppleALC.kext has over 250 layout IDs, So I did a little experiment and removed them all then copied over a few of the relevant versions that may be used on AMD systems.
Give it a test, you may have to adjust or correct your EFI and use parts of this solution.
Add your own serials etc...