GithubHelp home page GithubHelp logo

Comments (76)

cosier avatar cosier commented on June 3, 2024 3

FIXED: Same issue on my Ryzen 2200g.

Using a USB Audio FocusRite, the audio was fixed by by Overclocking to 3.6ghz and disabling C-States and QuietNCool, Boosting - anything that adjusts the clock.

Also tried VoodooTSC kext, didn't do anything by itself - though I still got it installed.

Now I can watch Youtube and use AbletonLive (professional audio) app through my usb interface.


Also a weird thing that I was using prior to this fix:
I had a NodeJS script that would spin up 4 threads then just add some numbers and loop itself with a timeout - this kept all cores active so the audio stutter was much less.

Doing that reduced the audio stutter a lot, but not completely.

Solution: OC and disable any clock adjuster features (C-State power, boosting, etc.)

from bugtracker.

astrihale avatar astrihale commented on June 3, 2024 3

I created a user friendly version of the 1plus1-audio-fix script.
You could give it a shot maybe:
https://github.com/astrihale/speedkeeper

from bugtracker.

fall1aty avatar fall1aty commented on June 3, 2024 2

After switching to a Ryzen 7 3700x the sound problem is gone but man is this wraith cooler loud :/
I changed nothing else only put a new CPU in.
So the problem is on the apu side.

from bugtracker.

aluveitie avatar aluveitie commented on June 3, 2024 2

Speedkeeper needs to put enough load to prevent the CPU from down clocking. The slower the CPU, the better that would work.

from bugtracker.

dhinakg avatar dhinakg commented on June 3, 2024 1

People have reported that overclocking to an even frequency (3.6GHz or 3.8GHz for example) resolves the issue. Can you try this for us?

from bugtracker.

 avatar commented on June 3, 2024 1

@tannguyen0752 For me changing CPU from R3 2200G to R3 1200 fixed any issues i had. Using applealc with RTL887 Audio layout 5 i can set higest bitrate in MIDI configurator and sound is crystal clear. On 2200 sound was choppy even using 16bit audio. Also garageband app works just perfect. It fixed my interface and screensaver suttering to. So go get a 2600 and have a perfect 'betterthanrealmac' hackintosh with clear sound ;)
EDIT: I sold my 2200 for 25$ becouse it was useless for me :P

from bugtracker.

mikigal avatar mikigal commented on June 3, 2024

Use AppleALC with alcid parameter. You must try IDs for your soundcard from AppleALC wiki. Remember to get default system audio kexts, and remove VoodooHDA

from bugtracker.

WtXeLd avatar WtXeLd commented on June 3, 2024

Use AppleALC with alcid parameter. You must try IDs for your soundcard from AppleALC wiki. Remember to get default system audio kexts, and remove VoodooHDA

Thanks for your help, but I'm very sorry, maybe I didn't explain clearly, I should already do the things you say, what I did is:

  1. AppleALC releases and id 1/2/3/5/7/28...
  2. AppleALC rebuild based on my codec by xcode and id 1;
  3. replace the AppleALC to VoooooHDA, instead both of two;
  4. reinstall the hackintosh;

all above did, the soundcard can be drived, but they crackling.

from bugtracker.

dhinakg avatar dhinakg commented on June 3, 2024

We've been investigating this issue. You say this started after you started using the patches, right? Can you link us what kernel you were using on 10.14.1?

from bugtracker.

WtXeLd avatar WtXeLd commented on June 3, 2024

We've been investigating this issue. You say this started after you started using the patches, right? Can you link us what kernel you were using on 10.14.1?

Yes,when i used this AMD_Vanilla patches to install mojave(10.14.1 and 10.14.5),the audio had problem. And I use the kernel made by shaneee in 10.14.1,the audio working well.

from bugtracker.

WtXeLd avatar WtXeLd commented on June 3, 2024

People have reported that overclocking to an even frequency (3.6GHz or 3.8GHz for example) resolves the issue. Can you try this for us?

OK,thanks for your reply!And I will try the overclocking as soon as possible.

from bugtracker.

WtXeLd avatar WtXeLd commented on June 3, 2024

People have reported that overclocking to an even frequency (3.6GHz or 3.8GHz for example) resolves the issue. Can you try this for us?

By the way, I found an interesting performance when the sound crackling in any video&music players except the QuickTime. In the QuickTime,the audio working well at the beginning, but after the video is played for a while, the audio and video are not synchronized.

I don't know that's why, hope this can help you to find the reason for my problem, thanks!

from bugtracker.

