[PlanetCCRMA] is this issue w/ CCRMA jack2 or 'drumstick-sysinfo'

Niels Mayer nielsmayer at gmail.com
Fri May 28 14:08:54 PDT 2010


On Fri, May 28, 2010 at 1:00 PM, Niels Mayer <nielsmayer at gmail.com> wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=597354

Upstream author Pedro Lopez-Cabanillas suggested doing
'sudo modprobe snd-hrtimer'      ##ALSA hrtimer backend
 prior to running Jackd.

Now drumstick-sysinfo doesn't crash. Furthermore, it looks like ALSA
is using the HRTimer:

gnulem-15-~/Documents> cat /proc/asound/seq/timer
Timer for queue 0 : HR timer
  Period time : 0.001000000
  Skew : 65536 / 65536

gnulem-16-~/Documents> cat /proc/asound/timers
G0: system timer : 1000.000us (10000000 ticks)
G3: HR timer : 0.001us (1000000000 ticks)
  Client sequencer queue 0 : running
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P1-0-0: PCM playback 1-0-0 : SLAVE
P1-0-1: PCM capture 1-0-1 : SLAVE
P1-0-2: PCM playback 1-0-2 : SLAVE
P1-0-3: PCM capture 1-0-3 : SLAVE
P1-1-0: PCM playback 1-1-0 : SLAVE
P2-0-0: PCM playback 2-0-0 : SLAVE
P2-0-1: PCM capture 2-0-1 : SLAVE
P4-0-0: PCM playback 4-0-0 : SLAVE
  Client application 2396 : stopped
  Client application 9950 : stopped
P4-0-1: PCM capture 4-0-1 : SLAVE

gnulem-10-~/Documents> drumstick-sysinfo
ALSA Sequencer System Info
Compiled ALSA library: 1.0.22
Runtime ALSA library: 1.0.23
Runtime ALSA drivers: 1.0.21.
Numeric ALSA compiled library: 10016
Numeric ALSA runtime library: 10017
Numeric ALSA runtime driver: 10015
Max Clients: 192
Max Ports: 256
Max Queues: 8
Max Channels: 256
Current Queues: 1
Current Clients: 9

ALSA Timers
type__ Name________________ c/s/C/D/S Freq.
system system timer         1/0/0/0/0 1000 Hz
hrtimerHR timer             1/0/0/3/0 1000000000 Hz
PCM    PCM playback 0-0-0   3/0/0/0/0 SLAVE
PCM    PCM capture 0-0-1    3/0/0/0/1 SLAVE
PCM    PCM playback 1-0-0   3/0/1/0/0 SLAVE
PCM    PCM capture 1-0-1    3/0/1/0/1 SLAVE
PCM    PCM playback 1-0-2   3/0/1/0/2 SLAVE
PCM    PCM capture 1-0-3    3/0/1/0/3 SLAVE
PCM    PCM playback 1-1-0   3/0/1/1/0 SLAVE
PCM    PCM playback 2-0-0   3/0/2/0/0 SLAVE
PCM    PCM capture 2-0-1    3/0/2/0/1 SLAVE
PCM    PCM playback 4-0-0   3/0/4/0/0 SLAVE
PCM    PCM capture 4-0-1    3/0/4/0/1 SLAVE

ALSA Queues
id Queue_Name__________ Timer_Name__________ owner status   state PPQ
Tempo BPM   Ticks Time
0  Queue-0              HR timer               129 locked running  96
  120 120   48534 252.786

ALSA Sequencer clients
Client   0 : "System" [Kernel]
  Port   0 : "Timer"
  Port   1 : "Announce"
    Connecting To: 128:0, 129:0
Client  14 : "Midi Through" [Kernel]
  Port   0 : "Midi Through Port-0" (Software, Port, MIDI Generic)
    Connected From: 129:0
    Connecting To: 129:0
Client  28 : "MT4" [Kernel]
  Port   0 : "MT4 MIDI 1" (Hardware, Port, MIDI Generic)
    Connected From: 129:0
    Connecting To: 129:0
  Port   1 : "MT4 MIDI 2" (Hardware, Port, MIDI Generic)
    Connected From: 129:0
    Connecting To: 129:0
  Port   2 : "MT4 MIDI 3" (Hardware, Port, MIDI Generic)
    Connected From: 129:0
    Connecting To: 129:0
  Port   3 : "MT4 MIDI 4" (Hardware, Port, MIDI Generic)
    Connected From: 129:0
  Port   4 : "MT4 Broadcast" (Hardware, Port, MIDI Generic)
    Connected From: 129:0
Client  32 : "BCD3000" [Kernel]
  Port   0 : "BCD3000 MIDI 1" (Hardware, Port, MIDI Generic)
    Connected From: 130:2, 129:0
    Connecting To: 130:0, 129:0
Client  36 : "UM-2" [Kernel]
  Port   0 : "UM-2 MIDI 1" (Hardware, Port, MIDI Generic)
    Connected From: 130:1, 129:0
    Connecting To: 129:0
  Port   1 : "UM-2 MIDI 2" (Hardware, Port, MIDI Generic)
    Connected From: 129:0
    Connecting To: 129:0
Client 128 : "Client-128" [User]
  Port   0 : "qjackctl" (Application)
    Connected From: 0:1
Client 129 : "jack_midi" [User]
  Port   0 : "port" (Application)
    Connected From: 0:1, 14:0, 28:0, 28:1, 28:2, 32:0, 36:0, 36:1, 130:1, 130:2
    Connecting To: 14:0, 28:0, 28:1, 28:2, 28:3, 28:4, 32:0, 36:0, 36:1, 130:0
Client 130 : "QMidiRoute" [User]
  Port   0 : "QMidiRoute" (Application)
    Connected From: 32:0, 129:0
  Port   1 : "QMidiRoute" (Application)
    Connecting To: 36:0, 129:0
  Port   2 : "QMidiRoute" (Application)
    Connecting To: 32:0, 129:0
Client 131 : "drumstick-sysinfo" [User]

Niels
http://nielsmayer.com



More information about the PlanetCCRMA mailing list