[arch-general] xruns - differen kenerls & graphics
Ralf Mardorf
ralf.mardorf at alice-dsl.net
Mon Sep 24 17:06:57 EDT 2012
Subject was: Re: [arch-general] Switching back from nouveau doesn't work - Was: Proprietary nvidia driver for different kernels
On Sat, 2012-09-22 at 18:00 +0200, Joakim Hernberg wrote:
> One thing did catch my attention though. you have your rme audio card
> in a slot that shares irq with the nvidia and with several usb
> devices. Imo that is really asking for trouble and you need to at the
> very least get your soundcard to use another interrupt than the nvidia
> card...
Hi :)
I switched from a NVIDIA PCIe graphics to the integrated ATI. In the
past the shared IRQ didn't cause xruns for the latency test, this is
what rtirq is for.
Using the ATI's FLOSS driver Google Earth can be used, so I don't need
the NVIDIA anymore, it only was needed when the ATI on Linux had no 3D
acceleration, the proprietary driver didn't work.
The first latency test for the kernel-rt failed with a xrun, while the
NVIDIA graphics still was mounted [1]. The second test for the default
kernel is ok, no xrun. The test run 3 times [2].
After removing the NVIDIA card, BIOS setting 256MB framebuffer, still
256MB RAM are missing. The latency test for the kernel-rt again failed
with a xrun [3].
Even if the shared IRQ should be the culprit, it's strange that there
are no xruns, when using a default kernel, not to mention that the Jack
MIDI latency test isn't an audio test, so there isn't load regarding to
audio.
Later or tomorrow I'll test, if the proprietary ATI driver should
improve the situation, assumed it should work nowadays with the
integrated graphics. I'll also take a look at the kernel-rt's config. In
the past I build kernels-rt and full preempt kernels with threadirqs
myself, current kernels-rt I tested are from the Arch repositories.
IIRC only difference between my kernels and the Arch repository
kernels-rt was, that I enabled tickless system (dynamic ticks) and that
some were and other were not build with CONFIG_MK8=y.
Regards,
Ralf
[1]
[spinymouse at archlinux ~]$ date
Mon Sep 24 21:09:43 CEST 2012
[spinymouse at archlinux ~]$ uname -a
Linux archlinux 3.4.11-rt19-1-rt #1 SMP PREEMPT RT Fri Sep 21 13:19:10 UTC 2012 x86_64 GNU/Linux
[spinymouse at archlinux ~]$ hdspmixer
Card 0: RME AIO S/N 0x579bcc at 0xfddf0000, irq 18
Card 1: TerraTec EWX24/96 at 0xaf00, irq 20
Card 2: TerraTec EWX24/96 at 0xab00, irq 21
[spinymouse at archlinux ~]$ pacman -Qi xf86-video-nouveau
error: package 'xf86-video-nouveau' was not found
[spinymouse at archlinux ~]$ pacman -Qi xf86-video-ati
Version : 1:6.14.6-1
[spinymouse at archlinux ~]$ sudo cpupower frequency-set -g performance
[spinymouse at archlinux ~]$ /etc/rc.d/rtirq status
PID CLS RTPRIO NI PRI %CPU STAT COMMAND
62 FF 90 - 130 0.0 S irq/8-rtc0
294 FF 85 - 125 0.0 S irq/18-snd_hdsp
331 FF 80 - 120 0.0 S irq/20-snd_ice1
334 FF 79 - 119 0.0 S irq/21-snd_ice1
98 FF 70 - 110 0.0 S irq/19-ehci_hcd
101 FF 70 - 110 0.5 S irq/16-ohci_hcd
120 FF 69 - 109 0.0 S irq/17-ohci_hcd
124 FF 68 - 108 0.0 S irq/17-ohci_hcd
60 FF 65 - 105 0.0 S irq/1-i8042
20 FF 50 - 90 0.0 S irq/9-acpi
103 FF 50 - 90 0.2 S irq/22-ahci
113 FF 50 - 90 0.0 S irq/14-pata_ati
114 FF 50 - 90 0.0 S irq/15-pata_ati
122 FF 50 - 90 0.0 S irq/18-ohci_hcd
126 FF 50 - 90 0.0 S irq/18-ohci_hcd
269 FF 50 - 90 0.0 S irq/7-parport0
292 FF 50 - 90 0.0 S irq/22-firewire
303 FF 50 - 90 0.0 S irq/18-radeon
337 FF 50 - 90 0.0 S irq/18-nouveau
584 FF 50 - 90 0.0 S irq/43-eth0
3 FF 1 - 41 0.1 S ksoftirqd/0
11 FF 1 - 41 0.1 S ksoftirqd/1
[spinymouse at archlinux ~]$ jackd --sync -Xalsarawmidi -dalsa -r48000 -p256jackdmp 1.9.8
[spinymouse at archlinux ~]$ 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"
Xruns: 1
[2]
[spinymouse at archlinux ~]$ date
Mon Sep 24 21:46:01 CEST 2012
[spinymouse at archlinux ~]$ uname -a
Linux archlinux 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012 x86_64 GNU/Linux
[spinymouse at archlinux ~]$ hdspmixer
Card 0: RME AIO S/N 0x579bcc at 0xfdff0000, irq 18
Card 1: TerraTec EWX24/96 at 0xaf00, irq 20
Card 2: TerraTec EWX24/96 at 0xab00, irq 21
[spinymouse at archlinux ~]$ sudo cpupower frequency-set -g performance
[spinymouse at archlinux ~]$ /etc/rc.d/rtirq status
PID CLS RTPRIO NI PRI %CPU STAT COMMAND
3 TS - 0 19 0.0 S ksoftirqd/0
10 TS - 0 19 0.0 S ksoftirqd/1
[spinymouse at archlinux ~]$ jackd --sync -Xalsarawmidi -dalsa -r48000 -p256
jackdmp 1.9.8
[spinymouse at archlinux ~]$ 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.66 ms (559.54 frames)
Lowest latency: 11.65 ms (559 frames)
Highest latency: 11.71 ms (562 frames)
Peak MIDI jitter: 0.06 ms (3 frames)
Average MIDI jitter: 0.01 ms (0.02 frames)
Jitter Plot:
0.0 - 0.1 ms: 8192
Latency Plot:
11.6 - 11.7 ms: 8190
11.7 - 11.8 ms: 2
Messages sent: 8192
Messages received: 8192
[spinymouse at archlinux ~]$ 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.66 ms (559.54 frames)
Lowest latency: 11.64 ms (559 frames)
Highest latency: 11.71 ms (562 frames)
Peak MIDI jitter: 0.06 ms (3 frames)
Average MIDI jitter: 0.01 ms (0.01 frames)
Jitter Plot:
0.0 - 0.1 ms: 8192
Latency Plot:
11.6 - 11.7 ms: 8191
11.7 - 11.8 ms: 1
Messages sent: 8192
Messages received: 8192
[spinymouse at archlinux ~]$ 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.66 ms (559.63 frames)
Lowest latency: 11.65 ms (559 frames)
Highest latency: 12.95 ms (621 frames)
Peak MIDI jitter: 1.31 ms (62 frames)
Average MIDI jitter: 0.01 ms (0.05 frames)
Jitter Plot:
0.0 - 0.1 ms: 8191
1.2 - 1.3 ms: 1
Latency Plot:
11.6 - 11.7 ms: 8185
11.7 - 11.8 ms: 6
12.9 - 13.0 ms: 1
Messages sent: 8192
Messages received: 8192
[3]
[spinymouse at archlinux ~]$ hwinfo --memory
Memory Size: 3 GB + 512 MB
[spinymouse at archlinux ~]$ date
Mon Sep 24 22:29:49 CEST 2012
[spinymouse at archlinux ~]$ uname -r
3.4.11-rt19-1-rt
[spinymouse at archlinux ~]$ hdspmixer
Card 0: RME AIO S/N 0x579bcc at 0xfdff0000, irq 18
Card 1: TerraTec EWX24/96 at 0xbf00, irq 20
Card 2: TerraTec EWX24/96 at 0xbb00, irq 21
[spinymouse at archlinux ~]$ sudo cpupower frequency-set -g performance
[spinymouse at archlinux ~]$ /etc/rc.d/rtirq status
PID CLS RTPRIO NI PRI %CPU STAT COMMAND
59 FF 90 - 130 0.0 S irq/8-rtc0
314 FF 85 - 125 0.0 S irq/18-snd_hdsp
321 FF 80 - 120 0.0 S irq/20-snd_ice1
324 FF 79 - 119 0.0 S irq/21-snd_ice1
110 FF 70 - 110 0.0 S irq/19-ehci_hcd
112 FF 70 - 110 0.2 S irq/16-ohci_hcd
115 FF 69 - 109 0.0 S irq/17-ohci_hcd
119 FF 68 - 108 0.0 S irq/17-ohci_hcd
57 FF 65 - 105 0.0 S irq/1-i8042
20 FF 50 - 90 0.0 S irq/9-acpi
100 FF 50 - 90 0.1 S irq/22-ahci
117 FF 50 - 90 0.0 S irq/18-ohci_hcd
121 FF 50 - 90 0.0 S irq/18-ohci_hcd
124 FF 50 - 90 0.0 S irq/14-pata_ati
125 FF 50 - 90 0.0 S irq/15-pata_ati
269 FF 50 - 90 0.0 S irq/7-parport0
304 FF 50 - 90 0.0 S irq/22-firewire
318 FF 50 - 90 0.0 S irq/18-radeon
574 FF 50 - 90 0.0 S irq/42-eth0
3 FF 1 - 41 0.1 S ksoftirqd/0
11 FF 1 - 41 0.0 S ksoftirqd/1
[spinymouse at archlinux ~]$ jackd --sync -Xalsarawmidi -dalsa -r48000 -p256
jackdmp 1.9.8
[spinymouse at archlinux ~]$ 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.64 frames)
Lowest latency: 11.64 ms (559 frames)
Highest latency: 11.75 ms (564 frames)
Peak MIDI jitter: 0.11 ms (5 frames)
Average MIDI jitter: 0.01 ms (0.07 frames)
Jitter Plot:
0.0 - 0.1 ms: 8191
> 10 ms: 1
Latency Plot:
11.6 - 11.7 ms: 7696
11.7 - 11.8 ms: 495
> 21.6 ms: 1
Messages sent: 8192
Messages received: 8192
Xruns: 1
More information about the arch-general
mailing list