[LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (might be ok)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux Audio Developers <linux-audio-dev@...>, 64studio-users <64studio-users@...>
Date: Sunday, July 11, 2010 - 2:53 pm

Hi :)

today I compared a default Ubuntu Studio with and without the
proprietary NVIDIA driver. Note that for Ubuntu Studio 2 tests failed
because of time out errors, but even the tests that were passed with
success are significantly less good, than the tests with openSUSE, were
I set up audio myself.
Ubuntu based Linux until now were my music Linux, e.g 64 Studio 3.0 and
3.3, but I wonder if bad MIDI latency is depending to Ubuntu.
For Ubuntu Studio even PCI MIDI has got more jitter, but USB MIDI for
Suse, see older test in the archives.

What might be the difference between Ubuntu and Suse?

Could anybody compare different distros too?

------------------------------------------------------------------------
Ubuntu Studio 10.04 amd64
2 x Terratec EWX 24/96 (2 single cards, but 1 virtual card)
Frequency scaling ?
------------------------------------------------------------------------

spinymouse@ubuntu:~$ hwinfo --gfxcard
Driver: "nouveau"
Driver Modules: "drm"
IRQ: 18
spinymouse@ubuntu:~$ alsa-midi-latency-test -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
16:0 TerraTec EWX24/96 TerraTec EWX24/96 MIDI
20:0 TerraTec EWX24/96 TerraTec EWX24/96 MIDI
128:0 TiMidity TiMidity port 0
128:1 TiMidity TiMidity port 1
128:2 TiMidity TiMidity port 2
128:3 TiMidity TiMidity port 3
spinymouse@ubuntu:~$ alsa-midi-latency-test -Rrw=2 -o20:0 -i20:0

best latency was 1.00 ms
worst latency was 1.97 ms, which is great.

spinymouse@ubuntu:~$ alsa-midi-latency-test -Rrw=2 -o20:0 -i20:0

best latency was 1.00 ms
worst latency was 3.36 ms, which is great.

spinymouse@ubuntu:~$ alsa-midi-latency-test -Rrw=2 -o16:0 -i16:0

best latency was 0.99 ms
worst latency was 1.93 ms, which is great.

spinymouse@ubuntu:~$ alsa-midi-latency-test -Rrw=2 -o16:0 -i16:0

best latency was 0.99 ms
worst latency was 1.74 ms, which is great.

spinymouse@ubuntu:~$ uname -a
Linux ubuntu 2.6.32-23-preempt #37-Ubuntu SMP PREEMPT Fri Jun 11
10:19:07 UTC 2010 x86_64 GNU/Linux
spinymouse@ubuntu:~$ envy24control
0xcf00, irq 20, Master Clock int 44100

No envy24control for
0xcb00, irq 21, Master Clock ?

20:0 opto S/PDIF out --> 16:00 opto S/PDIF in

------------------------------------------------------------------------
Ubuntu Studio 10.04 amd64
2 x Terratec EWX 24/96 (2 single cards, but 1 virtual card)
Frequency scaling ?
------------------------------------------------------------------------

spinymouse@ubuntu:~$ hwinfo --gfxcard
Driver: "nvidia"
Driver Modules: "nvidia"
IRQ: 18
spinymouse@ubuntu:~$ alsa-midi-latency-test -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
16:0 TerraTec EWX24/96 TerraTec EWX24/96 MIDI
20:0 TerraTec EWX24/96 TerraTec EWX24/96 MIDI
128:0 TiMidity TiMidity port 0
128:1 TiMidity TiMidity port 1
128:2 TiMidity TiMidity port 2
128:3 TiMidity TiMidity port 3
pinymouse@ubuntu:~$ alsa-midi-latency-test -Rrw=2 -o20:0 -i20:0

best latency was 1.00 ms
worst latency was 1.84 ms, which is great.

spinymouse@ubuntu:~$ alsa-midi-latency-test -Rrw=2 -o20:0 -i20:0

best latency was 1.00 ms
worst latency was 1.27 ms, which is great.

spinymouse@ubuntu:~$ alsa-midi-latency-test -Rrw=2 -o16:0 -i16:0

best latency was 0.99 ms
worst latency was 1.92 ms, which is great.

spinymouse@ubuntu:~$ alsa-midi-latency-test -Rrw=2 -o16:0 -i16:0

best latency was 0.99 ms
worst latency was 1.72 ms, which is great.

spinymouse@ubuntu:~$ uname -a
Linux ubuntu 2.6.32-23-preempt #37-Ubuntu SMP PREEMPT Fri Jun 11
10:19:07 UTC 2010 x86_64 GNU/Linux
spinymouse@ubuntu:~$ envy24control
0xcf00, irq 20, Master Clock int 44100

No envy24control for
0xcb00, irq 21, Master Clock ?

20:0 opto S/PDIF out --> 16:00 opto S/PDIF in

------------------------------------------------------------------------
openSUSE 11.2 amd64
2 x Terratec EWX 24/96 (2 single cards, but 1 virtual card)
Frequency scaling performance
------------------------------------------------------------------------

spinymouse11.2@suse11-2:~> su -c "hwinfo --gfxcard"
Driver: "nvidia"
Driver Modules: "nvidia"
IRQ: 18
spinymouse11.2@suse11-2:~> alsa-midi-latency-test -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
16:0 TerraTec EWX24/96 TerraTec EWX24/96 MIDI
24:0 TerraTec EWX24/96 TerraTec EWX24/96 MIDI
spinymouse11.2@suse11-2:~> alsa-midi-latency-test -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
16:0 TerraTec EWX24/96 TerraTec EWX24/96 MIDI
24:0 TerraTec EWX24/96 TerraTec EWX24/96 MIDI
spinymouse11.2@suse11-2:~> alsa-midi-latency-test -Rrw=2 -o24:0 -i24:0

best latency was 0.99 ms
worst latency was 1.07 ms, which is great.

spinymouse11.2@suse11-2:~> alsa-midi-latency-test -Rrw=2 -o24:0 -i24:0

best latency was 0.99 ms
worst latency was 1.08 ms, which is great.

spinymouse11.2@suse11-2:~> alsa-midi-latency-test -Rrw=2 -o16:0 -i16:0

best latency was 0.99 ms
worst latency was 1.06 ms, which is great.

spinymouse11.2@suse11-2:~> alsa-midi-latency-test -Rrw=2 -o16:0 -i16:0

best latency was 0.99 ms
worst latency was 1.05 ms, which is great.

spinymouse11.2@suse11-2:~> uname -a
Linux suse11-2 2.6.31.6-rt19 #1 SMP PREEMPT RT Wed Nov 18 16:59:26 CET
2009 x86_64 x86_64 x86_64 GNU/Linux
spinymouse11.2@suse11-2:~> envy24control
spinymouse@ubuntu:~$ envy24control
0xcf00, irq 20, Master Clock int 44100

No envy24control for
0xcb00, irq 21, Master Clock ?

24:0 opto S/PDIF out --> 16:00 opto S/PDIF in

I still have got some tests to do, e.g. a real test by listening to MIDI
music and I'll test what happens if two sound cards become one virtual
sound card, http://www.jrigg.co.uk/linuxaudio/ice1712multi.html and
before doing this I need to test if the second, new second hand card
from Ebay isn't broken for audio, resp. I'll compare the sound quality
for my old and the new Terratec EWX 24/96 sound card, before they become
one virtual sound card.

Cheers!

Ralf

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] PCI MIDI jitter - comparison Ubuntu (bad) and Suse (mi..., Ralf Mardorf, (Sun Jul 11, 2:53 pm)