motoxnate avatar motoxnate commented on June 3, 2024

People have reported that overclocking to an even frequency (3.6GHz or 3.8GHz for example) resolves the issue. Can you try this for us?

By the way, I found an interesting performance when the sound crackling in any video&music players except the QuickTime. In the QuickTime,the audio working well at the beginning, but after the video is played for a while, the audio and video are not synchronized.

I don't know that's why, hope this can help you to find the reason for my problem, thanks!

The synchronization problem is because you have overclocked but have not updated your Clover busratio to match. If your busratio is 3.4 for example but you overclock hardware to 3.6, your audio and video will become out of sync.

from bugtracker.

WtXeLd avatar WtXeLd commented on June 3, 2024

People have reported that overclocking to an even frequency (3.6GHz or 3.8GHz for example) resolves the issue. Can you try this for us?

sorry, I reply late. And I try to overclock to an even frequency ( 3.4GHz & 3.6GHz ), but it had no effect, my audio still having problems now, may be i need more help from you.

If there is anything I need to do that can help you to find the problem, just tell me, thanks!

from bugtracker.

WtXeLd avatar WtXeLd commented on June 3, 2024

The synchronization problem is because you have overclocked but have not updated your Clover busratio to match. If your busratio is 3.4 for example but you overclock hardware to 3.6, your audio and video will become out of sync.

Thanks your suggestion, but there is'not wrong matching when I check this, may be the problem I got was caused by other reasons.

from bugtracker.

motoxnate avatar motoxnate commented on June 3, 2024

from bugtracker.

lan894734188 avatar lan894734188 commented on June 3, 2024

I have the same problem, I am also 2200G

from bugtracker.

lan894734188 avatar lan894734188 commented on June 3, 2024

problem also in 10.13.6

from bugtracker.

lan894734188 avatar lan894734188 commented on June 3, 2024

problem also in 10.13.6

I tried to replace a driverless sound card, the problem is still

from bugtracker.

lan894734188 avatar lan894734188 commented on June 3, 2024

from bugtracker.

despc avatar despc commented on June 3, 2024

Have the same problem in 10.13.6
Ryzen 2200g , MB - ASUS PRIME B350-PLUS
Sound is сrakling even with a external USB card

from bugtracker.

surajmandalcell avatar surajmandalcell commented on June 3, 2024

Same Issue
Ryzen 3 2200g
Asus B450M-A

from bugtracker.

despc avatar despc commented on June 3, 2024

try to overclock to 4GHz, doesn't help

from bugtracker.

pdafan avatar pdafan commented on June 3, 2024

Same audio issue.
Ryzen 3 2200g
Asrock Fatal1ty B450 Gaming-ITX/ac

from bugtracker.

 avatar commented on June 3, 2024

Same issue
Ryzen 5 3600 & MSI B350M Mortar

from bugtracker.

despc avatar despc commented on June 3, 2024

Same issue
Ryzen 5 3600 & MSI B350M Mortar

First issue with no 2200/2400. Are you try usb sound card?

from bugtracker.

fall1aty avatar fall1aty commented on June 3, 2024

Same here with Ryzen 5 2400G and Asrock b450m pro4.
Also tried USB Sound but it has much more crackling with and without AppleALC.

from bugtracker.

surajmandalcell avatar surajmandalcell commented on June 3, 2024

So,

  • It's not a mobo issue (or a widespread mobo issue)
  • Happens with usb sound card so must be a software issue.
  • Happens with mainly the apu class of processors by amd so thats also to note although @parorisim had this issue on r5 3600

from bugtracker.

 avatar commented on June 3, 2024

@fall1aty I have this issue on a320m-pro-m2 MSI and r3 2200g. tommorow i will buy 1300x or 1200 at local store. Its really hurts me that i must change CPU becouse on 2200 a 2 GB raw Hasselblad photo in CC 2019 loads in 2 seconds with NVMe drive...

from bugtracker.

 avatar commented on June 3, 2024

Also manual setting cpu ratio to 30 and bclk to 100 removes issue in most of apps i tested like safari, some games
Above values must be edited and saved in uefi not clover also disable coreboost all c-states amd-cool quiet iommu svm amd throttling and set power supply idle to typical under cpu configuration

from bugtracker.

surajmandalcell avatar surajmandalcell commented on June 3, 2024

Also manual setting cpu ratio to 30 and bclk to 100 removes issue in most of apps i tested like safari, some games
Above values must be edited and saved in uefi not clover also disable coreboost all c-states amd-cool quiet iommu svm amd throttling and set power supply idle to typical under cpu configuration

