Jump to content
IGNORED

AudioLinux and NUC Troubleshooting and Tuning


rickca
Message added by austinpop

Summary of useful findings and recommendations

 

This section will be a living repository of useful info from this thread. It's very similar to a wiki and will be maintained by a small group of thread moderators.

 

Before you get started please refer to the Audio-Linux website to ensure you have the latest info and the proper versions of the OS. Audio-Linux.com  

 

**** Updated for AL 1.30 menu 118 or later.

 

  "First Run" setup for headless.  

 

Setup your NUC with a keyboard, mouse, and monitor to the NUC BIOS settings.  From the menu note the IP address of the machine to SSH into.  From a MAC the macOS terminal program supports SSH:

324537708_ScreenShot2019-01-28at3_02_19PM.thumb.png.739dc7f9cdb05e04da806c7c66877332.png

 

Then it is simpler to cut and paste into the terminal session. After entering the password for the audiolinuxuser you will be presented with the AL headless menu:

 

1518375894_ScreenShot2019-01-28at3_04_18PM.thumb.png.a7b2867a163f8f014e56e52ff69f94b4.png

 

Option 8 takes you to the command line for the following basic setup.  You will need to be the Root user for this setup and the su command first:

 

su

 

Fix the time zone:  (this is my timezone - look in directory /usr/share/zoneinfo)

 

timedatectl set-timezone America/Chicago
 

Setup and Start NTP daemon (to keep the system time in sync)

 

*** the config file is now properly filled in.

 

Now Start the daemon

 

timedatectl set-ntp true

 

 

NOTE: Sometimes the system takes a little while to get synced up.
 

Set hostname  (this provides a unique name for the machine on your network.  Replace <NAME> with your chosen name)

 

hostnamectl set-hostname <NAME> 
 

Once the above items are set up your machine is ready to be configured for say a Roon bridge/endpoint. That is done using the AL menu.  To return to the menu do the following commands.

 

exit

menu

 

----------------------------------

 

For most of us, the following basic settings are key.

From the configuration menu:

6. START and enable Roonbridge

15. SET Realtime Priority to extreme

16. ENABLE ramroot (reboot after)

 

Return to the main menu and reboot the NUC using 

 

11 Reboot

 

------------------

Roon Server setup is a bit more complex and we will cover it completely a bit later.  The key is where you are booting from and where the Roon database is stored.  In general; say a 32gb OPTANE "SSD".

 

  • You have to partition the SSD into a boot drive and a storage drive.  
  • The transfer the USB stick install to the boot partition.  
  • Reboot from the boot partition.  
  • Do the basic setup. Timezone and name
  • Transfer the Roon Database to the storage drive
  • Start the Roon Server
  • .....

 

----------------- 

The machine will reboot and from the display attached to the NUC you can watch it boot up and load into RAM.  Once the AudioLinux menu is showing the endpoint should be available in Roon.    This completes the basic startup sequence.  The system is ready to start testing.    

 

 

Recommended Posts

On 12/10/2018 at 12:48 AM, bibo01 said:

It's part of Squeezelite-R2. He told me that he also did a special version of C-3PO where it is possible to change dimension of input/output buffer and chunk.

You could use ALSA parameters for that OR Buffer size and USB profile in ASIO Drivers (in Windows), nothin special in Squeezelite-R2 (or squeezelite) here.

 

 

I wrote an early version of C-3PO (and Qobuz) plugin where is possible increase and decrease the TCP socket buffer size and/or the chunk size, emulating the above in a network connection (or even a direct connection if server and client run both on the same machine). The interesting thing is that the effect is exactly the same: when you increase the latency (delay) or increase the chunk size (reducing the cycles needed to accomplish a task) you destress the CPU and the sound gets smoother.  Don't know what the link between the two fact is

 

 

 

 

 

________________________________________________________________________________
Writer of  the R2 patch to Squeezelite and C-3PO.plugin.  note liberehttps://github.com/marcoc1712
Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Criaturu" NOS R2R DAC / AudioResearch DAC 1-20 > 
Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE

Link to comment
54 minutes ago, marcoc1712 said:

You could use ALSA parameters for that OR Buffer size and USB profile in ASIO Drivers (in Windows), nothin special in Squeezelite-R2 (or squeezelite) here.

 

 

