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

4 GB could work (8 GB to be on the safe side)

You can remove the applications that you will not use. For example Roon, if you use only HQPlayer

yaourt -S roonserver roonbridge

After you can reinstall with

yaourt -S roonserver roonbridge

 

The same with hqplayer-embedded if you are running Roon

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

developer of AudioLinux realtime OS

Link to comment
53 minutes ago, AnotherSpin said:

 

By some reason I like Jussi's NAA image a lot, even with comparison with both AL and Euphony.

 

He optimized his image for NAA usage so I guess it could sound better, as of now I have no comparison point, last time I tried the image it failed because of the multi homed and tried many things on the server side but could not get it to work.

Link to comment

tried updating to newest kernel, no luck. @luisma here's the output you requested:

 


[root@audiolinux ~]# networkctl
IDX LINK             TYPE               OPERATIONAL SETUP
  1 lo               loopback           carrier     unmanaged
  2 eno1             ether              routable    configured

2 links listed.
[root@audiolinux ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 54:b2:03:14:f7:14 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.20/24 brd 192.168.1.255 scope global dynamic eno1
       valid_lft 5012sec preferred_lft 5012sec
    inet6 fe80::56b2:3ff:fe14:f714/64 scope link
       valid_lft forever preferred_lft forever
 

Link to comment
2 hours ago, hifi25nl said:

You can remove the applications that you will not use. For example Roon, if you use only HQPlayer

yaourt -S roonserver roonbridge

Maybe you meant to say yaourt -R to remove apps you don't need?

Pareto Audio AMD 7700 Server --> Berkeley Alpha USB --> Jeff Rowland Aeris --> Jeff Rowland 625 S2 --> Focal Utopia 3 Diablos with 2 x Focal Electra SW 1000 BE subs

 

i7-6700K/Windows 10  --> EVGA Nu Audio Card --> Focal CMS50's 

Link to comment
58 minutes ago, seatrope said:

tried updating to newest kernel, no luck. @luisma here's the output you requested:

 


[root@audiolinux ~]# networkctl
IDX LINK             TYPE               OPERATIONAL SETUP
  1 lo               loopback           carrier     unmanaged
  2 eno1             ether              routable    configured

2 links listed.
[root@audiolinux ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 54:b2:03:14:f7:14 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.20/24 brd 192.168.1.255 scope global dynamic eno1
       valid_lft 5012sec preferred_lft 5012sec
    inet6 fe80::56b2:3ff:fe14:f714/64 scope link
       valid_lft forever preferred_lft forever
 

 

You may update kernel from AL menu. Just two days ago I did it without an issue.

Link to comment
1 hour ago, seatrope said:

tried updating to newest kernel, no luck. @luisma here's the output you requested:

 


[root@audiolinux ~]# networkctl
IDX LINK             TYPE               OPERATIONAL SETUP
  1 lo               loopback           carrier     unmanaged
  2 eno1             ether              routable    configured

2 links listed.
[root@audiolinux ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 54:b2:03:14:f7:14 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.20/24 brd 192.168.1.255 scope global dynamic eno1
       valid_lft 5012sec preferred_lft 5012sec
    inet6 fe80::56b2:3ff:fe14:f714/64 scope link
       valid_lft forever preferred_lft forever
 

Looks about right. It is configured as DHCP right?

IPv6 and multicast enabled

 

Just for testing would you like to configure it as static?

 

edit as root the file

nano /etc/systemd/network/eno1.network

 

[Match]
Name=eno1

[Network]
Address=192.168.1.20/24
Gateway=192.168.1.1

 

You can select a different IP that doesn't conflict with your dHCP pool and configure the gateway which I'm assuming is 1.1

MAybe you did this already

 

 

Link to comment
1 hour ago, luisma said:

Looks about right. It is configured as DHCP right?

IPv6 and multicast enabled

 

Just for testing would you like to configure it as static?

 

edit as root the file

nano /etc/systemd/network/eno1.network

 

[Match]
Name=eno1

[Network]
Address=192.168.1.20/24
Gateway=192.168.1.1

 

You can select a different IP that doesn't conflict with your dHCP pool and configure the gateway which I'm assuming is 1.1

MAybe you did this already

 

 

@luisma

Thanks for your suggestions. I will try this! 

 

I also updated the AL menu and all other components as well as the kernel. HQP still not seeing NAA reliably at all.

 

Yeang

Link to comment
On 7/11/2019 at 12:44 PM, rettib2001 said:

 

That's encouraging. Time to take a closer look at my network... I have a feeling it could take some time to figure out. 

 

Thanks for the reply 

The content you are upsampling is it streamed, local or both? Is the source content always Redbook or hires? And do you have multihomed systems with wireless? Sometimes you think you are using a wired connection but the pc might be by means of gateway, routes, interface preference selecting wireless instead of wired. 

 

Link to comment
1 hour ago, luisma said:

The content you are upsampling is it streamed, local or both? Is the source content always Redbook or hires? And do you have multihomed systems with wireless? Sometimes you think you are using a wired connection but the pc might be by means of gateway, routes, interface preference selecting wireless instead of wired. 

 

 

Very good questions. 

 

I exclusively stream from Tidal and Qobuz (at the highest bit rate they allow for). 

 

My server and endpoint point are both nucs connected via ethernet to the same Orbi (mesh WiFi) access point. 

 

This access point is connected wirelessly to my main router on another floor 

 

Dsd512 works perfectly when the two nucs have there ethernet ports set to unlimited (100mbps). 

 

Perhaps there are some advanced settings I can play around with regarding the ORBI rluter/AP that ensure optimal stability. 

 

Link to comment
8 hours ago, dctom said:

Have just purchased audio linux and have made a USB drive from the downloaded image. My NUC has stared up from the USB but is just hanging at "hostname service" point. Any ideas?

 

What operating system you use when flashing USB? Did you follow instructions for making USB drive from AL site? T am asking because it didn't work for me fist time when I tried to make AL USB drive with Etcher on macOS.

Link to comment

Hi

Thanks for your reply. I made the USB drive on my  linux NUC machine using start up disc creator. I have restarted the  NUC and it is now working 😃- only problem is getting into  audiolinux to control it! - trying to get the network to work at the moment.

Link to comment

Anyone know what software works well for configuring AudioLinux as a DLNA endpoint/client?

 

I ask because I just found this great app called iEast Play, which I believe is a DLNA controller used in a number of cheap streamers including Nords new EasyStream - however it looks really super... TIDAL, Deezer Qobuz it does the lot.

 

Also, just thought I'd mention that those of you that aren't running AL headless, check out the wicd network manager - miles easier than setting up WiFi with wpa supplicant which is a pain to use.  Instructions available in this YouTube clip here.

Link to comment

Help

I have got the 3.5.0 version of AL running my NUC i7 from a 32Gb USB drive. It is painfully slow and when it asks for a password I get an authentication failed message. Looking at the AL site the password is audiolinux but it does not work!!

Link to comment
9 minutes ago, dctom said:

Help

I have got the 3.5.0 version of AL running my NUC i7 from a 32Gb USB drive. It is painfully slow and when it asks for a password I get an authentication failed message. Looking at the AL site the password is audiolinux but it does not work!!

I am running headless version, so not too familiar with lxqt version you are running, but try using audiolinux0 as password and see if that works.

Link to comment

audiolinux0 works for me in lxqt  - in terminal type su then audiolinux0 as password.  I am also new to audiolinux (Arch Linux) and have encountered a few challenges (no sound, wpa-supplicant being a pain to configure - see my previous posts) and now uPNP functions of upmpdcli not working.  I also have intermittent nomachine access and sometimes have blank screens due to graphic display bugs (I suspect).  So anywhay, what I'm saying is that its good, espectivally for the price.  But it requires a fair bit of technical understanding & effort to get running correctly.  Piero offers top advice and assistance though if you do encounter difficulties like me.

Link to comment

About WiFi in Audiolinux is very easy with WiFi script in the main menu. It can take less than 1 minute... please be sure that you don't  have other wpa supplicant links in /etc/systemd/system/multi-user.target.wants If you have because of previous configurations you must delete them with root editor (main menu)

 

UPnP for MPD is working perfectly. Just tested in the computer that I am using now yesterday. Please check that UPnP is not blocked in the router.

 

For display problems, you must tell me what card are you using. Nvidia and Intel are perfectly compatible with drivers already installed. If you have AMD graphic card you can install amdgpu

yaourt -S xf86-video-amdgpu

and reboot

 

As a final note, Audiolinux offers a lot more configuration options and possibilities at a fraction of the price of other OS based on the same archlinux framework. 

 

 

 

 

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

developer of AudioLinux realtime OS

Link to comment
46 minutes ago, hifi25nl said:

About WiFi in Audiolinux is very easy with WiFi script in the main menu. It can take less than 1 minute... please be sure that you don't  have other wpa supplicant links in /etc/systemd/system/multi-user.target.wants If you have because of previous configurations you must delete them with root editor (main menu)

 

UPnP for MPD is working perfectly. Just tested in the computer that I am using now yesterday. Please check that UPnP is not blocked in the router.

 

For display problems, you must tell me what card are you using. Nvidia and Intel are perfectly compatible with drivers already installed. If you have AMD graphic card you can install amdgpu

yaourt -S xf86-video-amdgpu

and reboot

 

As a final note, Audiolinux offers a lot more configuration options and possibilities at a fraction of the price of other OS based on the same archlinux framework. 

 

 

 

 

 

I should add that the 'challenges' encountered for a newbie are only around the same as what you would expect building your own PC and installing OS, drivers (in case of Windows) and software.  Sometimes everything just goes together nicely, othertimes it requires work and has a learning curve.  Using Arch Linux is a learning curve for me.  I do love what if offers though, otherwise I wouldn't still be working on it!  I do not know of anything else for $49 that offers anywhere near this level of features and performance.  It is also nicely packaged together, so I already know that alot of effort is going into it.

 

That being said, I do feel that the level of competancy is probably higher on this forum than what Joe Bloggs has.  For example, going back to the use of wpa-supplicant again, this:

 

https://www.audio-linux.com/html/wifi.html

 

is a different level of complexity compared to just entering SSID and password. 

 

I think expectations just need to be managed, especially if you're going headless.  It can be learnt and problems overcome, but as a Joe Blogs consumer a Roon ROCK is an absolute piece of cake to deploy, same goes for Euphony.   Euphony also just requires SSID and password (works well even though it's just in beta at the moment).  Of course we're talking $$$$ difference here.

 

I am continuing to use AudioLinux, so that should tell most people that I like it, despite the points I raise.

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