Welcome to AMD OS X

Why not register now to gain full access.

Tutorials for the installation and post install.
#41693
02/09/2019 : This method is deprecated. Use AppleALC instead : viewtopic.php?f=24&t=6043&p=45449#p45449

NO SUPPORT FOR MOJAVE

This guide will help you get native audio on your Ryzen motherboard. This should fix clips/stuttering/poor audio quality encountered with VoodooHDA.

NOTE:
- This patch will break HDMI audio from Nvidia GPUs.

APUs (2200G and 2400G) need to update the kernel too : viewtopic.php?f=4&t=4924

Instructions :

Automated method BROKEN use semi-automated
Spoiler:

1. Mount the EFI partition : Open Clover Configurator and click on the "Mount EFI" tab. Under Efi Partitions, identify your hard drive and click MOUNT PARTITION.
Code: Select all
Clover Configurator : https://mackie100projects.altervista.org/download/ccg/?wpdmdl=726

2. Open the Terminal app.

3. Run the command :
Code: Select all
bash <(curl -s https://raw.githubusercontent.com/AlGreyy/AMD_Ryzen-audio_CloverALC/master/AMD_audio_cloverALC-130.sh)

4. Follow the instructions.

For the codec choice : Answer "y" to all questions except for Motherboard (300/200/x299/x99/Other = n).
Semi-automated method
Spoiler:
1. Mount the EFI partition : Open Clover Configurator and click on the "Mount EFI" tab. Under Efi Partitions, identify your hard drive and click MOUNT PARTITION.
Code: Select all
Clover Configurator : https://mackie100projects.altervista.org/download/ccg/?wpdmdl=726
2. Run AMD_audio_cloverALC-130.sh :
Download the Script+config.zip file below. Unzip it. Locate the AMD_audio_cloverALC-130.sh script.
Open Terminal app. Run the command:
Code: Select all
 sudo sh PATH/TO/AMD_audio_cloverALC-130.sh

Note : You can drag and drop the AMD_audio_cloverALC-130.sh file the Terminal window. It will display the full path for you.

Write down your audio device (VendorID,ProductID).

If you get the "Error: macOS does not support dsdt/XXXX; add the XXX to HDEF patch in Clover and reboot" message, follow steps 3 and 4 to add the right ACPI patch to your config.plist.

3. Open the config_amd_hda.plist with Clover Configurator.

4. Add patches to your config.plist :
Back in Clover Configurator in the "Mount EFI" tab, click on OPEN PARTITION to open the previously mounted EFI partition. A navigation window will show up. Open config.plist in /EFI/CLOVER/.

Copy the one of the patch AZAL/D01A/D018 to HDEF from config_amd_hda.plist to your config.plist.

Under Kernel and Kext Patches in Clover configurator : add the "add 1022 vendor id" patch to your config.plist and add one of the "hardcoding 1022 ..." patch according to your audio device ID from step 2.

5. Reboot your PC.

6. Mount the EFI partition : Open Clover Configurator and click on the "Mount EFI" tab. Under Efi Partitions, identify your hard drive and click MOUNT PARTITION.

7. Run AMD_audio_cloverALC-130.sh script again :
Open Terminal app. Run the command:
Code: Select all
 sudo sh PATH/TO/AMD_audio_cloverALC-130.sh

Answer "y" to all questions except for Motherboard (300/200/x299/x99/Other = n).

8. Reboot your PC. If everything is working, you should see the audio outputs in System Preferences > Sound > Output.

Help and Problem Reporting
Attach the following files in a zip file:
- copy of Terminal's output
- config.plist
- IORegistryExplorer dump (File -> save)
Code: Select all
IORegistryExplorer : https://nofile.io/f/cyhoWKcGM8f/debugtools.zip


Credit to Toleda for the original audio_cloverALC-130.sh script and to ydeng for the AMD audio patch.
Code: Select all
https://github.com/toleda/audio_CloverALC
https://forum.amd-osx.com/viewtopic.php?f=23&t=4642
You do not have the required permissions to view the files attached to this post.
Maxung, sleikang, plesit and 3 others liked this

 Advertising

User avatar
by: AlGrey
#41707
@Maxung, remove the applehdadisabler kext from /EFI/CLOVER/kexts/Other folder.. just updated the script to detect that issue.
#41810
Whats the best process to revert this? Im no longer able to boot after trying this. what all changes to the system are made?
User avatar
by: AlGrey
#41813
@tikizondo94, what is the error you get ?
If you have the HS installer from XNLC, boot from usb installer and run XLNC script. Rebuild cache and fix permissions.
#41892
I'm trying to get this to work, but I just can't find the vendor and the device ID of my onboard audio, neither on High Sierra or Windows wherever I search it, they just doesn't show up where they're supposed to be, which is strange, because I could find the IDs all of my other devices without a problem...
User avatar
by: AlGrey
#41908
@DaisukeK,
Code: Select all
Help and Problem Reporting
Attach the following files in a zip file: 
- copy of Terminal's output
- config.plist
- IORegistryExplorer dump
 IORegistryExplorer : https://nofile.io/f/Eg6wg8tQOgC/debugtools.zip
#41915
All right, I realised the script displays both the vendor and the device ID... I thought I had to find them myself (didn't try to run the script until now, which is an epic fail from me, but at least I have them now).
But now the script gives me this error:
Code: Select all
Error: macOS does not support dsdt/AZAL; add the AZAL to HDEF patch in Clover and reboot
Post Merged
Oh, before I forget, here are the files.
You do not have the required permissions to view the files attached to this post.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 12
Mojave Vega 56 OpenGL

Hey there, i'm currently setting up a hackintosh a[…]

meals meals, and fat, it is likely that insufficie[…]

Mate, I got that booting issue +++++++++++ fixed[…]

You have to start by locating a humdrum Boost Ener[…]