You are not logged in.
Pages: 1
Hej,
I am trying hard to get mpd running with jack, but am constantly failing. Starting mpd it says "successfully detected a jack audio device" and everything looks fine, except i cannot play any file. When i try that with mpc i receive an error "Problems opening audio device". In the mpd logfile appears sth similar:
Oct 24 20:23 : output: Failed to open "default detected output" [jack]: Failed to connect to JACK server
Oct 24 20:23 : player_thread: problems opening audio device while playing "000 neue 000/Eddie Vedder/Into the wild/01 - Setting Forth.mp3"Any ideas on how to solve this?
I am able to play sounds through jack with aplay, so my .asoundrc should be fine
thanks in advance
Offline
Same problem for me.
Do you have any solution?
I am trying around with jack's severname-argument ("-name") but it doesnt works.
The mpd-daemon starts fine with jack-support compiled in.
greetz
Sascha
Offline
For clarification, mpd->alsa->alsa_to_jack_plugin->jack? Not just mpd->jack?
I used that previously, it doesnt' work reliably. All-in-all I've found the jack plugin in alsa to be a pain, prefer the pulseaudio->jack plugin (with jack2).
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
I think there are two possible ways, explained here http://mpd.wikia.com/wiki/Configuration . (Look under "Jack")
The first uses the libao and the jack-alsa-plugin:
For clarification, mpd->alsa->alsa_to_jack_plugin->jack? ...
And the second way directly over the "jack-output" in mpd, which you have to compile in.
With the first way my mpd deamon doesnt start, and dont produce any usable error-output ![]()
greetz
Sascha
Offline
Yep, I'd recommend just using the second way and saving yourself the hassle. Never managed to get to the bottom of the first way.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Yeah, and with the first way (direct mpd-jack-output) there is the problem.
Mpd starts fine, but if you wanna play any audio over your favourite client (ncmpcpp in my case), a error-msg is written to the log.
Something like the ones calle posted.
But ... ... I am going to increase the verbosity level of mpd. *idea* :-)
EDIT:
The Result
Nov 11 14:11 : decoder: audio_format=44100:24:2, seekable=true
Nov 11 14:11 : output: Failed to open "default" [jack]: Failed to connect to JACK server
Nov 11 14:11 : player_thread: problems opening audio device while playing "Hidden_-_Song.mp3"This is the output with the highest verbosity-level.
greetz
The SIghter
Last edited by sighter (2009-11-11 13:16:20)
Offline
You need a jack plugin, not a direct jack connection. The 'plug' in your asoundrc allows resampling, since I doubt your jack is running at the specified format.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Yeah, and with the first way (direct mpd-jack-output) there is the problem.
the same to me ... same problem - same error message :-(
With alsaplayer everything works fine but i'd like to use MPD since they have a working and nice looking iPhone-APP :-)
Did you get it working meanwhile?
Cheers,
teichsta
Offline
You need a jack plugin, not a direct jack connection
which plugin do you think of?
the libao-plugin described here (http://mpd.wikia.com/wiki/Configuration) ?
Cheers,
teichsta
Offline
That depends, do you connect directly to JACK or via alsa? The former requries you to recompile mpd with jack support. The latter requires you to have a 'plug' somewhere for format conversion between mpd and jack.
Oh, and I don't think it works if your mpd runs as root and jack runs as user...
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Oh, and I don't think it works if your mpd runs as root and jack runs as user...
That seems to be correct. I've set up JACK to start at boot time as a promiscuous server. Still MPD with JACK-support compiled in doesn't seem to be able to connect (same error message in the log).
musician & coder
http://elephly.net
http://github.com/rekado
Offline
Sorry, can't really help you there. I'm not sure what direct JACK support brings as a benefit to mpd, probably the alsa plugin is easier to use.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Pages: 1