You are not logged in.

#1 2011-10-17 17:05:10

ppr
Member
Registered: 2011-10-04
Posts: 32

[SOLVED] mpd and pulse audio

Hi,

I tried to configure mpd in archlinux (with gnome 3) and pulse audio.

I followed this page : http://mpd.wikia.com/wiki/PulseAudio but I have still problem. I cannot play a son. I have all package about pulse-audio installed.

I have this error in /var/log/mpd.log

xcb_connection_has_error() returned true
No protocol specified
Oct 16 00:11 : output: Failed to enable "Sound Card" [pulse]: pa_context_connect() has failed: Connection refused

a part of my /etc/mpd.conf

mixer_type			"software"
audio_output {
        type                    "pulse"
        name                    "Sound Card"
}

I can re-create the database (with ncmpc) but not playing son. I think it is a problem of access but mpd is member of audio group...

]# id mpd
uid=45(mpd) gid=45(mpd) groupes=45(mpd),92(audio),100(users)

Idea ?

Last edited by ppr (2011-10-17 21:29:40)

Offline

#2 2011-10-17 17:35:18

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: [SOLVED] mpd and pulse audio

How do you start mpd, as a system daemon or as user? I've had problems getting pulse to work with a system daemon, but if started as user with a session it works well. I haven't looked into it much since I don't use pulse on the media server.

Offline

#3 2011-10-17 20:21:46

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: [SOLVED] mpd and pulse audio

@OP - gotta learn to search my friend.

https://bbs.archlinux.org/viewtopic.php?id=127949


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2011-10-17 21:28:58

ppr
Member
Registered: 2011-10-04
Posts: 32

Re: [SOLVED] mpd and pulse audio

Fixed but I don't actualy know why (perhaps a pulse-audio upgrade).

But it was not at all the same problem than the one graysky points out. And the solution of the post quoted  was not a real one : to use alsa instead of pulse audio to avoid to fixing pulse audio problem...

Last edited by ppr (2011-10-17 21:30:16)

Offline

#5 2013-05-30 22:33:45

sistematico
Member
From: Campo Grande / MS / Brasil
Registered: 2008-07-26
Posts: 97
Website

Re: [SOLVED] mpd and pulse audio

Same issue here.


Lucas Saliés Brum
blog | medium | vk | twitter | github | .share
Forgive the spelling and grammar, English is not my native language.

Offline

#6 2013-05-30 22:45:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] mpd and pulse audio


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB