Remastersys and AVLinux Forum
June 18, 2013, 04:03:49 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Remastersys depends on user donations to survive.  Please help keep Remastersys going.

http://www.remastersys.com
 
   Home   Remastersys Home Remastersys downloads Donate Login Register AV LINUX Home Help Search  
Pages: [1]
  Print  
Author Topic: XRUNS on Lenovo X60 and firewire audio - SOLVED i think  (Read 602 times)
0 Members and 1 Guest are viewing this topic.
areklfg
Newbie
*
Offline Offline

Posts: 1


« on: July 07, 2010, 01:53:35 PM »

Hello to every member on this forum
It is my first post :-) Im Arek from Poland.
First of all thank you Glen for wonderfull job and making AVlinux, especially avl 4.0 - its great !
I uses AVlinux since v 2.0 on my first laptop IBM X31 and now I have Lenovo X60 and first I jump into v3.1 and now I'm on 4.0
My audio interface is Echo Audiofire4 and sessions lands on external USB 2.5" HDD.

After upgrade to X60 the only problem were XRUNS.
I have struggled with it many days and finally I think I have solution which works for me and I hope will be working for someone else.

After reading many posts on many forums I have found post by user @thorgal an Ardour forum.

@thorgal on Ardour forum said that hald can do troubles and it seems to be right in my case
http://ardour.org/node/2465   (the one before last)

Before that solution appear I had XRUNS which was not XRUNS :-)
It was a sudden stop and moment of silence while Ardour was playing session. In Qjackctrl appear XRUN count - see image - Ardour don't mark that as XRUNS even if I selected option in menu.

http://www.fileden.com/files/2007/8/8/1331909//Workspace 1_003.png

When I read @thorgal suggestion about hald I simply wrote in terminal "sudo /etc/init.d/hal stop" and restart jackd and Ardour nad NO MORE XRUNS and moments of silence :-)

A few days I havn't any job in Ardour and before today there was update of many packages.
Among this it is:
libraw1394-11, libraw1394-dev - on my installation CD is version 2.0.5-1 and latest is 2.0.5-2

Few days before I have updated this library too, and today XRUNS comeback and I WAS MMMMAAADDDDD ! believe me :-(

I have done clean install again and do not upgraded this library.
Every thing works fine, no more XRUNS.
It seems that some thing is wrong with it.

regards
Arek

On the end printout of few config files if someone curious:


/proc/interrupts
 0:    1285642          2   IO-APIC-edge      timer
  1:        520          0   IO-APIC-edge      i8042
  8:          1          0   IO-APIC-edge      rtc0
  9:      12271          0   IO-APIC-fasteoi   acpi
 12:      22818          0   IO-APIC-edge      i8042
 14:       9045          0   IO-APIC-edge      ata_piix
 15:          0          0   IO-APIC-edge      ata_piix
 16:       1651          0   IO-APIC-fasteoi   uhci_hcd:usb2, yenta, i915
 17:    1124261          1   IO-APIC-fasteoi   ohci1394, uhci_hcd:usb3, HDA Intel
 18:          0          0   IO-APIC-fasteoi   uhci_hcd:usb4
 19:      50159          0   IO-APIC-fasteoi   ehci_hcd:usb1, uhci_hcd:usb5
 28:         43          0   PCI-MSI-edge      eth0
 29:          0          0   PCI-MSI-edge      iwl3945

/etc/default/rtirq
# IRQ thread service names
# (space separated list, from higher to lower priority).
RTIRQ_NAME_LIST="rtc ohci1394 usb i8042"
# Highest priority.
RTIRQ_PRIO_HIGH=90

# Priority decrease step.
RTIRQ_PRIO_DECR=5

# Whether to reset all IRQ threads to SCHED_OTHER.
RTIRQ_RESET_ALL=0

# On kernel configurations that support it,
# which services should be NOT threaded
# (space separated list).
RTIRQ_NON_THREADED="rtc ohci1394"

# Process names which will be forced to the
# highest realtime priority range (99-91)
# (space separated list, from highest to lower priority).
# RTIRQ_HIGH_LIST="timer"

----
qjackctrl - 0.3.6
jackdmp 1.9.6
----

do you need more info ?

p.s. sorry for poor english
Logged
trulan
Global Moderator
Hero Member
*****
Offline Offline

Posts: 875


« Reply #1 on: July 07, 2010, 06:22:02 PM »

Hello Arek,

Thanks for your detailed post.  I just did some tests on my system after reading your post.  libraw1394-11 version 2.0.5-2 is working fine for me.  I looked at the Debian changelog, and the upgrade looks like a minor one to me - so if it is working now, you can pin the libraw1394-11 package in Synaptic so you don't accidentally upgrade it.

One more thing:  your output of 'cat /proc/interrupts' shows your firewire controller (ohci1394) on irq 17, along with your soundcard (HDA Intel) and a usb hub (usb3).  You need to make sure that nothing, especially not your usb hard drive, is plugged in to usb3.  Running 'lsusb' in a terminal should help you figure out which usb port is which.

See step 4 here for more info:
http://subversion.ffado.org/wiki/IrqPriorities
« Last Edit: July 07, 2010, 06:28:47 PM by trulan » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!