Maybe we can find that sucker !
I tried to reconstruct the misbehaviour and its like that:
I run jack as root with
jackd -v -d alsa -d hw:0 -r 44100 -p 512
and pd with
-jack -rt -midiindev 3 -midioutdev 3 -inchannels 8 -outchannels 8
i open the testtone.pd patch, duplicate the toggle nr 6 change name send and receive fields to number 7 and OK!
When i run jack as USER with
jackstart -v -R -d alsa -d hw:0 -r 44100 -p 1024
and pd with
-jack -rt -midiindev 3 -midioutdev 3 -inchannels 2 -outchannels 8
I do the same as above and it freezes.
It freezes as well if i just ad a toggle from the menu right-click it and enter the properties menu !
I thought it has to do with rights of testtone.pd but i changed it to 777 at its the same
Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
OK, I got different symptoms but it's similar. For some reason, when jackd isn't root, jack and Pd don't work together at all, and Pd's jack code apparently hangs. I've got it to stop hanging (and just fail) but it's still a problem that you can't close and re-open the jack connection from Pd -- it hangs on the second attempt to open. It looks as if the code that closes jack (s_audio_jack.c) doesn't actually close anything.
So I've patched this up partially but there's more work to be done (preferably by someone who understands jack, which I'd prefer to avoid having to learn about!)
This doesn't look as if it's related to the "screen distance" bug, which I still can't figure out how to re-create!
cheers Miller
On Sun, Jan 25, 2004 at 04:45:00AM -0800, luigi rensinghoff wrote:
Maybe we can find that sucker !
I tried to reconstruct the misbehaviour and its like that:
I run jack as root with
jackd -v -d alsa -d hw:0 -r 44100 -p 512
and pd with
-jack -rt -midiindev 3 -midioutdev 3 -inchannels 8 -outchannels 8
i open the testtone.pd patch, duplicate the toggle nr 6 change name send and receive fields to number 7 and OK!
When i run jack as USER with
jackstart -v -R -d alsa -d hw:0 -r 44100 -p 1024
and pd with
-jack -rt -midiindev 3 -midioutdev 3 -inchannels 2 -outchannels 8
I do the same as above and it freezes.
It freezes as well if i just ad a toggle from the menu right-click it and enter the properties menu !
I thought it has to do with rights of testtone.pd but i changed it to 777 at its the same
Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
Hallo, Miller Puckette hat gesagt: // Miller Puckette wrote:
OK, I got different symptoms but it's similar. For some reason, when jackd isn't root, jack and Pd don't work together at all
IIRC jackd has to run as the same user as Pd is running. To still achieve higher scheduling, jack normally is run through the jackstart program, but this requires a small kernel patch. The FAQ on jackit.sf.net has more details.
Frank Barknecht _ ______footils.org__
On Sun, 25 Jan 2004, Frank Barknecht wrote:
IIRC jackd has to run as the same user as Pd is running.
This is right, yes, otherwise jack doesnt work. To start testing it the best is to simply use jackd as:
jackd -d alsa -d hw
and
pd -jack
As normal user. When starting jackd as root you will get problems with the cleanup. Never start jackd as root.
After you got it running, you can start fiddling with the patched kernel (or get it from planet, agnula) and with jackstart -R etc.
Guenter
To still achieve higher scheduling, jack normally is run through the jackstart program, but this requires a small kernel patch. The FAQ on jackit.sf.net has more details.
ciao
Frank Barknecht _ ______footils.org__
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
On Sun, 25 Jan 2004, Miller Puckette wrote:
OK, I got different symptoms but it's similar. For some reason, when jackd isn't root, jack and Pd don't work together at all, and Pd's jack code apparently hangs. I've got it to stop hanging (and just fail) but it's still a problem that you can't close and re-open the jack connection from Pd -- it hangs on the second attempt to open. It looks as if the code that closes jack (s_audio_jack.c) doesn't actually close anything.
Yes, thats on purpose. Otherwise you lose all the connections when turning off audio.
Guenter
So I've patched this up partially but there's more work to be done (preferably by someone who understands jack, which I'd prefer to avoid having to learn about!)
This doesn't look as if it's related to the "screen distance" bug, which I still can't figure out how to re-create!
cheers Miller
On Sun, Jan 25, 2004 at 04:45:00AM -0800, luigi rensinghoff wrote:
Maybe we can find that sucker !
I tried to reconstruct the misbehaviour and its like that:
I run jack as root with
jackd -v -d alsa -d hw:0 -r 44100 -p 512
and pd with
-jack -rt -midiindev 3 -midioutdev 3 -inchannels 8 -outchannels 8
i open the testtone.pd patch, duplicate the toggle nr 6 change name send and receive fields to number 7 and OK!
When i run jack as USER with
jackstart -v -R -d alsa -d hw:0 -r 44100 -p 1024
and pd with
-jack -rt -midiindev 3 -midioutdev 3 -inchannels 2 -outchannels 8
I do the same as above and it freezes.
It freezes as well if i just ad a toggle from the menu right-click it and enter the properties menu !
I thought it has to do with rights of testtone.pd but i changed it to 777 at its the same
Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list