Jump to content
IGNORED

A novel way to massively improve the SQ of computer audio streaming


Message added by The Computer Audiophile

Important and useful information about this thread

Posting guidelines

History and index of useful posts

Most important: please realize this thread is about bleeding edge experimentation and discovery. No one has The Answer™. If you are not into tweaking, just know that you can have a musically satisfying system without doing any of the nutty things we do here.

Recommended Posts

In audiolinux the configuration files are in /home/audiolinux/.hqplayer  (you must enable "Show hidden files in pcmanfm-qt menu)

There you can find the log file hqplayerd.log

You could also copy the HQPlayer configuration in settings.xml to hqplayerd.xml or remove hqplayerd.xml (the effect is the same)

 

Try first without Roon running, only hqplayer embedded and NAA

AudioLinux --> https://www.audio-linux.com

developer of AudioLinux realtime OS

Link to comment
33 minutes ago, seeteeyou said:

Question for @hifi25nl and @bibo01 etc. regarding RDMA

 

https://searchstorage.techtarget.com/definition/Remote-Direct-Memory-Access

https://wiki.debian.org/RDMA

 

I was able to find some packages related to RDMA but still not sure if they're useful

 

https://github.com/linux-rdma/rdma-core

https://aur.archlinux.org/packages/rdma-core/

https://aur.archlinux.org/packages/rdma-core-git/

 

Let's say we're running headless + ramroot AL on both server side and client side, what are the software as well as hardware requirements to get RDMA going while actually reaping the benefits for playing music?

 

There some packages on archlinux user  repositories:

https://aur.archlinux.org/packages/?O=0&SeB=nd&K=rdma&outdated=&SB=n&SO=a&PP=50&do_Search=Go

 

 

AudioLinux --> https://www.audio-linux.com

developer of AudioLinux realtime OS

Link to comment

About loading to RAM the songs to be played:

 

HQPlayer all versions: max 250 ms

Squeezelite: you can set at the value you want with the -b parameter: 

https://ralph-irving.github.io/squeezelite.html

MPD: you can set at the value you want with audio_buffer_size and other parameters:

https://linux.die.net/man/5/mpd.conf

Jriver: memory playback and prebuffering in Audio options

Roon: see https://kb.roonlabs.com/Troubleshooting_Audio_Dropouts and here https://community.roonlabs.com/t/roon-buffering-song-before-playback/33483/2 

 

AudioLinux --> https://www.audio-linux.com

developer of AudioLinux realtime OS

Link to comment

In Audiolinux you stream Tidal from:

 

1) Logitechmediaserver (you can use Squeezer on Android as control point or connect to LMS with a browser)

2) MPD with upmpdcli (UPnP for MPD) (you can use Squeezer or other squeezelite control points)

3) HQPlayer embedded (BubbleUPnP or Mconnect)

 

There are also other control points besides those reported above.

 

AudioLinux --> https://www.audio-linux.com

developer of AudioLinux realtime OS

Link to comment

The problem with Roon UID is that if you install audiolinux on 2 different USB sticks you will have the same Roonbridge UID. This is not changed by the menu item, that will simply start the service.

 

I have added a Note to the Guide on the site:

Note 3: If you are using Roonbridge in more than one computer take into account that: "RoonBridge generates and writes out a unique id into its data directory on first run and uses that to identify itself to RoonServer. Clear out /var/roon on the second device (or hunt down and delete the RAATServer/Settings/unique_id file) and it will generate itself a new one next time it starts up."

 

AudioLinux --> https://www.audio-linux.com

developer of AudioLinux realtime OS

Link to comment
  • 3 weeks later...
1 hour ago, lmitche said:

For those of you using a USB stick to boot Audiolinux and Roonbridge on your NUC endpoint, version 1.6 of Roon is available today with a new build of Roonbridge. The update will install per normal Roon operations into the ramdisk in the endpoint and play music as normal.

 

To permanently save this build on your USB stick, boot the NUC leaving the USB stick in place, login to the NUC and run Save System from the Audiolinux menu. Depending on your version of AL, this can be done from a browser, terminal emulator or console terminal via keyboard and monitor.

 

If you are running an older pre-menu version of Audiolinux, typing the ramsave command from the root prompt will save the changed contents of the ramdisk to the usb stick.

 

Make sure that the Roonbridge software has updated to version 1.0 build 169 before doing the ramsave operations described above. To check, in Roon go to Settings: About  to see the currently running version numbers. Relaunch the Roonbridge if it hasn't been done yet.

 

Enjoy,

 

Larry

 

 

 

Since Roon is writing new files to the installation directory /opt/RoonServer directory (this is not a standard and correct procedure in linux systems with packaged applications...) installation could fail. 

 

To be sure that all is fine, please install manually with

yaourt -Syy roonserver roonbridge --noconfirm --force

Where --force in this case is unfortunately necessary.

 

If you want, you can edit the file /opt/scripts/alupdate.sh and add --force to the same line.

 

This will be added in the next menu release, that will have an automatic script for transferring roon  database to anther drive and some more option (Turbo=off) for CPU governor :)

 

Note: to be sure of version type pacman -Q roonserver
 

AudioLinux --> https://www.audio-linux.com

developer of AudioLinux realtime OS

Link to comment

I would also add this, from a letter I have sent recently, to make things clear:

 

"..maybe it was compared with the wrong volume...in some cases at first play alsa will have the volume at less than 100% (with some DACs)
This will have a great impact on sound perception.
I feel uncomfortable with comparisons on which I don't have control.
A fair comparison should be made after checking output volume with a meter, and... kernel is the same (linux-rt-bfq), roon package is the same, priority is similar (rtirq etc.), OS is the same (archlinux)... if installation media and equipment are the same, the output should be the same, if you use the same software with the same configuration.
Unless the audiolinux configuration was wrong: too weak processor with Extreme2 for example. This will lower the CPU latency but the effect can be a more dry sound."

 

 

AudioLinux --> https://www.audio-linux.com

developer of AudioLinux realtime OS

Link to comment
  • 4 weeks later...

You problem is that you want to copy some files?
What is the source?  If this source is using samba or nfs you can

1) Mount remote source with the remote mount option in audiolinux main menu
2) Mount internal HDD in audiolinux ( I think this is already done)
3) Copy the files with File editor (not ROOT) in the main menu

 

Please never login as root. You don't need to start samba server to copy the files

 

AudioLinux --> https://www.audio-linux.com

developer of AudioLinux realtime OS

Link to comment
  • 4 months later...
8 hours ago, cat6man said:

hqplayerd in ramroot on AL is really good with "older" AL builds (e.g. 140) and this sounds much better than the same configuration on build 250........who knows why

 

Audiolinux is using a special realtime priority configuration that give specific priority to audio applications (this is made with a custom copyrighted script).

After that version some kernels could not support this configuration without freezing the system, so that has been disabled until menu version 226.  Now there is a much more complete new option 6 "REALTIME MANUAL ASSIGNMENT configuration" in EXPERT menu where you can re-enable it if you are running one of the last kernels, for example 5.6.19-rt11-1-rt

 

 

 

AudioLinux --> https://www.audio-linux.com

developer of AudioLinux realtime OS

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...