You are not logged in.

#1 2019-06-23 19:41:23

hiperbolt
Member
Registered: 2015-10-25
Posts: 6

Pulseaudio random audio distortion until being restarted

Hello,
I know this issue has been previously addressed ( https://bbs.archlinux.org/viewtopic.php?id=116172&p=2 / https://bugs.launchpad.net/ubuntu/+sour … bug/774850 ) however I feel like nothing is working for my particular case.

THE ISSUE:

Mid audio playback i will get a VERY noticeble distortion in the sound, it seems to have something to do with switching between applications or even firefox tabs, because it generally won't occur in the middle of for example on youtube video, but yes when I change to another one, or for example start listening to something on Spotify. It's usually resolved with opening another application ( e.g VLC) and playing audio from there and switching audio playback between applications until eventually it will working; or by restarting pulseaudio with pulseaudio -k

I'm quite confident this is a pulseaudio issue because when I unninstall pulseaudio and use plain ALSA, this issue doesn't seem to occur; however spotify requires Pulseaudio and i'm not quite sure if there is a workaround to that, if it is, i'd definitely count it as a fix, pulseaudio has been nothing but trouble.

LOGS / CONFIG FILES:

https://pastebin.com/BLwexPzm


Thank you in advance, please let me know if any more info is needed to debug.

Offline

#2 2019-06-23 20:31:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: Pulseaudio random audio distortion until being restarted

What actual soundcard do you have? Post during reproduction of the issue

aplay -lL
sudo fuser -v /dev/snd/*
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs

As well as your /etc/pulse/daemon.conf

FWIW if you actually intend to check whether this is related to timer-based scheduling you should not just append that line, as this module is one-time load only, you should be adding the tsched=0 to the existing line 47 where the module is loaded the first time. But leave that for now and post the outputs with the current config. Also where do you see spotify requiring pulse? I don't use the client myself, but the dependencies on the AUR just list alsa-lib .

Last edited by V1del (2019-06-23 20:41:07)

Offline

#3 2019-07-10 19:50:19

hiperbolt
Member
Registered: 2015-10-25
Posts: 6

Re: Pulseaudio random audio distortion until being restarted

V1del wrote:

What actual soundcard do you have? Post during reproduction of the issue

aplay -lL
sudo fuser -v /dev/snd/*
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs

As well as your /etc/pulse/daemon.conf

FWIW if you actually intend to check whether this is related to timer-based scheduling you should not just append that line, as this module is one-time load only, you should be adding the tsched=0 to the existing line 47 where the module is loaded the first time. But leave that for now and post the outputs with the current config. Also where do you see spotify requiring pulse? I don't use the client myself, but the dependencies on the AUR just list alsa-lib .

https://pastebin.com/c9HJiSRd

Spotify doesn't directly require pulse but in practice wont find any outputs without it

Offline

Board footer

Powered by FluxBB