AMD-OSX / bugtracker

AMD OS X Bugtracker
13 stars 2 forks source link

Trying to play audio crashes the thread with com.apple.audio.IOThread.client: Illegal instruction: 4 #7

Open rrroyal opened 4 years ago

rrroyal commented 4 years ago

CPU: AMD FX 8350 macOS version: macOS 10.15.5 Catalina (Kernel Version 19.4.0) 15h/16h or 17h: 15h I am using and can reproduce on the latest patches: 33a11a2 Motherboard: GA-970A-DS3P (rev. 2.х) Bootloader: OpenCore 0.5.8

ACPI

Kexts

Describe the bug I'm experiencing com.apple.audio.IOThread.client crashes when trying to:

Playing music in desktop Spotify works fine. I'm not experiencing YouTube crashes when using Firefox though.

Crash reports (Gist) config.plist (Gist)

rrroyal commented 4 years ago

Fixed by replacing /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib with a dylib from 10.13.

fhh200000 commented 4 years ago

Congratulations! Sorry I missed your email because I live in China and it's evening now. I thought it was caused by my graphics card because it is crappy :) However now it seems that FX/A series CPU is to blame because Ryzen series works fine.

rrroyal commented 4 years ago

After the latest macOS Catalina update (10.15.5) audio is delayed with the replaced libvDSP.dylib, and it still crashes on the default one :/

krtenn commented 4 years ago

Am posting to report experiencing very similar issues to rrroyal here with nearly identical crash report. Has to be something to do with FX?

ACPI

Kexts

Describe the bug I'm experiencing com.apple.audio.IOThread.client crashes when trying to:

YouTube in Safari will play with sound fine until I try to pause or change position (say I want to click at 0:36 in the video) - will get in a kind of loop 'A problem repeatedly occured with Safari' error. This error does not happen in Chrome however - YouTube playback in Chrome works fine.

Hardware: -Asus M5A97 LE R2.0 ATX AM3+ Motherboard -AMD FX-6300 3.5 GHz 6-Core Processor -Sapphire Radeon RX 580 8 GB PULSE Video Card -G.Skill Value 16 GB (2 x 8 GB) DDR3-1600 Memory -Samsung 860 EVO 250 GB 2.5" Solid State Drive

OS:

FreeCap23 commented 3 years ago

Same issue here. Definitely an issue with FX processors, but I think the GPU has something to do with it as well.

ACPI

In Chrome I can do all the things I couldn't do in Safari with no problems. I have to specify however, and this is very important, when I had a macOS KVM with GPU PassThrough the problem still occurred, however as soon as I removed the Audio Device from my GPU and only left the Display, the problem disappeared. I do not know how I can do this in OpenCore.

Hardware

-Gigabyte GA-970A-DS3P rev 2.x -AMD FX-8300 -RX 580 -16GB DDR3 RAM -ADATA SU650 480GB SSD

OS

-OpenCore 0.6.3 -Catalina 10.15.7

sprainbrains commented 3 years ago

I have the same issues. I guess that a big problem is audio on amd systems.

KeithMarcusXIII commented 3 years ago

Fixed by replacing /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib with a dylib from 10.13.

This fixes for me. Unfortunately this will not work on Big Sur, since Apple removed all dynamic link libraries from filesystem. Any one has any idea to patch this in Big Sur?

sprainbrains commented 3 years ago

Fixed by replacing /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib with a dylib from 10.13.

Any one has any idea to patch this in Big Sur?

Unfortunetly, It has no solution yet. Lilu and WhateverGreen trying to solve it.

KeithMarcusXIII commented 3 years ago

Fixed by replacing /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib with a dylib from 10.13.

Any one has any idea to patch this in Big Sur?

Unfortunetly, It has no solution yet. Lilu and WhateverGreen trying to solve it.

Can provide a link to the issue? Thanks

sprainbrains commented 3 years ago

Fixed by replacing /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib with a dylib from 10.13.

Any one has any idea to patch this in Big Sur?

Unfortunetly, It has no solution yet. Lilu and WhateverGreen trying to solve it.

Can provide a link to the issue? Thanks

https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.Chart.md

SiwgoGamer commented 3 years ago

Se corrigió reemplazando /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylibcon un dylib de 10.13 .

Esto me soluciona. Desafortunadamente, esto no funcionará en Big Sur, ya que Apple eliminó todas las bibliotecas de enlaces dinámicos del sistema de archivos. ¿Alguien tiene alguna idea de parchear esto en Big Sur?

Hola, buenas me podrias ayudar con el archivo, no puedo abrir en enlace, gracias