Jump to content
Sign in to follow this  
Followers 0
Tristana

[SOLVED?] Audio crashes after installing RX580 (10.15.4 kabylake)

18 posts in this topic

Recommended Posts

Posted (edited)

Hello, and thank you for your help!
 

Ever since installing my new Sapphire Radeon Pulse RX580, I've been having issues with audio freezing up for the whole system- seemingly the coreaudiod process crashing / my USB audio interface not working. It feels random but seems to correlate with playing youtube videos, streaming audio in Finder, playing sound files from chat clients like Telegram/Discord and such. The system otherwise works as normal, with only audio related functions breaking. Sometimes instead of a full freeze / crash, the sample rate of audio will just drop significantly, causing a lot of aliasing.

I followed this guide here, though it is outdated and some KEXTs have been merged with WhateverGreen. The shikigva=4 & -rad4200 boot arguments weren't available in WhateverGreen so I didn't add any boot arguments.
https://hackintosher.com/guides/fix-rendering-issues-fcpx-high-sierra/
 

My issue was not fixed by this. I also learned that USBInjectAll hadn't been given a custom SSDT and so I made one, which I have included at the end of this post. I also disabled the 15 port patch which had been left on. My USB ports now show up properly (though I've excluded my mobo's type-c port to meet the 15 port limit). My audio issues still have not been fixed, though.

On High Sierra, the crash was irrecoverable- opening sound in system prefs just froze up, and I have to reset the system to get audio back. In Catalina, I seem to be able to choose a different audio device then go back to my external interface to reset the driver and get sound back.

Thank you for any help / ideas you can offer!

UPDATE: Issue still persists. I'm now using a USBPorts.kext created by Hackintool and have updated my list of current kexts below.

System:

Quote

macOS 10.15.4 High Sierra
core i5 7600k Kaby-lake @ stock 3.8ghz
ASRock Z270M Pro4
16 GB DDR4 2400mhz (Mushkin 2x8gbs)
Sapphire Radeon Pulse RX 580 8GB GDDR5
be quiet! 500w PSU

MOTU Ultralite mk4 USB audio interface

 


Kexts:

Quote

Kexts:
Display-1e6d-5b7f.kext
FakePCIID_Intel_HD_Graphics.kext
FakePCIID.kext
FakeSMC.kext
IntelMausiEthernet.kext
Lilu.kext
USBPorts.kext
WhateverGreen.kext

XHCI-unsupported.kext



 

 

Edited by Tristana
//updated current situation

Share this post


Link to post
Share on other sites
Advertisement

Are you running Clover or OC OS X? also if you tailored your USB ports to the 15 limit why are you still using USBInjectAll.kext, use Hackintool to map and produce a kext and a SSDT file which is much better.

Share this post


Link to post
Share on other sites
1 minute ago, eSaF said:

Are you running Clover or OC OS X? also if you tailored your USB ports to the 15 limit why are you still using USBInjectAll.kext, use Hackintool to map and produce a kext and a SSDT file which is much better.


Clover.

Hadn't heard of using hackintool, I'll look into it! What's the advantage over the USBInjectAll method?

Share this post


Link to post
Share on other sites

USBInjectAll is no longer sufficent. Hackintool comes to complement it as it fully detects and fully defines the computer's set of USB ports. It generates a USBPorts kext and a SSDT-UAIC.aml table. You then either use USBInjectAll kext + SSDT-UIAC.aml table or USBPorts on its own (and with USBInjectAll).

Share this post


Link to post
Share on other sites
1 hour ago, Hervé said:

USBInjectAll is no longer sufficent. Hackintool comes to complement it as it fully detects and fully defines the computer's set of USB ports. It generates a USBPorts kext and a SSDT-UAIC.aml table. You then either use USBInjectAll kext + SSDT-UIAC.aml table or USBPorts on its own (and with USBInjectAll).


I'm using USBInjectAll kext + SSDT-UIAC.aml currently, the SSDT-UIAC compiled in MaciASL using the SSDT I quoted above. Are you saying Hackintool would yield a different SSDT-UIAC.aml?

Share this post


Link to post
Share on other sites
4 hours ago, Tristana said:


I'm using USBInjectAll kext + SSDT-UIAC.aml currently, the SSDT-UIAC compiled in MaciASL using the SSDT I quoted above. Are you saying Hackintool would yield a different SSDT-UIAC.aml?

 

Ok if your SSDT-UIAC is compiled correctly then you shouldn't be having any problems as far as your sound is concerned I don't think. What will cause possible problems is an out of date AppleALC.kext or an incorrect codec value, but I suspect you being a Sound Designer/Engineer you would have those covered.

Download Hackintool, it will give you a lot of useful info about your rig and will sometimes offer repairs or solutions.

Screenshot 2020-05-19 at 23.41.08.png

Share this post