I wrote an early version of C-3PO (and Qobuz) plugin where is possible increase and decrease the TCP socket buffer size and/or the chunk size, emulating the above in a network connection (or even a direct connection if server and client run both on the same machine). The interesting thing is that the effect is exactly the same: when you increase the latency (delay) or increase the chunk size (reducing the cycles needed to accomplish a task) you destress the CPU and the sound gets smoother.  Don't know what the link between the two fact is

 

Marco, 

 

That is a fair point. I was helping somebody set up MPD, and it looks like there are buffers you can configure in mpd.conf too.

 

What you raise is an interesting possibility. Is there any way in Audiolinux to change the default ALSA buffers, so they apply to all music players - but more specifically, Roon Bridge?

Link to comment

I want to edit the .mpdconf file to change the dac from 0 to 1.

I reached the file edit menu. I attached the screenshot. How do I open the .mpdconf file to edit it? I am pressing enter on it but nothing happens. Excuse my ignorance.

The sound is coming now from the aux output of the PC.

The DAC shows number 1 in AlsaMixer.

15489674120671369776213252248737.jpg

15489676364698567915289723321674.jpg

15489677366045776083763654449341.jpg

Link to comment
27 minutes ago, mozes said:

I want to edit the .mpdconf file to change the dac from 0 to 1.

I reached the file edit menu. I attached the screenshot. How do I open the .mpdconf file to edit it? I am pressing enter on it but nothing happens. Excuse my ignorance.

The sound is coming now from the aux output of the PC.

The DAC shows number 1 in AlsaMixer.

15489674120671369776213252248737.jpg

15489676364698567915289723321674.jpg

15489677366045776083763654449341.jpg

 

did you click on edit (number 4 along the bottom)?

(1) holo audio red (hqp naa) > chord dave > luxman cl-38uc/mq-88uc > kef reference 1
(2) simaudio moon mind 2 > chord qutest > luxman sq-n150 > monitor audio gold gx100
Link to comment
24 minutes ago, mozes said:

Just to clarify, the mouse doesn't work so I am using the cursor to move around the menu. I can't get the cursor to go down to the commands at the bottom of the screen. I tried Tab, but it also doesn't allow me to reach the bottom commands. 

 

Have you tried using WinSCP use the hostname audiolinux (or the new name if changed) user name: root ,password: audiolinux0. You can then edit all the files remotely with your keyboard in windows if not working in Linux.

Link to comment
3 minutes ago, LTG2010 said:

Have you tried using WinSCP use the hostname audiolinux (or the new name if changed) user name: root ,password: audiolinux0. You can then edit all the files remotely with your keyboard in windows if not working in Linux.

Thanks for the suggestion, I have not heard of this tool before. I will check it out

 

 

Link to comment

@hifi25nl with a network bridge on roonserver what would you suggest for the best rtirq.conf?

default is on Usb which  doesn’t seem make sense as usb is not used. 

 

RTIRQ_NAME_LIST="usb"

 

audiolinux@audiolinux ~]$ networkctl
IDX LINK             TYPE               OPERATIONAL SETUP     
  1 lo               loopback           carrier     unmanaged 
  2 bridge0          bridge             routable   configured
  3 eno1             ether              degraded   configured
  7 enp0s21f0u3      ether              degraded   configured
 

Topaz 2.5Kva Isolation Transformer > EtherRegen switch powered by Paul Hynes SR4 LPS >MacBook Pro 2013 > EC Designs PowerDac SX > TNT UBYTE-2 Speaker cables > Omega Super Alnico Monitors > 2x Rel T Zero Subwoofers. 

Link to comment

okay, guys, i could use your help . . . 

 

i've had great luck with AL so, far -- installed it on my nuc6i5 as an endpoint with roon rock running on a separate server.  the endpoint was recognized no problem and was able to stream.

 

this afternoon, i installed AL on my nuc 7i5 and configured it as a roon server.  got the server running and it sees all of my sonos zones, but it does not see my nuc6i5 running roonbridge

 

so here's what i've got:

 

roon endpoint:  nuc6i5 running roonbridge, static ip set to 192.168.0.99

 

image.thumb.png.0db9d5357f48e8a9c3364ce2d3f266ad.png

 

