Ubuntu Studio Quantal RC amd64 desktop test fatally failed

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sat Oct 13 23:23:29 UTC 2012


Prologue:
"Peak MIDI jitter: 12.73 ms (8 frames)"
> 12 ms jitter is insane, OTOH I wonder about the 8 frames only.

Hi :)

Installing is idiotproof, but a PITA for experienced users. It's not
nice that the installer does force me to install a bootloader and that
the clock is set to UTC. Using UTC is self-defeating, if we would
save e.g. BIOS settings by the BIOS, with the hardwareclock set to UTC,
the time would be wrong.

> "Desktop Test
> Boot into Ubuntu Studio and login as user
> Note: make sure to reboot after any software updates before testing,
> even if not asked to.
>       Confirm the screen resolution is as expected"

---
It's as expected that X settings are a disaster and that there's no way
to easily set it up correctly. The only refresh rate I can choose is
60.0 Hz, needed are > 75.0 Hz. The highest resolution to choose is
1024 x 768, wanted is a higher resolution. I don't expect that any Linux
distro will fix this. I only hope they never will drop the possibility
to set up a xorg.conf.
---

> "Open Ubuntu Software Center and install applications you would like to
> use
>     Ensure the applications are installed correctly and appear in the
> applications menu"

---
This thingy is evil crap. I hate this pay-for-apps-thingy. I'm using
Linux to avoid such crap. However, I installed Galculator using it. It's
painful slow and when I typed using Gedit, the Software Center opened
windows on top of Gedit and interrupted typing.
Anyway, as expected Galculator is in the menu "Acessories" and it's ok.
The default calculator ignores the "," on the German keypad, but
Galculator transforms the "," to the needed ".".
---

> "If you have a USB drive, plug it in
>     Check that the USB drive is mounted and that you can open files from
> it"

---
It's ok for my USB stick.
spinymouse at qrc:~$
cat /media/spinymouse/INTENSO/Ubuntu_Studio_USB_stick_test.txt
Ubuntu Studio USB stick test
:)
---

> "Note: Ubuntu Studio does not mount any hot plugged devices by default.
> If you have a DVD or an audio CD, insert it
>     Check that the disk is mounted and that you can open and/or play
> files/tracks from it
> Log out, shutdown or restart
>     Confirm the session is terminated properly"

---
Skipped
---

> "Applications
> Click the "Ubuntu Studio Information" item menu in the menu.
>     Does all the links included in there work? (e.g. Ubuntu Studio IRC,
> Ubuntu Studio Forums, etc.)"

---
Everything included in there is ok.
---

> "Audio Check
> Please first make sure no audio applications are running (including any
> web pages)."

---
Done, before I continued I closed hdspmixer.

spinymouse at qrc:~$ hdspmixer

HDSPMixer 1.11 - Copyright (C) 2003 Thomas Charbonnel
<thomas at undata.org>
This program comes with ABSOLUTELY NO WARRANTY
HDSPMixer is free software, see the file COPYING for details

Looking for RME cards:
Card 0: RME AIO S/N 0x579bcc at 0xfddf0000, irq 18
RME AIO found!
Card 1: KORG INC. nanoKONTROL at usb-0000:00:13.0-2, full speed
Card 2: USB Device 0x170b:0x11 at usb-0000:00:13.1-2, full speed
Card 3: TerraTec EWX24/96 at 0xbf00, irq 20
Card 4: TerraTec EWX24/96 at 0xbb00, irq 21
1 RME cards card found.
Initializing default presets

OK, but perhaps the sequence will change with startups.

