How to eliminate Xruns in Qjackctl on Real Time Kernel.

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
ZabrielZacob
Established Member
Posts: 4
Joined: Sat Sep 27, 2014 10:15 am

How to eliminate Xruns in Qjackctl on Real Time Kernel.

Post by ZabrielZacob »

Hello,

My operating system is Debian wheezy 7.7 64 bit with a compiled realtime kernel 3.2.60. I have a quad-core cpu and 4gb ram. I 've successfully installed qjackctl and routed all sound through jack. Firstly when I was opening audacious for example to listen to some music I had no xruns even if I had other apps running like blender, gimp, firefox etc. Now i have xruns . I am new to all this realtime thing and I would appreciate any guidance on how to find out the reason i am getting those xruns and any step or tip to solve this.

I have an external usb sound card ( behringer u-phoria um2). I am planning to start learning and using apps like lmms, ardour etc and mixxx or some other "better" alternative ( for djing purposes). So i want minimal latency and also no xruns...

EDIT: I have already tested my machine for realtime with the raboof's script but no change in xruns:

Code: Select all

== GUI-enabled checks ==
Checking if you are root... no - good
Checking filesystem 'noatime' parameter... 3.2.60 kernel - good
(relatime is default since 2.6.30)
Checking CPU Governors... CPU 0: 'performance' CPU 1: 'performance' CPU 2: 'performance' CPU 3: 'performance'  - good
Checking swappiness... 10 - good
Checking for resource-intensive background processes... none found - good
Checking checking sysctl inotify max_user_watches... >= 524288 - good
Checking access to the high precision event timer... readable - good
Checking access to the real-time clock... readable - good
Checking whether you're in the 'audio' group... yes - good
Checking for multiple 'audio' groups... no - good
Checking the ability to prioritize processes with chrt... yes - good
Checking kernel support for high resolution timers... found - good
Kernel with Real-Time Preemption... found - good
Checking if kernel system timer is set to 1000 hz... found - good
Checking kernel support for tickless timer... found - good
== Other checks ==
Checking filesystem types... ok.
not found.
** Warning: no tmpfs partition mounted on /tmp
   For more information, see:
   - http://wiki.linuxaudio.org/wiki/system_configuration#tmpfs
   - http://lowlatency.linuxaudio.org
** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.
   Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.
Also, I have installed rtirq package and tried to give some priorities. This is the

Code: Select all

/etc/default/irq
file:

Code: Select all

# IRQ thread service names
# (space separated list, from higher to lower priority).
RTIRQ_NAME_LIST="rtc0 ohci_hcd:usb4 usb i8042 snd" 

# 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="rtc0 snd"

# 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"
with ohci_hcd:usb4 being my usb soundcard. But again no change.

The other thing I have noticed is that in

Code: Select all

/proc/interrupts
:

Code: Select all

           CPU0       CPU1       CPU2       CPU3       
  0:        121          0          3          0   IO-APIC-edge      timer
  1:          0          1       1604         39   IO-APIC-edge      i8042
  7:          2          0          0          0   IO-APIC-edge      parport0
  8:          0          0          1          0   IO-APIC-edge      rtc0
  9:          0          0          0          0   IO-APIC-fasteoi   acpi
 14:          1          2       3624         39   IO-APIC-edge      pata_atiixp
 15:          0          0          0          0   IO-APIC-edge      pata_atiixp
 16:          5         23     648641       1009   IO-APIC-fasteoi   ohci_hcd:usb2, ohci_hcd:usb4
 17:          0          0          2          0   IO-APIC-fasteoi   ehci_hcd:usb1
 18:          4         43        194      13086   IO-APIC-fasteoi   ohci_hcd:usb5, ohci_hcd:usb6, ohci_hcd:usb7
 19:          0          0          2          0   IO-APIC-fasteoi   ehci_hcd:usb3
 22:          3          8      13633         92   IO-APIC-fasteoi   firewire_ohci, ahci
 42:          1         87     112395       1287   PCI-MSI-edge      eth0
 43:          0          0       2365         30   PCI-MSI-edge      radeon
 44:          0          0         30          0   PCI-MSI-edge      snd_hda_intel
