Skip to Content

Jack not working with Hydrogen

10 replies [Last post]
g-raf
Offline
Joined: 04/17/2010

I'm using Ubuntu Studio 9.04, Jack in realtime (realtime kernel), USB soundcard (m-audio fasttrack pro). When i start up Jack and then start up Hydrogen, Jack isn't recognized as an audio engine for Hydrogen and Hydrogen is not recognized in Jack's connect panel. When i start up Jack, the connect panel also doesn't show "alsa_pcm" in the "writable client/input source" section. How can i fix this problem?

gabriel
Offline
Joined: 04/17/2010

Since 'alsa_pcm' isn't showing up... I would guess that you're not actually getting jackd started... or at least not correctly.

Is there perhaps another audio device causing problems? I used to have trouble with a MIDI device being card 0, and audio being card 1. Every once in a while... they would swap (which really annoyed me). But this would sometimes create situations like this.

g-raf
Offline
Joined: 04/17/2010

I'm using a USB soundcard (m-audio fast track pro). Do you know how i could check/config the settings to make Jack work? Should i do it in ALSA?

gabriel
Offline
Joined: 04/17/2010

Are you using qjackctl?

g-raf
Offline
Joined: 04/17/2010

Yes, in the qjackctl "connect" panel, "alsa_pcm" and "system" are recognized as output ports, but only "system" is in the input ports, "alsa_pcm" isn't there.

And in hydrogen, no sound engine.

gabriel
Offline
Joined: 04/17/2010

In qjackctl, under 'Setup', do you have 'Audio' set to 'Duplex,' 'Capture Only,' or 'Playback Only.'? Sounds like you have it set up for 'Capture Only.'

Also in 'Setup,' under 'Interface' -- do you have more than one? (E.g. 'hw:0' and 'hw:1', etc.) Have you tried different interfaces to see if maybe you're accidentally using the wrong one?

From a commandline, if you do:

$ cat /dev/sndstat

It'll show you which devices ALSA is managing.

g-raf
Offline
Joined: 04/17/2010

These are the devices ALSA is managing:

Installed drivers:
Type 10: ALSA emulation

Card config:
M-Audio FastTrack Pro at usb-0000:00:1d.0-2, full speed
HDA Intel at 0xce400000 irq 22

Audio devices:
0: USB Audio
1: ALC268 Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
0: FastTrack Pro

Timers:
7: system timer

Mixers:
0: USB Mixer
1: Realtek ALC268

In the qjackctl, audio is set at "duplex" and the Interface is set to "Pro" (fast track pro) with input device set to "hw:0,1" which is "USB Audio #1" - that's supposed to be the capture device (mic) on the soundcard.

g-raf
Offline
Joined: 04/17/2010

This is one thing it says after the Jack starts (in the "messages"):

creating alsa driver ... hw:0|hw:0,1|128|2|44100|0|0|nomon|swmeter|-|16bit
control device hw:0

Doesn't that seem ok? I originally thought it was, but Jack isn't working work. I'm stumped.

gabriel
Offline
Joined: 04/17/2010

Try jack with hw:1.

g-raf
Offline
Joined: 04/17/2010

hw:1 is the HDA Intel card onboard. I'd like to use the fast track for hydrogen, but i'll try it with hw:1 to see what happens...
Nothing has changed. Still no programs, including hydrogen, work with Jack when it's running. Difficult problem.

g-raf
Offline
Joined: 04/17/2010

Alright well i gave up and solved this issue by reinstalling ubuntu studio. Works now.