Mark Haun | 27 Aug 21:37 2015

Status of cgroups support/coexistence?

On a Linux 4.2 system with realtime scheduling controlled by cgroups, what is
the current recommended strategy to get jackd working as a non-root user? 
There was an old wiki page,

https://github.com/jackaudio/jackaudio.github.com/wiki/Cgroups

describing some built-in support (e.g. --with-default-cgroup configuration
switch).  But none of this is in the current git HEAD.  (I am using jack2
1.9.11.)

And a somewhat related question:  Is there currently support for running
jack as root and allowing client programs with multiple UIDs to connect?  I
tried following an old recipe using JACK_PROMISCUOUS_SERVER, but it didn't
seem to make any difference; running jackd as root, only root can connect.

Regards,

Mark
djbarney | 22 Aug 21:24 2015

Want to get involved in testing Windows Jack - Already using Ableton, etc.

Hi Jack people,

I am doing a lot of testing of various types of Windows audio software 
at the moment. ReWire is good but Jack would make a nice alternative. I 
tested in Windows Vista and got Jack Audio running, but it crashed a few 
times and I got very crackly audio. After moving to my Windows 7 64bit 
dual boot installation (I eventually discovered the custom/hacked PAX 
drivers for my X-Fi card to replace buggy Creative drivers) I found Jack 
more stable but still get this crackling in the audio - this is not 
present in any other audio from my system, MME, ASIO, games, ReWire, 
etc.

So how do I get involved with the Windows version ? I can put in bug 
reports and do testing. I have been known to fire up windows compilers 
(after eating the right kind of mushrooms, ya know how it is) but I'm 
not an experienced coder. Frankly I wonder what is causing the crackling 
because the rest of Jack in Windows seems to be working and stable.

DJ Barney

--

-- 
~~~

http://djbarney.org
Matt Flax | 19 Aug 08:47 2015

jack1 and MIPS architecture

I can now start jackd 1 on a MIPS 24Kc architecture.

When I try to do anything - even probe the sample rate, it dies with Bus 
Error :
creating alsa driver ... hw:0|hw:0|1000|16|48000|0|2|nomon|swmeter|-|32bit

jack_samplerate ....
Bus error

Even when I use the dummy driver :
jackd -ddummy
creating dummy driver ... dummy_pcm|48000|1024|21333|2|2

jack_samplerate ....
Bus error

I have tried to use gdb and gdbserver, but it is non trivial as the 
binaries are stripped ... even when I use gdb remotely with a 
non-stripped binary, still don't get any sensible information.

I have run jackd with -v and here is what I get - bus error - when I run 
jack_lsp
... snip ...
start poll on 4 fd's
server thread back from poll
polling sync client netjack
++ jack_sort_graph
client event poll on 12 for netjack starts at 1156835181
back from client event poll after 515 usecs
client event poll on 12 for netjack starts at 1156835803
(Continue reading)

Matt Flax | 16 Aug 01:59 2015

netjack one - promiscuous mode for broadcast

Hi there,

It is possible that netjack one should be more promiscuous ( indiscriminate = unselective = let anyone connect).

Take this scenario : we have a network of netjack one masters and want to connect to all of them and play all together at the same time.
Right now, it requires each of the netjack one masters to know the IP address of the person who wants to connect ... whilst this is secure, it is difficult to connect to many jackd masters without instructing each of them the host who wants to connect to them first ! This isn't practical for the broadcast scenario. It requires another piece of software or webapp which allows the slave to instruct the master it wants to connect ... allowing the master to initiate with the slave's hostname.

To recap the problem ...

