Skip to content

Pulseaudio issues after resuming from suspend?

I've got this really annoying issue where pulseaudio goes out to lunch after I resume from suspend. It happens about 80% of the time, from what I can tell.. I've followed the suggestion on the Arch wiki about creating a systemd service to suspend pulseaudio, but it doesn't seem to make any difference (even though journalctl shows that the service executed..)

This system has an Oxygen HDA (C-Media CMI8788) PCIe audio card. This doesn't happen on my other Arch system (using Intel HDA). Does anyone have any suggestions? Currently the only way I've been able to recover is executing "pulseaudio -k", but it's messy and requires restarting most apps that use audio in order to get them to work properly after resuming.

3 points1 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Text
ID
44ruip

Author

15
posts
807
comments
3
media
View profile

1 comment

Alright, I think I figured this one out.. It was weird, but it has to do with a known limitation of using firejail with applications that use pulseaudio. Long story short, disabling shared memory support in pulseaudio by adding this into ~/.config/pulse.conf has resolved the issue for me:

enable-shm = no
1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.