BruteFIR stability problems

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
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...:confused:
 
Last edited:
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:
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.
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.