Need a little help

43 replies [Last post]
GMaq
GMaq's picture
User offline. Last seen 3 days 8 hours ago. Offline
Joined: 2007-12-11
Posts:

@dsreyes1014

Be aware that you can enable the testing kernel repository in AV Linux 6.0 and install newer optional -rt patched kernels etc. You do not have to just stick with the default Kernel if it doesn't suit your needs, as I said above the variety of Kernels and differing hardware make a one-size-fits-all Kernel difficult to please everyone, that's why we have the optional testing kernels as well.

dsreyes1014
User offline. Last seen 21 hours 21 min ago. Offline
Joined: 2012-01-25
Posts:

I'll be sure to try it and see if that gets me lower frames. I was able to squeeze 128 but had to disable the wireless on Linux Mint 15 with maybe one xrun. I'll keep experimenting to see which fits best.

dbra
User offline. Last seen 2 hours 35 min ago. Offline
Joined: 2012-12-27
Posts:

Always deactivate your WLAN oder UMTS! This is a neverending source of XRUNs. It has been said on the linked page I posted. Please read it again.

anahata
anahata's picture
User offline. Last seen 2 hours 40 min ago. Offline
Joined: 2010-10-27
Posts:

Yes, I'm running AV Linux 6.0 with a newer kernel, in my case not because of xruns but because of a new motherboard/chipset that was not well supported by the stock kernel. Changing the kernel was simple - sudo apt-get install... reboot.

I have the LAN enabled while I use Ardour. It doesn't cause problems, but it might be a good idea to make sure the LAN interrupts are lower priority than the sound card interrupts.

dsreyes1014
User offline. Last seen 21 hours 21 min ago. Offline
Joined: 2012-01-25
Posts:

Hey Gmaq... how do I install a testing kernel. Sorry for the noob question. I'm trying to find it under synaptic.

GMaq
GMaq's picture
User offline. Last seen 3 days 8 hours ago. Offline
Joined: 2007-12-11
Posts:

@dsreyes1014

The testing Kernel repository is not enabled by defaullt so you need to enable it before the testing Kernel packages will appear in Synaptic

In the menu go to 'Preferences'-->'Software Sources'-->'Third-Party-Software' then scroll down and check off the line that says this:
http://www.bandshed.net/kernels/apt testing main.

When you close the 'Software Sources' it will automatically rescan the repositories and when you open Synaptic the new Kernel packages should appear.

dsreyes1014
User offline. Last seen 21 hours 21 min ago. Offline
Joined: 2012-01-25
Posts:

Ok yea I figured it out last night. Thanks GMaq. It seems that I can only get as low as 256 without xruns most of the time. I'm leaning toward hardware issues.

dsreyes1014
User offline. Last seen 21 hours 21 min ago. Offline
Joined: 2012-01-25
Posts:

Guys I think I found something. When I was running the live OS from usb I was able to use it at 64 with very few xruns. Once I installed the OS I couldn't go lower than 256. I'm leaning on a tired HDD. I won't find out til I get the new SSD in and test it on that. I found one on the cheap just to see if it's the problem.

linuxdsp
linuxdsp's picture
User offline. Last seen 1 day 57 min ago. Offline
Joined: 2009-02-04
Posts:

@dsreyes1014: Replacing your HDD with an SSD might improve some aspects of system performance (boot time etc) but is almost certainly not the real cause of x-runs (even if it does happen to make the audio performance more stable by chance). The real reasons for x-runs are varied and complex (although the root causes are often to be found in a few fundamentally simple mechanisms). The google android audio devs recently explained a little of what they found when trying to address similar issues (none of which was a surprise to anyone with technical / engineering experience in this industry I would expect...) but its instructive to understand the reasons, and get an idea of the different factors involved, even if not all of them are as relevant for desktop linux:

http://www.youtube.com/watch?feature=player_embedded&v=d3kfEeMZ65c

dsreyes1014
User offline. Last seen 21 hours 21 min ago. Offline
Joined: 2012-01-25
Posts:

Wow thanks linuxDSP for the link. It seems basic to developers but to someone like me I have to watch it a few times lol. What kind of frames/period are you guys using?

Xperienced
User offline. Last seen 10 weeks 11 hours ago. Offline
Joined: 2011-08-18
Posts:

I've seen that a lot of times: distros performing better in live mode than installed, if anyone knows why please explain us, I never found the cuñprit. I can only guess this has somethign to do with either the autoconfiguration system where the hardware may end up in subtly different states when initialized by the live scripts and the installed version, or a few things at the system level (what?) being sipped when in live mode.

It's true either way^, your HDD has nothing to do with the problem. I should mention your USB is probably slower than the HDD, unless you're using one of those fancy USBs that I'd like to have.

dsreyes1014
User offline. Last seen 21 hours 21 min ago. Offline
Joined: 2012-01-25
Posts:

Nothing fancy about the USB stick. Just a generic 4gb stick.

Well out of all the distros I've tried on this laptop Linux Mint with KXStudio seems to be what's best for it. I've tried Dreamstudio, AVLinux, KXStudio-12.04, and my favorite my Beyond Linux From Scratch build lol.(JK) Nothing against the other distros but Mint just seems to work for me. I'm able to get it solid at 256 and mostly solid at 128. I've tried setting rtprio's, switching kernels, changing jack settings and still can't reliably go lower than 256 with my laptop. I'm all out of ideas.

dsreyes1014
User offline. Last seen 21 hours 21 min ago. Offline
Joined: 2012-01-25
Posts:

Hey guys. Sorry to bring this thread back up. I wanted to update. So I haven't been ablte to get past 512 frames without xruns so I decided to try out a RT kernel. Well that seems to help a ton. I can get 128 frames with the onboard sound and no xruns and 128 with my firewire interface with no xruns. So the RT kernel helped a lot.