Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Pulseaudio fail after reboot
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
Celes_Eternal
n00b
n00b


Joined: 23 Dec 2014
Posts: 46

PostPosted: Mon Jun 27, 2016 1:30 am    Post subject: [SOLVED] Pulseaudio fail after reboot Reply with quote

Hello everyone,

I'm a little sad, since 3 days I tried to run Pulseaudio. Today I just make a clean install and Pulseaudio was working (maybe i was dreaming).
But after a reboot, the only one in fact, Alsamixer doesn't show Pulseaudio output, pavucontrol fail to connect and when I try pulseaudio commands :

start-pulseaudio-x11:
Code:
Connection failure: Connection refused
pa_context_connect() failed: Connection refused


pulseaudio -v:
http://www.heypasteit.com/clip/2R51

And I can see a htop process about pulseaudio:
/usr/bin/pulseaudio --start --target-log=syslog
When I kill it, youtube video stop but the process respawn.

To be sure, my config is here : https://github.com/Celes-Eternal/Config-System

If somebody can help, it will be really awesome.
Thanks


Last edited by Celes_Eternal on Mon Jun 27, 2016 5:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
dr_wulsen
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2013
Posts: 146
Location: Austria

PostPosted: Mon Jun 27, 2016 9:58 am    Post subject: Could this help...? Reply with quote

Hi Celes_Eternal,

Did you enable the alsa-plugin?
Code:
local use flags (searching: alsa-plugin)
************************************************************
[-      ] alsa-plugin
    media-sound/pulseaudio: Request installing media-plugins/alsa-plugins
    with PulseAudio plugin enabled. This ensures that clients supporting
    ALSA only will use PulseAudio.

Other thought:
Code:
E: [pulseaudio] main.c: D-Bus name org.PulseAudio1 already taken.
took me to this page on the forums https://forums.gentoo.org/viewtopic-t-986754-start-0.html

Could this help your issue as well?
_________________
There's no stupid questions, only stupid answers.
Back to top
View user's profile Send private message
Celes_Eternal
n00b
n00b


Joined: 23 Dec 2014
Posts: 46

PostPosted: Mon Jun 27, 2016 11:48 am    Post subject: Reply with quote

Thanks for your answer but that didn't work.
Alsa-plugin is installed with pulseaudio, use flags are ffmpeg pulseaudio and jack.

But I come back too something i think better, even if I don't have any sound now.
I just removed :
Code:
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session <WINDOW_MANAGER>

And now I can see Pulseaudio into alsamixer, and pavucontrol works.
When sounds are playing I can see pavucontrol react, but that's all.

So now this is the error:
Code:
I: [pulseaudio] client.c: Created 21 "Native client (UNIX socket client)"
D: [pulseaudio] protocol-native.c: Protocol version: remote 30, local 30
I: [pulseaudio] protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
D: [pulseaudio] protocol-native.c: SHM possible: yes
D: [pulseaudio] protocol-native.c: Negotiated SHM: yes
D: [pulseaudio] srbchannel.c: SHM block is 65472 bytes, ringbuffer capacity is 2 * 32712 bytes
D: [pulseaudio] protocol-native.c: Enabling srbchannel...
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for amixer
D: [pulseaudio] protocol-native.c: Client enabled srbchannel.
I: [pulseaudio] client.c: Freed 21 "ALSA plug-in [amixer]"
I: [pulseaudio] protocol-native.c: Connection died.


I think I just need some configuration.

EDIT:
I have some permissions error :
Code:
D: [pulseaudio] module.c: Checking for existence of '/usr/lib64/pulse-8.0/modules/module-udev-detect.so': success
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: no
I: [pulseaudio] module-udev-detect.c: Found 1 cards.


And an error with bluez 5:
Code:
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files


SOLVED:
I just add my user to the audio group, unlike the gentoo wiki says, and everything is working now.
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