Re: Jaunty Alpha 5 and linux-rt (ppa)
On Sun, Mar 8, 2009 at 10:54 AM, Asmo Koskinen asmo.koski...@arkki.infowrote: Eric Hedekar kirjoitti: On Sat, Mar 7, 2009 at 2:12 PM, Asmo Koskinen asmo.koski...@arkki.info mailto:asmo.koski...@arkki.info wrote: cannot use real-time scheduling (FIFO at priority 10) [for thread -1211418944, from thread -1211418944] (1: Operation not permitted) cannot create engine Hmm, strange. When you boot into the vanilla kernel, do you get this same error? No - when I use it without -R option. Jackd works without -R, but then there is lots of xruns, when you play with Ardour2. 1. stu...@ubuntu-studio:~$ uname -a Linux ubuntu-studio 2.6.28-8-generic #28-Ubuntu SMP Thu Mar 5 21:49:36 UTC 2009 i686 GNU/Linux stu...@ubuntu-studio:~$ 2. stu...@ubuntu-studio:~$ /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p256 -n2 no message buffer overruns jackd 0.116.1 Copyright 2001-2005 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 JACK compiled with System V SHM support. cannot use real-time scheduling (FIFO at priority 10) [for thread -1212401984, from thread -1212401984] (1: Operation not permitted) cannot create engine stu...@ubuntu-studio:~$ 3. stu...@ubuntu-studio:~$ /usr/bin/jackd -dalsa -dhw:0 -r44100 -p256 -n2 no message buffer overruns jackd 0.116.1 Copyright 2001-2005 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 JACK compiled with System V SHM support. loading driver .. apparent rate = 44100 creating alsa driver ... hw:0|hw:0|256|2|44100|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 44100Hz, period = 256 frames (5.8 ms), buffer = 2 periods ALSA: final selected sample format for capture: 32bit integer little-endian ALSA: use 2 periods for capture ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 2 periods for playback alsa_pcm: xrun of at least 0.777 msecs alsa_pcm: xrun of at least 0.576 msecs alsa_pcm: xrun of at least 5.540 msecs alsa_pcm: xrun of at least 0.118 msecs alsa_pcm: xrun of at least 2.678 msecs alsa_pcm: xrun of at least 6.053 msecs 4. stu...@ubuntu-studio:~$ ardour2 Ardour/GTK 2.7.1 (built using 4296 and GCC version 4.3.3) So rt-linux is still broken, maybe some day. Only stable Studio with rt-linux is Hardy. Best Regards Asmo Koskinen. -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users Just a respectful and gentle reminder here, that Cory did give us plenty of notice about the daunting challenges in building an RT kernel for UBstudio Jaunty. Lot of big changes in the vanilla kernel, and only so many hands on deck, to achieve the Ubstudio end result we'd like to see. Hardy 64bit works fine here though. Regards, Alex. -- Parchment Studios (It started as a joke...) -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: Jaunty Alpha 5 and linux-rt (ppa)
On Sun, Mar 8, 2009 at 10:54 AM, Asmo Koskinen asmo.koski...@arkki.infowrote: Eric Hedekar kirjoitti: On Sat, Mar 7, 2009 at 2:12 PM, Asmo Koskinen asmo.koski...@arkki.info mailto:asmo.koski...@arkki.info wrote: cannot use real-time scheduling (FIFO at priority 10) [for thread -1211418944, from thread -1211418944] (1: Operation not permitted) cannot create engine Hmm, strange. When you boot into the vanilla kernel, do you get this same error? No - when I use it without -R option. Jackd works without -R, but then there is lots of xruns, when you play with Ardour2. 1. stu...@ubuntu-studio:~$ uname -a Linux ubuntu-studio 2.6.28-8-generic #28-Ubuntu SMP Thu Mar 5 21:49:36 UTC 2009 i686 GNU/Linux stu...@ubuntu-studio:~$ 2. stu...@ubuntu-studio:~$ /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p256 -n2 no message buffer overruns jackd 0.116.1 Copyright 2001-2005 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 JACK compiled with System V SHM support. cannot use real-time scheduling (FIFO at priority 10) [for thread -1212401984, from thread -1212401984] (1: Operation not permitted) cannot create engine stu...@ubuntu-studio:~$ 3. stu...@ubuntu-studio:~$ /usr/bin/jackd -dalsa -dhw:0 -r44100 -p256 -n2 no message buffer overruns jackd 0.116.1 Copyright 2001-2005 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 JACK compiled with System V SHM support. loading driver .. apparent rate = 44100 creating alsa driver ... hw:0|hw:0|256|2|44100|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 44100Hz, period = 256 frames (5.8 ms), buffer = 2 periods ALSA: final selected sample format for capture: 32bit integer little-endian ALSA: use 2 periods for capture ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 2 periods for playback alsa_pcm: xrun of at least 0.777 msecs alsa_pcm: xrun of at least 0.576 msecs alsa_pcm: xrun of at least 5.540 msecs alsa_pcm: xrun of at least 0.118 msecs alsa_pcm: xrun of at least 2.678 msecs alsa_pcm: xrun of at least 6.053 msecs 4. stu...@ubuntu-studio:~$ ardour2 Ardour/GTK 2.7.1 (built using 4296 and GCC version 4.3.3) So rt-linux is still broken, maybe some day. Only stable Studio with rt-linux is Hardy. Best Regards Asmo Koskinen. -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users Asmo, do you need capture ports? And would 3 periods work better than 2? Alex. -- Parchment Studios (It started as a joke...) -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: Jaunty Alpha 5 and linux-rt (ppa)
alex stone kirjoitti: Hardy 64bit works fine here though. That one I'm using, too. And I respect Cory's and Luis' et al hard work a lot. But if I can help anyhow for testing, here I am with Jaunty Alpha. Everything else seems to work well on Jaunty Alpha, basic sound (Audacity) with Delta 66, Kino with dv-files and so on after very short test. Best Regards Asmo Koskinen. -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: Jaunty Alpha 5 and linux-rt (ppa)
On Sun, Mar 8, 2009 at 2:42 PM, Asmo Koskinen asmo.koski...@arkki.infowrote: alex stone kirjoitti: Asmo, do you need capture ports? I'm no expert here with jackd - do you mean recording - yes, I need that feature, I need record voice and instruments via jackd/Ardour2. And would 3 periods work better than 2? I just try to clone my working Hardy environment on Jaunty, I use these options on Hardy. stu...@ubuntu-studio:~$ cat .jackdrc /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p256 -n2 stu...@ubuntu-studio:~$ http://wiki.ubuntu-fi.org/Ubuntu_Studio#head-d170ac730326977ff551a2b83fca37c1a9c53de9 Best Regards Asmo Koskinen. -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users Asmo if you change -n2 to -n3 and try that, it may help. It depends on how low you want latency to go, but i'm one who sometimes thinks the 'obession' with ultra low latency is a bit self defeating. I sat in an orchestra for some time (woodwinds), and experienced quite a bit more than 5ms latency between me and the 1st violins. One learns to compensate. Maybe with 10-15ms latency, and a bit of 'instinctive user compensation' the end result may be better than one would think. Having said this, on 64bit Hardy UBStudio, i'm writing with an average of 8-10ms (non-live. I write in the box, so to speak), and on my new Debian 5 32bit build, with a self baked RT kernel (2.6.26-rt11), i'm getting 5-10ms dependent on task, comfortably, and importantly, with all day everyday stability. Previous testing, and i say this from a strictly personal perspective, had Gutsy UBStudio yielding the best results, with latency (tested for the fun of trying) as low as 3ms (stable). My soundcard is an Maudio Delta 44, with the ice1712 Alsa module. I don't use oss at all, and turned it off in the debian kernel build. I use raw as the midi driver, and a2jmidid for any cross alsa/jack midi requirements. limits are: audio nice -19 rtprio 99 memlock unlimited pidirq for the soundcard is set at a priority of 92 jack priority is set to 89 the computer is an AMD dualCore x64 5600+ with 4gb of ram. 3 HD, being 1 system, and two dedicated sample drives. Additional external drive for backup. All 7200, 32mb cache. Maybe something you see in this might help. *Note* In the settings you provided for jack, i notice you don't have a defined priority number for realtime, just an -R flag. Is there a reason for this? Alex. -- Parchment Studios (It started as a joke...) -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: Jaunty Alpha 5 and linux-rt (ppa)
alex stone kirjoitti: Maybe something you see in this might help. Alex, thank you very much. I try some more later tonight with both, Hardy (AMD64) and Jaunty (i386). Delta 44 and Delta 66 are essential same, same module (ice1712). My main computer is all Intel: as...@ubuntu:~$ lspci 00:02.0 VGA compatible controller: Intel Corporation 82Q963/Q965 Integrated Graphics Controller (rev 02) 06:01.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 02) 06:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) as...@ubuntu:~$ as...@ubuntu:~$ dmesg | grep CPU [0.379905] CPU0: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz stepping 02 [0.464473] CPU1: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz stepping 02 as...@ubuntu:~$ as...@ubuntu:~$ free total used free sharedbuffers cached Mem: 2046584 6500681396516 0 23144 255840 -/+ buffers/cache: 3710841675500 Swap:0 0 0 as...@ubuntu:~$ Best Regards Asmo Koskinen. -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: Jaunty Alpha 5 and linux-rt (ppa)
On Sun, Mar 8, 2009 at 3:55 PM, Asmo Koskinen asmo.koski...@arkki.infowrote: alex stone kirjoitti: Maybe something you see in this might help. Alex, thank you very much. I try some more later tonight with both, Hardy (AMD64) and Jaunty (i386). Delta 44 and Delta 66 are essential same, same module (ice1712). My main computer is all Intel: as...@ubuntu:~$ lspci 00:02.0 VGA compatible controller: Intel Corporation 82Q963/Q965 Integrated Graphics Controller (rev 02) 06:01.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI Multi-Channel I/O Controller (rev 02) 06:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) as...@ubuntu:~$ as...@ubuntu:~$ dmesg | grep CPU [0.379905] CPU0: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz stepping 02 [0.464473] CPU1: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz stepping 02 as...@ubuntu:~$ as...@ubuntu:~$ free total used free sharedbuffers cached Mem: 2046584 6500681396516 0 23144 255840 -/+ buffers/cache: 3710841675500 Swap:0 0 0 as...@ubuntu:~$ Best Regards Asmo Koskinen. -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users Asmo, just a quick observation. Have you added the temp line described in the Jack readme to your /etc/fstab file? Alex. -- Parchment Studios (It started as a joke...) -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: Jaunty Alpha 5 and linux-rt (ppa)
Susan Cragin kirjoitti: BIG WARNING -- VERY BAD THINGS occur, including data loss. Yes, I know. This was just a test. Best Regards Asmo Koskinen. I did want you to know, though, that rt has in the past run great with wine using Dragon NaturallySpeaking. As soon as the Creative X-Fi sound drivers are available without my having to compile them, I intend to try rt again. Maybe there's a niche market with a super-fast kernel with limitations: no compile, no big downloads. Susan -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: Jaunty Alpha 5 and linux-rt (ppa)
alex stone kirjoitti: Have you added the temp line described in the Jack readme to your /etc/fstab file? All what I know today about Studio/RT is here ;-) http://wiki.ubuntu-fi.org/Ubuntu_Studio And yes - now I remember that I did have that for 6.06, but not anymore for 8.04, uhh... You think that I need that? This is from my ancient howto for finnish speaking people around globe ;-) as...@ubuntu:~$ cat /etc/fstab # /etc/fstab: static file system information. # # file system mount point type options dump pass [--] none/tmp/jack tmpfs defaults0 0 none/mnt/ramfs tmpfs defaults0 0 as...@ubuntu:~$ http://forum.ubuntu-fi.org/index.php?topic=5047.0 Best Regards Asmo Koskinen. -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: Jaunty Alpha 5 and linux-rt (ppa)
alex stone kirjoitti: Have you added the temp line described in the Jack readme to your /etc/fstab file? I think this is my best shot this time. 1. stu...@ubuntu-studio:~$ uname -a Linux ubuntu-studio 2.6.28-1-rt #5-Ubuntu SMP PREEMPT RT Wed Mar 4 03:55:39 UTC 2009 i686 GNU/Linux 2. stu...@ubuntu-studio:~$ cat /etc/security/limits.conf | grep audio @audio - rtprio 99 @audio - memlockunlimited @audio - nice -19 3. stu...@ubuntu-studio:~$ cat /etc/group | grep audio audio:x:29:pulse,studio 4. stu...@ubuntu-studio:~$ cat /etc/fstab | grep tmpfs none/mnt/ramfs tmpfs defaults0 0 5. stu...@ubuntu-studio:~$ jackd --version jackd version 0.116.1 tmpdir /dev/shm protocol 24 6. stu...@ubuntu-studio:~$ mount tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) none on /mnt/ramfs type tmpfs (rw) 7. I can run jackd -R only as root/sudo user. /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p256 -n2 -Xraw http://www.arkki.info/howto/Ubuntu_Studio/Jaunty/Kuvakaappaus_02.png http://www.arkki.info/howto/Ubuntu_Studio/Jaunty/Kuvakaappaus_03.png I'm happy with Hardy so I can wait another two years ;-) (LTS 2011). And I can always build Ardour2/Audacity/Kino/etc from source, because I have very solid base - Ubuntu 8.04 LTS. I'm no pro with music - just a amateur, this all is good hobby for me. Best Regards Asmo Koskinen. -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Jaunty Alpha 5 and linux-rt (ppa)
I installed Jaunty Studio Alpha 5 (updateupgrade) and then installed only linux-rt from ppa. https://launchpad.net/~ubuntustudio-dev/+archive/ppa I can use/play M-Audio Keystation 49e with jackd and qsynth, but only as root/sudo user. http://www.arkki.info/howto/Ubuntu_Studio/Jaunty/Kuvakaappaus.png If I try same as a user, I get this. I have modified all necessary files. stu...@ubuntu-studio:~$ /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p256 -n2 no message buffer overruns jackd 0.116.1 Copyright 2001-2005 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 JACK compiled with System V SHM support. cannot use real-time scheduling (FIFO at priority 10) [for thread -1211418944, from thread -1211418944] (1: Operation not permitted) cannot create engine stu...@ubuntu-studio:~$ Interview: the return of the realtime preemption tree By Jonathan Corbet February 16, 2009 http://lwn.net/Articles/319544/ Best Regards Asmo Koskinen. -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users
Re: Jaunty Alpha 5 and linux-rt (ppa)
Eric Hedekar kirjoitti: On Sat, Mar 7, 2009 at 2:12 PM, Asmo Koskinen asmo.koski...@arkki.info mailto:asmo.koski...@arkki.info wrote: cannot use real-time scheduling (FIFO at priority 10) [for thread -1211418944, from thread -1211418944] (1: Operation not permitted) cannot create engine Hmm, strange. When you boot into the vanilla kernel, do you get this same error? No - when I use it without -R option. Jackd works without -R, but then there is lots of xruns, when you play with Ardour2. 1. stu...@ubuntu-studio:~$ uname -a Linux ubuntu-studio 2.6.28-8-generic #28-Ubuntu SMP Thu Mar 5 21:49:36 UTC 2009 i686 GNU/Linux stu...@ubuntu-studio:~$ 2. stu...@ubuntu-studio:~$ /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p256 -n2 no message buffer overruns jackd 0.116.1 Copyright 2001-2005 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 JACK compiled with System V SHM support. cannot use real-time scheduling (FIFO at priority 10) [for thread -1212401984, from thread -1212401984] (1: Operation not permitted) cannot create engine stu...@ubuntu-studio:~$ 3. stu...@ubuntu-studio:~$ /usr/bin/jackd -dalsa -dhw:0 -r44100 -p256 -n2 no message buffer overruns jackd 0.116.1 Copyright 2001-2005 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 JACK compiled with System V SHM support. loading driver .. apparent rate = 44100 creating alsa driver ... hw:0|hw:0|256|2|44100|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 44100Hz, period = 256 frames (5.8 ms), buffer = 2 periods ALSA: final selected sample format for capture: 32bit integer little-endian ALSA: use 2 periods for capture ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 2 periods for playback alsa_pcm: xrun of at least 0.777 msecs alsa_pcm: xrun of at least 0.576 msecs alsa_pcm: xrun of at least 5.540 msecs alsa_pcm: xrun of at least 0.118 msecs alsa_pcm: xrun of at least 2.678 msecs alsa_pcm: xrun of at least 6.053 msecs 4. stu...@ubuntu-studio:~$ ardour2 Ardour/GTK 2.7.1 (built using 4296 and GCC version 4.3.3) So rt-linux is still broken, maybe some day. Only stable Studio with rt-linux is Hardy. Best Regards Asmo Koskinen. -- Ubuntu-Studio-users mailing list Ubuntu-Studio-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users