spinymouse at qrc:~$ /etc/init.d/rtirq status

  PID CLS RTPRIO  NI PRI %CPU STAT COMMAND	
   60 FF      90   - 130  0.0 S    irq/8-rtc0	
  736 FF      85   - 125  0.0 S    irq/18-snd_hdsp	
  766 FF      85   - 125  0.0 S    irq/20-snd_ice1	
  786 FF      85   - 125  0.0 S    irq/21-snd_ice1	
   52 FF      80   - 120  0.0 S    irq/19-ehci_hcd	
   53 FF      80   - 120  0.2 S    irq/16-ohci_hcd	
   54 FF      79   - 119  0.0 S    irq/17-ohci_hcd	
   56 FF      78   - 118  0.0 S    irq/18-ohci_hcd	
   57 FF      78   - 118  0.0 S    irq/17-ohci_hcd	
   58 FF      77   - 117  0.0 S    irq/18-ohci_hcd	
   59 FF      75   - 115  0.0 S    irq/1-i8042	
   21 FF      50   -  90  0.0 S    irq/9-acpi	
   43 FF      50   -  90  0.0 S    irq/22-ahci	
  225 FF      50   -  90  0.0 S    irq/14-pata_ati	
  229 FF      50   -  90  0.0 S    irq/15-pata_ati	
  264 FF      50   -  90  0.0 S    irq/22-firewire	
  577 FF      50   -  90  0.0 S    irq/7-parport0	
  658 FF      50   -  90  0.0 S    irq/18-radeon	
 1137 FF      50   -  90  0.0 S    irq/42-eth0	
    3 TS       -   0  19  0.1 S    ksoftirqd/0	
   10 TS       -   0  19  0.0 S    ksoftirqd/1

Ok.
---

> "Open qjackctl
>     Start jack and confirm the jack starts in real time mode. Then stop
> jack and confirm it closes properly."

---
Ok.
---

> "Look in Qjackctl -> “Connect” to confirm that pulseaudio sink and
> source are created after starting jack. Open the pulseaudio mixer.
>     Set Pulseaudio to use jack output and input, and test sound.
> Open PulseAudio. Use the volume applet and click "Sound Settings" to
> open the pulseaudio mixer.
>     Open firefox and go to any page that has audio content to confirm
> desktop audio is working. 
> If you are not getting any sound after a fresh boot, and you're sure
> you've chosen the right device, see
> http://help.ubuntu.com/community/UbuntuStudio/ProAudioIntro/1204#No_Volu....
> If you are connected to the Internet, Open Firefox and load
> ubuntustudio.org
>     Confirm that the page loads"

---
PA sink is created and connected.
The Poettering crap doesn't work, the RME card is not shown. Available
are only the 2 TerraTec cards, but those cards aren't connected to audio
gear, I'm using them for MIDI only.
---

> "If all actions produce the expected results listed, please submit a
> 'passed' result.
> If an action fails, or produces an unexpected result, please submit a
> 'failed' result and file a bug. Please be sure to include the bug number
> when you submit your result."

---
Skipped.

I'm missing serious audio and MIDI tests ;). At least I like to add a
Jack MIDI latency test. First I rebooted again.