netjack one is nicely secure in that the master controls who connects ( https://github.com/jackaudio/jackaudio.github.com/wiki/WalkThrough_User_NetJack#all-set--lets-play- ):
* Start jackd with a driver (e.g. alsa)
* Once the slave is running : jack_netsource -H host

Netjack2 doesn't have this broadcast problem ...

netjack two is promuscuous in that anyone can connect (https://github.com/jackaudio/jackaudio.github.com/wiki/WalkThrough_User_NetJack2 ) :
* Start jackd with a driver (e.g. alsa)
* start up the netmanager : jack_load netmanager
* any host can connect

Does anyone have a premade software which solves this problem for netjack one ?
Should we consider adding a promiscuous mode to netjack one which allows anyone to connect ?

thanks
Matt
_______________________________________________
Jack-Devel mailing list
Jack-Devel <at> lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Matt Flax | 16 Aug 01:40 2015

jackd2 bus error on openwrt

Hi there,

I am revisiting running jackd2 on openwrt using another ARM 
architecture. It is compiled from git commit 
cd59d67847afb57393a1db6d39badd94a4973f6e

When jack starts I still get bus error :
root <at> OpenWrt:/# jackd -v -d alsa
jackdmp 1.9.11
Bus error

I have tried to start with "-v" and see no extra information.

Not sure what to do next to debug, beyond hacking console outputs into 
the command line.

Anyone got any advice ?

Matt
p.s. jackd1 starts - no problem.
Kjetil Matheussen | 8 Aug 16:54 2015
Picon

Calling jack_cycle_wait/jack_cycle_signal from a "third party" thread.

I.e. the question is about calling jack_cycle_wait/jack_cycle_signal from
a thread that is NOT created with jack_set_process_thread.

Should that be okay? I don't see anything about it in the documentation.

I'm doing this as a workaround until I figure out why on earth
the global exception handler on Windows isn't called when
crashing in the jack thread. (A "global exception handler" in
windows is called "unhandled exceptions filter", and it is created
with the "SetUnhandledExceptionFilter" call)

As far as I can see, jack on windows does not implement any type of
Windows exceptions handler (it's a quite complicated system), except
for doing some C++ try/catch stuff, but at least if you
do try/catch stuff in mingw, it doesn't screw up the unhandled
exceptions filter. Besides, I didn't find any try/catch code for the
process thread either. So I have no idea what happens...

I've also tried crashing the jack process thread immediately after
it starts, to eliminate the possibility that it's my code that does
something strange, but the unhandled exceptions filter isn't called then either.

_______________________________________________
Jack-Devel mailing list
Jack-Devel <at> lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Steve Harris | 20 Jul 17:57 2015
Picon

Re: jackd on low memory embedded systems

On 20 Jul 2015, at 16:55, Paul Davis <paul <at> linuxaudiosystems.com> wrote:
> 
> On Mon, Jul 20, 2015 at 11:51 AM, Wargreen <wargreen <at> lebib.org> wrote:
>> Hi,
>> Sorry for the thread hijacking, bu AVB is'nt a standard ?
>> https://en.wikipedia.org/wiki/Audio_Video_Bridging
> 
>>> precisely, there are so many "standards" that there are no standards.
> 
> <obXKCD>
>    https://xkcd.com/927/
> </obXKCD>

https://en.wikipedia.org/wiki/Comparison_of_audio_network_protocols
Matt Flax | 19 Jul 05:19 2015

jackd on low memory embedded systems

Hi there,

I am wanting to run jackd on low resourced/power embedded systems 
(running Linux).

When I run jackd on these systems it tries to lock down way to much 
memory ... much more then is available.

Is the amount of memory locked down by jackd configurable ? Or is it an 
operating system set thing ?

Does anyone have any constructive ideas or suggestions for running jackd 
on these low resource embedded systems ?

thanks
Matt
Rui Nuno Capela | 15 Jul 17:13 2015

[ANN] QjackCtl 0.4.0 is out!

Hi all,

as in through the hottest of summers--as southerners can't even 
wait--here comes part one:

   QjackCtl 0.4.0 (summer'15) is out!

though aside that everybody knows this already,

   QjackCtl is a (maybe not so any more but) simple Qt [3] application 
to control the JACK [2] sound server, for the Linux Audio infrastructure.

website:
   http://qjackctl.sourceforge.net

downloads:
   http://sourceforge.net/projects/qjackctl/files

- source tarball:
   http://download.sourceforge.net/qjackctl/qjackctl-0.4.0.tar.gz

- source package:

http://download.sourceforge.net/qjackctl/qjackctl-0.4.0-23.rncbc.suse132.src.rpm

- binary packages:

http://download.sourceforge.net/qjackctl/qjackctl-0.4.0-23.rncbc.suse132.i586.rpm

http://download.sourceforge.net/qjackctl/qjackctl-0.4.0-23.rncbc.suse132.x86_64.rpm

Change-log:
- Some windows fixes added (patch by Kjetil Matheussen, thanks).
- Most advanced Setup/Settings are moved into new Setup/Advanced 
settings tab; limit range for the real-time priority setting, now having 
6 as absolute minimum valid value (after patches by Robin Gareus, thanks).
- A new top-level widget window geometry state save and restore 
sub-routine is now in effect (EXPERIMENTAL)
- Delayed geometry setup for widget windows upon startup has been 
deprecated and scrapped altogether.
- Setup/settings dialog tab is going into some layout changes; also got 
rid of old patchbay auto-refresh timer cruft, which was previously 
hidden/disabled.
- New socket names are now automatically inferred from selected client 
names while on the Patchbay widget, Socket dialog.
- Fixed for some strict tests for Qt4 vs. Qt5 configure builds.
- German (de) translation update (by Guido Scholz, thanks).

License:
   QjackCtl stands free, still open-source software, distributed under 
the terms of the GNU General Public License (GPL [4]) version 2 or later.

Weblog (upstream support):
   http://www.rncbc.org

See also:
   http://www.rncbc.org/drupal/node/912

References:

[1] QjackCtl - A JACK Audio Connection Kit Qt GUI Interface
     http://qjackctl.sourceforge.net

[2] JACK Audio Connection Kit
     http://jackaudio.org

[3] Qt framework, C++ class library and tools for
     cross-platform application and UI development
     http://qt.io/

[4] GPL - GNU General Public License
     http://www.gnu.org/copyleft/gpl.html

Enjoy && have a whole hot'ta Summer'15 fun!
-- 
rncbc aka. Rui Nuno Capela

--

-- 
rncbc aka. Rui Nuno Capela
Kjetil Matheussen | 4 Jul 13:36 2015
Picon

New build of QJackCtl for Windows

Hi all,

The build of qjackctl included with jackdmp for windows is getting really old.
The biggest problem is that the default "startup time" is set too low, making it
seem like "jack crashes". (I"ve got many complains that "jack crashes").
Another problem is that you manually have to append "-S" to the "Server Prefix".

So here:


...I've cloned the official qjackctl repository, fixed these two problems,
and added some files to make it straight forward to build qjackctl under mingw32.
(Building is just running the "build_mingw32.sh" script)

Windows binary: http://folk.uio.no/~ksvalast/qjackctl.zip

Perhaps this build, or something similar, can be included in the next release of jack for windows?

_______________________________________________
Jack-Devel mailing list
Jack-Devel <at> lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
Paul Davis | 3 Jul 03:09 2015

[jackaudio/jack1] 0abd99: [metadata] fix unfreed DBT key/data tuples causing...

  Branch: refs/heads/master
  Home:   https://github.com/jackaudio/jack1
  Commit: 0abd99b2d1278373d958300d2575f5964e161acb
      https://github.com/jackaudio/jack1/commit/0abd99b2d1278373d958300d2575f5964e161acb
  Author: rncbc <rncbc <at> gamma.rncbc.lan>
  Date:   2015-04-19 (Sun, 19 Apr 2015)

  Changed paths:
    M libjack/metadata.c

  Log Message:
  -----------
  [metadata] fix unfreed DBT key/data tuples causing several mem-leaks.

  Commit: 57c2bc1d4a2559e2d462e394ba06dd827740f874
      https://github.com/jackaudio/jack1/commit/57c2bc1d4a2559e2d462e394ba06dd827740f874
  Author: rncbc <rncbc <at> gamma.rncbc.lan>
  Date:   2015-04-19 (Sun, 19 Apr 2015)

  Changed paths:
    M libjack/metadata.c

  Log Message:
  -----------
  [metadata] fix unfreed DBT key/data tuples causing several mem-leaks. (2)

  Commit: 4f4523bb00a3f12169e205d18bab3aceab50bce0
      https://github.com/jackaudio/jack1/commit/4f4523bb00a3f12169e205d18bab3aceab50bce0
  Author: rncbc <rncbc <at> gamma.rncbc.lan>
  Date:   2015-04-19 (Sun, 19 Apr 2015)

  Changed paths:
    M libjack/metadata.c

  Log Message:
  -----------
  [metadata] fix unfreed DBT key/data tuples causing several mem-leaks. (3)

  Commit: 71ad620daab1e9a844edfed6a10d07c4a89506f1
      https://github.com/jackaudio/jack1/commit/71ad620daab1e9a844edfed6a10d07c4a89506f1
  Author: rncbc <rncbc <at> gamma.rncbc.lan>
  Date:   2015-04-19 (Sun, 19 Apr 2015)

  Changed paths:
    M libjack/metadata.c

  Log Message:
  -----------
  [metadata] fix unfreed DBT key/data tuples causing several mem-leaks. (4)

  Commit: 3e8e8ee917545750d7a8408940348c45c2df1b01
      https://github.com/jackaudio/jack1/commit/3e8e8ee917545750d7a8408940348c45c2df1b01
  Author: rncbc <rncbc <at> gamma.rncbc.lan>
  Date:   2015-04-19 (Sun, 19 Apr 2015)

  Changed paths:
    M libjack/metadata.c

  Log Message:
  -----------
  [metadata] fix unfreed DBT key/data tuples causing several mem-leaks. (5)

  Commit: 3b9c817a9488d00d5c0d37c48af092e698d1f616
      https://github.com/jackaudio/jack1/commit/3b9c817a9488d00d5c0d37c48af092e698d1f616
  Author: rncbc <rncbc <at> gamma.rncbc.lan>
  Date:   2015-04-19 (Sun, 19 Apr 2015)

  Changed paths:
    M libjack/metadata.c

  Log Message:
  -----------
  [metadata] fix unfreed DBT key/data tuples causing several mem-leaks. (6)

  Commit: 940c811392eae31ac778b424bc38b0b517a2a8d5
      https://github.com/jackaudio/jack1/commit/940c811392eae31ac778b424bc38b0b517a2a8d5
  Author: rncbc <rncbc <at> gamma.rncbc.lan>
  Date:   2015-04-20 (Mon, 20 Apr 2015)

  Changed paths:
    M libjack/metadata.c

  Log Message:
  -----------
  [metadata] fix unfreed DBT key/data tuples causing several mem-leaks. (7)

  Commit: 60d74536e66510baca02a0718fffc256b107d2fc
      https://github.com/jackaudio/jack1/commit/60d74536e66510baca02a0718fffc256b107d2fc
  Author: Robin Gareus <robin <at> gareus.org>
  Date:   2015-05-01 (Fri, 01 May 2015)

  Changed paths:
    M libjack/client.c

  Log Message:
  -----------
  support [unescaped] double-quotes in jackdrc

allow autostart of jackd on OSX where device-names can
contain spaces.

  Commit: 4f0fe014fb05a322f5cd56e718f2929df365b642
      https://github.com/jackaudio/jack1/commit/4f0fe014fb05a322f5cd56e718f2929df365b642
  Author: Dominic Sacré <dominic.sacre <at> gmx.de>
  Date:   2015-05-01 (Fri, 01 May 2015)

  Changed paths:
    M jackd/engine.c

  Log Message:
  -----------
  fix segfault caused by incorrect jack_error() format string

  Commit: 6816710adc72bd22f8968e2627459d142f72ce66
      https://github.com/jackaudio/jack1/commit/6816710adc72bd22f8968e2627459d142f72ce66
  Author: rncbc <rncbc <at> gamma.rncbc.lan>
  Date:   2015-05-01 (Fri, 01 May 2015)

  Changed paths:
    M libjack/metadata.c

  Log Message:
  -----------
  [metadata] fix unfreed DBT key/data tuples causing several mem-leaks.

  Commit: a1bf5da92ef3e71cd1405c8a2472234249c87dd2
      https://github.com/jackaudio/jack1/commit/a1bf5da92ef3e71cd1405c8a2472234249c87dd2
  Author: rncbc <rncbc <at> gamma.rncbc.lan>
  Date:   2015-05-01 (Fri, 01 May 2015)

  Log Message:
  -----------
  Merge branch 'master' of https://github.com/rncbc/jack1

  Commit: 2a2047cd2ea8ac3ee4638db7a625123552573871
      https://github.com/jackaudio/jack1/commit/2a2047cd2ea8ac3ee4638db7a625123552573871
  Author: rncbc <rncbc <at> gamma.rncbc.lan>
  Date:   2015-05-02 (Sat, 02 May 2015)

  Changed paths:
    M drivers/alsa_midi/alsa_midi.c

  Log Message:
  -----------
  Merge branch 'fix_alsa_midi_freewheeling'

  Commit: 5af5815c47630b77cc71c91a460f8aa398017cf7
      https://github.com/jackaudio/jack1/commit/5af5815c47630b77cc71c91a460f8aa398017cf7
  Author: Paul Davis <paul <at> linuxaudiosystems.com>
  Date:   2015-07-02 (Thu, 02 Jul 2015)

  Changed paths:
    M libjack/metadata.c

  Log Message:
  -----------
  Merge pull request #20 from rncbc/master

[metadata] fix unfreed DBT key/data tuples causing several mem-leaks.

Compare: https://github.com/jackaudio/jack1/compare/b7099ac25d1b...5af5815c4763
_______________________________________________
Jack-Devel mailing list
Jack-Devel <at> lists.jackaudio.org
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Gmane