Link to post
Share on other sites
4 minutes ago, eSaF said:

 

Ok if your SSDT-UIAC is compiled correctly then you shouldn't be having any problems as far as your sound is concerned I don't think. What will cause possible problems is an out of date AppleALC.kext or an incorrect codec value, but I suspect you being a Sound Designer/Engineer you would have those covered.


Is AppleALC.kext relevant to using an external USB audio interface? For what it's worth, the AppleALC.kext I have installed + this USB audio interface (Ultralite mk4) worked fine for years, it wasn't until I put in my RX580 that this audio crashing issue started occurring. 

I have no use for onboard audio or HDMI audio; I've tried disabling onboard to see if it'd help the issue, but to no avail. Not sure how to go about disabling HDMI audio if possible or if that'd even help.

Share this post


Link to post
Share on other sites

To be honest I only use onboard sound which relies on the AppleALC.kext, Here's a thought since you're using an independent sound unit, have you tried disabling the p/c sound card in the BIOS and see what results you get. To my layman's mind you could be getting a conflict between the onboard and the builtin one. One person that could possibly help with your query is Audiogod, post your query on his Thread and he will try his upmost to provide you with a solution. Good luck.

Share this post


Link to post
Share on other sites

Yep, I tried disabling onboard sound in my BIOS but it didn't help.

Thanks for the suggestion, I'll pop them a message!

Share this post


Link to post
Share on other sites

An external USB Audio module should not require AppleALC. I've used one in the past and it worked OOB without any specific kext.

Share this post


Link to post
Share on other sites

I've removed AppleALC and will see how it goes.

Unsure if this is related, but it does relate to USB: I tried plugging in a USB3 external drive into various ports, and it'd show up in Disk Utility but not mount. Concurrent to this, mouse movements started to become choppy- and the same for Youtube video streaming. This is still leading me to guess that there is some USB related memory issue behind all of this, but it could be a red herring.

Share this post


Link to post
Share on other sites

Audio dropped out with a keypress which lead me to still believe in my hunch that the problem is USB related.

I noticed these patches were leftover from the person who helped me set up this Hackintosh originally, and I have removed them:
 

Quote

AppleAHCIPort 45787465 726E616C | 496E7465 726E616C
AppleAHCIPort 4585F60F 95C289C8 83E0FE66 85C9780F 84D2750B | 89C883E0 FE6685C9 0F98C141 08CC9090 9090750B
AppleAHCIPort 89C82540 6002003D 40200000 750C81E1 BF7FFFFF 898B5101 0000 | 90909090 90909090 90909090 90909090 90909090 90909090 9090
AppleUSBXHCIPCI 837D8C10 | 837D8C7F
AppleUSBXHCIPCI 83BD74FF FFFF10 | 83BD74FF FFFF1B

^perhaps these were the causes of my issues all along? There had been an additional patch that mirrored what I'd seen for High Sierra all USB patching that I had removed, but I've only just removed these. Unsure if any are necessary for other parts of my system, but the last two mention USBXHCI and perhaps are what have been the source of my problems?

Additionally, instead of using USBInjectAll.kext + a modified template compiled into an SSDT-UIAC.aml, I used Hackintool to create a custom USBPorts.kext, only excluding my type-C port to meet the 15 limit.

Fingers crossed something here will have solved the issue, only time will tell!

Share this post


Link to post
Share on other sites
Posted (edited)

ANNNND Not solved!

Went to record some audio in Ableton Live 10 and the whole system dropped its sample rate.

Interestingly, when I turned off my USB Audio Interface, macOS claimed that I had improperly ejected my external hard drive (a different Toshiba device that was also plugged in).

Any ideas? This is a really troublesome problem for someone doing audio work.

Edited by Tristana

Share this post


Link to post
Share on other sites
Posted (edited)

Now I've noticed something really weird.

 

I'd gone into the BIOS to disable all USB ports not actually in use by my system. After doing so, I saved, loaded into the OS, and noticed my mouse wasn't working.

 

Now, USB3 Port2- which the mouse was plugged into, and had been working fine prior- doesn't even appear in the BIOS as a port to enable/disable o.o This brings me to 13 active ports; I could reenable the type-c for both usb2+usb3 and be at my 15 port limit, while blocking off that USB3 Port2 from being used. Maybe a faulty port was the culprit this whole time??

Disabling USB ports has not fixed it. Once more had the downsampling occur while working in a different audio editor. :-/

Edited by Tristana

Share this post


Link to post
Share on other sites

Sorry for all the spam in my own thread but I figure giving updates will help narrow the problem further.

The crash where the audio starts sounding really aliased happened again, this time while clicking in Izotope RX7.

Shutting down my audio interface to reset it lead to ALL of my USB ports dropping out. Every USB device still got power- but seemingly no data was transferring. My mouse had lights on but wouldn't move the cursor; my MIDI keyboard started flashing all its lights like it does when the computer is booting. I had to do a system restart to fix it.

