I am an new user of ardour. I was impressed byt the screen shots of
ardour. so I installed ardour(i686) in my ubuntu dapper using the
synaptic.
when i start ardour it sez
Ardour could not connect to jack
There are several possible reasons:
JACK is not running
JACK is running as another user, perhaps root
There is another client called “ardour”
please consider the possibillities, and perhaps (re)start JACK
guessing you meant ‘ardour’ when you mentioned ‘audacity’ in the subject line of your post.
seems like the cause of your problem is that you are simply not running jack. jack is required by ardour. please download and install jack (if you haven’t already done so) and make sure it is running before trying to run ardour. jack is a console app (think commandline) but there are several graphical frontends available that are very simple to setup and use. ‘qjackctl’ is my favorite.
jack is available at http://jackit.sourceforge.net but you’d have to compile it yourself. i’m sure that ubuntu has all of the software you need in their repository. you can probably just open synaptic and search for qjackctl. if you can install that from synaptic, all of its dependencies (including jack) should be downloaded and installed automatically… then again, if you downloaded ardour via synaptic, you should already have jack on your system.
You probably want to install the realtime-lsm module to run jack as non-root in realtime mode: use “module-assistant” for that, it will download & compile it for you (i assume you use dapper drake release, that did not work for me with breezy). Once that is done you can tick the “Realtime” box in the qjackctl tickbox and still run it as non-root.
The “Could not open ALSA sequencer as a client” is nothing to really worry about, you can wire up midi clients in qjackctl but it’s nothing to do with jackd really and ardour will work fine without it.
It appears the midi sequencer module does not get loaded automatically in ubuntu. Try “sudo modprobe snd-seq-midi” to install this module, that will only work until reboot though. Place something in /etc/modules to sort it out permanently.
Good luck. ardour0.99 runs fine for me with dapper (as did 0.93 with breezy actually)
Hi
You mean the synaptic manager by “module-assistant” is it not?
Installing realtime-lsm…
Installation successful…
terminal> “qjackctl”
The error which used to occur when i open qjackctl–
“Could not open ALSA sequencer as a client”
dosen’t occur anymore.
qjackctl>Setup>Parameters>“checking Realtime”
now starting jack…
error:
Could not start jack
Sorry
This is what it sez in the messages window:
22:55:17.476 Patchbay deactivated.
22:55:17.494 Statistics reset.
qstring_to_xtp result code -2
22:55:17.560 MIDI connection graph change.
22:55:17.708 MIDI connection change.
Qt: Locales not supported on X server
QInputContext: no input method context available
QInputContext: no input method context available
qstring_to_xtp result code -2
22:55:43.035 Startup script…
22:55:43.036 artsshell -q terminate
qstring_to_xtp result code -2
sh: artsshell: command not found
22:55:43.254 Startup script terminated with exit status=32512.
22:55:43.256 JACK is starting…
22:55:43.257 jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
22:55:43.261 Could not start JACK. Sorry.
qstring_to_xtp result code -2
22:55:45.424 JACK was stopped successfully.
qstring_to_xtp result code -2
I ll post some more info about my hardware:
Intel 915GAV m/b, 1gb 400mhz ram, built in audio card(Realtec, i think), 2.1 speakers
volume control says that im using "Realtec ALC880 (OSS Mixer)
It looks like you are using the deprecated OSS drivers for your soundcard instead of the modern ALSA ones. This is probably your distro’s fault. Which distro are you using so we can tell people to stay away from it?
To enable ALSA, you’ll probably need to recompile your kernel.
Building a realtime kernel is my recommendation for jackd. Easiest way to accomplish this is to install
Fedora Core 3 or some other RedHat based Linux (CentOS, Scientific Linux)
head to Planet CCRMA and download their two cd-images and read the very good documentation
Realtime module is used for letting regular users to get realtime priorities to the kernel processes - that is the reason for error message: “could not connect to jack as client”.
A quick workaround for this is starting jackd as a regular user in a terminal:
jackd -d alsa -d hw:0 -r 48000 -p 1024 -D
After issuing this command start qjackctl. It will not run with realtime priorities but will work anyway.
If you want to use Deb-based system, you must install kernel-packages and download the realtime-lsm module package from sourceforge. I also recommend the CK (Con Kolivas) kernel patches, that are widely used in Linux multimedia applications.
Here is how it goes:
make sure you have kernel source on your system, usually in /usr/src
copy the CK-patch package to /usr/src along with realtime-lsm package
unpack the realtime package: tar -xzvf realtime-x.x.tar.gz
make a symbolic link to your kernel source: ln -s linux-version.x.x linux
move to your kernel source directory: cd linux
patch the kernel source with the CK patch - make sure your kernel version is correct(!): bzcat …/ck-patch.x.x.bz2 | patch -p1
copy your working kernel configuration from /boot-directory to your kernel source directory:
cp config-your.kernel.version /usr/src/linux/.config
make a configuration to your kernel source:
make menuconfig
remember: realtime capability must be loaded as a module to the kernel, not compiled to the kernel - this is configured in “Processor type and features”
make your kernel after saving your new configuration: make all
make a bzImage of your kernel: make bzImage
make your kernel modules: make modules
go to the realtime-directory ( cd …/realtime.x.x ) and give the command: make && make install
go back to kernel directory: cd …/linux
install modules: make modules_install
wait
finally, install the new kernel:
make install
If you are using GRUB, make install will update your bootloader configuration to include the new realtime kernel.
If jackd still complains about not connecting to server, give this command to load the realtime module (as root):
modprobe realtime any=1
Should work now. Ardour rules with this combination: jackd+realtime-kernel
Ubuntu studio is certainly the simplest way to get things integrated properly. The web site is a usefull resource for Ubuntu users as well as others since it also contains some general purpose tips.
I get many of the same problems as the guy who started this post:
When I run “ardour” from the command line I get the error about not being able to connect to Jack
I also get this if I open Jack, a dialog box with the message appears:
“Could not open ALSA sequencer as a client”
“MIDI patch will not be available”
Could this be because I’m logged in as root/Administrator? Do I need to create another user to access Arodur?
If I create another user, do I still have access to everything on my machine like I do as root?
“Could not open ALSA sequencer as a client”
“MIDI patch will not be available”
–> This happens when you launch qjackctl without the snd-seq module loaded. Load it first with “modprobe snd-seq”, you should then get the proper seq device working.
–> The error you get when you run ardour is not related to this. If ardour does not connect to jack it means jackd is not running. Running qjackctl before running ardour is not sufficient. You have to start the jackd process from qjackctl (the “play” button), and then run ardour.