Lassi Ylikojola | 11 Jun 23:07 2016
Picon

Midi clock out problems with latest two rt-kernels (system hang)

Hi

On my system latest rt kernels(rt17 and rt19) have a problem with midi clock send from jack clients(seq24, sequencer64, jack_midi_clock from http://www.teuton.org/~gabriel/jack_midi_clock/ or https://github.com/x42/jack_midi_clock) to external devices via midi out interface.

Sending midi clock to external devices via ice1712 based cards hangs the system and i have to cold reset the computer. I was able to circumvent this on rt 17 by sending midi clock via usb midi interface(CH345). However on rt19 this works also and the system does not hang but the clock is not send correctly. It lacks behind or it is out of place(This needs more tests with other clock sources).

Tested kernels:

4.4.12-300.rt19.1.fc23.ccrma.x86_64+rt ice1712 based cards midi out hangs the system. Midi out via usb interface CH345 works but not on correct beat/time. I have to retest this with different clock sources.

4.4.9-300.rt17.1.fc23.ccrma.x86_64+rt ice1712 based cards midi out hangs the system. Midi out via usb interface CH345 works.

4.4.4-301.rt11.1.fc23.ccrma.x86_64+rt is ok. I can send midi clock from ice1712 devices and system is stable.

The system is stable with stock kernel also.

So any help appreciated. I use rtirq and below some system info.


System info:

Scipt before every session:
# fedora chmod 
chmod 666 /dev/snd/seq

#wait 2 secs
sleep 2

#Disable SElinux
setenforce 0

#load performance governor
modprobe cpufreq_performance

#wait 1 sec
sleep 1

#Set full speed for all processors
echo performance  > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance  > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo performance  > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo performance  > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor



cat .jackdrc
/usr/bin/jackd -dalsa -r48000 -p64 -n4 -D -Chw:DMX6Fire -Phw:DMX6Fire

Tried different -p and -n options (-p128 -n2).

cat /proc/asound/cards
 0 [A61            ]: USB-Audio - Axiom 61
                      M-Audio Axiom 61 at usb-0000:00:1d.7-2.3, full speed
 1 [CH345          ]: USB-Audio - CH345
                      QinHeng CH345 at usb-0000:00:1a.2-2, full speed
 2 [nanoPAD2       ]: USB-Audio - nanoPAD2
                      KORG INC. nanoPAD2 at usb-0000:00:1d.7-2.4.4, full speed
 3 [DSP24          ]: ICE1712 - Hoontech SoundTrack Audio DSP24
                      Hoontech SoundTrack Audio DSP24 at 0xec00, irq 16
 4 [DMX6Fire       ]: ICE1712 - TerraTec DMX6Fire
                      TerraTec DMX6Fire at 0xe400, irq 17



lsmod |grep midi
snd_seq_midi           16384  16
snd_seq_midi_event     16384  1 snd_seq_midi
snd_usbmidi_lib        36864  1 snd_usb_audio
snd_rawmidi            32768  3 snd_usbmidi_lib,snd_mpu401_uart,snd_seq_midi
snd_seq                69632  80 snd_seq_midi_event,snd_seq_dummy,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd                    73728  47 snd_ice1712,snd_usb_audio,snd_ac97_codec,snd_hwdep,snd_timer,snd_i2c,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_ak4xxx_adda,snd_mpu401_uart,snd_seq_device,snd_cs8427



lsmod |grep 1712
snd_ice1712            77824  18
snd_cs8427             16384  1 snd_ice1712
snd_i2c                16384  2 snd_ice1712,snd_cs8427
snd_ice17xx_ak4xxx     16384  1 snd_ice1712
snd_ak4xxx_adda        20480  2 snd_ice1712,snd_ice17xx_ak4xxx
snd_mpu401_uart        16384  1 snd_ice1712
snd_ac97_codec        131072  1 snd_ice1712
snd_pcm               114688  5 snd_ice1712,snd_usb_audio,snd_ac97_codec
snd                    73728  47 snd_ice1712,snd_usb_audio,snd_ac97_codec,snd_hwdep,snd_timer,snd_i2c,snd_pcm,snd_seq,snd_rawmidi,snd_usbmidi_lib,snd_ak4xxx_adda,snd_mpu401_uart,snd_seq_device,snd_cs8427



cat /proc/cpuinfo 
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Quad  CPU   Q9300   <at> 2.50GHz
stepping : 7
microcode : 0x70a
cpu MHz : 2499.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm dtherm tpr_shadow vnmi flexpriority
bugs :
bogomips : 4999.64
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:



cat /proc/interrupts 
           CPU0       CPU1       CPU2       CPU3       
  0:        132          0          0          0   IO-APIC   2-edge      timer
  1:          1          0          1          0   IO-APIC   1-edge      i8042
  8:          0          0          0          1   IO-APIC   8-edge      rtc0
  9:          0          0          0          0   IO-APIC   9-fasteoi   acpi
 12:          0          2          1          1   IO-APIC  12-edge      i8042
 16:      70849      70400      84763      74134   IO-APIC  16-fasteoi   uhci_hcd:usb3, snd_ice1712
 17:    7682775    7678025    7665199    7669368   IO-APIC  17-fasteoi   snd_ice1712, enp2s0
 18:     391807     398860     393361     405386   IO-APIC  18-fasteoi   ehci_hcd:usb1, uhci_hcd:usb5, uhci_hcd:usb8
 19:     213063     213252     212895     213142   IO-APIC  19-fasteoi   ata_piix, ata_piix, uhci_hcd:usb7, firewire_ohci
 21:          0          0          0          0   IO-APIC  21-fasteoi   uhci_hcd:usb4
 23:     910884     913622     912322     912878   IO-APIC  23-fasteoi   ehci_hcd:usb2, uhci_hcd:usb6
 27:    3989331    3982167    3990009    3981430   PCI-MSI 524288-edge      nvkm
NMI:      11793      11536      11770      11499   Non-maskable interrupts
LOC:   25987631   29292447   20791378   19576474   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:      11793      11536      11770      11499   Performance monitoring interrupts
IWI:          1          2          0          0   IRQ work interrupts
RTR:          0          0          0          0   APIC ICR read retries
RES:   17114611   15588423   26439361   24596924   Rescheduling interrupts
CAL:    5808866    6203269    7499109    6750939   Function call interrupts
TLB:     923613     903498     920749     891225   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
DFR:          0          0          0          0   Deferred Error APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:        282        282        282        282   Machine check polls
ERR:          0
MIS:          0
PIN:          0          0          0          0   Posted-interrupt notification event
PIW:          0          0          0          0   Posted-interrupt wakeup event


BR Lassi
_______________________________________________
PlanetCCRMA mailing list
PlanetCCRMA <at> ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/planetccrma
Oded Ben-Tal | 26 May 17:21 2016
Picon

fedora 23 and permissions

I might be able to answer my own questions:
there is a /etc/securit/limits.d/95-jack.conf  which defines(?) a jackuser group with rt permissions. When I added myself to that group I was able to run jackd and get sound working.
(BTW - managing users and groups is not transparent in the current fedora documentation and could be more friendly)

Oded
_______________________________________________
PlanetCCRMA mailing list
PlanetCCRMA <at> ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/planetccrma
Oded Ben-Tal | 26 May 13:49 2016
Picon

rt permissions and fedora 23

Hello,

I'm updating a machine and noticed that the rt-permission package that used to allow normal users to access rt priority is not longer there. What do I need to do to use jack with rt priority nowadays?

Thanks
Oded
_______________________________________________
PlanetCCRMA mailing list
PlanetCCRMA <at> ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/planetccrma
Etienne Rouge | 13 May 14:15 2016
Picon

XRUNS and more

Hello,

I've recently switched back to CCRMA and I'm rather happy with it.

However I still have xruns when I really shouldn't (powerfull computer 
and reasonnable amount of tracks/effects).

