Several issues

Hi and thanks for your replies. I have to go away for a day or two so can't make many more experiments.

I have set up Jack on this machine before, using Fedora and Audacious and it played excellently with (my own design) USB DAC which uses and XMOS receiver.

I have another machine 3m from me, running Mint, which runs Jack and Audacious, and Kodi perfectly with the same DAC.

My wife's machine, which is 1M away from me ran Fedora with a real-time Kernel from Planet CCRMA when I was using it as a HTPC, using various DACs.

On this machine I also tried Clementine and DeadBeef, both play, but clicks and noises, which I assume are xruns, on hi res files, no matter what settings I try.

I have all the gstreamer plugins installed and, in any case, the fils in question are pre WAV PCM files, no format conversion is taking place.

The other issue, as I said, is unrelated, but irritating: sometimes I will return to find my machine asleep, but it is unrousable and the HD LED is rhythmically pulsating. Only a hard reboot will fix it.

Again, I will say that I have had Mint and then Fedora on this machine for over a year and had none of these problems.

I'll have another look at the noise issue in a day or two.

Thanks again for the answers by the way. I will be back by my machine in a day or two.

It would be a shame for me have to switch back to Fedora, just to listen to music properly.

I see. Audacious here is more recent than the one on Mint, but I don't think that's the issue. Maybe you should compile your own kernel if Xruns is the issue. There's linux-rt package available in AUR, but I don't recommend installing it in Manjaro. You should compile it using Manjaro own source available here: https://github.com/manjaro/packages-core/blob/master/linux46/. But if you don't want the headache, either install Antergos and linux-rt from AUR, or just stay with Fedora instead. I'm sorry to say unless Manjaro will support rt kernel in the future your workload is not suited to be using Manjaro :pensive:

1 Like

To get rid of the clicks and static noises on my machine when using pulseaudio-equalizer app and modules I followed the instructions here in the glitches, skips, crackling section:

https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting

I added tsched=0 to the end of the load-module module-udev-detect line in /etc/pulse/default.pa file.

You can also try the other suggestions on that page. The issue for you like me could be the the fact "The newer implementation of the PulseAudio sound server uses timer-based
audio scheduling instead of the traditional, interrupt-driven approach." Which would explain why you don't get the issue with mint and possibly also fedora.

Hi, thanks coolooutac. Pulse works fine on my machine under normal circumstances, it's when using hi-res formats such as 24 bit 192kHz and Jack, fed out to an (asynchronous) USB D/A converter.

I haven't had any time to get back and look at this problem very much, so I don't have a lot to report. However, with regard to Audacious, that miraculously started working the following day...

As for the clicking issue, I did get somewhere with that by increasing various buffer sizes, I can't remember which now (I'm away from that machine).

Andy

To reduce clicking issue (XRuns), read my tutorial here
Scroll down until the FAQ section point 4 on how to reduce XRuns. I managed to get rid of XRuns completely and still having 11ms latency. :slight_smile:

Thanks crazyg4merz, yes, I have seen your tutorial.

On this machine I would like to leave Pulse as near standard as possible, because my wife and kids use it, and I want sound to work well under 'normal' circumstances.

Are you using 24/96 or 24/192 from HD into an external D/A converter? Audacious > Jack > USB ?

Bear in mind I am looking for bit-perfect, hifi quality, not 'it plays perfectly well' from the usual 'PC audio' kind of viewpoint (resample everything to 16/44).

If I get time tonight I will have another look, and maybe create a ramdisk and read from there to see if it's the HD side causing the issue.

We have a thunderstorm here so I will post before the lights go out again!

I'm using 48000/128 :slight_smile:
I got two computers, one with external audio interface with Phantom power into the microphone and monitoring headphone. Another one is using a two headsets combo with one using cheap usb sound card. I don't know if my audio quality is perfect or not though, just not an audiophile. :slight_smile:

Hi crazyg4mer, thanks for your reply.

