bumblebee-status: Pulseaudio module is failing on system startup
So, after fixing #103 , I get “pacmd stat exited with status code 1”. This happens at boot and until I run an application that requires sound capabilities (e.g Spotify). Running pacmd stat on the terminal returns (translated):
No PulseAudio daemon running or not running as session daemon
Not sure if it’s a fault on my end or if using pacmd stat to fix #103 is not a good solution.
EDIT: Just to be clear, running spotify and then reloading i3 config solves the issue, but it’s suboptimal…
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 15 (11 by maintainers)
Commits related to this issue
- [modules/pulseaudio] Ignore errors when starting pulseaudio daemon This does not really solve the issue indicated in the ticket, but at least it should leave the user with a working bar. see #108 — committed to tobi-wan-kenobi/bumblebee-status by tobi-wan-kenobi 7 years ago
- [modules/pulseaudio] Automatically restart pulseaudio daemon If the current volume and mute status cannot be retrieved, the most likely explanation is that the pulseaudio daemon is not running. Autom... — committed to tobi-wan-kenobi/bumblebee-status by tobi-wan-kenobi 7 years ago
- [modules/pulseaudio] Default pulseaudio autostart to false To pacify @ibrokemypie ;-) Joking aside: Not autostarting the pulseaudio daemon by default makes a lot of sense, so adjust default behaviou... — committed to tobi-wan-kenobi/bumblebee-status by tobi-wan-kenobi 7 years ago
Confirmed, same here after rebooting my system. Will investigate. Thanks for the bug report!
I didn’t experience the original issue but performed testing with the latest branch based on what I saw reflected in the comments and believe this to be fixed.
OK, so I’ve now added code that tries to restart the pulseaudio daemon if an error occurs.
If this causes problems, there’s a parameter called “pulseaudio.autostart” that can be used to disable this behaviour. In such cases, “n/a” is displayed in the module if the pulseaudio daemon could not be contacted.
It would be great if you could let me know if this changes/improves the situation for you!
I think this problem is still present. each boot i get the message - pulseaudio --start exited 1. I have to restart i3-msg to get the bar back.