Loads of xruns on M-Audio Delta 66

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

steevc
Established Member
Posts: 246
Joined: Fri May 23, 2008 7:05 pm
Location: Bedfordshire, UK
Contact:

Loads of xruns on M-Audio Delta 66

Postby steevc » Sun Sep 28, 2014 2:47 pm

I've reported issues with my system a while back, but recently tried again. I was running Kubuntu 14.04, but have now installed Mint 17. Initially things seemed better with that. Before the card would always start at 48000 instead of 44100. Turning the interface off/on in Pulseaudio Volume would fix that, but the sound would still be a little distorted.

When I first tried it on Mint the card started at 44100 and it seemed okay. I try it again today and it's messing up as above.

The other thing I notice is xruns every 3 or 4 seconds even though I'm using conservative. I was using 128 frames on my old PC. The audio level is low, but I was just testing. Still sounds distorted, but it's obviously not clipping

Image

Initial card settings after start-up are

Code: Select all

steve@trillian ~ $ cat /proc/asound/card3/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 10
rate: 48000 (48000/1)
period_size: 3276
buffer_size: 6553


I've just restarted to see if it fixed it, but still at 48000 and can't seem to get it to switch to 44100. Not sure what this means in Mudita. Master Clock is 44100, but Actual Rate is 48000. Should I be able to change that?

Image


Suggestions welcome.
Steve
Sounds - http://soundcloud.com/steevc
Blog - http://studiospoon.blogspot.co.uk/
Recording via M-Audio Delta 66 (+Omni i/o) and Zoom H4. Got Korg nanoKONTROL and M-Audio Uno for my Casio keyboard.

steevc
Established Member
Posts: 246
Joined: Fri May 23, 2008 7:05 pm
Location: Bedfordshire, UK
Contact:

Re: Loads of xruns on M-Audio Delta 66

Postby steevc » Sun Sep 28, 2014 3:37 pm

Not sure the card sample rate matters too much as starting Jack sets it to 44100 anyway. Just need to sort the xrun and distortion issues.

For the distortion could it be overloading somewhere non-obvious? Mudita doesn't show anything red-lining?

BTW I'm running 64 bit low-latency kernel

Code: Select all

Linux trillian 3.13.0-35-lowlatency #62-Ubuntu SMP PREEMPT Fri Aug 15 02:26:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


I've done other set-up described on the guide viewtopic.php?f=47&t=12922

Actually just installed the kxstudio repos as well, but not sure that makes any difference to my issues.
Steve
Sounds - http://soundcloud.com/steevc
Blog - http://studiospoon.blogspot.co.uk/
Recording via M-Audio Delta 66 (+Omni i/o) and Zoom H4. Got Korg nanoKONTROL and M-Audio Uno for my Casio keyboard.

steevc
Established Member
Posts: 246
Joined: Fri May 23, 2008 7:05 pm
Location: Bedfordshire, UK
Contact:

Re: Loads of xruns on M-Audio Delta 66

Postby steevc » Sun Sep 28, 2014 4:32 pm

Just put the Delta back in my old PC where it works better. Zero xruns at 128 frames. It's a shame as the new PC is much quicker and quieter, but maybe there's some incompatibility with the motherboard.

For reference the old PC has an Asus M2NPV-VM with AMD X2 4600. New one is Gigabyte GA-F2A88X-D3H with AMD A8-6500
Steve
Sounds - http://soundcloud.com/steevc
Blog - http://studiospoon.blogspot.co.uk/
Recording via M-Audio Delta 66 (+Omni i/o) and Zoom H4. Got Korg nanoKONTROL and M-Audio Uno for my Casio keyboard.

artek
Established Member
Posts: 107
Joined: Tue Nov 06, 2012 10:37 pm

Re: Loads of xruns on M-Audio Delta 66

Postby artek » Sun Sep 28, 2014 7:17 pm

it seems that some program is using your card at 48000 khz
you can use command

Code: Select all

lsof | grep /dev/snd

to see what programs are accessing sound devices

steevc
Established Member
Posts: 246
Joined: Fri May 23, 2008 7:05 pm
Location: Bedfordshire, UK
Contact:

Re: Loads of xruns on M-Audio Delta 66

Postby steevc » Sun Sep 28, 2014 8:07 pm

artek wrote:it seems that some program is using your card at 48000 khz
you can use command

Code: Select all

lsof | grep /dev/snd

to see what programs are accessing sound devices


I'll have to try it again some time. When I run that on the new PC that doesn't have that card any more I see lots of results. Would it be the 'pcmC' lines that are important? Those are being used by Alsa and Pulseaudio.
Steve
Sounds - http://soundcloud.com/steevc
Blog - http://studiospoon.blogspot.co.uk/
Recording via M-Audio Delta 66 (+Omni i/o) and Zoom H4. Got Korg nanoKONTROL and M-Audio Uno for my Casio keyboard.

apathity
Established Member
Posts: 82
Joined: Thu Aug 14, 2014 12:15 pm
Location: Austria
Contact:

Re: Loads of xruns on M-Audio Delta 66

Postby apathity » Mon Sep 29, 2014 2:55 pm