Share this post


Link to post
Share on other sites
Posted (edited)

Hello,

By your descriptions it sounds to me like either your usb is setup incorrectly and not receiving the correct power table or is setup wrong.

if it’s not that then it’s probably an error within your EFI.

Now if you want to use clover then the best thing I can surgest you do is get a new EFI and DSDT created for your board and setup by the genius that is MaLd0n.

If you want to do that then go to hes sister site and put in a request with him here.

 

To Create Your Own Patched DSDT Message @MaLd0n using the link bellow

https://www.olarila.com/forum/17-dsdt-patch-requests/

 

Or send me your EFI and il take a look at it for you but my skills are nothing compared to MaLd0ns and he will do you a more complete solution via a DSDT.

 

Your other option would be to use OpenCore instead but your have to do a good bit of reading to learn how it works from here and you might very well encounter or end up with the same usb problems.

https://dortania.github.io/OpenCore-Desktop-Guide/config.plist/kaby-lake.html
 

 

Edited by AudioGod

Share this post


Link to post
Share on other sites

MaLd0n did my initial setup and it worked flawlessly for years! Wasn't until installing this RX580 that my problems began with it. I'll see what he's up to.

Here's the EFI, I just deleted the SN from the config.plist before sharing as I think that's good practice IIRC?

Tristana-EFI.zip

Share this post


Link to post
Share on other sites

MaLd0n came through and I haven't had issues yet! Fingers crossed it's solved for real this time!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