I've set up PAM…  added "rtc firewire_ohci" to the irq file. Honestly, I 
don't quite understand the few tuts I find online and the fact they are 
not fedora-oriented don't help.

Is there a crucial step I've missed ? A tutorial I can follow ?

Thanks

Étienne

_______________________________________________
PlanetCCRMA mailing list
PlanetCCRMA <at> ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/planetccrma
Be | 12 May 21:26 2016
Picon

connection issues

I tried to update to the new 4.4.9 RT kernel with DNF, but DNF did not 
find any updates. It shows the progress bar indicating that it is 
downloading updated repo data from planetccrma, but the progress bar 
stalls at 100% then exits with:

Failed to synchronize cache for repo 'planetccrma', disabling.
Failed to synchronize cache for repo 'planetcore', disabling.

I have tried running 'dnf clean metadata' but that didn't help. I 
manually downloaded the kernel-rt, kernel-rt-core, and kernel-rt-modules 
RPMs with wget. The connections didn't start downloading and timed out 
several times, but when the connection did go through, the packages 
downloaded quickly. I successfully installed the new packages with 'rpm 
-i'. Is anyone else having trouble connecting to the repo?
Nils | 20 Apr 14:57 2016
Picon

hwlat_detector module

Hello everybody,

is there a reason that there is no hwlat_detector module compiled for
the ccrma rt kernel? Maybe it could be enabled for the kernel. I would
like to find the reason why my Thinkpad E530 has latencies above 3ms. I
tried disabling c-states and rc6-states, disabling dedicated nvidia
graphics, disabling wifi and a lot of other things. The high latencies
occur (maybe always) when I move or maximize a window. The situation is
better when I have an external monitor connected. Has someone
experienced similar behaviour with lenovo laptops?

