Hi all,
Back at home I have done some experiments (Sorry for the long post !!)
Since I was using qjackctl to launch jack I did not notice that the
error message "cannot lock down memory for RT thread (Operation not
permitted)" was not a jackd message but a message from qjackctl when it
try to connect to the jack server.
As root everything work fine.
When running jackstart as normal user I get :
--cut here--
[christophe@localhost christophe]$ jackstart -R -v -d alsa -d hw:0 -p 1024
back from read, ret = 1 errno == Success
jackd 0.80.0
Copyright 2001-2003 Paul Davis 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
3701 waiting for signals
JACK compiled with System V SHM support
capabilities: =i cap_setpcap,cap_ipc_lock,cap_sys_nice,cap_sys_resource+ep
loading driver ..
new client: alsa_pcm, id = 1 type 1 @ 0x805ac70 fd = -1
creating alsa driver ... hw:0|hw:0|1024|2|48000|nomon|swmeter|rt
open
registered port alsa_pcm:capture_1, offset = 4096
registered port alsa_pcm:capture_2, offset = 8192
registered port alsa_pcm:playback_1, offset = 0
registered port alsa_pcm:playback_2, offset = 0
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
-- jack_rechain_graph()
starting engine
load = 0.0586 max usecs: 25.000, spare = 21308.000
load = 0.0715 max usecs: 18.000, spare = 21315.000
load = 0.0850 max usecs: 21.000, spare = 21312.000
--cut here--
So it seems ok, capabilities are enable,I start ams synth with "ams
--jack" still ok but when I try to connect ams_synth to alsa :
--cut here--
[christophe@localhost christophe]$ jack_connect ams_128_0:Out_ID1_0
alsa_pcm:playback_1
engine sample rate: 48000
cannot lock down memory for RT thread (Operation not permitted)
cannot activate client
--cut here--
The output of the jack terminal during the connection is :
-- cut here --
registered port ams_128_0:Out_ID1_0, offset = 12288
registered port ams_128_0:Out_ID1_1, offset = 16384
new client: jack_connect, id = 4 type 2 @ 0x411ff000 fd = 14
removing failed client jack_connect state = Not triggered errors = 0
adios senor jack_connect
*&*&*&*&** senor jack_connect - you are a ZOMBIE
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
-- jack_rechain_graph()
-- cut here --
my /etc/fstab is
-- cut here --
/dev/hda6 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda9 /home ext3 defaults 1 2
none /mnt/cdrom supermount
dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-15,codepage=850,umask=0 0 0
none /mnt/floppy supermount
dev=/dev/fd0,fs=auto,--,iocharset=iso8859-15,sync,codepage=850,umask=0 0 0
/dev/hda1 /mnt/win_c vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
/dev/hda5 /mnt/win_d vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hda8 /usr ext3 defaults 1 2
/dev/hda7 swap swap defaults 0 0
shmfs /dev/shm shm defaults 0 0
none /mnt/ramfs tmpfs defaults 0 0
none /tmp/jack tmpfs defaults 0 0
-- cut here --
If it work as root it should not be a problem of memory !!
So I think it may be a problem with the jack tmp files.
jackstart creates 4 tmp files with my user name :
ls -l /tmp
-- cut here --
drwxrwxrwx 1 root root 0 sep 6 13:59 jack/
srwxr-xr-x 1 christophe christophe 0 sep 6 15:30 jack_0=
srwxr-xr-x 1 christophe christophe 0 sep 6 15:30 jack_ack_0=
prw-r--r-- 1 christophe christophe 0 sep 6 15:30
jack-ack-fifo-4187-0|
prw-r--r-- 1 christophe christophe 0 sep 6 15:30
jack-ack-fifo-4187-1|
-- cut here --
jackd as root does the same but the owner of the tmp files is root of
course.
Well will work as root for the moment !!
Regards,
Christophe
In a message dated 8/31/03 10:17:19 PM Pacific Daylight Time,
guy.clotilde(a)wanadoo.fr writes:
> The raw device is for externa synth, I believe.
> As far as a sequencer goes, it's far better to use a softsynth than the
> legacy card synth. With a softsynth, you will have far better sounds, see for
> example timidity and the eawpats sound with your distro.
> Wuen timidity is installed and launched (timidity -iA) you will find it in
> this MusE box.
I wanted to use the wavetable synth, even if it was of lower sound quality,
as a tool to listen to work in progress so as to reduce the load on the
processor. I have been having some problems with crackling noises which I assume are
caused by MusE and or the softsynth overloading the processor when playing
back a multitrack midi file.
Today I did some experimenting with TiMidity as the softsynth for MusE -- I
got it configured with timidity -iA in one terminal and muse -R in another.
Then in the midiport configuration it popped up with timidity port 0 for the
first midi port. Unfortunately this produced no sounds on testing. I opened
the track info number and tried to select a preset, but all that it had was
"???" -- no patches to select from.
Is there another switch that needs to be thrown to load sounds into TiMidity?
Something else?
I am running the Planet CCRMA acpi kernel, RH 8.0, with TiMidity++
2.11.3-4.1, TiMidity midia instruments 2.11.3-4.1, and eawpats 12-1 installed.
Thanks,
Barton
Hi,
Just a compilation fix:
* fixed a missing parameter that stopped compilation with recent GCC
versions
http://pkl.net/~node/alsa-patch-bay.html
Bob
--
Bob Ham <rah(a)bash.sh>
Can you say "death chambers at Guantanamo with no real trial"?
Hello all,
I've been writing a feature on Ron Parker's studio for Sound on Sound
magazine. It's finished, but we're having a bit of trouble with the
screenshots, due to a hardware failure at the studio.
If anyone would like to email me directly or let me have the location
of screenshots of the following applications, I'd really appreciate
it. Complete desktop shots or individual windows are both fine - if
there's work in progress visible, so much the better.
1. Ardour - some up to date screenshots? I've already used the ones on
the Ardour website in an earlier article!
2. JAMin - I've got nothing on this one, image-wise.
3. Ardour Session Exchange - is this a command-line application? If
so, a screenshot of a terminal maybe?
4. Any other fine-looking JACK apps. Any JACK apps, in fact.
The more, the merrier! PNG format usually looks better than JPEG for
screenshots, in my experience.
Thanks
Daniel
http://www.linuxgazette.com/issue94/yan-fa.html
I previously set up something simpler with ecasound and at, encoding
direct to Vorbis from an FM tuner. A silent machine would work best
if running 24 hours a day in a living room environment, I reckon.
Cheers
Daniel
Emiliano Grilli,
> I think blender is one of the shiniest examples of a very good interface,
> and of the power of the community behind it: a real "symbol" of open source
> software (with the literal "liberation" to GPL!!!)
It's only been open source for a few months. I think it's a great testament
to what someone can do if they don't accept the accepted... think for
themselves, all that...
Don't forget who wrote it.
Hello list,
Anyone here have any experience getting alsa to work with the EMI 2|6? I'm
having some problems getting everything to play nice together. Using aplay
with no options gives me some errors about sample formats (according to
/proc/asound/card0/stream1 the acceptable sample formats are S16_LE and
S24_LE). 'Using aply -d plughw:1 sound.wav'gets me a little further - aplay
tells me:
"Playing sound.wav - Signed 16 bit Little Endian, 44.1KHz, Mono." Then
it informs me "xrun - at least 0.074 ms long!" and then I get an error
message :
Alsa lib pcm_hw.c:494:(snd_pcm_hw_start) - SNDDRV_PCM_IOCTL_START failed
: Broken pipe.
And of course I get no sound. For the record I'm running debian sid, 2.4.19
kernel, alsa 0.9.6 on a G3 Powerbook 500. Perhaps something wrong with my
alsa lib? Or am I missing something here? Any help from someone with any
experience with the EMI 2|6 would be greatly appreciated!
best,
Nick
Hi all,
I'm running Mandrake 9.1 with multimedia kernel and applications that
come mostly from thacs RPMS.
I have just download jack 0.80.0, qjackctl (great tool !!) and when
starting jack with -R option I get the error message : "cannot lock down
memory for RT thread".
Even with this error rosegarden work fine when using only the wavetable
synth of my sblive (no xruns, even under KDE, switching windows or doing
other nasty things that usually cause xruns).
The problem is that I cannot connect softsynth to jack (I get the same
RT thread error), I have tried with ams --jack and zynaddsubfx.
I have seen on list archive several users having the same problems but
no clear answer on the reason of the problem ....
Thanks,
Christophe
> Robert Jonsson wrote
> > Thursday 04 September 2003 10:22 skrev emillo\(a)libero\.it:
> > > > i agree too... i had a potter around and made some nice mixer graphics
> > > > but never had time to go further with them. i'd like to work on this
> > > > from time to time too, and all my work is publised Libre.
> > >
> > > Hi, I've done something too... but the same problem here with time ;)
> > > I've made some knobs with blender, they are here:
> > >
> > > http://plugin.org.uk/graphics/
> > > http://emillo.net/download/mixer.png
> >
> > Great!
> >
> > I got some lying around somewhere also.
> >
> > We should put up a (joint) webpage somewhere with free-to-use graphics. Would
> > the plugin.org.uk site be usable? Or perhaps on sourceforge or (since it's
> > been working rather badly lately) one of it's counterparts, e.g. savannah?
> >
> > audiogfx.sf.net ?
>
> They both are fine for me
What sort of things do you need? :} Maybe you could put together a joint widget list?
It's a hell of a lot easier to fill an order when you know what folk expect to be in the package.
{Sorry 'bout that stray reply.}
Hi.
I'm not designer at all, but I'd like to make you think about producing
some graphics under free license for using in audio opesource software.
What I;m thinking about is some web-resource, where developers could ask
artists for help. May be linux-audio-announcement@ could be fine for that
purpose.
As an impact I'm uploading
www.lrn.ru/~avp/files/piano.sodipodiwww.lrn.ru/~avp/files/piano.png
under FreeArt License (http://artlibre.org/i)
Feel free to use, modify and redistribute it.
--
Alexandre Prokoudine
ALT Linux Documentation Team
JabberID: avp(a)altlinux.org