Announcements

  • Similar Content

    • By ALGhackintosh
      Hi @chris1111 i have a tenda w311ma usb wireless adapter , i wanted to make it work with my catalina hackintosh so i installed the driver from the official site , the Rt2870driver.kext file and your wireless panel utility but i have a problem : The software dosent always connect to the acess points and when it does , and everything seems to be ok (even in network section of the system preferences ) when i go to safari for example it tells me that im not connected . I tried to connect the pc to my phone using hotspot , same problem in the pc it shows connected to network but in the phone the pc doesnt appear in the list of the connected devices . What to do ? Please help me !
       
    • By ITzTravelInTime
      Hi guys, this thread is to show you a new and open source app, created by me, that I called TINU:
       
      The name means: TINU Is Not #####, the U refers to a popular software that is used to create macOS hackintosh installers (that for good reasons is banned on this forum), but the aim of the name is to explain that this app is a totally different thing from that software and works in a totally different way.
       
      This app basically is a graphical interface for the createinstallmedia executable that is inside the macOS and Mac OS X installer apps, it is capable to create a bootable installer completely vanilla like what you do using the command line method, and also this method is recommended by apple itself. In addition to this, this app provvides to you simplicity and flexybility, and lets you to avoid most of the steps needed with every other app.
       
      TINU allows you to create easily a bootable macOS installer without messing around with command line stuff and without using disk utility, all you need to do is use the app and then install clover on the usb drive once TINU has finished or leave it as is if you want to use it on a real Mac.
       
      Features:
      - Simple-to-use UI that allows you to easily start the bootable macOS installer creation process.
      - It can work with every macOS installer app that has the createinstallmedia executable inside its resources folder (including also beta and newly released installers).
      - You can use any erasable volume that is at least 7 GB of size (10+gb if you use catalina or newer versions, if the volume's drive is not in GUID format, TINU will re-format it accordingly).
      - Can work with the Mac OS recovery system, so you can create a bootable macOS installer from the macOS installer itself or from the macOS recovery partition, and you can use TINU to install macOS, too.
      - 100% clean: The bootable macOS installers created with this tool are vanilla, just as if you created them using the command line "createinstallmedia" method in Terminal.
      - Open Source: You can verify what this program does on your computer and you can create your own version by downloading and playing with the source code.
      - Does not require any special preparations. Just open the program, make sure you have a USB drive plugged in and have a macOS installer app on your disk.
      - No need to use Disk Utility. TINU can format your drive or partition for you.
      - Integrated EFI partition mounter tool.
      - Autaomated Open Core and clover EFI folder isntaller
      - Works using the latest versions of macOS and will also support newer Mac installers out of the box without requiring an update.
       
      Features that are planned for future versions:
      - Support for other languages, at least Italian.
       
      # Requirements:
      - A computer that runs Mac OS X Yosemite or a more recent version (Mac OS X El Capitan is required to use TINU in a macOS recovery or installer).
      - A drive or a free partition (on a drive which already supports GUID) of least 7 GB that you want to turn into a macOS/Mac OS X installer.
      - A copy of a macOS/Mac OS X installer app (Maveriks or newer versions are supported) in the /Applications folder or in the root of any storage drive on your machine (excepted the drive or volume you want to turn into your macOS install media).
       
      Download:
      https://github.com/ITzTravelInTime/TINU/releases

      Frequently asked questions:
      https://github.com/ITzTravelInTime/TINU/wiki/FAQs
       
      Useful links:
      Thread (english) on insanelymac.com:
      - http://www.insanelymac.com/forum/topic/326959-tinu-the-macos-installer-creator-app-mac-app/
      Thread (italian) on insanelymac.com:
      - https://www.insanelymac.com/forum/topic/333261-tinu-app-per-creare-chiavette-di-installazione-di-macos-thread-in-italiano/
      Thread (english-german) on hackintosh-forum.de:
      - https://www.hackintosh-forum.de/index.php/Thread/33630-TINU/
      Post on Reddit:
      - https://www.reddit.com/r/hackintosh/comments/a1h61d/tinu_vanilla_bootable_macos_installer_creation/
      Facebook hackintosh help and beta testing (Italian only):
      - https://www.facebook.com/groups/Italia.hackintosh/?fref=ts
      Contact me (project creator):
      - Insanelymac.com profile: http://www.insanelymac.com/forum/user/1390153-itztravelintime/
      - email: piecaruso97@gmail.com
       
      Note that:
      - This software is under GNU GPL v3 license so any new branch/mod/third party release must be open source and under the same license
      - I (project creator) assume no responsibility for any use of this app and this source code, and also for any kind of hardware and software damage to any computer and any device or peripheral that may come from this app or source code during it's use and outside it's usage
      - I (project creator) do not guarantee support to you, this is only an open source project, not a product released by a company!
      - This project is born only for educational and demonstrative purposes, it's not intended to be used for commercial purposes and it will never be, don't use source code from this project to create apps or software for that aim.
      - This is a no-profit project, born only to let people to create macOS install medias in a more simple way and also to learn how to create this kind of apps.
       
      Credits:
      - Apple for macos and installer apps and scripts
      - People that helped me a lot:
      Francesco Perchiazzi, Nicola Tomarelli, Roberto Sciortino, Raffaele Sonnessa, Ermanno Nicoletti, Tommaso Dimatore, Michele Vitiello Bonaventura, Massimiliano Faralli, Davide Dessì, Giorgio Dall'Aglio, Peter Paul Chato.   
      - Special thanks to Italian Hackintosh group!! for help (https://www.facebook.com/groups/Italia.hackintosh/?fref=ts)
      - Thomas Tempelmann for help with the UI
      - Pietro Caruso (ITzTravelInTime) for creating, maintaing and developing this project
       
       
         
    • By ThomasMattOnline
      Hello Everyone,

      Trying to get Hardware Acceleration working on my Hackintosh (HEVC Support) however I am such a noob, OpenCore is very new to me and would love some support.
      I have included screenshots and the EFI that is currently working on my System, I have USB 2 & 3.0 all working, however, the only thing I can fault is my GPU not being hardware acceleration enabled.

      Final Cut Pro X - Recognises GPU
      VideoProc - Doesn't recognise anything.
       
      (I am running the latest version of OpenCore 0.5.9)

      Things I've tried: I tried following the post https://www.tonymacx86.com/threads/catalina-10-15-2-update-lost-hevc-h265-acceleration.288563/ - No Luck
      I have also tried: https://forums.macrumors.com/threads/activate-amd-hardware-acceleration.2180095/page-53?post=28255048#post-28255048 - No luck either!

      My friend online tells me I shouldn't need such Kext as he has the same build as me but when I load his EFI on my system it boots with no USB 2 or 3.0 (I'm keeping his EFI off here as I've uploaded mine.)

      Please note: I appreciate all (any) pieces of advice and please do bear in mind that I am a noob and may need whatever you say simplifying as I can get easily confused.


      config.plist

    • By ddksaku
      Hi, After successfully installed Hackintosh Catalina 10.15.1, I have faced an issue that my video card is not detected, only 5M VRAM detected.
      Can anyone look at my issue and give me some advice?
      I am attaching my EFI folder zipped.
       
      - CPU: coi5 9100
      - Motherboard: GIGABYTE B365M DS3H
      - Video card: Radeon RX 580 8G
      - RAM: DDR4 32G
      - HDD: SATA 1T
       
      - BIOS settings
      CSM Support: enabled
      Fast Boot: disabled
      Above 4G Decoding: enabled
      USB XHCI Hand-off: enabled
      SATA Mode: AHCI
      Storage Boot Option: UEFI
      VT-d: disabled
       
      Thanks.
      EFI.zip
    • By Kailash
      I successfully managed to install Hackintosh on my Lenovo Ideapad 520 but now I don't have audio, brightness control feature or battery indicator. My audio driver is an ALC230. I am new to all this. What do I do to solve this? I have attached my EFI files below.
      EFI.zip
×