NMI:          7          7          7          5   Non-maskable interrupts
LOC:     182582     179941     189828     178125   Local timer interrupts
SPU:          0          0          0          0   Spurious interrupts
PMI:          7          7          7          5   Performance monitoring interrupts
IWI:          0          0          0          0   IRQ work interrupts
RES:    1233613    1101142     656247     731129   Rescheduling interrupts
CAL:        502        486        441        497   Function call interrupts
TLB:       4930       2897       2906       3264   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
MCE:          0          0          0          0   Machine check exceptions
MCP:          3          3          3          3   Machine check polls
ERR:          1
MIS:          0
My usb sound card which is ohci_hcd:usb4 is in irq 16. BUT ohci_hcd:usb2 is in the same irq 16. Does it Matter? And if so How can i set my usb soundcard's irq to a different irq?

As i can see from my reasearch my problem is that i do not know what priorities to give in devices. Maybe someone could guide me through this.

EDIT2: I booted in my kernel with noapic option and firefox for example was running much much faster, the audio same xruns... But does this mean that it is priorities issue??

Some command outputs for more information:

Code: Select all

ps -eLo rtprio,tid,pid,cmd | sort -n

Code: Select all

     - 10951 10951 iceweasel
     - 10955 10951 iceweasel
     - 10956 10951 iceweasel
     - 10957 10951 iceweasel
     - 10958 10951 iceweasel
     - 10959 10951 iceweasel
     - 10960 10951 iceweasel
     - 10961 10951 iceweasel
     - 10963 10951 iceweasel
     - 10964 10951 iceweasel
     - 10965 10951 iceweasel
     - 10968 10951 iceweasel
     - 10969 10951 iceweasel
     - 10970 10951 iceweasel
     - 10971 10951 iceweasel
     - 10979 10951 iceweasel
     - 10981 10951 iceweasel
     - 10982 10951 iceweasel
     - 10983 10951 iceweasel
     - 10985 10951 iceweasel
     - 10986 10951 iceweasel
     - 10987 10951 iceweasel
     - 10988 10951 iceweasel
     - 10989 10951 iceweasel
     - 10991 10951 iceweasel
     - 10992 10951 iceweasel
     - 10993 10951 iceweasel
     - 11001 10951 iceweasel
     - 11042 10951 iceweasel
     - 11745 10951 iceweasel
     - 11751 11751 /usr/lib/iceweasel/plugin-container /usr/lib/flashplugin-nonfree/libflashplayer.so -greomni /usr/lib/iceweasel/omni.ja -appomni /usr/lib/iceweasel/browser/omni.ja -appdir /usr/lib/iceweasel/browser 10951 plugin
     - 11752 11751 /usr/lib/iceweasel/plugin-container /usr/lib/flashplugin-nonfree/libflashplayer.so -greomni /usr/lib/iceweasel/omni.ja -appomni /usr/lib/iceweasel/browser/omni.ja -appdir /usr/lib/iceweasel/browser 10951 plugin
     - 11757 11751 /usr/lib/iceweasel/plugin-container /usr/lib/flashplugin-nonfree/libflashplayer.so -greomni /usr/lib/iceweasel/omni.ja -appomni /usr/lib/iceweasel/browser/omni.ja -appdir /usr/lib/iceweasel/browser 10951 plugin
     - 11758 11751 /usr/lib/iceweasel/plugin-container /usr/lib/flashplugin-nonfree/libflashplayer.so -greomni /usr/lib/iceweasel/omni.ja -appomni /usr/lib/iceweasel/browser/omni.ja -appdir /usr/lib/iceweasel/browser 10951 plugin
     - 11759 11751 /usr/lib/iceweasel/plugin-container /usr/lib/flashplugin-nonfree/libflashplayer.so -greomni /usr/lib/iceweasel/omni.ja -appomni /usr/lib/iceweasel/browser/omni.ja -appdir /usr/lib/iceweasel/browser 10951 plugin
     - 11760 11751 /usr/lib/iceweasel/plugin-container /usr/lib/flashplugin-nonfree/libflashplayer.so -greomni /usr/lib/iceweasel/omni.ja -appomni /usr/lib/iceweasel/browser/omni.ja -appdir /usr/lib/iceweasel/browser 10951 plugin
     - 11761 11751 /usr/lib/iceweasel/plugin-container /usr/lib/flashplugin-nonfree/libflashplayer.so -greomni /usr/lib/iceweasel/omni.ja -appomni /usr/lib/iceweasel/browser/omni.ja -appdir /usr/lib/iceweasel/browser 10951 plugin
     -     1     1 init [2]  
     - 12230 10951 iceweasel
     -  1601  1601 [jbd2/sda2-8]
     -  1602  1602 [ext4-dio-unwrit]
     - 16735 10951 iceweasel
     - 18433 11751 /usr/lib/iceweasel/plugin-container /usr/lib/flashplugin-nonfree/libflashplayer.so -greomni /usr/lib/iceweasel/omni.ja -appomni /usr/lib/iceweasel/browser/omni.ja -appdir /usr/lib/iceweasel/browser 10951 plugin
     -  1884  1884 /sbin/rpcbind -w
     -  1915  1915 /sbin/rpc.statd
     -  1920  1920 [rpciod]
     -  1922  1922 [nfsiod]
     -  1929  1929 /usr/sbin/rpc.idmapd
     -   224   224 [khubd]
     -  2281  2281 /usr/sbin/rsyslogd -c5
     -   228   228 [firewire]
     -   229   229 [ata_sff]
     -  2297  2281 /usr/sbin/rsyslogd -c5
     -  2298  2281 /usr/sbin/rsyslogd -c5
     -  2299  2281 /usr/sbin/rsyslogd -c5
     -     2     2 [kthreadd]
     - 23123 23123 [kworker/0:1]
     -  2338  2338 /usr/sbin/acpid
     -   234   234 [scsi_eh_0]
     -   235   235 [scsi_eh_1]
     -   236   236 [scsi_eh_2]
     -   237   237 [scsi_eh_3]
     -  2378  2378 /usr/sbin/atd
     -   242   242 [kworker/u:4]
     -   245   245 [scsi_eh_4]
     -   246   246 [scsi_eh_5]
     -  2481  2481 /usr/sbin/preload -s /var/lib/preload/preload.state
     -   249   249 [kworker/u:5]
     -  2525  2525 /usr/sbin/cron
     - 26252 26252 thunderbird
     - 26255 26252 thunderbird
     - 26256 26252 thunderbird
     - 26257 26252 thunderbird
     - 26258 26252 thunderbird
     - 26259 26252 thunderbird
     - 26260 26252 thunderbird
     - 26261 26252 thunderbird
     - 26263 26252 thunderbird
     - 26266 26252 thunderbird
     - 26268 26252 thunderbird
     - 26269 26252 thunderbird
     - 26270 26252 thunderbird
     - 26271 26252 thunderbird
     - 26275 26252 thunderbird
     - 26282 26252 thunderbird
     - 26283 26252 thunderbird
     - 26431 26252 thunderbird
     - 26434 26252 thunderbird
     - 26435 26252 thunderbird
     - 26436 26252 thunderbird
     - 26437 26252 thunderbird
     - 26439 26252 thunderbird
     - 26441 26252 thunderbird
     - 26442 26252 thunderbird
     - 26444 26252 thunderbird
     - 26447 26252 thunderbird
     - 26448 26252 thunderbird
     - 26450 26252 thunderbird
     - 26451 26252 thunderbird
     - 26454 26252 thunderbird
     - 27027 26252 thunderbird
     - 27049 26252 thunderbird
     - 27065 26252 thunderbird
     - 27084 26252 thunderbird
     - 27123 27123 /usr/lib/gvfs/gvfsd-http --spawner :1.8 /org/gtk/gvfs/exec_spaw/4
     - 27124 27123 /usr/lib/gvfs/gvfsd-http --spawner :1.8 /org/gtk/gvfs/exec_spaw/4
     - 27125 27123 /usr/lib/gvfs/gvfsd-http --spawner :1.8 /org/gtk/gvfs/exec_spaw/4
     - 27146 26252 thunderbird
     - 27159 26252 thunderbird
     -  2718  2718 /usr/bin/dbus-daemon --system
     - 27221 26252 thunderbird
     - 27331 26252 thunderbird
     -  2768  2768 /usr/sbin/lightdm
     -  2837  2837 avahi-daemon: running [ZAB.local]
     -  2838  2838 avahi-daemon: chroot helper
     -  2860  2768 /usr/sbin/lightdm
     -  2875  2875 /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
     -  2876  2768 /usr/sbin/lightdm
     -  2887  2887 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
     -  2888  2888 [flush-8:0]
     -  2912  2912 /usr/bin/python -O /usr/share/wicd/daemon/wicd-daemon.py
     -  2937  2937 /sbin/getty 38400 tty1
     -  2938  2938 /sbin/getty 38400 tty2
     -  2939  2939 /sbin/getty 38400 tty3
     -  2940  2940 /sbin/getty 38400 tty4
     -  2941  2941 /sbin/getty 38400 tty5
     -  2942  2942 /sbin/getty 38400 tty6
     -  2955  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2956  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2957  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2958  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2959  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2960  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2961  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2962  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2963  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2964  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2965  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2966  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2967  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2968  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2969  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2970  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2971  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2972  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2973  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2974  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2975  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2976  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2977  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2978  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2979  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2980  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2981  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2982  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2983  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2984  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2985  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2986  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2987  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2988  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2989  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2990  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2991  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2992  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2993  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2994  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2995  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2996  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2997  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2998  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  2999  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3000  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3001  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3002  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3003  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3004  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3005  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3006  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3007  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3008  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3009  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3010  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3011  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3012  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3013  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3014  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3015  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3016  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3017  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3019  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3020  2955 /usr/sbin/console-kit-daemon --no-daemon
     -  3022  3022 /usr/lib/policykit-1/polkitd --no-debug
     -  3024  3022 /usr/lib/policykit-1/polkitd --no-debug
     -  3028  3028 /usr/bin/python -O /usr/share/wicd/daemon/monitor.py
     -    30    30 [cpuset]
     - 30938 26252 thunderbird
     -    31    31 [khelper]
     -   315   315 [jbd2/sda1-8]
     -   316   316 [ext4-dio-unwrit]
     - 31757 31757 [kworker/3:1]
     - 31901 31901 [kworker/1:0]
     - 32324 10951 iceweasel
     -    32    32 [kdevtmpfs]
     - 32364 32364 [kworker/2:0]
     - 32456 10951 iceweasel
     - 32634 32634 [kworker/0:2]
     - 32680 32680 [kworker/2:1]
     - 32698 32698 [kworker/3:2]
     - 32718 10951 iceweasel
     - 32766 32766 [kworker/1:1]
     -    33    33 [netns]
     -    34    34 [sync_supers]
     -    35    35 [bdi-default]
     -    36    36 [kintegrityd]
     -    37    37 [kblockd]
     -  3771  3771 /usr/lib/upower/upowerd
     -  3772  3771 /usr/lib/upower/upowerd
     -  3773  3771 /usr/lib/upower/upowerd
     -  3850  3850 lightdm --session-child 12 19
     -  3903  3903 /sbin/dhclient -v eth0
     -  3925  3850 lightdm --session-child 12 19
     -  3935  3935 /usr/bin/gnome-keyring-daemon --daemonize --login
     -  3936  3935 /usr/bin/gnome-keyring-daemon --daemonize --login
     -    39    39 [mce-notify]
     -  3946  3946 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
     -  3962  3962 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session x-session-manager
     -  3965  3965 /usr/bin/dbus-launch --exit-with-session x-session-manager
     -  3966  3966 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
     -  3974  3974 /usr/lib/xfce4/xfconf/xfconfd
     -  3980  3980 xscreensaver -no-splash
     -  3982  3982 xfce4-session
     -  3987  3987 Thunar --sm-client-id 291192747-c077-4c12-b9d9-c41546dc31b4 --daemon
     -  3988  3982 xfce4-session
     -  3989  3989 xfsettingsd --force
     -  3991  3991 /usr/lib/gvfs/gvfsd
     -  3994  3994 xfce4-panel --display :0.0 --sm-client-id 2098e222a-5de6-4d94-a542-81cf7b7a050e
     -  3996  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  3999  3999 xfce4-power-manager --restart --sm-client-id 23332a987-c722-424f-888a-2a2e239202bc
     -  4000  3999 xfce4-power-manager --restart --sm-client-id 23332a987-c722-424f-888a-2a2e239202bc
     -  4003  4003 xfce4-settings-helper --display :0.0 --sm-client-id 2aa3f7a4e-8f54-4148-80b2-8f04cfbda6a6
     -  4005  4005 /usr/lib/x86_64-linux-gnu/gconf/gconfd-2
     -  4010  4010 /usr/bin/pulseaudio --start --log-target=syslog
     -  4012  4012 /usr/lib/rtkit/rtkit-daemon
     -  4013  4012 /usr/lib/rtkit/rtkit-daemon
     -  4017  4017 [pulseaudio] <defunct>
     -  4018  4018 /usr/bin/jackd -T -ndefault -P70 -p128 -dalsa -r48000 -p256 -n2 -D -Chw:0 -Phw:0
     -  4019  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4020  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4021  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4023  4023 compton -b
     -  4027  4027 fluxbox
     -  4028  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4029  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4030  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4033  4033 xfce4-volumed
     -  4036  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4037  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4039  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4040  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -    40    40 [kswapd0]
     -  4041  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4046  4046 /usr/bin/python -O /usr/share/wicd/gtk/wicd-client.py --tray
     -  4047  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4048  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4059  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4063  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4064  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4070  4033 xfce4-volumed
     -  4078  4078 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
     -  4080  4078 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
     -  4081  4018 /usr/bin/jackd -T -ndefault -P70 -p128 -dalsa -r48000 -p256 -n2 -D -Chw:0 -Phw:0
     -  4082  4018 /usr/bin/jackd -T -ndefault -P70 -p128 -dalsa -r48000 -p256 -n2 -D -Chw:0 -Phw:0
     -  4083  4018 /usr/bin/jackd -T -ndefault -P70 -p128 -dalsa -r48000 -p256 -n2 -D -Chw:0 -Phw:0
     -  4107  4107 /usr/bin/python /usr/bin/system-config-printer-applet
     -  4126  4010 /usr/bin/pulseaudio --start --log-target=syslog
     -  4127  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4132  4033 xfce4-volumed
     -  4133  4033 xfce4-volumed
     -  4134  4033 xfce4-volumed
     -  4135  4033 xfce4-volumed
     -  4136  4033 xfce4-volumed
     -  4138  4033 xfce4-volumed
     -    41    41 [ksmd]
     -  4148  4148 /usr/bin/jackdbus auto
     -  4159  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4160  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4163  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4164  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4165  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
     -  4166  4166 /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-places-plugin  7 18874404 places Places Access folders, documents, and removable media 
     -  4167  3994 xfce4-panel --display :0.0 --sm-client-id 2098e222a-5de6-4d94-a542-81cf7b7a050e
     -  4168  4168 /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-xkb-plugin  16 18874405 xkb-plugin Keyboard Layouts Keyboard layouts setup and switch plugin 
     -  4169  4169 /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-mixer-plugin  15 18874407 xfce4-mixer-plugin Mixer Volume control for your sound card 
     -  4170  4170 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libsystray.so 6 18874408 systray Notification Area Area where notification icons appear 
     -  4172  4169 /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-mixer-plugin  15 18874407 xfce4-mixer-plugin Mixer Volume control for your sound card 
     -  4174  4174 /usr/lib/gvfs/gvfs-gdu-volume-monitor
     -  4176  4169 /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-mixer-plugin  15 18874407 xfce4-mixer-plugin Mixer Volume control for your sound card 
     -  4178  4178 /usr/lib/udisks/udisks-daemon
     -  4179  4169 /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-mixer-plugin  15 18874407 xfce4-mixer-plugin Mixer Volume control for your sound card 
     -  4180  4180 udisks-daemon: polling /dev/sr0
     -  4181  4169 /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-mixer-plugin  15 18874407 xfce4-mixer-plugin Mixer Volume control for your sound card 
     -  4182  4169 /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-mixer-plugin  15 18874407 xfce4-mixer-plugin Mixer Volume control for your sound card 
     -  4183  4178 /usr/lib/udisks/udisks-daemon
     -  4184  4169 /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-mixer-plugin  15 18874407 xfce4-mixer-plugin Mixer Volume control for your sound card 
     -  4186  4186 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
     -  4188  4188 /usr/lib/gvfs/gvfs-afc-volume-monitor
     -  4189  4188 /usr/lib/gvfs/gvfs-afc-volume-monitor
     -    42    42 [fsnotify_mark]
     -   428   428 [kworker/0:0]
     -    43    43 [crypto]
     -   460   460 udevd --daemon
     -   475   475 [kworker/2:2]
     -   477 10951 iceweasel
     -   478 10951 iceweasel
     -   479 10951 iceweasel
     -   481 10951 iceweasel
     -  4906  4178 /usr/lib/udisks/udisks-daemon
     -   497   497 [kworker/3:0]
     -   515 10951 iceweasel
     -   516 10951 iceweasel
     -   517 10951 iceweasel
     -   518 10951 iceweasel
     -   519 10951 iceweasel
     -   521   521 [kworker/0:3]
     -  5277  5277 /usr/lib/gvfs/gvfsd-trash --spawner :1.8 /org/gtk/gvfs/exec_spaw/0
     -  5280  4166 /usr/lib/x86_64-linux-gnu/xfce4/panel-plugins/xfce4-places-plugin  7 18874404 places Places Access folders, documents, and removable media 
     -  5282  5282 /usr/lib/gvfs/gvfsd-network --spawner :1.8 /org/gtk/gvfs/exec_spaw/1
     -  5283  5282 /usr/lib/gvfs/gvfsd-network --spawner :1.8 /org/gtk/gvfs/exec_spaw/1
     -  5284  5282 /usr/lib/gvfs/gvfsd-network --spawner :1.8 /org/gtk/gvfs/exec_spaw/1
     -  5286  5286 /usr/lib/gvfs/gvfsd-smb-browse --spawner :1.8 /org/gtk/gvfs/exec_spaw/2
     -  5287  5286 /usr/lib/gvfs/gvfsd-smb-browse --spawner :1.8 /org/gtk/gvfs/exec_spaw/2
     -  5289  5286 /usr/lib/gvfs/gvfsd-smb-browse --spawner :1.8 /org/gtk/gvfs/exec_spaw/2
     -  5291  5291 /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
     -  5292  3935 /usr/bin/gnome-keyring-daemon --daemonize --login
     -  5293  3935 /usr/bin/gnome-keyring-daemon --daemonize --login
     -  5294  3935 /usr/bin/gnome-keyring-daemon --daemonize --login
     -  5296  5296 /usr/lib/gvfs/gvfsd-dnssd --spawner :1.8 /org/gtk/gvfs/exec_spaw/3
     -   553   553 [kworker/1:2]
     -   556   556 xfce4-terminal
     -   557   557 gnome-pty-helper
     -   558   558 bash
     -   559   556 xfce4-terminal
     -   609   609 udevd --daemon
     -   610   610 udevd --daemon
     -   638   638 ps -eLo rtprio,tid,pid,cmd
     -   639   639 sort -n
     -   644   644 [edac-poller]
     -   656   656 [ttm_swap]
     -  7123  7123 /bin/sh /usr/bin/qjackctl
     -  7129  7129 /usr/lib/qjackctl/qjackctl.real
     -  7130  7129 /usr/lib/qjackctl/qjackctl.real
     -  7131  7129 /usr/lib/qjackctl/qjackctl.real
     -  7132  7129 /usr/lib/qjackctl/qjackctl.real
     -     7     7 [kcmosdelayd]
     -  9707  3987 Thunar --sm-client-id 291192747-c077-4c12-b9d9-c41546dc31b4 --daemon
