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.

  • Similar Content

    • 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
    • By bread.io
      Hey everyone!
      Got my first build up and running a few days ago, and while almost everything works perfectly, I'm experiencing some odd sound quality issues. I'm currently listening to my audio through the 3.5mm jack on the front of my case. The sound quality sporadically jumps from being muffled to clear and is also a bit staticky.
      I've dug into a number of different scenarios that sound similar to mine, but I hoped that someone here might be able to give me more clarity.
      Here's a sample of the issue: https://clyp.it/xyfxysf2
      Config.plist: https://pastebin.com/BStEGbpe
      My hardware:
      CPU: Intel i9 9900k
      GPU: Radeon 5700 XT OC
      RAM: Corsair ddr4 32GB (2x16)
      Motherboard: Z390 Designare LGA1151
       
      Any help is really appreciated!

    • By rahulmangla19
      HDMI Audio not working only screen is showing.
      Send me aadis-MacBook-Pro.zip
      CLOVE.zip

×