You are not logged in.

#1 2011-03-24 10:56:50

Wintershade
Member
From: Croatia
Registered: 2008-02-18
Posts: 175
Website

[SOLVED] How to start JACK with KDE 4? (and which JACK should I use?)

Hi again smile

I'm using KDE 4, and I've just installed JACK again, and since I can't find any decent documentation on this, I'm having a bit of a problem.
Currently I have jack from [extra] installed, rather than jack2. When I try starting jack as the ArchWiki suggests, i.e. by typing "jackd -d alsa", I get the following error:

$ jackd -d alsa
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

could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory

JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0                                                                                                                                              
the playback device "hw:0" is already in use. Please stop the application using it and run JACK again                                                            
cannot load driver module alsa  

I've also tried jack2 from [community], and after starting it with "jack_control start", I get this...

$ jack_control start
--- start
DBus exception: org.jackaudio.Error.Generic: Failed to start server

So how do I start it? I'm guessing jack doesn't want to start because some other KDE application grabbed alsa before jackd (but I've been wrong before), and I don't have the slightest idea what jack2 is about with that "generic" error. If anyone would help me shed some light on this, I'd appreciate it a lot.

Thanks in advance! smile

Last edited by Wintershade (2011-03-26 19:22:08)


Only the best is good enough.

Offline

#2 2011-03-24 13:11:29

heptapod
Member
Registered: 2010-06-24
Posts: 35

Re: [SOLVED] How to start JACK with KDE 4? (and which JACK should I use?)

Could be pulseaudio that grabs your alsa card. Try pulseaudio -kill.

Offline

#3 2011-03-24 14:02:45

Wintershade
Member
From: Croatia
Registered: 2008-02-18
Posts: 175
Website

Re: [SOLVED] How to start JACK with KDE 4? (and which JACK should I use?)

Nope... pulseaudio is not even installed on my system.

$ pulseaudio --kill
bash: pulseaudio: command not found

Any other ideas? TIA


Only the best is good enough.

Offline

#4 2011-03-24 14:14:21

heptapod
Member
Registered: 2010-06-24
Posts: 35

Re: [SOLVED] How to start JACK with KDE 4? (and which JACK should I use?)

If you have a web browser with flash open it can grab your alsa card.

Also Im not sure but maybe gstreamer can grab your card directly?

Offline

#5 2011-03-26 07:54:28

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: [SOLVED] How to start JACK with KDE 4? (and which JACK should I use?)

lsof +c 0 /dev/snd/pcm*
lsof +c 0 /dev/dsp

Kill those. It's probably knotify4.

Anyway, you can start jack2 with the same jackd command. What you used is jackdbus-related, which if you're not sure how to use, leave it alone. jack2 comes with both a traditional jackd and a jackdbus, for those that need it sometimes. For those that will always need the capabilities of jackdbus, there's jack2-dbus.

You can use jack2 (with jackd command); it's SMP-efficient. When facing issues, switch to jack(1).


I need real, proper pen and paper for this.

Offline

#6 2011-03-26 19:21:49

Wintershade
Member
From: Croatia
Registered: 2008-02-18
Posts: 175
Website

Re: [SOLVED] How to start JACK with KDE 4? (and which JACK should I use?)

@schivmeister thanks that one worked smile
Yes, it was knotify4. So now this part works. I've switched to jack2 and it works flawlessly when starting it with jackd smile

So this part is solved... now, would you be so kind (if you know) as to point me to some tutorials or howtos (or proper documentation, cos I can't find much of that either) on how to connect various ALSA channels with JACK?
Basically, I want to route my PCM channel and the Mic channel into Capture 1 (or one to Capture 1 and other to Capture 2), since my Intel HDA audio card doesn't have the "Mix" or "What-U-Hear" or whatever as an available capture source. Any leads on that? (or do I have to open another thread for it?)

TIA


Only the best is good enough.

Offline

#7 2011-03-26 21:13:51

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: [SOLVED] How to start JACK with KDE 4? (and which JACK should I use?)

Open another thread, or join one; I believe that's a scenario for which questions have been posted around here before, but sorry I can't recall any method. This one might be related: https://bbs.archlinux.org/viewtopic.php?id=115690

With JACK you can capture anything that outputs sound and has support for JACK. For those without support for JACK output, you can use the JACK plug-in for ALSA.

You can check out jack_capture, and/or read up http://wiki.audacityteam.org/index.php? … e_computer


I need real, proper pen and paper for this.

Offline

Board footer

Powered by FluxBB