RTPRIO   TID   PID CMD
     1    17    17 [rcuc/1]
     1    18    18 [ksoftirqd/1]
     1    23    23 [rcuc/2]
     1    24    24 [ksoftirqd/2]
     1    28    28 [rcuc/3]
     1    29    29 [ksoftirqd/3]
     1     3     3 [ksoftirqd/0]
     1     9     9 [rcuc/0]
     5  4113  4010 /usr/bin/pulseaudio --start --log-target=syslog
     5  4116  4010 /usr/bin/pulseaudio --start --log-target=syslog
     9  4016  4010 /usr/bin/pulseaudio --start --log-target=syslog
     9  4112  4010 /usr/bin/pulseaudio --start --log-target=syslog
     9  4114  4010 /usr/bin/pulseaudio --start --log-target=syslog
     9  4115  4010 /usr/bin/pulseaudio --start --log-target=syslog
     9  4117  4010 /usr/bin/pulseaudio --start --log-target=syslog
    15  4049  3996 skype -session 2098ffb22-1986-4910-8fd1-8b2fa4362785_1416392353_50632
    50   226   226 [irq/17-ehci_hcd]
    50   230   230 [irq/16-ohci_hcd]
    50   231   231 [irq/22-firewire]
    50   232   232 [irq/22-ahci]
    50   239   239 [irq/19-ehci_hcd]
    50   243   243 [irq/14-pata_ati]
    50   244   244 [irq/15-pata_ati]
    50   248   248 [irq/16-ohci_hcd]
    50   252   252 [irq/18-ohci_hcd]
    50   254   254 [irq/18-ohci_hcd]
    50   255   255 [irq/18-ohci_hcd]
    50  3845  3845 [irq/42-eth0]
    50    46    46 [irq/1-i8042]
    50    47    47 [irq/8-rtc0]
    50   668   668 [irq/43-radeon]
    99    10    10 [rcun/0]
    99    11    11 [rcub/0]
    99    12    12 [rcun/1]
    99    13    13 [rcub/1]
    99    14    14 [posixcputmr/1]
    99    15    15 [migration/1]
    99    20    20 [posixcputmr/2]
    99    21    21 [migration/2]
    99    25    25 [posixcputmr/3]
    99    26    26 [migration/3]
    99  4014  4012 /usr/lib/rtkit/rtkit-daemon
    99     6     6 [posixcputmr/0]
    99     8     8 [migration/0] 

Code: Select all

lspci -v

Code: Select all

00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
	Subsystem: Advanced Micro Devices [AMD] RS880 Host Bridge
	Flags: bus master, 66MHz, medium devsel, latency 32
	Memory at <ignored> (64-bit, non-prefetchable)
	Capabilities: <access denied>

00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: fdf00000-fdffffff
	Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fde00000-fdefffff
	Prefetchable memory behind bridge: 00000000fdb00000-00000000fdbfffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (prog-if 01 [AHCI 1.0])
	Subsystem: Giga-byte Technology GA-MA770-DS3rev2.0 Motherboard
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 22
	I/O ports at ff00 [size=8]
	I/O ports at fe00 [size=4]
	I/O ports at fd00 [size=8]
	I/O ports at fc00 [size=4]
	I/O ports at fb00 [size=16]
	Memory at fe02f000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
	Subsystem: Giga-byte Technology Device 5004
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16
	Memory at fe02e000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:12.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
	Subsystem: Giga-byte Technology Device 5004
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16
	Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
	Subsystem: Giga-byte Technology Device 5004
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17
	Memory at fe02c000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
	Subsystem: Giga-byte Technology Device 5004
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
	Memory at fe02b000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:13.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
	Subsystem: Giga-byte Technology Device 5004
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
	Memory at fe02a000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
	Subsystem: Giga-byte Technology Device 5004
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 19
	Memory at fe029000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 3c)
	Subsystem: Giga-byte Technology GA-MA770-DS3rev2.0 Motherboard
	Flags: 66MHz, medium devsel
	Capabilities: <access denied>
	Kernel driver in use: piix4_smbus

00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller (prog-if 8a [Master SecP PriP])
	Subsystem: Giga-byte Technology Device 5002
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16
	I/O ports at 01f0 [size=8]
	I/O ports at 03f4 [size=1]
	I/O ports at 0170 [size=8]
	I/O ports at 0374 [size=1]
	I/O ports at fa00 [size=16]
	Capabilities: <access denied>
	Kernel driver in use: pata_atiixp

00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA)
	Subsystem: Giga-byte Technology Device a102
	Flags: bus master, slow devsel, latency 32, IRQ 5
	Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>

00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
	Subsystem: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller
	Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (prog-if 01 [Subtractive decode])
	Flags: bus master, VGA palette snoop, 66MHz, medium devsel, latency 64
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=64
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: fdd00000-fddfffff
	Prefetchable memory behind bridge: fdc00000-fdcfffff

00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller (prog-if 10 [OHCI])
	Subsystem: Giga-byte Technology Device 5004
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
	Memory at fe028000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: ohci_hcd

00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
	Flags: fast devsel
	Capabilities: <access denied>

00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
	Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
	Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
	Flags: fast devsel
	Capabilities: <access denied>
	Kernel driver in use: k10temp

00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
	Flags: fast devsel

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV790 [Radeon HD 4890] (prog-if 00 [VGA controller])
	Subsystem: PC Partner Limited Device e118
	Flags: bus master, fast devsel, latency 0, IRQ 43
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at fdfe0000 (64-bit, non-prefetchable) [size=64K]
	I/O ports at ee00 [size=256]
	[virtual] Expansion ROM at fdf00000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon

01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV770 HDMI Audio [Radeon HD 4850/4870]
	Subsystem: PC Partner Limited Sapphire HD 4850 512MB GDDR3 PCI-E Dual Slot Fansink
	Flags: bus master, fast devsel, latency 0, IRQ 3
	Memory at fdffc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
	Subsystem: Giga-byte Technology GA-EP45-DS5/GA-EG45M-DS2H Motherboard
	Flags: bus master, fast devsel, latency 0, IRQ 42
	I/O ports at de00 [size=256]
	Memory at fdbff000 (64-bit, prefetchable) [size=4K]
	Memory at fdbe0000 (64-bit, prefetchable) [size=64K]
	[virtual] Expansion ROM at fdb00000 [disabled] [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: r8168

03:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
	Subsystem: Giga-byte Technology GA-EP45-DS5/GA-EG45M-DS2H Motherboard
	Flags: bus master, medium devsel, latency 32, IRQ 22
	Memory at fddff000 (32-bit, non-prefetchable) [size=2K]
	Memory at fddf8000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: firewire_ohci

Code: Select all

uname --all

Code: Select all

Linux DesktopName 3.2.60-rt89 #1 SMP PREEMPT RT Mon Nov 17 13:47:30 EET 2014 x86_64 GNU/Linux
For any other information do not hesitate to ask please! :)

Thank you in advance,

Zabriel
Pablo
Established Member
Posts: 1274
Joined: Thu Apr 17, 2008 9:57 pm
Been thanked: 3 times

Re: How to eliminate Xruns in Qjackctl on Real Time Kernel.

Post by Pablo »

Code: Select all

rtirq status
is a nicer command to check priorities :)
My usb sound card which is ohci_hcd:usb4 is in irq 16. BUT ohci_hcd:usb2 is in the same irq 16. Does it Matter? And if so How can i set my usb soundcard's irq to a different irq?
lsusb will tell you about bus 002. If you don't need it at all, you can try unbinding it. See "Solve IRQ conflicts by unbinding devices" in http://wiki.linuxaudio.org/wiki/system_configuration

You can also try plugging the card in other USB sockets and see what happens

By the way, what jack settings do you have and what latency do you wish to achieve?
ZabrielZacob
Established Member
Posts: 4
Joined: Sat Sep 27, 2014 10:15 am

Re: How to eliminate Xruns in Qjackctl on Real Time Kernel.

Post by ZabrielZacob »

Hello, Thanks for the reply! :)
lsusb will tell you about bus 002. If you don't need it at all, you can try unbinding it. See "Solve IRQ conflicts by unbinding devices" in http://wiki.linuxaudio.org/wiki/system_configuration
I have already tried that and works perfectly but after restart this usb port is enabled back again. How can I make it permanent??
You can also try plugging the card in other USB sockets and see what happens
Already tried that too.. No change in xruns. Also every other port has not a single IRQ.
By the way, what jack settings do you have and what latency do you wish to achieve?
Right now I have a latency of 8ms. But i am running into xruns. I have installed again in the past a real time kernel and was able to have latency of 3-4 with minimal number of xruns. Right now I cannot watch a video for example without 20-25 xruns in a few seconds. I have Jack in 70 priority, Frames/Period: 128, Sample Rate: 48000, Periods/Buffer: 3.

I cannot understand what causes those xruns. Is this a wrong priorities issue? Will I be able to haver proper sound with that kernel or something is wrong with my kernel? Every time I have problems I end up reinstalling my os. I am trying really hard to avoid this :P :P

EDIT: I am now on my generic kernel without jack and waiting for some guidance to fix my realtime kernel :)
User avatar
khz
Established Member
Posts: 1679
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 48 times
Been thanked: 105 times

Re: How to eliminate Xruns in Qjackctl on Real Time Kernel.

Post by khz »

Did you try

- apt-get install linux-image-rt-amd64?
- user >> groups >> audio
- /etc/security/limits.conf

Code: Select all

@audio		-	rtprio		99
@audio		-	memlock		unlimited
?


Kernel ~

Code: Select all

Processor type and features >> Preemption Mode >> Complete Preemption (Real-Time)
Processor type and features >> Timer frequency >> 1000 HZ
General setup >> RCU Subsystem >> RCU Implementation (Preemptable tree-based hierarchical RCU)
- Debian GNU/Linux device driver check page

. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW

  • 𝝞|𝝞|I don't care about the freedom of speech because I have nothing to say. 𝝞|𝝞𝝞|𝝞|𝝞

ZabrielZacob
Established Member
Posts: 4
Joined: Sat Sep 27, 2014 10:15 am

Re: How to eliminate Xruns in Qjackctl on Real Time Kernel.

Post by ZabrielZacob »

apt-get install linux-image-rt-amd64?
I have compiled my own kernel based on the .config of my generice 3.2.04 kernel which is installed by default in debian 7.7 64bit. Before that I also tried a compiled kernel without powermanagement and other things. For several days i had no xruns and worked perfectly but after 2-3 days too many xruns.
Processor type and features >> Preemption Mode >> Complete Preemption (Real-Time)
Processor type and features >> Timer frequency >> 1000 HZ
General setup >> RCU Subsystem >> RCU Implementation (Preemptable tree-based hierarchical RCU)
Both kernel i tried had complete preemption and 1000 hz frequency. For the RCU i will post a command output

Code: Select all

cat /boot/config-3.2.60-rt89 | grep "RCU"

Code: Select all

# RCU Subsystem
CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_TRACE is not set
CONFIG_RCU_FANOUT=64
# CONFIG_RCU_FANOUT_EXACT is not set
# CONFIG_TREE_RCU_TRACE is not set
CONFIG_RCU_BOOST=y
CONFIG_RCU_BOOST_PRIO=1
CONFIG_RCU_BOOST_DELAY=500
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=60
CONFIG_RCU_CPU_STALL_VERBOSE=y
user >> groups >> audio
Yes!
/etc/security/limits.conf
Yes!
Debian GNU/Linux device driver check page
What should I do here? A pasted the lspci -n output and i had some "yes" and some empty fields in "works" column.
Post Reply