BruteFIR stability problems - diyAudio
Go Back   Home > Forums > Source & Line > PC Based

PC Based Computer music servers, crossovers, and equalization

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 12th April 2013, 09:51 AM   #1
diyAudio Member
 
Join Date: Feb 2008
Location: Enschede
Question BruteFIR stability problems

I'm using a PC with BruteFIR as a crossover for my speakers. It has an AMD Athlon 64 2.6 GHz processor, a 2 GB compact flash card as a hard disk and uses a Terratec DMS 6Fire with optical S/PDIF input. Besides BruteFIR it also runs a PHP/MySQL server with Webfilter, a web interface to generate filters for BruteFIR which was programmed by a friend of mine.

I've recently reinstalled it with the latest Ubuntu server (the old OS was version 9.10) and I have disabled updates on the system to prevent them from messing things up. With the new installation I'm having issues with the stability of BruteFIR. Sometimes I hear some very unpleasant buzzing distortion which sounds like BruteFIR isn't getting enough priority (like the output is getting interrupted for some samples).

CPU load seems to be fine (about 35% idle, even when the buzzing kicks in) and most of the time it's running at only 1.8 GHz. At first I thought the CPU speed step kicked in too late (it was running at about 13% idle @ 1 GHz) so I changed the threshold for upscaling from 95 to 85%. I've also installed a low-latency kernel. At first this seemed to help, but the problem persists (although it occurs less often). The only thing I've noticed which might be strange is that already 95% of the 2 GB hard disk is in use, but I'm not sure if this is a lot for the newer version of Ubuntu.

I know it's a long shot, but does anyone have a guess at what might be the problem? I'm pretty much clueless at the moment...

Last edited by a_tewinkel; 12th April 2013 at 10:03 AM.
  Reply With Quote
Old 14th April 2013, 08:51 PM   #2
diyAudio Member
 
Join Date: Feb 2008
Location: Enschede
I've tried disabling the speed step but this doesn't help either. Any further suggestions?
  Reply With Quote
Old 15th April 2013, 09:39 PM   #3
flexus is offline flexus  Austria
diyAudio Member
 
Join Date: May 2007
did you add brutefir to the audio group and the audio group to the realtime user group?
apart from that i got no idea. didnīt play around with it. i belive ubuntu studio got the realtime stuff preconfigured.
  Reply With Quote
Old 18th April 2013, 11:01 AM   #4
diyAudio Member
 
Join Date: Feb 2008
Location: Enschede
/usr/lib/brutefir/brutefir.real is owned by the root user and group. Is it still necessary to change this to audio/realtime?
  Reply With Quote
Old 19th April 2013, 02:02 AM   #5
qusp is offline qusp  Australia
diyAudio Member
 
qusp's Avatar
 
Join Date: Oct 2009
Location: Brisbane, Australia
if youve only got 5% left for memory swap space on the system drive, that is very likely your problem.
  Reply With Quote
Old 19th April 2013, 02:16 AM   #6
diyAudio Member
 
Join Date: Feb 2009
Location: Brisbane, Australia
Quote:
Originally Posted by qusp View Post
if youve only got 5% left for memory swap space on the system drive, that is very likely your problem.
Using CF as swap is a pretty bad idea generally, will not last long before data errors. In the config described I would set up with no swap partition, but ensure there is sufficient RAM.

High memory usage of the total OS is not of concern most of the time, linux will use available RAM when it can help. If the memory usage of the application grows too high, that is a concern.

How much RAM do you have in the PC?

Last edited by hochopeper; 19th April 2013 at 02:20 AM.
  Reply With Quote
Old 19th April 2013, 07:24 AM   #7
diyAudio Member
 
Join Date: Feb 2008
Location: Enschede
I do not have configured swap space because the machine has 1 GB of memory, which should be more than enough.
  Reply With Quote
Old 19th April 2013, 08:20 AM   #8
phofman is online now phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
IMO you should troubleshoot and investigate the very reasons for the glitches first, before taking any corrective actions.

I would start with checking for xruns as described in XRUN Debug - AlsaProject . Just enable the xrun dump and watch dmesg or /var/log/syslog. You can test that your xrun dump is enabled by e.g. running aplay at minimum buffer sizes:

Code:
aplay -v -D plughw:0 -F 1 -B 1 long.wav
This will give you a tool to monitor the symptoms. Afterwards we can troubleshoot each upper layer of your chain, step by step.
  Reply With Quote
Old 24th May 2013, 09:32 AM   #9
diyAudio Member
 
Join Date: Feb 2008
Location: Enschede
I haven't found the time to look at this yet. However, my machine doesn't boot up any more after what appeared to be a power surge. So I'll probably have to start from scratch again, perhaps even with new hardware.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with BruteFIR configuration Crumboo PC Based 17 24th February 2014 06:45 PM
Problems with stability in simulation danny92 Solid State 13 9th March 2013 09:17 PM
TDA8920 stability problems w. boost circuit Cyberzim Class D 6 15th September 2010 08:01 PM
anybody facing stability problems with LM3886 BA100 with 8 ohm subwoofer? rhythmdiy Chip Amps 1 31st October 2007 06:04 PM
experiencing stability problems in my simple mic preamp Dominique Solid State 16 24th June 2005 08:36 PM


New To Site? Need Help?

All times are GMT. The time now is 07:02 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright Đ1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2