[arch-general] Problem with audio

2014-12-09 Thread edson duarte
Hi!

I have configured MPD to start with systemd using:
$ systemctl --user enable mpd.service

and MPD works fine but when I try to use other programs like VLC, there
is no sound but by restarting MPD's service sound works again.

Any ideas how to fix this, so that I do not need to restart the service
every time I start the system?

Thanks!
-- 
edson duarte
GPG key ID: 0xDDFA2FE8


Re: [arch-general] Problem with audio

2014-12-09 Thread Vincent Lequertier

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

have you tried to run alsactl init  alsactl store?

Le 09/12/2014 11:11, edson duarte a écrit :
 Hi!

 I have configured MPD to start with systemd using:
 $ systemctl --user enable mpd.service

 and MPD works fine but when I try to use other programs like VLC, there
 is no sound but by restarting MPD's service sound works again.

 Any ideas how to fix this, so that I do not need to restart the service
 every time I start the system?

 Thanks!

- -- 
Vincent Lequertier
s...@riseup.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBCAAGBQJUhsOQAAoJEIDBfsllbxKAymwH/AuIviUuXtTbQctIZ+JUQRaF
vwqv2y0PpLwlkpNLy5rE9ulkA1qAYxcEleF+Lc/Zubw9tlcIYUtod98kRD4Xz88C
7fDVACqt1MpRdCND4hIv2ykxFzGWFBfrUQtfMBy5MOqH0JySRM3jI6PuUb8e+5e6
9Y8Q0BEk8keNGgiBixIebde0iNC0ZfNNyZ63btDXA9iEwNOxioZkjtbN8y6DTq6g
B1car1G1vjz3kut/5paazoX9qDh0/UgBW31a0hAaUMpYIdMxAYblyctyEyuzyM5L
uFTHVexdthWN5BvnMeUQmtyCc/QFjnYQLLTwH5B5w+whkvkbhHFTxQjWRPq1U5E=
=WRQy
-END PGP SIGNATURE-


Re: [arch-general] Problem with audio

2014-12-09 Thread Patrick Burroughs (Celti)
On Tue, Dec 9, 2014 at 3:11 AM, edson duarte edsonduarte1...@riseup.net wrote:
 and MPD works fine but when I try to use other programs like VLC, there
 is no sound but by restarting MPD's service sound works again.

Are you using PulseAudio? It may be that MPD is starting PulseAudio,
and because systemd --user daemons run outside the user session you
can't access the running PulseAudio from within your session without
restarting MPD. If this is the case, I recommend following the
instructions at [1] to send the audio from MPD to your user session
(ignore the fact that it's written to use different users; it will
work fine without that).

~Celti

[1]: 
https://wiki.archlinux.org/index.php/MPD/Tips_and_Tricks#Local_.28with_separate_mpd_user.29


Re: [arch-general] Problem with audio

2014-12-09 Thread edson duarte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Vincent Lequertier wrote:
 
 Hi,
 
 have you tried to run alsactl init  alsactl store?
 

No... and after trying:
 alsactl: sysfs_init:48: sysfs path '/sys' is invalid
 
 Found hardware: HDA-Intel Intel PantherPoint HDMI
 HDA:10134213,10280553,00100100 HDA:80862806,80860101,0010
 0x1028 0x0553 Hardware is initialized using a generic method

- -- 
edson duarte
GPG key ID: 0xDDFA2FE8
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJUhtYLAAoJEEuaWOJw2A3LxLcP/jtAyVgXdji/be3MYL1J/ERo
TASQo7FHwCUUPUUmxlqCv9eF6Z7POJxNUfcCZiuEVtVdCLM70hT8ulLfOLzlxkUe
5PL/ogrw8FrNFabSr1xAhjAaGHqW1skS7sXU0pAtOQrFVGyla9R+4hVTbKXcHHKg
/TqInU7qheDtqz4QkNaLECiE+cla/948IqRXcm+U23t4qhl9aw4oQyA+ehEENQT2
2cbjpxrEHth3aO7URgEajV40XGr/r1HR/FOqx/yCDy61lDFvA9GcSEzSUc98TzCG
RJfsxjuljMx4ImayqKDXLYaHPi1iy0v2RjQUKu4NLqfu4cJLWqwk3C6ATkwX5gJH
AlN2acMmCoK4UEMhZRbCKUIgQEcFxDUm2ohrt0a0uSSCnZn3MBgoXDOggin+smp5
hFH2L24sx0a5lPkCtf2rmYkcb8W3NMaOFGehMXpQ6oSxpZ3LrxiSz+Gy4TrF4WFe
WSm1fbS7DIYiGMHmomJv7vG0r7TTckA+pCrjnn/PFNG0j7u/nl1MR2ENZTyxZcsv
L6jgJiP/OLDTRdt0ylFNXwFLiEtYJW8WXQcmgUgTPbV86lrGmNFTgfIhlH3PV5sF
OesTDKauv0S5Dtxj9Tvwyn/BOsWZ97qMacK8bZU2ySNyNjodb8IEQDqwHyJnvgll
KhlfyyAgKe74lKU000HS
=MH4k
-END PGP SIGNATURE-