@Ashkinaldloshi did it fix your issues?

from bugtracker.

despc avatar despc commented on June 3, 2024

Also manual setting cpu ratio to 30 and bclk to 100 removes issue in most of apps i tested like safari, some games
Above values must be edited and saved in uefi not clover also disable coreboost all c-states amd-cool quiet iommu svm amd throttling and set power supply idle to typical under cpu configuration

Try to set cpu ratio to 30 in bios and in clover, doesn't work(

from bugtracker.

 avatar commented on June 3, 2024

@despc I will change my cpu at tuesday to 1300x. Changing cpu/busratio and disabling coreboost fixed issue on msi mobo 10.14.6 Mojave in some apps like Safari but its still remains in professional software like GarageBand (with MIDI sync error caused by it) Finalcut Pro X when editing 4K/60 movie with live timeline preview. I think it is something related to different Raven Ridge architecture. On any 1xxx/2xxx/3xxx Ryzen you can run Windows 7 with no problems on Raven it will give you instant BSOD. I think this error is un-fixable better switch to 'normal' Zen cpu, even R3 1200 to avoid issues. I think this thread can be closed and a little note added that installing os x causes problems on Raven CPU's

from bugtracker.

fall1aty avatar fall1aty commented on June 3, 2024

I agree with you. Tried all the things too (CPU ratio, fixed frequency, disable core boost etc.) but the only way to get Sound working was to switch the CPU. Down side i need a better cooler cause this wraith prism on a 3700x is way to loud.

from bugtracker.

 avatar commented on June 3, 2024

@fall1aty so on 3700x with enabled core boost and 'auto' frequency everything is working fine ? No 'system clock run too fast' or 'audio crackling in garageband' issues ?
EDIT: Can you send me your config.plist file ? I want to have a 'base' when i will switch to other processor. Or you can tell me did you left cpu page in clover blank and what bootargs you use with 3xxx Ryzen CPU ?

from bugtracker.

fall1aty avatar fall1aty commented on June 3, 2024

@Ashkinaldloshi Yes all is on default. On Windows i see in Ryzen Master frequency from 300-4350MhZ
No issues at all no crackling no stuttering everything is fine.
I use the 15/16h Vanilla patch because the RX580 runs faster on that.
I attach my config.plist and a screenshot with kext is nothing fancy no special bootargs.

Bildschirmfoto 2019-07-28 um 18 24 45

config.plist.zip

from bugtracker.

 avatar commented on June 3, 2024

Changed CPU to R3 1200 hour ago. Audio perfect in Apple Professional apps and everything other. Core clock is lower but system feels smoother...

from bugtracker.

tannguyen0752 avatar tannguyen0752 commented on June 3, 2024

I have the same set up with WtXeLd and suffer the same issue. Will changing the CPU to r5 2600 fix the problem?

from bugtracker.

tannguyen0752 avatar tannguyen0752 commented on June 3, 2024

Hi, this is what I got from sysctl -a | grep freq

hw.busfrequency: 100000000
hw.busfrequency_min: 100000000
hw.busfrequency_max: 100000000
hw.cpufrequency: 3900000000
hw.cpufrequency_min: 3900000000
hw.cpufrequency_max: 3900000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3950000002

The tsc frequency looks odd, is that what causing the audio sync issue?

from bugtracker.

tannguyen0752 avatar tannguyen0752 commented on June 3, 2024

I changed my Bus Speed kHz to 98734 in config.plist and this is the new result:

hw.busfrequency: 96000000
hw.busfrequency_min: 96000000
hw.busfrequency_max: 96000000
hw.cpufrequency: 3900000000
hw.cpufrequency_min: 3900000000
hw.cpufrequency_max: 3900000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3899993001

The audio sync issue is gone on Safari but now I experience the 'pop' sound occasionally. At least it is less annoying than before.

from bugtracker.

surajmandalcell avatar surajmandalcell commented on June 3, 2024

I noticed something too, the crackling issue is at it's worse when I change google chrome tab from youtube(or any media) to other and stop moving mouse.
The slower I move my mouse the harder the crackling gets, when I move my mouse(after command tabbing or using other tab) it works pretty good with ocassionally 'pop' like sound mentioned by @tannguyen0752 but its far less than whats happening now which is unusable BUT I cant just move my mouse forever ~~~.

Same issue happens when playing using itunes so i guess this is system wide issue or kernel config.

from bugtracker.

 avatar commented on June 3, 2024

