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

9 hours ago, seatrope said:

@hifi25nl Piero,

 

Wondering if you could help with this. I've been enjoying Audiolinux on my NUC7i7DNBE greatly, and have been using Roon Bridge which always connects without any issues, 100% reliable.

 

I used to love using HQplayer before I moved to Audiolinux. With audiolinux, switching to the NAA service, I keep getting dropped connections with my HQplayer computer which is connected to the same Brocade ICX6650 switch. It takes a while before the HQPlayer desktop program can recognize the AL NAA.

 

I assumed this was a problem with HQP, so I posted in the HQP forum, and Jussi suggested using his NAA image to boot. Using that, it's 100% reliable with the same exact hardware, so I think in my case it is some Audiolinux setting which is off.

 

Any suggestions? I have 4GB RAM on my NUC which should be enough for NAA. Not sure why the connection is so flaky.

 

Thanks!

Yeang

I am running your same config and it is working just fine, as a matter of fact my system is "multihomed" which poses other issues with connectivity and it is just fine. Let me ask you are using HQP Desktop or Embedded HQPe? I'm on HQPe but the discovery engine it is the same I believe, Jussi can confirm that.

 

 

Link to comment
9 hours ago, seatrope said:

@hifi25nl Piero,

 

Wondering if you could help with this. I've been enjoying Audiolinux on my NUC7i7DNBE greatly, and have been using Roon Bridge which always connects without any issues, 100% reliable.

 

I used to love using HQplayer before I moved to Audiolinux. With audiolinux, switching to the NAA service, I keep getting dropped connections with my HQplayer computer which is connected to the same Brocade ICX6650 switch. It takes a while before the HQPlayer desktop program can recognize the AL NAA.

 

I assumed this was a problem with HQP, so I posted in the HQP forum, and Jussi suggested using his NAA image to boot. Using that, it's 100% reliable with the same exact hardware, so I think in my case it is some Audiolinux setting which is off.

 

Any suggestions? I have 4GB RAM on my NUC which should be enough for NAA. Not sure why the connection is so flaky.

 

Thanks!

Yeang

1. Be sure you are not "blacklisting" any modules in /etc/modprobe.d/blacklist.conf

2. In console mode send the output of "networkctl" and "ip addr show" 

 

 

 

Link to comment
13 minutes ago, seatrope said:

Could well be the blacklisting. @luisma @AnotherSpin @hifi25nl thanks so much for the tips.

 

I'll go back to a vanilla install and see if it works.

 

How much RAM do you guys have on the NAA machine? I have only 4GB, wonder if enough for NAA (it is enough for roonbridge for sure).

 

I use HQP desktop 3.25 not the embedded version.

 

@luisma I had a multihomed setup for a while, Miska yelled at me for that. It was too much trouble so i quit using that and went back to waiting for EtherRegen lol.

I have 4 GB on mine, Miska yelled at me too but reality is multihomed with AL works and lately Miska's NAA image was giving me issues, his image is great but cannot be change

Link to comment

 

13 minutes ago, seatrope said:

 

True, but Piero had OK'd 4GB of ram for headless Roonbridge with Ramroot... this could be an issue with NAA i guess.

 

@hifi25nl Piero, do you know if 4GB ram is enough for NAA, with ramroot, using AL headless? 

 

It is enough 4 GB, send me the output of the commands I sent you before

 

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

Still struggling to get  Audiolinux on the NUC to recognise the directly connected server worked fine with Ubuntu. I can share the internet from the server  but no network? Are there any network tips? 

Piero has been helping, he is on holiday at the moment, so dont want to pester him too much. 

You running multihomed? wireless to the internet and then network to an NAA? sorry not much info, I am running that config I just mentioned 

Link to comment
22 hours ago, Gavin1977 said:

cat /proc/asound/cards

Hi Gavin, this specific file is empty in my case

cat /proc/asound/cards

[root@alsvr audiolinux]# cat /proc/asound/cards
--- no soundcards ---

 

Maybe has been moved to alternate path need to look

 

Link to comment
  • 3 months later...

I'm having a weird issue with the latest version, downloaded today 2.1.1 and updating the menu is fine however updating the system I'm getting errors (see below) so the process ends but when I do an update again it starts again and fails.

 

There is space on the disk

[root@audiolinux audiolinux]# df -H
Filesystem      Size  Used Avail Use% Mounted on
dev             2.1G     0  2.1G   0% /dev
run             2.1G  730k  2.1G   1% /run
/dev/sdb2        15G  2.4G   12G  17% /
tmpfs           2.1G     0  2.1G   0% /dev/shm
tmpfs           2.1G     0  2.1G   0% /sys/fs/cgroup
tmpfs           2.1G     0  2.1G   0% /tmp
/dev/sdb1       511M   50M  462M  10% /boot
tmpfs           402M     0  402M   0% /run/user/1000

 

