SliTaz SliTaz Forum

You are not logged in.

#1 2016-08-26 18:24:54

DocDocDoc
Member
Registered: 2016-08-26
Posts: 7

zita-njbridge Package?

Hi there,

I use an elderly Fujitsu thin client as an XDMCP terminal. The little box has 2GB SDD and about 2GB of RAM (the Radeon chipset taking some of it) It came with eLux, which is nice but too commercial and it was an old installation so I went for SliTaz 5 RC4 which does a great job!

(I managed to install the RadeonHD drivers, which are necessary for joyful operation.)

Another reason for SliTaz was: It comes with Jack. I have to insist on using Jack on my main box, and now I want to route the audio into the SliTaz box. This works with my laptop as terminal using the zita-njbridge.

However, there is no package for that in SliTaz. What to do now? Can I install from source? If so, how to get a compiler? Or would someone be so kind an create a package? Also, for some other users, zita-ajbridge would be handy. All available from here: http://kokkinizita.linuxaudio.org/linuxaudio/

zita-njbridge is a simple way to beam audio over the net to a thin client, if you use Jack. Others might do it with PulseAudio – but these two do not go together, so you have to chose: Jack for pro-audio (which is what I do) or PulseAudio for consumer audio.

Best

Doc

Offline

#2 2016-08-27 16:16:04

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: zita-njbridge Package?

[c]tazpkg -gi slitaz-toolchain[/c] is a meta-package that installs basic tools necessary to compile software from source.

binutils linux-api-headers glibc-dev gcc make elfkickers

This info must be provided with a package request so the built software runs on your system:

Type each command in terminal and hit Enter key.

Post the output in your reply.

[c]uname -a[/c]

[c]cat /etc/slitaz-release[/c]

[c]/lib/libc.so.6[/c]

Offline

#3 2016-08-29 20:25:42

DocDocDoc
Member
Registered: 2016-08-26
Posts: 7

Re: zita-njbridge Package?

OK here's the requested info for the package request:

no@sikander:~$ uname -a

Linux sikander 3.2.71-slitaz #4 SMP Sat Aug 13 18:50:01 CEST 2016 i686 GNU/Linux

no@sikander:~$ cat /etc/slitaz-release

5.0

no@sikander:~$ /lib/libc.so.6

GNU C Library stable release version 2.14.1, by Roland McGrath et al.

Copyright (C) 2011 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.

There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

PARTICULAR PURPOSE.

Compiled by GNU CC version 4.6.3.

Compiled on a Linux 3.2.71 system on 2016-06-29.

Available extensions:

        crypt add-on version 2.1 by Michael Glad and others

        GNU Libidn by Simon Josefsson

        Native POSIX Threads Library by Ulrich Drepper et al

        BIND-8.2.3-T5B

libc ABIs: UNIQUE IFUNC

For bug reporting instructions, please see:

<http://www.gnu.org/software/libc/bugs.html>.

Offline

#4 2016-08-29 20:49:55

DocDocDoc
Member
Registered: 2016-08-26
Posts: 7

Re: zita-njbridge Package?

Perhaps the Jack Audio Connection Kit coming with SliTaz 5 RC4 is too old? It seems to be lacking a function.

no@sikander:~/Downloads/zita-njbridge-0.1.1/source$ make

g++ -O2 -Wall -MMD -MP -DVERSION=\"0.1.1\" -DAPPNAME=\"zita-j2n\"  -c -o jacktx.o jacktx.cc

jacktx.cc: In member function 'int Jacktx::jack_process(int)':

jacktx.cc:228:57: error: 'jack_get_cycle_times' was not declared in this scope

<builtin>: recipe for target 'jacktx.o' failed

make: *** [jacktx.o] Error 1

no@sikander:~/Downloads/zita-njbridge-0.1.1/source$ make

g++ -O2 -Wall -MMD -MP -DVERSION=\"0.1.1\" -DAPPNAME=\"zita-j2n\"  -c -o jacktx.o jacktx.cc

jacktx.cc: In member function 'int Jacktx::jack_process(int)':

jacktx.cc:228:57: error: 'jack_get_cycle_times' was not declared in this scope

<builtin>: recipe for target 'jacktx.o' failed

make: *** [jacktx.o] Error 1

Offline

#5 2016-08-30 06:37:57

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: zita-njbridge Package?

Updated to latest Jack1, slitaz has no Jack2 package.

http://cook.slitaz.org/cooker.cgi?download=jack-audio-connection-kit-0.124.1.tazpkg

http://cook.slitaz.org/cooker.cgi?download=jack-audio-connection-kit-dev-0.124.1.tazpkg

Offline

#6 2016-08-30 08:33:14

DocDocDoc
Member
Registered: 2016-08-26
Posts: 7

Re: zita-njbridge Package?

Thank you so much, mojo! I got it running. Jack and njbridge seem to perform fairly well on this hardware (old Fujitus Futro thin client). On my old laptop (Core 2 Duo), I had to use larger buffers for Jack. It even does not drop out on full screen YouTube videos (this is an X11 terminal!), but YouTube noticeably slow down the feel of other interaction with the server. Mh. (I run jackd as root, I guess it grabs enough of priority…)

I needed util-linux-uuid and util-linux-uuid-dev. Plus, zita-resampler, which I had to tweak with a SymLink so that zita-njbridge would find it. Jack 0.124.1 is enough for these old tools.

It would be great, if those could come as packages in the future. It doesn't seem to be too much of a hassle to compile them. If someone who's into it would do something about PulseAudio support, SliTaz could have the two main ways of getting audio accross the net to an XDMCP terminal on Linux. (Solaris as server can also do PulseAudio, I think.)

Thank you very much for your support.

Now I'll have to check out where to put a nice little script that auto-starts these things.

Offline

#7 2016-08-31 07:00:28

DocDocDoc
Member
Registered: 2016-08-26
Posts: 7

Re: zita-njbridge Package?

A follow-up question: I create a script that starts jack, n2jbridge and wires things up with jack_connect. I can start this script on the cmd line with nohup, everything works fine.

However, when I put it input /etc/init.d/local.sh, I don't get the console login anymore, apparently the script does not detach successfully with nohup.

What can I do about this?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.023 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]