I think something bad happened with Raven at engineering process. Think about it becouse :

  • When i had 1060 GTX on Windows Crysis 3 game had crackling audio
  • Mass Effect 1 random freezed with disorted audio
  • Sometimes game/pc freezed when audio was played
  • You can't install Windows 7 becouse of random BSOD's when the WinInstaller tries to install AMD Chipset and USB from updated ISO
    -You can't run any Windows 10 compilation before Raven was relased (10 RTM / 10 2015 LTSB etc.) Windows installs and chipset installation goes smoothly but you propably will get a bsod after 1/2 hours of usage
    -Some linux/unix systems can't even run (OpenBSD restarts pc)
  • MacOS is BSD/Unix highly modified Based-OS but it runs with bad graphics performace on any GPU paired with Raven and stutters. On my 2200 even screensaver was stuttering! With 1200 everything is silky smooth even it has lower clock than 2200 3,1 vs 3,5 ghz
    I think M$ and AMD fixed something in Windows and added patches, something than cant be fixed with new microcode only....

from bugtracker.

 avatar commented on June 3, 2024

@tannguyen0752 On 1200 downclocked a little bit frequency looks like this
hw.busfrequency: 100000000
hw.busfrequency_min: 100000000
hw.busfrequency_max: 100000000
hw.cpufrequency: 3000000000
hw.cpufrequency_min: 3000000000
hw.cpufrequency_max: 3000000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3000000000

And everything is perfect..

from bugtracker.

surajmandalcell avatar surajmandalcell commented on June 3, 2024

@Ashkinaldloshi do i just paste this in config and it works? where do i put this?

from bugtracker.

 avatar commented on June 3, 2024

@surajmandalcell No, its a text dump from terminal

from bugtracker.

 avatar commented on June 3, 2024

@surajmandalcell You cant fix audio on 2200/2400 CPU you must replace it with other CPU never use G or GE series for hackintosh

from bugtracker.

surajmandalcell avatar surajmandalcell commented on June 3, 2024

@tannguyen0752 On 1200 downclocked a little bit frequency looks like this
hw.busfrequency: 100000000
hw.busfrequency_min: 100000000
hw.busfrequency_max: 100000000
hw.cpufrequency: 3000000000
hw.cpufrequency_min: 3000000000
hw.cpufrequency_max: 3000000000
hw.tbfrequency: 1000000000
machdep.tsc.frequency: 3000000000

And everything is perfect..

My question was where do i change the hw.cpufrequency_min and max/ how do i change it. Mine is not what it should be and could be the issue so just tell me this part.
ty

from bugtracker.

 avatar commented on June 3, 2024

@surajmandalcell change cpu multipler to 30.00 change bclk to 100 and disable all power saving features and change psu to typical from auto in your motherboard uefi

from bugtracker.

tannguyen0752 avatar tannguyen0752 commented on June 3, 2024

@Ashkinaldloshi I managed to exchange my 2200g for a 1300x and with a few tweaks to make the tsc frequency line up with cpu frequency the audio is perfect now. There must be something to do which the fact that APU only have 8 lane of PCI available that causes the sound to overload the IO channel.

from bugtracker.

Argyropus avatar Argyropus commented on June 3, 2024

Any news?
Still is there only way of changing CPU?

from bugtracker.

dhinakg avatar dhinakg commented on June 3, 2024

Unfortunately we still do not have any ideas on how to fix this.

from bugtracker.

honneur avatar honneur commented on June 3, 2024

Hi, Asrock b450 motherboard same problem. Change ram frequency 3200 to 3000 every things OK

from bugtracker.

dhinakg avatar dhinakg commented on June 3, 2024

Please test VoodooTSCSync, linked below.
VoodooTSCSyncAMD.zip

from bugtracker.

surajmandalcell avatar surajmandalcell commented on June 3, 2024

@dhinakg do I use it with existing voodoo kext or replace it?

from bugtracker.

dhinakg avatar dhinakg commented on June 3, 2024

Existing Voodoo kext?
Use AppleALC (not VoodooHDA) and this.
@surajmandalcell

from bugtracker.

huiyuerandy avatar huiyuerandy commented on June 3, 2024

现有的Voodoo kext?
使用AppleALC(而不是VoodooHDA)和此。
@surajmandalcell
I tested it and it did n’t work. If it does n’t work, I ’m going to change to 2600.

from bugtracker.

surajmandalcell avatar surajmandalcell commented on June 3, 2024

Existing Voodoo kext?
Use AppleALC (not VoodooHDA) and this.
@surajmandalcell

Does not work, refuses to boot.

