Hi all,
is anyone managing to run Pd using the ALSA audio system? Finally (after 2 years of trying) I got ALSA running on my machine in order to test the "pd -alsa" flag for myself. Surprise: it fails ("audio stuck"). I'm using Karl's ALSA code as seen in the current Pd release.
I've discovered that it's at least possible to run Pd with ALSA emulating OSS. You either have to suppress ADC, or else throw Pd a "-frags" flag which it complains about but then works anyway.
Any ideas are welcome... I really hope in the future I can actually test Pd releases with both ALSA and OSS before releasing them!
cheers Miller
Miller,
If you are using a current ALSA release things are pretty well broken. I gave up trying to track the changes until things settle down with the ALSA development (which will probably be anonther month at least). I had another imporoved version that did mmap mode and some other things but almost as soon as I got it working things became 'interesting' with the ALSA releases. To their credit, though, the ALSA developers are making some good changes it seems. The last ALSA I know it works with is 0.5.6 - if this doesn't work let me know.
Karl
On Mon, 19 Jun 2000, Miller Puckette wrote:
Hi all,
is anyone managing to run Pd using the ALSA audio system? Finally (after 2 years of trying) I got ALSA running on my machine in order to test the "pd -alsa" flag for myself. Surprise: it fails ("audio stuck"). I'm using Karl's ALSA code as seen in the current Pd release.
I've discovered that it's at least possible to run Pd with ALSA emulating OSS. You either have to suppress ADC, or else throw Pd a "-frags" flag which it complains about but then works anyway.
Any ideas are welcome... I really hope in the future I can actually test Pd releases with both ALSA and OSS before releasing them!
cheers Miller
| Karl W. MacMillan | | Peabody Institute of the Johns Hopkins University | | Network and Telecommunications Services | | karlmac@peabody.jhu.edu | | 410/659-8297 |
Hello,
Miller,
If you are using a current ALSA release things are pretty well broken. I gave up trying to track the changes until things settle down with the ALSA development (which will probably be anonther month at least). I had another imporoved version that did mmap mode and some other things but almost as soon as I got it working things became 'interesting' with the ALSA releases. To their credit, though, the ALSA developers are making some good changes it seems. The last ALSA I know it works with is 0.5.6 - if this doesn't work let me know.
Thats true, since I tried to use them there is each month a major change which breaks the upwards compatibility. I think this will go on until kernel 2.5.x when they want ALSA in the kernel, then they have to stop (hopfully a ALSA 1.x), its also true inside the driver development. I hope that at that time ALSA has reached the desired quality for realtime performance since most changes nowadays are to improve Multiprocessor and Realtime performance. Low level drivers do not make any conversion anymore, so are straight forward, and everything until resampling with different rates goes into the library.
So maybe for good realtime performance we should use lowlevel because we dont know what ALSA-lib will do with the the samples.
The question is should I make the native RME-drivers also for kernel 2.4.x (since its broken for that versions) or should we use ALSA else ???
There is a need for the 2.4.0 kernel for Athlon-Boards with VIA Chipsets to get best performance also with 4xAGP.
mfg winfried
I guess the question is how long will it take ALSA to stabilize to the point that we can use it. There's one big advantage to using ALSA instead of Wini's native drivers, which is that other software like "mix" and even "play" will work too. But if ALSA doesn't arrive soon with the goods it might end up being worth the trouble of porting Wini's native code to 2.4.x ... hmm.
Miller
The question is should I make the native RME-drivers also for kernel 2.4.x (since its broken for that versions) or should we use ALSA else ???
There is a need for the 2.4.0 kernel for Athlon-Boards with VIA Chipsets to get best performance also with 4xAGP.
mfg winfried