New version of Jack, now Qjackctl fails - was: [Qtractor-devel] VST vs VeSTige

Ralf ralf.mardorf at alice-dsl.net
Tue Dec 28 13:29:50 GMT 2010


Hi :)

I'm sorry for this cross posting. To get all new Qtractor features I
needed to get a new version of Jack.

Now there's an issue for Qjackctl. If I run Jack + Qtractor everything
seems to be ok, resp. there seems to be an issue regarding to LV2
Plug-in GTK UI only.

Btw. I don't know if Qjackctl was ok before.

On Tue, 2010-12-28 at 09:13 +0000, Rui Nuno Capela wrote:

>  if during configure the "aeffectx.h" header file is found on any of 
>  the system include paths (eg. /usr/local/include, /usr/include) then the 
>  bundled vestige header won't be used ever.
> 
>  alternatively, you can tell which vst path will be honored by 
>  ./configure --with-vst=/path/vst/include, but take care that any of this 
>  must be complete in regard to official vst spec (ie. steinbergs), which 
>  i'm sorry to tell the vestige is far from being
> 
>  otoh, i have been told that the vestige still does not play sanely on 
>  64bit systems. i haven't confirmed this yet, mainly because fwiw, on all 
>  of my own boxes, i do have the (2) steinberg vst-sdk 2.4 headers under 
>  /usr/local/include and afaict it's been quite painless, whether building 
>  for 32 or 64bit.
> 
>  cheers

Ok, I added the 2.4 headers by soft links ;).
spinymouse at ubuntu:/usr/src$ ls /usr/local/include -hAl
aeffect.h -> /mnt/suse11.2/usr/local/include/aeffect.h
aeffectx.h -> /mnt/suse11.2/usr/local/include/aeffectx.h

Is there any 'very' important dependency that should be absolutely
updated?

I'm on Ubuntu Studio 10.04 Lucid and replaced the package rubberband2 by
the current version and build dummy packages for all the rest of
rubberband, that is included to the self build rubberband2 package. The
kernel-rt also is a self-build, perhaps not optimized to my machine,
current version. FWIW, it's said that PREEMPT RT shouldn't be better
than a PREEMPT kernel, as long as there isn't a firewire (FFADO) device
used?!

jackd is version 0.118+svn3796-1ubuntu2 and if I'm not mistaken, it is
split to the packages jackd, jackd-firewire, libjack-dev, libjack0.
Strange package management, I could call all dummy versions 2008.18.12,
excepted of the version for jackd and I also needed to add an additional
dummy package named 'libjack0.100.0-dev', because the package dssi-dev
'suddenly' needs this dependency. Very strange *?*

jack-audio-connection-kit 0.120.1 :

| Build with ALSA support............................... : true
| Build with old FireWire (FreeBob) support............. : true
| Build with new FireWire (FFADO) support............... : true
| Build with OSS support................................ : true
| Build with Sun audio support.......................... : false
| Build with CoreAudio support.......................... : false
| Build with PortAudio support.......................... : false
| Build with Celt support............................... : true
| Build with dynamic buffer size support................ : yes
| Compiler optimization flags........................... : -g
| Compiler full flags................................... : -I
$(top_srcdir)/config -I$(top_srcdir) -I$(top_srcdir) -D_REENTRANT
-D_POSIX_PTHREAD_SEMANTICS -Wall -g
| Install dir for libjack + backends.................... :
${exec_prefix}/lib64/jack
|
| Default driver backend................................ : "alsa"
| Shared memory interface............................... : "System V"
| IPC Temporary directory............................... : /dev/shm
| Install prefix........................................ : /usr/local
| Default tmp dir....................................... : /dev/shm

Dunno why PortAudio isn't configured? This is revision 4094 of jack1.

After installing Jack I run
spinymouse at ubuntu:/usr/src/jack$ sudo gedit /etc/ld.so.conf.d/libc.conf
and added the line 
/usr/local/lib64
then I run
spinymouse at ubuntu:/usr/src/jack$ sudo ldconfig


Note: I first replaced Ubuntu's Jack by dummy packages and than added
the self compiled JACK.


*?*?*?*?*?*?*?


While jack can be launched directly


spinymouse at ubuntu:/usr/src/jack$ jackd -dalsa -r44100 -p512 -n2 -D
-Chw:0 -Phw:0
jackd 0.120.1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn
and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details


