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

18 minutes ago, greenleo said:

Hi Patrick,

 

Thank you for the images!  The 3rd one that shows the secure boot was not clear and this could be crucial for the newbies.  Any possibility to show it clearly?

 

Regards.

Not sure why this one is not clear @greenleo  The secure boot box is off/unticked

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
9 minutes ago, rickca said:

Is anyone using wireless on their NUC?  My wireless card in my MBP supports both 2.4 GHz and 5 GHz SSIDs just fine when running MacOS.  When I boot AL headless 0.5 the 5 GHz SSID doesn't show up in the list of network names.  Can anyone assist with troubleshooting?

when you booted in EFI did you see the option to input wireless password. It doesn't last long and needs to be input otherwise AL won't see it..

Also there is a guide to setting up wireless somewhere but I can't locate it... as far as I remember you need to add something (code) to AL

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
6 minutes ago, rickca said:

No I never saw such an option. The 2.4 GHz wireless works fine, it's just that I can't see my 5 GHz SSID.  I'd prefer to use 5 GHz.

I see, so you have the 2.4 GHz wireless working in AL okay?

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
Just now, rickca said:

Correct.

Cool. I must have a different model/OS combo. You can probably ignore what I suggest then.. :)

 

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
48 minutes ago, MrUnderhill said:

Welcome to the jungle.

Thanks M!

that looks really tidy compared to my mess ?

 

Like your core set up,  mine is also is running around 37 degrees too with music playing in extreme mode after an hour. The only thing I did differently from your breakdown is I did wiggle the board in order to spread the thermal paste, carefully not to allow it to go on any circuits, only the heat sink. 

 

Interesting that my NUC endpoint runs at same temperature 36-37 degrees. I thought the core might run hotter as it’s doing more. 

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
  • 2 weeks later...
9 hours ago, austinpop said:

Just FYI for folks who have been using AL headless since 0.3 and earlier...

 

Please be aware that Extreme mode in 0.3 is the equivalent of Extreme2 in more recent versions like 0.7.

 

As you will recall, Piero had suggested a while ago that folks who were finding the Extreme mode too thermally stressful could tame it down by removing the flag idle=poll from the audiolinuxEXTREME.conf file. Well, this tamer version on 0.7 is now Extreme.

 

So in short:

  • on ≤ 0.3: Extreme includes idle=poll 
  • on 0.7:
    • Extreme  excludes idle=poll
    • Extreme2 includes idle=poll

So: Extreme on 0.3 ≈ Extreme2 on 0.7.

Thanks @austinpop!

can anyone report if there is an improvement in SQ by moving to 0.7 from 0.3? or is the difference just in menu functionality? 

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
5 hours ago, darkfrank said:

 

 

Thanks, I installed ethtool and managed to change those configs. If need to apply these configs permanently, the only way is to add a customized service to systemd to run a script on boot? 


You probably saw it but here is a section "making ethanol settings permanent" in that link.

Did you add all the configs listed there?

 

Interesting resource

However I noticed this warning on the intro page: https://cromwell-intl.com/open-source/performance-tuning/

Be careful: The network tuning suggestions are for a data center with at least 1 Gbps bandwidth and very low round-trip latency. If you apply them to your home computer, they are likely to make your Internet connection worse instead of better. See the BufferBloat discussion on the Ethernet page for why this is the case.

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
7 minutes ago, seeteeyou said:

 

Was AutoCorrect getting drunk or what?

yep, all part of a (budget) Christmas spirit... :)

 

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
7 hours ago, darkfrank said:

 

Yea but there is no /etc/sysconfig/network-scripts/ifcfg-enxxx in archlinux, no /etc/rc.d/rc.local as well.

The configure file of the network interface is located at /etc/systemd/network/en.network, I doubt adding those ethtool commands into it would works.

Okay, I see. Maybe Piero can help...

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
  • 1 month later...
5 hours ago, bobfa said:

anyone else seeing these messages when enabling ramroot?

 

==> WARNING: Possibly missing firmware for module: wd719x

==> WARNING: Possibly missing firmware for module: aic94xx

yep got those too..

 

https://wiki.archlinux.org/index.php/Mkinitcpio#Possibly_missing_firmware_for_module_XXXX

"These appear to any Arch Linux users, especially those who have not installed these firmware modules. If you do not use hardware which uses these firmwares you can safely ignore this message."

 

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
5 hours ago, LTG2010 said:

There was an error in the bridge scripts but Piero has fixed it in 9.5.

Thanks. My post was in addition to this, because I tried the update and it did not work for me for some reason.

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

@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
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
  • 4 weeks later...
3 hours ago, HeeBroG said:

...When I pull out the USB AL boot drive LMS hangs....

I'm running Roon on my NUC AL server and it also hangs when I pull out the USB stick.

I leave it in as I have an auto save on the roon database every hour because I add a lot of tracks to playlists in a listening session...

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
1 hour ago, bobfa said:

Did you move the Roon database off of the USB stick into optane memory or something?

No I have database on the USB stick - no other drives attached....

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
3 hours ago, bobfa said:

Tapatrick

 

I am thinking you may have a couple of problems here.  

 

1.   Trying to run Roon Server out of only 4GB of RAM. 

2.   I have not seen others run  Roon Server off of a USB stick and them loading into RAM.  

 

When I built my server I boot off of an Optane SSD and then load into RAM.  During setup, I moved the Roon Database to a separate partition on the Optane.  The music is on an external drive.

 

 

Thanks  @bobfa Maybe I should clarify as I'm not understanding what you are pointing to.  

 

See my signature below: My AL roonserver is running in Ramboot and is very stable, it has 16gb RAM. I tried pulling the USB stick out when loaded in RAM several weeks ago and it hung. I haven't tried it since as I'm happy with how it all sounds and works. I have my end point running in ram too with the usb stick out as this is where I notice the difference. 

 

As I mentioned I have my roon database on the server USB stick (64gb) and I have a regular auto save. I wasn't planning on getting any extra drives as I only stream from Tidal/Qobuz. I have a drive with local music but gave up on this some time ago as I much prefer streaming for SQ and convenience.

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

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