roon server: nuc7i5 running roonserver, static ip set to 192.168.0.98

 

image.thumb.png.a8ffedfc5c1ffa6f4751d9b399837859.png

 

but can't see the endpoint in roon

 

image.thumb.png.9aed92688135b516492e80e4934f99b9.png

 

any ideas?  anything in the bios settings that would make a difference?

 

thanks!

 

(1) holo audio red (hqp naa) > chord dave > luxman cl-38uc/mq-88uc > kef reference 1
(2) simaudio moon mind 2 > chord qutest > luxman sq-n150 > monitor audio gold gx100
Link to comment
54 minutes ago, jcn3 said:

okay, guys, i could use your help . . . 

 

i've had great luck with AL so, far -- installed it on my nuc6i5 as an endpoint with roon rock running on a separate server.  the endpoint was recognized no problem and was able to stream.

 

this afternoon, i installed AL on my nuc 7i5 and configured it as a roon server.  got the server running and it sees all of my sonos zones, but it does not see my nuc6i5 running roonbridge

 

so here's what i've got:

 

roon endpoint:  nuc6i5 running roonbridge, static ip set to 192.168.0.99

 

image.thumb.png.0db9d5357f48e8a9c3364ce2d3f266ad.png

 

roon server: nuc7i5 running roonserver, static ip set to 192.168.0.98

 

image.thumb.png.a8ffedfc5c1ffa6f4751d9b399837859.png

 

but can't see the endpoint in roon

 

image.thumb.png.9aed92688135b516492e80e4934f99b9.png

 

any ideas?  anything in the bios settings that would make a difference?

 

thanks!

 

 

i figured it out -- was the unique_id issue.  deleted the unique_id file from the bridge and rebooted.  finally appeared.

(1) holo audio red (hqp naa) > chord dave > luxman cl-38uc/mq-88uc > kef reference 1
(2) simaudio moon mind 2 > chord qutest > luxman sq-n150 > monitor audio gold gx100
Link to comment
On 12/9/2018 at 12:42 PM, afrancois said:

I'm using an AL NUC7i7DNHE as a server, so I don't need any audio devices enabled on the NUC.

While I had disabled audio over HDMI in the BIOS. HQPlayer and Roon continued recognizing the audio card.

The solution was to blacklist the device. Another credit to the Intel BIOS efficiency 😞

 

I created a file /etc/modprob.d/noHDMIaudio.conf

The file contains:

blacklist snd_hda_codec_hdmi
blacklist snd_hda_intel
blacklist snd_hda_codec
 

 

thanks @afrancois! I've been catching up on tweaks and blacklisting unused functions etc.. I found that this should be /etc/modprobe.d/noHDMIaudio.conf

Topaz 2.5Kva Isolation Transformer > EtherRegen switch powered by Paul Hynes SR4 LPS >MacBook Pro 2013 > EC Designs PowerDac SX > TNT UBYTE-2 Speaker cables > Omega Super Alnico Monitors > 2x Rel T Zero Subwoofers. 

Link to comment
8 minutes ago, amolan said:

Hi,

 

Where did you get this unique_id ?

 

Thanks,

 

Alexandre.

This is a problem when the Roon folders are copied and you try to run two devices on the same network. Roon gets VERY confused!

 

Search for it on the forums. You shut down Roon and delete some stuff.  I would not do this on the server so you do not lose the database or anything by accident

 

Link to comment
15 hours ago, bobfa said:

This is a problem when the Roon folders are copied and you try to run two devices on the same network. Roon gets VERY confused!

 

Search for it on the forums. You shut down Roon and delete some stuff.  I would not do this on the server so you do not lose the database or anything by accident

 

Thanks for your feedback, I already fixed.

Link to comment

@hifi25nl

 

Hi Piero,

 

Here is a new feature request for you to consider:

  • auto-detect the DAC (ALSA device)
  • auto-update the relevant conf file for Squeezelite, MPD, etc - for all enabled services
  • implementation could be simple (boot-time only), or sophisticated (auto-sensing, plug & play)

One of the reasons AL is dead simple to use with Roon is that it does this automatically. For all other users, they have to learn how to edit conf files, and they have to do it every time they switch DACs.

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...