Memory locking is unlimited - this is dangerous. You should probably
alter the line:
     @audio   -  memlock    unlimited
in your /etc/limits.conf to read:
     @audio   -  memlock    1541484
no message buffer overruns
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|512|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 44100Hz, period = 512 frames (11.6 ms), buffer = 2
periods
ALSA: final selected sample format for capture: 32bit integer
little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer
little-endian
ALSA: use 2 periods for playback


*?*?*?*?*?*?*?

there's trouble when I try to do it by Qjackctl.

For Qjackctl I unchecked 'artsshell -q terminate'.

First I get

spinymouse at ubuntu:/usr/src/jack$ qjackctl
Suspending PulseAudio

And for the message Window
13:29:43.623 Patchbay deactivated.
13:29:43.630 Statistics reset.
13:29:43.648 ALSA connection graph change.
13:29:43.846 ALSA connection change.

After I start Jack by Qjackctl I get

13:31:13.045 JACK is starting...
13:31:13.046 /usr/bin/jackd -dalsa -r44100 -p512 -n2 -D -Chw:0 -Phw:0
13:31:13.101 Could not start JACK. Sorry.
13:31:30.554 JACK was stopped with exit status=255.
13:31:30.556 Post-shutdown script...
13:31:30.556 killall jackd
jackd: no process found
13:31:30.971 Post-shutdown script terminated with exit status=256.


###############


I ignored this and checked out Qtractor 0.4.7.49 revision 1763.

This is looking good:

  Qtractor 0.4.7.49

  Build target . . . . . . . . . . . . . . . . . . .: release

  JACK Audio Connection Kit support  . . . . . . . .: yes
  ALSA MIDI Sequencer support  . . . . . . . . . . .: yes
  General audio file support (libsndfile)  . . . . .: yes
  Ogg Vorbis audio file support (libvorbis)  . . . .: yes
  MPEG-1 Audio Layer 3 file support (libmad) . . . .: yes
  Sample-rate conversion support (libsamplerate) . .: yes
  Pitch-shifting support (librubberband) . . . . . .: yes
  OSC service support (liblo)  . . . . . . . . . . .: yes
  Archive/Zip file support (zlib)  . . . . . . . . .: yes
  IEEE 32bit float optimizations . . . . . . . . . .: yes
  SSE optimization support (x86) . . . . . . . . . .: yes
  LADSPA Plug-in support . . . . . . . . . . . . . .: yes
  DSSI Plug-in support . . . . . . . . . . . . . . .: yes
  VST Plug-in support  . . . . . . . . . . . . . . .: yes
  LV2 Plug-in support (libslv2)  . . . . . . . . . .: yes
  LV2 Plug-in Event/MIDI support . . . . . . . . . .: yes
  LV2 Plug-in GTK UI support . . . . . . . . . . . .: yes
  LV2 Plug-in External UI support  . . . . . . . . .: yes
  LV2 Plug-in Save/Restore support . . . . . . . . .: yes
  LV2 Plug-in Persist support  . . . . . . . . . . .: yes

  JACK Session support (EXPERIMENTAL)  . . . . . . .: yes

  X11 Unique/Single instance . . . . . . . . . . . .: no
  XInitThreads() support (DANGEROUS) . . . . . . . .: no
  VeSTige header support . . . . . . . . . . . . . .: no
  Gradient eye-candy . . . . . . . . . . . . . . . .: yes
  Debugger stack-trace (gdb) . . . . . . . . . . . .: no

  Install prefix . . . . . . . . . . . . . . . . . .: /usr/local

spinymouse at ubuntu:/usr/src/qtractor$ qtractor -v
Qt: 4.6.2
Qtractor: 0.4.7.49
spinymouse at ubuntu:/usr/src/qtractor$ jackd -dalsa -r96000 -p512 -n2 -D
-Chw:0 -Phw:0
[snip]

Another tab to launch Qtractor:

spinymouse at ubuntu:/usr/src/qtractor$ qtractor

THE GOOD NEWS IS that Qtractor is playing and jack is working.
THE BAD NEWS is that Qtractor > Help > About says:

Version: 0.4.7.49
Build: Dec 28 2010 13:49:41
LV2 Plug-in GTK UI support disabled.

There was a 'yes' for the configure message.

[OT] I need to correct a bad information I've given. Oops, 64 Studio 3.3
isn't Lucid, but Karmic :(. [End OT]

Cheers!

Ralf




More information about the Ubuntu-Studio-users mailing list