Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Pulseaudio won't start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
kahr.kunne
n00b
n00b


Joined: 17 Apr 2016
Posts: 15

PostPosted: Mon Apr 18, 2016 2:51 pm    Post subject: [SOLVED] Pulseaudio won't start Reply with quote

It's all in the title I guess, I've followed all the steps on the wiki page for pulseaudio but it still won't start. All packages are current. See below for the output of any commands I thought might be relevant.

Code:
[~] $ pulseaudio
W: [pulseaudio] pid.c: Stale PID file, overwriting.
E: [pulseaudio] module-stream-restore.c: Assertion 'pa_database_unset(u->database, &key) >= 0' failed at /var/tmp/portage/media-sound/pulseaudio-8.0/work/pulseaudio-8.0/src/modules/module-stream-restore.c:2332, function clean_up_db(). Aborting.
zsh: abort      pulseaudio
[~] $ pgrep udev
1365
[~] $ /etc/init.d/consolekit status
 * status: started
[~] $ getfacl /dev/snd/controlC0 | grep -Eo "user:.+:" | cut -d: -f2
getfacl: Removing leading '/' from absolute path names
[~] $ grep pulseaudio /etc/portage/make.conf
USE="bindist mmx sse sse2 -qt4 -kde -cdr -dvd -acpi -aim pulseaudio -qt5 \


EDIT: Found the problem, I still had an old ~/.config/pulse/ from a previous installation that messed things up. Removing that directory fixed it, making as [SOLVED]
Back to top
View user's profile Send private message
feniksa
n00b
n00b


Joined: 03 May 2015
Posts: 7
Location: Ukraine

PostPosted: Thu Oct 04, 2018 7:16 am    Post subject: Reply with quote

Just for future (if someone also have same issue).
This bug occurs if some bluetooth audio connects, then pulseaudio stops/crash... and after next pulse startup it will try to restore state of bluetooth audio device and will fail.
To fix this issue:

Code:
rm ~/.config/pulse/*


I will suggest to save and restore
Code:
~/.config/pulse/cookie
file if you have any shared pulse client (like in my case)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum