Re: [LAU] Too many xruns

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kevin Cosgrove <kevinc@...>
Cc: <linux-audio-user@...>
Date: Thursday, September 6, 2012 - 5:24 am

On Wed, September 5, 2012 12:24 pm, Kevin Cosgrove wrote:

>> cat /proc/interrupts

> 16: 56322 0 0 0 0 0

That would give me xruns too. I was able to change slots. Also try to keep
some distance between the video card and the audio card. (if you can) See
if you can set IRQ in the bios for that slot to something else if there is
only one. I find the same thing with USB audio. I have to find a USB plug
on my laptop that does not share irq with anything else and only plug the
audio IF in that one plug.

> Fine system says:

> 17: 0 0 0 0 IO-APIC-fasteoi

Nice.

>> cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

What may help if you don't want to use performance is to set it to user
and then set a lower than top speed. I seem to get less problems setting
my system to 50% speed than with the (faster) ondemand setting.

cpufreq-set and cpufreq-info are great to play with this stuff. the -info
one will tell you what frequencies you can choose from. I found choosing
the exact frequency didn't always work, slightly higher or lower would
though. Play with it. Read the man page. My laptop runs at 1.6Ghz, but
also has 1.33, 1.06 and .8. I can do a lot more than I would think at
800Mhz as it turns out.

rtirq can help. If used wrong it can make things worse... for example the
stock setting is bad for FW or USB audio IFs.

It comes with the snd first or second. as someone else says in another
message put snd_ice1712 and then snd after. This will put your internal IF
in it's proper place, second. I do the same with USB cards. I find out
which USB plug has no other irqs with it (USB3 on mine) and put :
usb3 snd usb
as the order. This puts my external audio first, then the internal crap
audio and then whatever other usb stuff there is (in a laptop that
includes webcam in the lid and SD reader and maybe other things too...
take a look through dmesg for all the stuff that is USB)

Be aware that putting: snd-ice1712 snd
will put all that other stuff on irq 16 between your ice and your internal
card and you may wish to explicitly make them lower. Check your priorities
after you have it going:
ps -eLo pid,cls,rtprio,pri,nice,cmd | grep -i irq

Look at the third column over.

--
Len Ovens
www.OvenWerks.net

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 4:17 am)
Re: [LAU] Too many xruns, S. Massy, (Thu Sep 6, 1:55 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 3:48 pm)
Re: [LAU] Too many xruns, Lorenzo Sutton, (Wed Sep 5, 7:50 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 2:43 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 7:30 pm)
Re: [LAU] Too many xruns, Ralf Mardorf, (Wed Sep 5, 8:02 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 2:47 pm)
Re: [LAU] Too many xruns, Ralf Mardorf, (Wed Sep 5, 7:30 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 7:29 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Wed Sep 5, 7:11 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 7:24 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 6:33 am)
Re: [LAU] Too many xruns, Paul Davis, (Thu Oct 11, 10:55 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 4:17 pm)
Re: [LAU] Too many xruns, Brendan Jones, (Fri Oct 12, 12:33 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Fri Oct 12, 4:07 pm)
Re: [LAU] Too many xruns, Brendan Jones, (Fri Oct 12, 6:55 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Fri Oct 12, 7:01 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Oct 11, 6:01 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 6:17 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 4:50 pm)
Re: [LAU] Too many xruns, SxDx, (Thu Oct 11, 12:24 pm)
Re: [LAU] Too many xruns, R. Mattes, (Thu Oct 11, 3:45 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Oct 11, 11:00 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Oct 11, 7:07 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 8:06 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Oct 11, 8:55 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 3:53 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Oct 11, 5:58 pm)
Re: [LAU] Too many xruns, Len Ovens, (Thu Oct 11, 9:22 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 6:03 pm)
Re: [LAU] Too many xruns, Len Ovens, (Thu Sep 6, 5:24 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 3:43 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 5:02 pm)
Re: [LAU] Too many xruns, Joakim Hernberg, (Fri Sep 7, 8:18 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Fri Sep 7, 8:25 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Fri Sep 7, 8:30 am)
Re: [LAU] Too many xruns, Joakim Hernberg, (Fri Sep 7, 9:23 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Fri Sep 7, 9:40 am)
Re: [LAU] Too many xruns, Fernando Lopez-Lezcano, (Sat Sep 8, 6:09 pm)
Re: [LAU] Too many xruns, Joakim Hernberg, (Fri Sep 7, 10:46 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Fri Sep 7, 11:03 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Sep 6, 7:12 pm)
Re: [LAU] Too many xruns, Len Ovens, (Thu Sep 6, 4:55 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 5:08 pm)
Re: [LAU] Too many xruns, Paul Davis, (Thu Sep 6, 5:10 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 5:30 pm)
Re: [LAU] Too many xruns, Ralf Mardorf, (Fri Sep 7, 2:15 am)
Re: [LAU] Too many xruns, Joakim Hernberg, (Fri Sep 7, 7:52 am)
Re: [LAU] Too many xruns, Paul Davis, (Fri Sep 7, 10:53 am)
[LAU] PCIe audio gear [was: Too many xruns], Kevin Cosgrove, (Fri Sep 7, 2:21 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Paul Davis, (Fri Sep 7, 4:02 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Len Ovens, (Fri Sep 7, 3:29 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Ralf Mardorf, (Fri Sep 7, 3:58 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Len Ovens, (Fri Sep 7, 4:47 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Kevin Cosgrove, (Fri Sep 7, 4:58 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Len Ovens, (Fri Sep 7, 1:08 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Kevin Cosgrove, (Fri Sep 7, 8:31 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Kevin Cosgrove, (Fri Oct 12, 5:18 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Fernando Lopez-Lezcano, (Sat Sep 8, 6:59 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Kevin Cosgrove, (Sun Sep 9, 4:14 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Len Ovens, (Sat Sep 8, 9:53 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Ralf Mardorf, (Mon Sep 10, 10:46 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Ralf Mardorf, (Fri Sep 7, 2:42 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Sep 6, 9:07 am)
Re: [LAU] Too many xruns, Len Ovens, (Thu Sep 6, 2:36 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 3:50 pm)
Re: [LAU] Too many xruns, Len Ovens, (Thu Sep 6, 5:00 pm)
Re: [LAU] Too many xruns, S. Massy, (Thu Sep 6, 4:54 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 5:04 pm)
Re: [LAU] Too many xruns, Rui Nuno Capela, (Thu Sep 6, 8:51 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Wed Sep 5, 7:42 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Mon Oct 1, 1:35 am)
Re: [LAU] Too many xruns, Fernando Lopez-Lezcano, (Wed Sep 5, 7:55 pm)
Re: [LAU] Too many xruns, Simon Wise, (Wed Sep 5, 5:02 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 2:37 pm)