Spotify, freetube, youtube website, either it’s a streaming issue or an audio playback issue. Whenever my cpu is working too hard audio playback stutters and delays making it unlistenable. Actually some games have alright audio so I think it’s a streaming issue. Anyway I want to know how to prioritise sound streaming or playback cpu in linux?

  • diamond ( diamond@lemmy.blahaj.zone ) 
    link
    fedilink
    arrow-up
    4
    ·
    11 months ago

    none of these applications require particularly low latency, so if you’re on Pipewire, you can increase both min, max and default quantum to something like [1024, 4096]. i have to do this on my N100 laptop and it helps a lot.

    pw-top tells you which app uses which quantum too, and often times, your machine will slightly struggle with apps that suddenly demand lower quantums and cause stuttering. increasing the min quantum fixes this issue.

  • erebion ( erebion@news.erebion.eu ) 
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Does it stutter if you open Pavucontrol? I’ve seen a couple setups where Pipewire stutters when pipewire-pulse is used, as does Pavucontrol.

    (In some setups this only happened when the volume indicator is enabled in Pavucontrol and disappeared when it was switched off.)