View previous topic :: View next topic |
Author |
Message |
straightlineapple n00b
Joined: 17 Apr 2006 Posts: 43
|
Posted: Fri May 12, 2006 5:01 am Post subject: [solved] problems trying to set JACK & alsa |
|
|
on the last few days i've been trying to set JACK on my system so i could use programs like Ardour and Rosegarden,
following the Gentoo wiki guide.
i emerged everything i had to, checked that the kernel parts were properly compiled and edited the configuration files.
the first problem was that i couldn't start jack in realtime mode as a user, only as root. how can i fix this?
even with jack not running in realtime, i went to the next step and tried to play a file in aplay with the jack plugin.
then i got the following message:
Code: | cannot connect alsa-jack.jackP.20750.0:out_001
to alsa_pcm:playback_2 |
and, on the jack output:
Code: |
unknown destination port in attempted connection [alsa_pcm:playback_2]
|
my .asoundrc looks like this:
Code: |
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}
pcm.jackplug {
type plug
slave { pcm "jack" }
}
pcm.jack {
type jack
playback_ports {
0 alsa_pcm:playback_1
1 alsa_pcm:playback_2
}
capture_ports {
0 alsa_pcm:capture_1
1 alsa_pcm:capture_2
}
}
|
any idea about what is going on here?
Last edited by straightlineapple on Sun Jun 04, 2006 4:43 pm; edited 1 time in total |
|
Back to top |
|
|
Coltie Guru
Joined: 22 Apr 2005 Posts: 305 Location: N 46° 7' 26.7" E 7° 6' 11.2"
|
Posted: Fri May 12, 2006 9:25 am Post subject: |
|
|
Hi
Did you add your user to the audio group?
I got trouble for a while and I had to load the realtime module manually after the boot:
modprobe -r realtime
modprobe realtime gid=18
and then it works, at least for me. Hope this helps. _________________ Unreleased Kollektiv
"If by noise you mean uncomfortable sound, then pop music is noise to me."
Masami Akita |
|
Back to top |
|
|
straightlineapple n00b
Joined: 17 Apr 2006 Posts: 43
|
Posted: Fri May 12, 2006 3:02 pm Post subject: |
|
|
ok, now realtime works as user! but the strange thing is that the module was loaded already...
thanks anyway =D
however, i still can't use aplay with the jackplug... |
|
Back to top |
|
|
Coltie Guru
Joined: 22 Apr 2005 Posts: 305 Location: N 46° 7' 26.7" E 7° 6' 11.2"
|
Posted: Sat May 13, 2006 12:07 am Post subject: |
|
|
straightlineapple wrote: | the strange thing is that the module was loaded already... | I had also really strange trouble. For a while I had to always load the realtime manually...
straightlineapple wrote: | however, i still can't use aplay with the jackplug... | Well, if Rosegarden and Ardour are doing the duty that you need, I think you shouldn't bother about aplay!? _________________ Unreleased Kollektiv
"If by noise you mean uncomfortable sound, then pop music is noise to me."
Masami Akita |
|
Back to top |
|
|
straightlineapple n00b
Joined: 17 Apr 2006 Posts: 43
|
Posted: Sun May 14, 2006 7:09 pm Post subject: |
|
|
well, ardour is working allright... but it is still complaining about the missing alsa_pcm:playback_2...
=P |
|
Back to top |
|
|
josh Guru
Joined: 05 Feb 2003 Posts: 473 Location: Milky Way: Solar System: Earth: North America: USA: NY: Buffalo
|
Posted: Sat Jun 03, 2006 4:21 pm Post subject: |
|
|
jack can be a little tricky. It'll take a while to get your config just right. Saying that it can't find "playback_2" could mean that you have an ardour track that needs 2 outputs but your soundcard only has one or jack is only aware of one. qjackctl is your friend.
aplay probably isn't working because it is not a jack-aware app. There are apparently ways to get alsa/oss apps to connect to jack through alsa-jack, but I haven't figured it out yet. _________________ -Josh |
|
Back to top |
|
|
|