Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pulseaudio gives an error on startup -- Fixed
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
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Tue Mar 14, 2017 2:31 am    Post subject: Pulseaudio gives an error on startup -- Fixed Reply with quote

Pulseaudio fails to start, as it should, at the start of a session. When I start it from an xfce4 terminal, I get
Quote:
W: [pulseaudio] source.c: Default and alternate sample rates are the same.
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code
Despite this it does seem to work as it should from this point on. I'm using pulseaudio-10.0 and bluez-5.44.. Nothing critical here, but I would like to clean it up. Any ideas? Thanks,
Fred


Last edited by Fred Krogh on Sat Mar 18, 2017 9:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Tue Mar 14, 2017 6:48 am    Post subject: Reply with quote

The first line is a warning, it do not prevent Pulseaudio to start. The default and the alternate sample rates are the same what should'nt be. You can change that by editing the file /etc/pulse/daemon.conf.

The second line may refer to the Bluetooth service not being started.
_________________
Paul
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Tue Mar 14, 2017 3:28 pm    Post subject: Reply with quote

The first warning wasn't really concerning me. I hadn't changed daemon.conf as I wasn't clear on how to set sample-rates. After some fiddling I came up with
Code:
default-sample-rate = 48000
alternate-sample-rate = 44100
This gets rid of the warning while the default with these reversed gave the warning! I'm very unclear on why bluetooth should be needed on my desktop, but I tried pulseaudio with bluetooth started and got the same problem. Your input was appreciated though. Thanks.
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1036
Location: Tujunga, CA

PostPosted: Sat Mar 18, 2017 9:33 pm    Post subject: Reply with quote

The problem was that I didn't have bluetooth enabled in my kernel. Doing that, and then starting bluetooth (also added it with rc-update) and pulseaudio starts with no error messages. It's a minor mystery to me that bluetooth is needed when I have no bluetooth hardware in my system.
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