I am an audiophile, and it's my job too - I am a 'golden ears' although, they look pretty human to me in the mirror ;-D

These issues appear when I put more strain on the path HD > Jack > USB DAC in terms of bit rate (24bits, 96kHz and 192kHz files).

It's bugging me now...it sounds insane, but different HDs do perform differently in this application, sound wise (yes, get over it) and, I am, in this instance using a 3TB Toshiba, formerly Hitachi. This one doesn't sound good and, if I were getting a series of 'micro xruns', that could explain it.

I should get my test gear home and measure this...

Anyway, I found the same on another machine (with Mint) and upped the buffers to 'huge' and it mitigated it, but, really, I merely bypassed the problem and used a different drive (such as a RAMdisk, or a Seagate 'media' drive).

I wonder if this is my issue now?

Let me check and find out, it may take a day or two due to other workloads.

Andy

I think you should try the linux-rt kernel in AUR. Also, desktop effect in your Desktop Environment can cause XRuns too. You might want to have a read here: https://wiki.archlinux.org/index.php/Professional_audio
:slight_smile:

Hi crazyg4merz,

My desktop is XFCE and I have a AMD A10-7850k APU overclocked at 4.3GHz and 960MHz on the GPU, with memory running at 2400MHz so I hope have enough oomph to deal with it.

maybe a rt kernel would help, maybe not. I have several machines at home, the one I use for day--to-day has Manjaro on it, for many reasons, and it's nice to play music on my headphones while fiddling. I have a dedicated 'music' machine which is in development, with Mint, because that works fine.

The problem with Fedora is one minute your D?A converter will be working fine, the next the OS will deny it ever existed because the driver has been removed from the kernel - this happened to me.

Maybe it's not ultimately big issue to fix, but it IS when you want to have an evening listening to music with your wife and a bottle of wine.

In fact, I'm looking at BSD to simply sidestep all of this, the music machine should just work, not work one day and not the next due to a developer's whim - and that is getting to be a problem with Linux (and, I guess, hence we have Manjaro and Mint).

Andy

It's weird because between Linux Mint and Manjaro the kernel shouldn't be so much different. Linux Mint has a more bloated kernel than Manjaro as far as I know. Maybe take a look at the scheduler you're using may help. To see your current scheduler, type in cpupower frequency-info
It's recommended to use performance for Linux audio (I think Manjaro is using powersafe by default?). To change the scheduler, edit the file in /etc/default/cpupower. Hope this can help :slight_smile:

yes, it's odd isn't it, which is why I came to the forum.

Just about every power saving feature is disabled in the BIOS by the way, the CPU runs at a constant 4.3 GHz.

Hi crazyg4mers...

Now I have a fstab entry to create a 4gb ramdisk and copy to and play the files from there...so far so excellent.

Nice, actually I'm now forking Manjaro Linux kernel on github, I'll patch the latest stable kernel to use Realtime patch. I'll link the github page for you to compile later, the good thing about my kernel from linux-rt in AUR is you don't messed up your kernel modules because I'll name it in Manjaro way. I'll do it tonight :slight_smile:

I'm interested to try that!

There you go. Only linux44 and 46 currently. Haven't try it myself though, I'll compile it later tonight. Got to go on a date with my girl first :smile:
https://github.com/budimanjojo/packages-core/tree/rt?files=1

1 Like

Thanks...I'm not going to try it for a few days at least though.

1 Like

Now, for the thrid time I'm left with an unbootable manjaro...

whoever is listening and whoever cares, this is the last and final time. I am going back to Fedora.

1 Like

It's a shame that Manjaro doesn't work well for your use-case. Not sure what can be done - it's tough being an edge-case given that it's almost entirely impossible for anyone to replicate your setup.

I know you say that Fedora has worked, but I wonder whether your approach with overclocking everything is the right way. The more power used, the more electrical noise, and the less reliable the components.

Not sure. Overheating? Suspend-Resume failure? Failed package update?

1 Like

Forum kindly sponsored by