You are not logged in.

#1 2018-04-06 07:57:07

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,568

[Solved] No Sound coming out of MPD after upgrade

I have a setup using MPD with JACK running flawlessly until the recent MPD update. I now am not having any sound. However the JACK PulseAudio sink is working so I have sound for my system, web browser and Spotify. Cantata and ncmpcpp doesn't output any sound.

This is my asoundrc:

 pcm.!default {
    type plug
    slave { pcm "pulse" }
}

pcm.pulse {
    type pulse
}

ctl.mixer0 {
    type hw
    card 0
}

##MPD - Jack Audio Connection Kit
pcm.jackplugmpd {	
    type plug
    slave {	pcm "jackmpd"	}	
}

pcm.jackmpd {	type jack
    playback_ports {	
        0 system:playback_1
        1 system:playback_2	}	
}

The MPD log says there's a module not being recognised:

ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_jack.so

This seems to be the root of the problem.

Any solution? Why is it missing now when it was completely functional before?

Last edited by d_fajardo (2018-04-06 15:43:25)

Offline

#2 2018-04-06 08:09:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [Solved] No Sound coming out of MPD after upgrade

There was an alsa-plugins update. Did you try to restart MPD yet? Another potential issue,. while alsa-plugins was updated alsa-lib seems not to have made the cut yet and chances are alsa-plugins is currently linked against the unavailable functionality.

Offline

#3 2018-04-06 10:37:59

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,568

Re: [Solved] No Sound coming out of MPD after upgrade

Thanks V1del. my alsa-plugins are current. However when I restart mpd.service I get:

[dipswitch@TUF-Z270 ~]$ sudo systemctl restart mpd.service
Job for mpd.service failed because the control process exited with error code.
See "systemctl status mpd.service" and "journalctl -xe" for details.

And here's the staus:

[dipswitch@TUF-Z270 ~]$ sudo systemctl status mpd.service
● mpd.service - Music Player Daemon
   Loaded: loaded (/usr/lib/systemd/system/mpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2018-04-06 11:33:22 BST; 26s ago
     Docs: man:mpd(1)
           man:mpd.conf(5)
  Process: 4847 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=1/FAILURE)
 Main PID: 4847 (code=exited, status=1/FAILURE)

Any reason for the error? Is it worth downgrading mpd if alsa-lib has unavailable functionality?

Offline

#4 2018-04-06 10:44:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,668

Re: [Solved] No Sound coming out of MPD after upgrade

You will want to downgrade alsa-plugins if anything, however our packagers should be aware (simply from the out of date flag, I haven't talked to anyone) and a proper fix will likely come soonish

MPD is just the messenger, the error here lies in the alsa-plugin jack module not being able to open up the corresponding lib function.

Last edited by V1del (2018-04-06 10:45:50)

Offline

#5 2018-04-06 15:41:46

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,568

Re: [Solved] No Sound coming out of MPD after upgrade

Thanks. I downgraded alsa-plugins and all working. I decided that since I need to be able to play my music. I'll consider this solved and just start a new ticket if in case I have a problem with the new alsa-lib when ready.

Last edited by d_fajardo (2018-04-06 15:44:18)

Offline

Board footer

Powered by FluxBB