Mod Archive Forums

Music Production => MilkyTracker => Tracking => MilkyTracker Support => Topic started by: urban soul on July 29, 2010, 11:14:23

Title: trouble getting jack to work...
Post by: urban soul on July 29, 2010, 11:14:23
Hi,

i am running a ubuntu jaunty kernel with ubuntu packages and I can't get MT to use the Jack audio driver.
First I tried MT v0.90.80 and it said: "JACK: Can't load libjack (is it installed?)"
... although these files were present in /usr/lib/ :

# ls libj*
libjack               libjackserver.so.0       libjack.so.0
libjack-0.100.0.so.0  libjackserver.so.0.0.28  libjack.so.0.0.28

libjack0.100.0:
inprocess.so  jack_alsa.so   jack_firewire.so  jack_net.so
intime.so     jack_dummy.so  jack_freebob.so   jack_oss.so

~~~~~~

Next I compiled v0.90.85 from source (with and without patches, makes no difference). The select driver dialog now offers: alsa | sdl_audio.

I get the following errors when switching between alsa and sdl_audio with different buffer sizes:

# /usr/local/bin/milkytracker
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
E: socket-client.c: socket(): Address family not supported by protocol
SDL: Failed to open audio device! (buffer = 8192 bytes)..
SDL: Try setting "Force 2^n sizes" in the config menu and restarting.

edit: deleted the similar err. messages.

I wonder if jack support is present here?!

urban
Title: Re: trouble getting jack to work...
Post by: Deltafire on July 29, 2010, 12:21:23
When building from source, Jack support will only be compiled if the Jack development libraries are installed on your system.  If you look at the output of the ./configure script you will see a message which reports whether this has been detected or not.

As for the error messages you pasted, it seems that SDL cannot successfully access the ALSA driver - you could try forcing SDL to use a different driver (see the readme_unix file for details of this).  I think Ubuntu uses Pulseaudio by default.
Title: Re: trouble getting jack to work...
Post by: urban soul on July 29, 2010, 15:00:48
Thanks for the quick hint!

I got libjack-dev and everything is fine.

As for the sdl_audio/alsa errors: these drivers work also - jack was running using them (single client). I dont use pulseaudio here on puppylinux.

Thx a ton!
Title: Re: trouble getting jack to work...
Post by: data on April 24, 2017, 22:27:23
with your advice it work today