Re: [arch-general] Problem with audio

2014-12-09 Thread edson duarte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Patrick Burroughs (Celti) wrote:
 Are you using PulseAudio? It may be that MPD is starting
 PulseAudio, and because systemd --user daemons run outside the user
 session you can't access the running PulseAudio from within your
 session without restarting MPD. If this is the case, I recommend
 following the instructions at [1] to send the audio from MPD to
 your user session (ignore the fact that it's written to use
 different users; it will work fine without that).
 

I do not use PulseAudio.

- -- 
edson duarte
GPG key ID: 0xDDFA2FE8
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJUhtZZAAoJEEuaWOJw2A3LQaoP/RtKvqSBeh1v/iDwNPY1xGuc
vYzOCz/GmDdKO+kOJI/zc45BAt8jKNsHgnenONd6mYY8HHV9qPbxf8XJW2x6vIr7
oDGl+vfTdflu8LpBe+jVzlKUmjzRpwn86jcFE4X+hJnDUkcD3aD3uRBvobNcJrnC
McFNR5vobO0ru6ThH2HXympJ7VFctv4/AuB162XnZdUka7LCMmTJYVvh2kTtnvJc
pq0wTECRo9q750kyB8tqdWa1zQmp0H5xcoRqsV8A22zvYfBjB0AJPFCNUgcQi4ys
wOIlSM0zBtu86JrHjSBnF1Sy4625pKLTCTlqNAkVxgA2Syta5ZBjI/9gOgXPVIGG
xQmrsWIH1aTlIQaSappl7EE5t4cM0XK0W5F7G0T2lZqVhEL4oFsF1EnbP5/7mxj1
M0l29h4LhZlHiQbAAed4SCnqV5D71eueRl9Txp6mNpMDfKjRDZsNqZLiac2w2xyv
qwP86RygATz4GHJp1l8tWC5sJ6rKduASkd+djOKz8r7PwAGDtXIXJlfovt5Si+l3
zB1TftqYOXl4cuJh2OxitZSD4ZdvGvsCCOhO6+yVROWQaKgqSORYV43+ujX29Ysc
nQJhiBKRabVuYxJNwDZXQc8TA7PE1bUYNQI9yeXlkCWr56tQAv2KTU+SBci4goTf
mmkSQ3GcOv+wXFuHr5P3
=3ymm
-END PGP SIGNATURE-


Re: [arch-general] Problem with audio

2014-12-09 Thread Marcel Röthke
Am 09.12.2014 um 12:00 schrieb edson duarte:
 
 I do not use PulseAudio.
 
 

Than you are probably in the audio group, this is not necessary anymore
and has the drawback, that processes can claim the alsa device exclusively.

If my assumption is correct, remove yourself from the audio group should
solve the problem.


Re: [arch-general] Problem with audio

2014-12-09 Thread edson duarte
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Marcel Röthke wrote:
 Than you are probably in the audio group, this is not necessary
 anymore and has the drawback, that processes can claim the alsa
 device exclusively.
 
 If my assumption is correct, remove yourself from the audio group
 should solve the problem.
 

Already tried that, I'm not in the audio group.

- -- 
edson duarte
GPG key ID: 0xDDFA2FE8
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJUhtz3AAoJEEuaWOJw2A3L788P/AlnLs+gKT9IrNO+eySal0TP
vK5j7TxKRPAESqpAiqEU4S+OvxzpuwoAMZHKIPcrklh0F5AJjhlQykoVy6wbZwNE
iCjjTumKx6fhWhTh/Wv9jTYfhmvlH6UNoWjr4oYbtzaZ3PG92Ad50/BMYYc7nwP4
FYqVqRAwUldu7e/tRBkW6Ipw8GuPj4ZOnicsjW+4bSbW2zfWqsmKJ55dpvVBaB0M
KPt55O2TJdvsO0JzTcYgSoPkKx7OT6F+z2B6BIBO9NLmuWQ0uNrZz/ZhJVWqKOfZ
gAqYD3KplNgUMSqD31f8LZexC7EqJUIvZ+Chf1QjsoBjhTh8CQg9Nrv3/C6YPvJj
t89MrLSQ+v6tE6xhDh3wi8ooegcDjMVQbrveef8BVw6V6N61I3FRGLI8oFgrbx2T
xKVgfXpAujZz4v8n7oolcmYFUyYJS8t1Avpv8IGRnquXATpgPSevofQ+fkC3/Ruk
SfCxYma/WMjVb5hjWExeU7/d4+NE7WiF7965U9+ViaGpHkm0nGumwSbrZti7m+Ko
NHhyRtTlDqogIq0JwINUM8myQQj6R0stZlOt3wa84b2pYdGy06P9tUrKaTLX0OL6
CGkJrxGJN16bdUvA331H7dE5whrkDL8yZmHNh3WPrNzVjEGZFTPzpp/0adzGfoD8
xYn+o+5u4GEkG9zkxVEZ
=P+0c
-END PGP SIGNATURE-