spinymouse at qrc:~$ jackd --sync -Xalsarawmidi -dalsa -r48000 -p256
jackdmp 1.9.9
[snip]
JACK server starting in realtime mode with priority 10
control device hw:0
control device hw:0
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|256|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 2
periods
ALSA: final selected sample format for capture: 32bit integer
little-endian
ALSA: use 64 periods for capture
ALSA: final selected sample format for playback: 32bit integer
little-endian
ALSA: use 64 periods for playback
JackALSARawMidiDriver::Attach - input port registered
(name='system:midi_capture_1', alias='system:1-1 HDSPMx579bcc MIDI 1 1
in').
JackALSARawMidiDriver::Attach - input port registered
(name='system:midi_capture_2', alias='system:2-1 nanoKONTROL 1 in').
JackALSARawMidiDriver::Attach - input port registered
(name='system:midi_capture_3', alias='system:3-1 USB Device 0x170b:0x11
1 in').
JackALSARawMidiDriver::Attach - input port registered
(name='system:midi_capture_4', alias='system:4-1 TerraTec EWX24/96 MIDI
1 in').
JackALSARawMidiDriver::Attach - input port registered
(name='system:midi_capture_5', alias='system:5-1 TerraTec EWX24/96 MIDI
1 in').
JackALSARawMidiDriver::Attach - output port registered
(name='system:midi_playback_1', alias='system:1-1 HDSPMx579bcc MIDI 1 1
out').
JackALSARawMidiDriver::Attach - output port registered
(name='system:midi_playback_2', alias='system:2-1 nanoKONTROL 1 out').
JackALSARawMidiDriver::Attach - output port registered
(name='system:midi_playback_3', alias='system:3-1 USB Device 0x170b:0x11
1 out').
JackALSARawMidiDriver::Attach - output port registered
(name='system:midi_playback_4', alias='system:4-1 TerraTec EWX24/96 MIDI
1 out').
JackALSARawMidiDriver::Attach - output port registered
(name='system:midi_playback_5', alias='system:5-1 TerraTec EWX24/96 MIDI
1 out').
JackALSARawMidiDriver::Start - Starting 'alsarawmidi' driver.
JackALSARawMidiDriver::Start - starting ALSA thread ...
JackALSARawMidiDriver::Start - started ALSA thread.
JackALSARawMidiDriver::Stop - stopping 'alsarawmidi' driver.
JackALSARawMidiDriver::Execute - ALSA thread exiting.
JackALSARawMidiDriver::Start - Starting 'alsarawmidi' driver.
JackALSARawMidiDriver::Start - starting ALSA thread ...
JackALSARawMidiDriver::Start - started ALSA thread.
JackALSARawMidiDriver::Stop - stopping 'alsarawmidi' driver.
JackALSARawMidiDriver::Execute - ALSA thread exiting.
[sniped verbose, neverending output]

This never ending verbose output is not ok.

############################
####   RME HDSPe  AIO   ####
############################

There's a problem with my RME card for current installs. There shouldn't
be xruns when running the latency test. This is a serious issue, but not
related to Ubuntu Studio Quantal RC, I also get them on Arch. Some time
ago I didn't get xruns with Debian testing. Only for the RME card I run
the test several times, because I know about this issue.
It's new that I get peak jitter > 0.9 ms and a serious issue too.

spinymouse at qrc:~$ jack_midi_latency_test -m 3 -s 8192 -t 5 "system:1-1
HDSPMx579bcc MIDI 1 1 out" "system:1-1 HDSPMx579bcc MIDI 1 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.68 ms (560.57 frames)
Lowest latency: 11.65 ms (559 frames)
Highest latency: 11.88 ms (570 frames)
Peak MIDI jitter: 0.23 ms (11 frames)
Average MIDI jitter: 0.01 ms (0.13 frames)

Jitter Plot:
0.0 - 0.1 ms: 8182
0.1 - 0.2 ms: 10

Latency Plot:
11.6 - 11.7 ms: 7595
11.7 - 11.8 ms: 594
11.8 - 11.9 ms: 3

Messages sent: 8192
Messages received: 8192
spinymouse at qrc:~$ jack_midi_latency_test -m 3 -s 8192 -t 5 "system:1-1
HDSPMx579bcc MIDI 1 1 out" "system:1-1 HDSPMx579bcc MIDI 1 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.70 ms (561.60 frames)
Lowest latency: 11.67 ms (560 frames)
Highest latency: 12.13 ms (582 frames)
Peak MIDI jitter: 0.46 ms (22 frames)
Average MIDI jitter: 0.01 ms (0.10 frames)

Jitter Plot:
0.0 - 0.1 ms: 8180
0.1 - 0.2 ms: 10
0.4 - 0.5 ms: 1
     > 10 ms: 1

Latency Plot:
11.6 - 11.7 ms: 4049
11.7 - 11.8 ms: 4131
11.8 - 11.9 ms: 10
12.1 - 12.2 ms: 1
     > 21.6 ms: 1

Messages sent: 8192
Messages received: 8192
Xruns: 1
spinymouse at qrc:~$ jack_midi_latency_test -m 3 -s 8192 -t 5 "system:1-1
HDSPMx579bcc MIDI 1 1 out" "system:1-1 HDSPMx579bcc MIDI 1 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.70 ms (561.48 frames)
Lowest latency: 11.64 ms (559 frames)
Highest latency: 11.84 ms (568 frames)
Peak MIDI jitter: 0.19 ms (9 frames)
Average MIDI jitter: 0.01 ms (0.07 frames)

Jitter Plot:
0.0 - 0.1 ms: 8190
0.1 - 0.2 ms: 2

Latency Plot:
11.6 - 11.7 ms: 4654
11.7 - 11.8 ms: 3536
11.8 - 11.9 ms: 2

Messages sent: 8192
Messages received: 8192
spinymouse at qrc:~$ jack_midi_latency_test -m 3 -s 8192 -t 5 "system:1-1
HDSPMx579bcc MIDI 1 1 out" "system:1-1 HDSPMx579bcc MIDI 1 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.70 ms (561.46 frames)
Lowest latency: 11.67 ms (560 frames)
Highest latency: 24.39 ms (568 frames)
Peak MIDI jitter: 12.73 ms (8 frames)
Average MIDI jitter: 0.01 ms (0.05 frames)

Jitter Plot:
0.0 - 0.1 ms: 8189
0.1 - 0.2 ms: 1
     > 10 ms: 2

Latency Plot:
11.6 - 11.7 ms: 4689
11.7 - 11.8 ms: 3500
11.8 - 11.9 ms: 1
     > 21.6 ms: 2

Messages sent: 8192
Messages received: 8192
Xruns: 2

############################
#### TerraTec EWX 24/96 ####
############################

That's new, averaged jitter for the TerraTec cards should be 0.00 ms.
However, I suspect it's still ok. It should be ok to run the test for
one TerraTec only.

spinymouse at qrc:~$ jack_midi_latency_test -m 3 -s 8192 -t 5 "system:4-1
TerraTec EWX24/96 MIDI 1 out" "system:4-1 TerraTec EWX24/96 MIDI 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.72 ms (562.82 frames)
Lowest latency: 11.69 ms (561 frames)
Highest latency: 11.83 ms (568 frames)
Peak MIDI jitter: 0.15 ms (7 frames)
Average MIDI jitter: 0.01 ms (0.10 frames)

Jitter Plot:
0.0 - 0.1 ms: 8191
0.1 - 0.2 ms: 1

Latency Plot:
11.6 - 11.7 ms: 22
11.7 - 11.8 ms: 8166
11.8 - 11.9 ms: 4

Messages sent: 8192
Messages received: 8192

############################
####   swissonic  USB   ####
############################

That test result is "normal". USB MIDI interfaces can't be used to make
music. Those interfaces are ok for bulk dump. The peak MIDI jitter isn't
ok, but "normal", this isn't a Ubuntu Studio Quantal RC issue.

spinymouse at qrc:~$ jack_midi_latency_test -m 3 -s 8192 -t 5 "system:3-1
USB Device 0x170b:0x11 1 out" "system:3-1 USB Device 0x170b:0x11 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 12.46 ms (597.88 frames)
Lowest latency: 11.94 ms (573 frames)
Highest latency: 13.12 ms (630 frames)
Peak MIDI jitter: 1.19 ms (57 frames)
Average MIDI jitter: 0.25 ms (11.51 frames)

Jitter Plot:
0.0 - 0.1 ms: 1646
0.1 - 0.2 ms: 1604
0.2 - 0.3 ms: 1649
0.3 - 0.4 ms: 1718
0.4 - 0.5 ms: 1452
0.5 - 0.6 ms: 122
0.6 - 0.7 ms: 1

Latency Plot:
11.9 - 12.0 ms: 368
12.0 - 12.1 ms: 788
12.1 - 12.2 ms: 823
12.2 - 12.3 ms: 854
12.3 - 12.4 ms: 846
12.4 - 12.5 ms: 835
12.5 - 12.6 ms: 778
12.6 - 12.7 ms: 758
12.7 - 12.8 ms: 864
12.8 - 12.9 ms: 861
12.9 - 13.0 ms: 410
13.0 - 13.1 ms: 6
13.1 - 13.2 ms: 1

Messages sent: 8192
Messages received: 8192

Regards,
Ralf




More information about the Ubuntu-Studio-devel mailing list