-- Nils
Yoann LE BARS | 6 Apr 00:35 2016
Picon
Gravatar

Error when trying to run Ardour


Hello everybody out there!

	While Jack server is running, when I try to launch Ardour, here is what
I obtain:

$ ardour3
WARNING: Your system has a limit for maximum amount of locked memory!
         This might cause Ardour to run out of memory before your system
runs
         out of memory. You can view the memory limit with 'ulimit -l',
and it
         is normally controlled by /etc/security/limits.conf

/usr/lib64/ardour3/ardour-3.5.403: symbol lookup error:
/usr/lib64/ardour3/libardour.so.3: undefined symbol:
_ZN4Glib12get_home_dirEv

	Of course, Ardour does not run.

	By the way (but I do not think it has anything to do with my problem):

$ ulimit -l
64

	I cannot find anything on the web, nor anyone, to help me solve this.
Has anyone reading this mailing list an idea that can help?

	Best regards.

--

-- 
Yoann LE BARS
http://le-bars.net/yoann/
Diaspora* : ylebars <at> framasphere.org
Felix Homann | 29 Mar 11:37 2016
Picon

Future of puredata in PlanetCCRMA

Hi,

currently puredata is available via PlanetCCRMA in the pd-extended flavor. Now that pd-extended has officially been abandoned [1] are there any playns to switch over to vanilla pd and packaging extensions as well, similar to how Debian is distributing pd?

_______________________________________________
PlanetCCRMA mailing list
PlanetCCRMA <at> ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/planetccrma
Fernando Lopez-Lezcano | 21 Mar 23:02 2016
Picon

[PlanetCCRMANews] fedora 23: new rt patched kernel (4.4.4 + rt11)

Hi all,

A new RT patched kernel is now available for Fedora 23, I have started 
to track 4.4.x, the current one is 4.4.4 + rt11. Not a lot of testing 
done[*], but seems to work fine...

Enjoy!
-- Fernando

[*] I see some problems on resume in a build I did for fc22 but the 
machine seems to still be happy after that - this is on my current 
laptop (lenovo w540).
Oded Ben-Tal | 20 Mar 23:22 2016
Picon

SC in fedora 23

I'm updating myself to fedora 23 (went surprisingly ok so far). When I tried to install supercollider-world it complained because it was missing BBCut
At some point the instructions on the website also needs a small update as things moved from yum to dnf.
Oded
_______________________________________________
PlanetCCRMA mailing list
PlanetCCRMA <at> ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/planetccrma
David Aldrich | 14 Mar 15:00 2016
Picon

How to install Fedora 23 + Planet CCRMA rt kernel ?

Hi

I want to install Fedora 23 x86_64 and the respective Planet CCRMA rt kernel on a new system.

The Planet CCRMA installation instructions stop at Fedora 22 (http://ccrma.stanford.edu/planetccrma/software/installplanettwenty.html).

Does Planet CCRMA support a rt kernel for Fedora 23 yet?

If yes, would the following steps be enough for me?

	1) Install Fedora 23 x86_64
	2) Add the Planet CCRMA repositories for Fedora 23
	3) Install the rt kernel as follows:

	yum install planetccrma-core 

Best regards

David

Gmane