I'm in the process of trying to rebuild my audio box, after thoroughly
mangling my previous setup. I started with a fresh install of Slackware 9.1.
I then built the following software:
Vanilla 2.6.1 kernel (with 2-line capabilities patch)
ALSA-lib 1.0.0rc1
Jack 0.94.0 (configured with --enable-capabilities)
libcap 1.10
Hydrogen 0.8.1
When I tried to start Hydrogen, however, the application locked up when
it connected to Jack. Any other program interacting with Hydrogen (e.g.
"killall -9 hydrogen", "ps -A", "top") also locked up. Jack continued
running smoothly, as did the rest of the environment.
This problem does not happen when I run as root, nor does it happen when
I run Jack without realtime scheduling. It happens only when I use jackstart
as a normal user.
I would like to test some of my other favorite Jack applications, but
sourceforge.net's CVS servers seem to be down right now, and some of the
library dependencies don't seem available by any other means. The only other
Jack client I'm aware of on my machine is jackrec. I successfully used
jackrec to capture 5 seconds of audio, with no lockup.
Originally, the output of dmesg contained "Debug: sleeping function
called from invalid context at include/asm/semaphore.h:119" statements each
time there was a lockup. A visit with Google turned up this message:
http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg10203.html
The call trace from my dmesg output was essentially identical, and so I
applied the patch contained in the message. This silenced the complaints,
but the lockups persisted.
I was able to get a fresh CVS copy of Hydrogen (right before CVS went
down), but the result is the same as with 0.8.1. I was unable to build
0.8.0, due to backward-compatibility problems with Jack.
Originally, I had Jack configured with --enable-optimize and
--enable-posix-shm, but I have since rebuilt (make uninstall, make clean,
./configure, make, make install) with only --enable-capabilities. No effect.
If I use strace to launch Hydrogen, I get output which consistently
terminates with the following lines:
sched_get_priority_max(0x1) = 99
sched_get_priority_min(0x1) = 1
mlockall(MCL_CURRENT|MCL_FUTURE
If I use strace to launch jackrec, the output continues past the mlockall
call:
sched_get_priority_max(0x1) = 99
sched_get_priority_min(0x1) = 1
mlockall(MCL_CURRENT|MCL_FUTURE) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(7, "\240\360\n@\0\0\0\0 M\5\10\31o\7@P\260\4\10\0\0\0\200\0"..., 148) =
148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
(Plus another screen or so of additional output.)
If there's any other info I should provide, please let me know. I'm out
of my league here. I don't know whether the issue is the kernel, ALSA, Jack,
libcap, or Hydrogen. Can anyone point me in the right direction?
|)
|)enji
Thanks to all who replied to my earlier posting
about available apps for linux audio in comparison
to Window$/Mac apps. Now that I know there is an
abundant supply of apps... What would be your
recommendations to help a Linux newbie make the
transition and begin using a Linux DAW? In other
words how do you make music using your Linux DAW?
Next, sound card recommendations? A friend may
donate a Delta66 with Omni I/O breakout box to me.
I may also purchase a SB Live! (EMU10K) card for
using soundfonts. What cards work well? Good
driver support. Low latency. Good D/A chips.
Low noice. Etc.
Finally, is there a preference to Intel or AMD
CPUs and chipsets? Does one seem to work better
than another? VIA chipset? nVidia? Intel?
Sorry for asking what probably seems mundane to
you. But, I'm new and want to get educated before
making the switch. But I am dedicated to making
the switch from Window$ to Linux.
--
===========================================================
Richard K. Ingalls
Director of Information Technology
Glenwood R-8 School District
West Plains, MO
email..ringalls(a)glenwood.k12.mo.us
web....glenwood.k12.mo.us
ph.....417.256.4849
fax....417.257.2567
"Glenwood R-8: home of the mustangs!"
===========================================================
Hi,
1) I'm using alsa 1.0.1 with the latest version of jackd on a via kt400
mobo (VT8377) and a VT8233 audio controller. I have the low-latency/premp
kernel patches as well as the capabilities patch applied to a 2.4.22
kernel. I get xruns like crazy that average around 0.09 msecs when running
jackd in duplex mode. These disapear when running in either capture or
playback mode. I had seen that there may be some issues with the via82xx
chipset and jackd on the alsa list, but no solutions or description of
what the actual problems were. Am I stuck in a duplex-free zone or is
there a way to work around this? Will this affect my ability to use ardour
as multitracking device using the mic/line-in, or will it only cripple my
ability to use other programs as jack slaves?
2) Even with the capabilities patch, I get the following error when
running jack as a normal user:
JACK: unable to mlock() port buffers: Operation not permitted
cannot set thread to real-time priority (FIFO/20) (1: Operation not
permitted)
cannot use real-time scheduling (FIFO/10) (1: Operation not permitted)
Any ideas?
Thanks!
Keith
Delta 66 is good (and well supported). I use AMD and VIA with few problems. Of course, it can take a while to get everything the way you want it. Tuning the system is probably the most time consuming part.
Jan
-----Original Message-----
From: "linux-audio-user-bounces(a)music.columbia.edu" <linux-audio-user-bounces(a)music.columbia.edu> on behalf of "Richard K. Ingalls" <ringalls(a)glenwood.k12.mo.us>
Sent: Wed, 21 Jan 2004 12:25:43 -0600
To: "A list for linux audio users" <linux-audio-user(a)music.columbia.edu>
Subject: [linux-audio-user] Recommendations for the newbie?
Thanks to all who replied to my earlier posting
about available apps for linux audio in comparison
to Window$/Mac apps. Now that I know there is an
abundant supply of apps... What would be your
recommendations to help a Linux newbie make the
transition and begin using a Linux DAW? In other
words how do you make music using your Linux DAW?
Next, sound card recommendations? A friend may
donate a Delta66 with Omni I/O breakout box to me.
I may also purchase a SB Live! (EMU10K) card for
using soundfonts. What cards work well? Good
driver support. Low latency. Good D/A chips.
Low noice. Etc.
Finally, is there a preference to Intel or AMD
CPUs and chipsets? Does one seem to work better
than another? VIA chipset? nVidia? Intel?
Sorry for asking what probably seems mundane to
you. But, I'm new and want to get educated before
making the switch. But I am dedicated to making
the switch from Window$ to Linux.
--
===========================================================
Richard K. Ingalls
Director of Information Technology
Glenwood R-8 School District
West Plains, MO
email..ringalls(a)glenwood.k12.mo.us
web....glenwood.k12.mo.us
ph.....417.256.4849
fax....417.257.2567
"Glenwood R-8: home of the mustangs!"
===========================================================
I took a look at the agnula.org page thinking I'd get a copy of the
upgrade CDs for my existing Debian system. Downloading two CDs worth of
data on an ISDN connection is going to take too long... does anyone in the UK
have the DeMuDi 1.0 add-on distribution that they'd be prepared to copy
and snail mail to me for a fiver or whatever it costs?
Or have I missed somewhere on the web site that says CDs can be obtained
by snail mail?
--
Anahata
anahata(a)treewind.co.uk Tel: 01638 720444
http://www.treewind.co.uk Mob: 07976 263827
Hi,
I am searching a graphical level-meter to control the input volume for
recording or the output volume (to avoid clipping and distortion).
I know ecasignalview.
--
Kai Weber
» kai.weber(a)glorybox.de
http://www.glorybox.de
I am installin Debian GNU/Linux on a Sony PCG-C1MV notebook computer.
The owner of this computer is very picky aboud audio quality. I cannot
make it work so the sound quality would be as good as in some non-libre
operating system, which Sony has installed on it. I am playing exactly
the same sound wav file, and under Debian GNU/Linux the audio quality is
much worst than under the non-libre OS.
The sound card is a PCI card like this:
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
Subsystem: Sony Corporation: Unknown device 80ec
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 1800 [size=256]
Memory at e8100000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
I am using ALSA with the snd_ali5451 driver, but I also tried Knoppix
and Gnoppix, (which autodetects and installs the trident OSS driver) and
the problem is more or less the same, maybe a little better, but maybe
not, hard to tell.
I must say that for me the difference is very tiny, and I would not even
notice that something is wrong, and I can only notice that there is a
difference if I play on one OS and the immidiately reboot to Debian and
listen to the same file. Otherwise I simply forget that it should be any
better.
The bad quality doesn't look like any extra noise, it looks more like
some kind of distortion.
It doesn't depend on video usage, moving windows, etc.
Just in case, the video card is:
00:0c.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY (prog-if 00 [VGA])
Subsystem: Sony Corporation: Unknown device 80ec
Flags: stepping, medium devsel, IRQ 9
Memory at f0000000 (32-bit, prefetchable) [size=128M]
I/O ports at 2800 [size=256]
Memory at e8110000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [50] Power Management version 2
The card doesn't use DMA:
venezia:~# cat /proc/dma
4: cascade
venezia:~#
The same under Knoppix. Also while playing a sound file.
I've read the Audio-Quality-HOWTO for Linux at
http://www.linuxdj.com/audio/quality/ but it didn't help. I've tried
booting with the no-hlt option, no difference.
I use the 2.6.0-2 kernel from Debian.
What to do to make the audio quality as good as in the non-libre OS?
--
Miernik ________________________ jabber:miernik@amessage.info
___________________/__ tel: +48608233394 __/ mailto:miernik@ctnet.pl
Learn about crime done by George W. Bush in Iraq, and related to 9/11
http://www.whatreallyhappened.com/
Hello,
after I noticed that polyphony was completely broken in ams < 1.7.2
I rapidly fixed it (thanks to Fons Adriaensen for valueable hints).
Some of the patches used for the sound examples published by german
Keyboards magazine are now available for download as well.
You might also enjoy the new phaser instrument patch and its "Haunted
Castle"...
Have fun !
Matthias
--
Dr. Matthias Nagorni
SuSE Linux AG
Maxfeldstr. 5 phone: +49 911 74053375
D - 90409 Nuernberg fax : +49 911 74053483
http://plugin.org.uk/timemachine/
* Now uses GTK, instead of SDL to draw the window, hopefully a bit
more friendly on maintainers.
* Meters.
* Now records up to 8 channels (use the -c flag).
* Can set the output directory/file prefix (-p flag).
* Hiting the window close icon now makes sure you have all the data
written to disk.
I've a feeling that someone mailed me a patch and I've lost it and not
included it, so if its you please mail me again.
Enjoy,
Steve
Joe,
I just built a new machine a week ago, so I'm somewhat current
on what's out there. My first question is: Why 2.4 GHz? Is this an
old processor that you're putting into a new mobo? For music, especially
for real-time, you need balanced speed (speed everywhere). As far as
I could determine, the 2.4 GHz processor has a 400/533 MHz FSB whereas
the 2.6 GHz processor has 400/533/800. The 800 MHz FSB requires two
sticks of memory (inserted properly), but it would be significantly
faster than what you are considering, not because of the 0.2 Hz clock
speed increase, but due to the FSB speed. The 2.6 GHz processor can also
use the 865PE or 875P chipset-based mobo's to full advantage. If you
can do it, I would highly recommend that you reconsider choice of
processor if at all possible (and assuming that you're serious about
music apps --- or gaming or anything that requires speed).
The reason I mention this is that you brought up dual-CPU mobo's. You
can almost get that performance increase compared to what you are asking
about by reconsidering the processor and memory. If you need to stick with the
processor, then I'll have to let someone else help out, not being familiar
with other combinations.
Good luck!
Dave.