The closest thing to good experience was with voodooHDA, appleALC was complete waste and couldn't even detect my devices.

Using edge chromium Youtube videos play almost perfectly if you keep the youtube tab active(don't switch tabs or move cursor away from window). The moment i moved cursor away from edge or changed tabs it started going ^^^0000_^^^zzzz.

from bugtracker.

 avatar commented on June 3, 2024

Ryzen 3 2200g. Same problem. lol No audio.

from bugtracker.

fhh200000 avatar fhh200000 commented on June 3, 2024

Well have you tried using former known-good AppleHDA instead?

from bugtracker.

surajmandalcell avatar surajmandalcell commented on June 3, 2024

@cosier can I please get the nodeJs script and how is the audio without using USB audio(native mobo audio), thanks.

from bugtracker.

dxf avatar dxf commented on June 3, 2024

FIXED: Same issue on my Ryzen 2200g.

Using a USB Audio FocusRite, the audio was fixed by by Overclocking to 3.6ghz and disabling C-States and QuietNCool, Boosting - anything that adjusts the clock.

Also tried VoodooTSC kext, didn't do anything by itself - though I still got it installed.

Now I can watch Youtube and use AbletonLive (professional audio) app through my usb interface.

Also a weird thing that I was using prior to this fix:
I had a NodeJS script that would spin up 4 threads then just add some numbers and loop itself with a timeout - this kept all cores active so the audio stutter was much less.

Doing that reduced the audio stutter a lot, but not completely.

Solution: OC and disable any clock adjuster features (C-State power, boosting, etc.)

Hey! What board do you have by chance? Cheers

from bugtracker.

dxf avatar dxf commented on June 3, 2024

Just hackintoshed my 2400g/580 build again. Crackly audio even with the 1plus1 fix 😦

from bugtracker.

irii avatar irii commented on June 3, 2024

@dxf Dir you try to disable serial Port in your uefi settings?

from bugtracker.

dxf avatar dxf commented on June 3, 2024

@irii just disabled serial port - not much of a difference

from bugtracker.

irii avatar irii commented on June 3, 2024

@dxf Mostly this is related with IRQ issues. Try to disable as much IRQ devices as possible. It helped me to fix this issued. Try different PCIe Slots.

from bugtracker.

phtmgt avatar phtmgt commented on June 3, 2024

Same issue on 3200g (unsurprising, given it’s a rebranded 2200g). The js script almost solves it.

from bugtracker.

caem1420 avatar caem1420 commented on June 3, 2024

Same Issue on amd 5 3400g Tried to overclocking no fix, @cosier can you show the Node JS script please

from bugtracker.

ranahan avatar ranahan commented on June 3, 2024

Same Issue on amd 5 3400g Tried to overclocking no fix, @cosier can you show the Node JS script please

same CPU. running catalina 10.15.7... :(

from bugtracker.

caem1420 avatar caem1420 commented on June 3, 2024

@ranahan https://github.com/astrihale/1plus1-audio-fix

from bugtracker.

leonsp95 avatar leonsp95 commented on June 3, 2024

I also have got a problem with that. I notice 70% of times I keep moving my mouse the crackling goes away.
As far as I was told, the problem is with the AMD G-series. We need more people with both G-series and non-G-series to test it.

from bugtracker.

tarbaII avatar tarbaII commented on June 3, 2024

Either use a USB sound card, which will completely fix the audio issue, or try the Speedkeeper app if you don't have a USB sound card.

from bugtracker.

leonsp95 avatar leonsp95 commented on June 3, 2024

Either use a USB sound card, which will completely fix the audio issue, or try the Speedkeeper app if you don't have a USB sound card.

Speedkeeper didn't help at all for me.
I'm trying the USB card later and will update this comment if it works.

from bugtracker.

tarbaII avatar tarbaII commented on June 3, 2024

Yeah Speedkeeper works completely for some, partially for some, and just doesn't work at all for others. It's very hit or miss.

from bugtracker.

tarbaII avatar tarbaII commented on June 3, 2024

Also make sure you have SSDT-USBX and a USB map.

from bugtracker.

leonsp95 avatar leonsp95 commented on June 3, 2024

Speedkeeper needs to put enough load to prevent the CPU from down clocking. The slower the CPU, the better that would work.

I imagined so.
Btw the usb card and didn't have much luck. The best fix is really changing the CPU. Or either moving the mouse intermitently

from bugtracker.

aluveitie avatar aluveitie commented on June 3, 2024

The USB sound card needs its own timer, otherwise it will have the same issue.

from bugtracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.