Network playback problems after waking from suspend
I'm running Ubuntu 18.04 LTS on my laptop (Thinkpad X1 Carbon gen3), and Raspbian Buster on a raspi 3 B+ with a Hifiberry DAC+ Pro HAT. Both are up to date with updates.
pulseaudio-
On my Ubuntu system, I've enabled "Make discoverable Pulseaudio network sound devices available locally" in paprefs
On the raspi, I've set Pulseaudio to run system-wide and added the following in /etc/pulse/
load-module module-
load-module module-
Everything works OK until my laptop wakes from suspend, after which the problems start:
When playing a Youtube video (in Firefox and Chrome), the video starts with picture and sound, but the picture freezes after 2-3 seconds ashowing the loading animation, and audio continues but starts to stutter.
When trying to play music through the Spotify web client, playback starts and stops after 10-15 seconds.
Playback from local sources (VLC playing a local video file) is also stuttering.
I have tried the following, but nothing helps:
- restart browser
- restart pulseaudio (pulseaudio --kill, pulseaudio --start) - this just ends up creating more sinks that are visible when I click on the speaker icon in my notification bar
- log in/out of current KDE session
- restart pulseaudio service on raspberry
- restart raspberry
The only thing that I can do to fix sound problems is to restart the laptop.
pulseaudio --cleanup-shm on the laptop sometimes helps with the problem, sometimes it does not.
Does anybody have any idea why this is happening, or can suggest other places to ask for help? I've tried searching for similar cases, but haven't had any luck.
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Erik for more information if necessary.