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

Most upvoted comments

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.