So I don't know if it fails because the packages are not available for some temporary problem or something else

 

@hifi25nl can you please take a look Piero?

 

libxml2-2.9.9-6-...  1270.8 KiB  9.47 MiB/s 00:00 [######################] 100%
error: failed retrieving file 'intel-ucode-20191115-1-any.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'intel-ucode-20191115-1-any.pkg.tar.xz' from mirror.rackspace.com : The requested URL returned error: 404
error: failed retrieving file 'intel-ucode-20191115-1-any.pkg.tar.xz' from mirror.rackspace.com : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'talloc-2.2.0-3-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'talloc-2.2.0-3-x86_64.pkg.tar.xz' from mirror.rackspace.com : The requested URL returned error: 404
error: failed retrieving file 'talloc-2.2.0-3-x86_64.pkg.tar.xz' from mirror.rackspace.com : The requested URL returned error: 404
warning: failed to retrieve some files
 tevent-1:0.9.39-...    48.8 KiB  9.53 MiB/s 00:00 [######################] 100%

 

 

Link to comment
  • 1 year later...
On 2/2/2021 at 6:57 AM, glitchesbrew said:

My impression was that a great linear PSU paired with a wisely tweaked NUC7 was sort of state of the art. Now I'm curious :)

Like dctom stated every system is different,
I started with the high powered nuc powered by an LPs 12V, then added an endpoint (Allo bridge) powered also by the LPS (7V) there was an improvement, Allo stopped supporting some DACs on their old kernel so replaced the endpoint by a Celeron Nuc (12 V) sounded subjectively like the Allo, maybe not as good, replaced the whole system by a single high powered computer and sounded like the Allo maybe a little better, this PC without the LPS but the HDplex Atx power supply so that's what I'm running now, I think the USB shielding quality on a good motherboard surpasses the USB on the Nuc and IMO that makes more of a difference, I was planning to power the PC with an SR7DR but still waiting on that.

Let me say this, in my system and IMO the change I made that makes most of a difference keeping of course speakers Dac and Amp the same, it is HQPlayer, that have made more difference than power supplies and nucs, with the high powered computer I have access to "better" resampling. YMMV

 

 

Link to comment
  • 1 month later...

Hi Piero:

Have you experienced (or someone) that after configuring and getting ready AL 2.9, enabling RAMROOT, booting successfully, all the sudden you cannot longer boot from the USB flash drive, if I mount /dev/sdb2 on some other Linux box it shows the contents as normal but if I mount /dev/sdb1 there is nothing there, it just stopped booting, I can of course redo the install but don't want to fail again, could it be related to the RAMROOT config? just curious

 

Link to comment

I'll send you the fdisk output from the other system, there is no boot at all, just that the device is not bootable, I am using UEFI of course, and it worked initially even after enabling ramroot but just suddenly went into that, I just build another system but would like to troubleshoot the failing one

 

Link to comment
5 hours ago, hifi25nl said:

If you have the same output as above

Disk /dev/sdb: 57.3 GiB, 61530439680 bytes, 120176640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 524A1828-2002-4187-B469-3E7A2DE53ED0

Device       Start       End   Sectors  Size Type
/dev/sdb1     2048   1001471    999424  488M EFI System
/dev/sdb2  1001472 120174591 119173120 56.8G Linux filesystem

 

 

Same output but like I said there is no boot error or message, just no boot at all

Link to comment

Piero for prioritizing the enp1s0 adapter before the file to be edited was rtirq.conf adding the adapter on the RTIRQ_NAME_LIST, is this still the case?

or should the rtnet.conf file be used adding INTERFACE="enp1s0"

 

RTIRQ_NON_THREADED has "rtc snd" this basically instructs these processes to use all cores but not threads or does it limit the rtc and snd apps to be single core?

Link to comment
8 minutes ago, hifi25nl said:

Piero I was able to boot initially, update menu, update kernel, update system, then customize a few things like realtime processes and such, then ramroot, after ramroot I was able to boot, did a clean up, saved the system and then I wasn't able to boot anymore, I think you are assuming I cannot boot the image, of course I could, it is just after that for no apparent reason the system stopped booting

 

12 minutes ago, hifi25nl said:

Now there is the option 1 "REALTIME MANUAL ASSIGNMENT configuration" in Expert menu where you can set priority without manually edit the files that are

/etc/rtirq.conf

/etc/rtnet.conf

/etc/rtapp/rtapp.conf

Thank you for the detailed explanation, now I get it ...

 

Link to comment
27 minutes ago, hifi25nl said:

You should check the content of mkinitcpio.conf as suggested

1. Update Menu

2. Update to later RT 5.11 kernel

3. Update system

4. I have COMPRESSION="gzip"

 

That was not the issue something else was, if you are interested I still have the USB flash and it is accessible, but I'm already running another install so I'm fine

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