How do you actually identify "xruns"? I'm sure many newbies would like to know.

artek
Established Member
Posts: 107
Joined: Tue Nov 06, 2012 10:37 pm

Re: Loads of xruns on M-Audio Delta 66

Postby artek » Mon Sep 29, 2014 4:30 pm

steevc wrote: Would it be the 'pcmC' lines that are important? Those are being used by Alsa and Pulseaudio.

yes, in your case (if system don't change card number) pcmC3

steevc
Established Member
Posts: 246
Joined: Fri May 23, 2008 7:05 pm
Location: Bedfordshire, UK
Contact:

Re: Loads of xruns on M-Audio Delta 66

Postby steevc » Mon Sep 29, 2014 7:40 pm

apathity wrote:How do you actually identify "xruns"? I'm sure many newbies would like to know.


There's an option in Ardour to add a marker when an xrun occurs. Could be useful if you only get a few to spot where you may have to edit to re-record a track. You also get a running count in qjackctl/Cadence etc.
Steve
Sounds - http://soundcloud.com/steevc
Blog - http://studiospoon.blogspot.co.uk/
Recording via M-Audio Delta 66 (+Omni i/o) and Zoom H4. Got Korg nanoKONTROL and M-Audio Uno for my Casio keyboard.

User avatar
troathscream
Established Member
Posts: 34
Joined: Tue Jul 24, 2012 5:29 pm
Location: The Netherlands
Contact:

Re: Loads of xruns on M-Audio Delta 66

Postby troathscream » Fri Oct 03, 2014 5:48 am

Just noticed in your screenshots that your periods/buffer setting is set at 3, the delta 66 is a PCI card, shouldn't the periods/buffer be set to 2 for PCI cards?
Maybe you also need to configure your PCI bus latency settings in the bios of your motherboard...
Try an other PCI slot on the motherboard and disable Pulseaudio, i've always had trouble with it.
I completely removed it from my system.

Grtz
Metal for the Devil!!!!

asbak
Established Member
Posts: 647
Joined: Thu Sep 11, 2014 3:04 pm

Re: Loads of xruns on M-Audio Delta 66

Postby asbak » Fri Oct 10, 2014 6:36 pm

steevc wrote:Just put the Delta back in my old PC where it works better. Zero xruns at 128 frames. It's a shame as the new PC is much quicker and quieter, but maybe there's some incompatibility with the motherboard.

For reference the old PC has an Asus M2NPV-VM with AMD X2 4600. New one is Gigabyte GA-F2A88X-D3H with AMD A8-6500


Some new motherboards don't have proper native PCI busses, they use some kind of chipset which translates pci-e to pci. If you have such a motherboard you're possibly wasting your time trying to get a pci card to work properly with it.

For what it's worth, I'd personally also rather stick with Asus motherboards. I also have a Gigabyte board and have had no end of problems trying to get rid of audio glitches which plagues it. The Asus stuff just seems better designed imo. Online motherboard reviews don't usually help much because they're more obsessed with overclocking, raw performance, gaming performance and that kind of thing. Not so much stability and clean signal paths.

steevc
Established Member
Posts: 246
Joined: Fri May 23, 2008 7:05 pm
Location: Bedfordshire, UK
Contact:

Re: Loads of xruns on M-Audio Delta 66

Postby steevc » Mon Oct 13, 2014 3:40 pm

asbak wrote:
steevc wrote:Just put the Delta back in my old PC where it works better. Zero xruns at 128 frames. It's a shame as the new PC is much quicker and quieter, but maybe there's some incompatibility with the motherboard.

For reference the old PC has an Asus M2NPV-VM with AMD X2 4600. New one is Gigabyte GA-F2A88X-D3H with AMD A8-6500


Some new motherboards don't have proper native PCI busses, they use some kind of chipset which translates pci-e to pci. If you have such a motherboard you're possibly wasting your time trying to get a pci card to work properly with it.

For what it's worth, I'd personally also rather stick with Asus motherboards. I also have a Gigabyte board and have had no end of problems trying to get rid of audio glitches which plagues it. The Asus stuff just seems better designed imo. Online motherboard reviews don't usually help much because they're more obsessed with overclocking, raw performance, gaming performance and that kind of thing. Not so much stability and clean signal paths.


I can't really justify buying more new hardware at the moment, so I'll just have to get by with what I have for now. It's hard to know what's best to buy anyway. I did a bit of recording on the old PC yesterday and it worked pretty well. I got a few random xruns, but they didn't cause me any problems. They can be minimised by not running any apps that are not essential whilst making music. Browsers definitely cause issues. I intend to try some USB interfaces on the new PC to see how well they work. In the longer term I may look into the newer USB 2.0 interfaces, but my Delta fills my needs for now.
Steve
Sounds - http://soundcloud.com/steevc
Blog - http://studiospoon.blogspot.co.uk/
Recording via M-Audio Delta 66 (+Omni i/o) and Zoom H4. Got Korg nanoKONTROL and M-Audio Uno for my Casio keyboard.


Return to “System Tuning and Configuration”

Who is online

Users browsing this forum: No registered users and 3 guests