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

BTW, this one's a bit arcane, but Piero tells me it will be delivered in a "monitor menu" that he'll hopefully deliver in 0.6.

 

Say you booted your NUC a few days ago - but can't remember if it was in Extreme mode? How can you tell at runtime?

 

Per Piero:

you can type
cat /proc/cmdline
If you have booted in Extreme mode you will see these parameters:
intel_idle.max_cstate=0 processor.max_cstate=1 idle=poll
Link to comment

What's playing here:

 

 initrd=\intel-ucode.img initrd=\initramfs-linux-rt-bfq.img root=PARTUUID=166ad16d-098d-4453-ab07-7c5255b4d451 rw quiet intel_idle.max_cstate=0 processor.max_cstate=1 idle=poll intel_pstate=enable efi=runtime

 

SQ is outstanding across the spectrum. Bass is tight, in a punch in the gut way.

Pareto Audio aka nuckleheadaudio

Link to comment
23 minutes ago, lmitche said:

Well I just took a new NUC7PJYH out of the box, put it in a fanless case, added the wireless antenna, setup the bios, boot and device disablement without touching any of the power settings, hooked up a lps1.2, booted into extreme mode and let it rip.

 

It sounds outstanding. I can't keep from moving my feet.

Music to my ears

Link to comment

I have up until now been using an nuc7i7bnh as a combined server and endpoint.

 

Today I tried it as an endpoint using my macbook pro as a server (knowing that it isn't highly regarded as an AL server but hey, in lieu of anything better suited to the task I tried it any way). 

 

Well... The sound quality was much better than the nuci7bnh on its own. Crazy. 

 

Conclusion I need a second nuc. 

 

I'm edging towards a nuc7pjyh with a fanless case powered by a Paul Hynes SR4 (which I should receive before the end of the year) but I'd just like to know whether or not my i7 nuc, which has a tdp rating of 28, could be powered by the SR4 (2a/20a transient) 

 

In 'endpoint' mode the cpu usage is only about 3/4% and aside from one stick of 8gb ram there nothing else connected to it. 

 

If it can it opens up the option of a much more powerful server. 

Link to comment
18 minutes ago, rettib2001 said:

Conclusion I need a second nuc.

What music software are you running ... HQPlayer, Roon, etc?

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

What music software are you running ... HQPlayer, Roon, etc?

Should have mention that, sloppy on my part. 

 

Using Roon, upsampling Tidal to dsd512 as its what my Dac responds best to. I also use convolution via roon's dsp settings. 

 

When I monitor cpu usage on the i7nuc, roon Bridge total cpu usage is around 3%. 

 

 

Link to comment
54 minutes ago, rettib2001 said:

I have up until now been using an nuc7i7bnh as a combined server and endpoint.

 

Today I tried it as an endpoint using my macbook pro as a server (knowing that it isn't highly regarded as an AL server but hey, in lieu of anything better suited to the task I tried it any way). 

 

Well... The sound quality was much better than the nuci7bnh on its own. Crazy. 

 

Conclusion I need a second nuc. 

 

I'm edging towards a nuc7pjyh with a fanless case powered by a Paul Hynes SR4 (which I should receive before the end of the year) but I'd just like to know whether or not my i7 nuc, which has a tdp rating of 28, could be powered by the SR4 (2a/20a transient) 

 

In 'endpoint' mode the cpu usage is only about 3/4% and aside from one stick of 8gb ram there nothing else connected to it. 

 

If it can it opens up the option of a much more powerful server. 

May I suggest you try running your Mac as endpoint with the NUC as server? Then share which way you liked better.

Regards,

Dave

 

Audio system

Link to comment
2 minutes ago, davide256 said:

You may be disappointed... I am skeptical the NUC can match your Mac for endpoint hardware quality as Mac's have a good track record for USB to DAC SQ. 

The Mac isn't going to be used an an endpoint, or a server for that matter I was just testing the benefits of a two-point AL configuration.

 

My subjective conclusion is that the Audiolinux endpoint/server combination is a winning formula. 

 

My question is: Can 'in theory' a Paul Hynes SR4 power a 28twp rated i7nuc that is only using 5% cpu across it's two cores. 

 

I know the obvious answer is 'just try it' but I won't have it for a number of weeks and I would like to buy a second nuc (for several reasons) before then. 

 

If the above power supply can't power the i7 nuc then I'll get a low power nuc as an en point and use the i7 as a server. 

 

If it can, I'll use the i7 as an endpoint be faced with the exciting task of finding a suitable/powerful server. 

Link to comment
57 minutes ago, rettib2001 said:

The Mac isn't going to be used an an endpoint, or a server for that matter I was just testing the benefits of a two-point AL configuration.

 

My subjective conclusion is that the Audiolinux endpoint/server combination is a winning formula. 

 

My question is: Can 'in theory' a Paul Hynes SR4 power a 28twp rated i7nuc that is only using 5% cpu across it's two cores. 

 

I know the obvious answer is 'just try it' but I won't have it for a number of weeks and I would like to buy a second nuc (for several reasons) before then. 

 

If the above power supply can't power the i7 nuc then I'll get a low power nuc as an en point and use the i7 as a server. 

 

If it can, I'll use the i7 as an endpoint I'll be faced with the exciting task of finding a suitable/powerful server. 

 

Link to comment
5 hours ago, lmitche said:

What's playing here:

 

 initrd=\intel-ucode.img initrd=\initramfs-linux-rt-bfq.img root=PARTUUID=166ad16d-098d-4453-ab07-7c5255b4d451 rw quiet intel_idle.max_cstate=0 processor.max_cstate=1 idle=poll intel_pstate=enable efi=runtime

 

SQ is outstanding across the spectrum. Bass is tight, in a punch in the gut way.

 

I get the exact same output here from that command though there’s a audit=0 at the end here as well (running 0.6).

Link to comment
What is the proper way to update my system to 0.6 while preserving all customizations? I did this - downloaded the 3 files below:

-rwxr-xr-x 1 audiolinux users 70295236 Dec  6 17:32 linux-rt-bfq-4.19.1.3-2-x86_64.pkg.tar.xz

-rwxr-xr-x 1 audiolinux users 16020220 Dec  6 17:33 linux-rt-bfq-docs-4.19.1.3-2-x86_64.pkg.tar.xz

-rwxr-xr-x 1 audiolinux users 18297092 Dec  6 17:33 linux-rt-bfq-headers-4.19.1.3-2-x86_64.pkg.tar.xz

 
I then ran 
 
pacman -U linux-rt-bfq-4.19.1.3-2-x86_64.pkg.tar.xz linux-rt-bfq-headers-4.19.1.3-2-x86_64.pkg.tar.xz linux-rt-bfq-docs-4.19.1.3-2-x86_64.pkg.tar.xz 
 
I rebooted, but when I login, I still see 0.5 on the login screen. And, if I type alconf I still get the old menu. 
 
Finally, what is the command for the new monitor menu?
 
All of this is on headless.
Link to comment
19 hours ago, clipper said:

Before you give up on it, try it with Intel SpeedStep off.

 

I was much more impressed once it was running with SpeedStep off. 

 

@clipper How do you turn off SpeedStep? I cannot seem to find it in my bios. Maybe it's called something else? I have the NUC8i7BEH

Intel NUC NUC8i7BEH Roon Server running Audio Linux in RAM -> Sonore UltraRendu (Roon Endpoint) -> Uptone ISO Regen -> Singxer SU-1 KTE -> Holo Audio Spring Level 3 DAC -> Nord One UP Monoblocks -> Spendor LS3/5as | Music controlled via iPad (Power Conditioning: Audience adeptResponse aR12).  Twitter: @hirezaudio

Link to comment
16 minutes ago, austinpop said:
What is the proper way to update my system to 0.6 while preserving all customizations? I did this - downloaded the 3 files below:

-rwxr-xr-x 1 audiolinux users 70295236 Dec  6 17:32 linux-rt-bfq-4.19.1.3-2-x86_64.pkg.tar.xz

-rwxr-xr-x 1 audiolinux users 16020220 Dec  6 17:33 linux-rt-bfq-docs-4.19.1.3-2-x86_64.pkg.tar.xz

-rwxr-xr-x 1 audiolinux users 18297092 Dec  6 17:33 linux-rt-bfq-headers-4.19.1.3-2-x86_64.pkg.tar.xz

 
I then ran 
 
pacman -U linux-rt-bfq-4.19.1.3-2-x86_64.pkg.tar.xz linux-rt-bfq-headers-4.19.1.3-2-x86_64.pkg.tar.xz linux-rt-bfq-docs-4.19.1.3-2-x86_64.pkg.tar.xz 
 
I rebooted, but when I login, I still see 0.5 on the login screen. And, if I type alconf I still get the old menu. 
 
Finally, what is the command for the new monitor menu?
 
All of this is on headless.

Download a new image and reapply your settings. There is no persistence for the alconf settings although some will be correctly set by default. You may need to re-add any custom scripts as well. I built a checklist. No big deal if you know what you are doing. It gets easier with every release.

Pareto Audio aka nuckleheadaudio

Link to comment
10 minutes ago, lmitche said:

Download a new image and reapply your settings. There is no persistence for the alconf settings although some will be correctly set by default. You may need to re-add any custom scripts as well. I built a checklist. No big deal if you know what you are doing. It gets easier with every release.

 

7 minutes ago, LTG2010 said:

That's just to update the Kernel (engine) not the whole OS. I'm still on 0.3 :)

 

OK thanks guys. Piero confirmed the same.

 

BTW - I don't have Intel Speedstep in my NUC7i7DNBE BIOS at all. I am guessing it's only applicable to Pentium, not Core i7?

Link to comment

Hi,

 

I'm going to complete the Network Bridge Walk-through in a few days.  Just need to double check that it works.  Before this, the novice CAers may want to consider the following:

 

1. Do you need a Network Bridge?

If you're using a star topology, that is everything connected to a router (or switch), there is no need to use the Network bridge.

 

image.thumb.png.d00005b6ddb187654c01dc70db975dae.png

2. What is a Network Bridge.

image.thumb.png.bdd1908ee08152d88d29ab54f4c0ad31.png

A control PC is linked both to the router and the audio PC.

 

* In principle LAN1 can be a WiFi connected to the router as shown in the mother thread "A novel ...".  In practice, my walk-through will handle only the LAN case.

 

Link to comment
11 hours ago, BigAlMc said:

Apologies if I've missed this either here or on the mothership as Rajiv put it ?

 

I have the parts arriving today and tomz to attempt building an AL NUC server over the weekend. Occurred to me when walking into work this morning that there are a couple items I don't have a clue about. [Ok there are many, many items I don't have a clue about ?, but these are specific items].

 

I know how to install and format an SSD in a windows environment where it would detect the new drive and prompt you to take actions from there.

 

Q1. What is the story on AL? Will it recognise the drive and prompt me? Or (gulp!) do I need to use Linux commands to install and format it? And if the latter can anyone point to simple instructions for this?

 

Q2. If I have my music files available on either a Windows laptop or an external USB harddrive, how do I copy them onto the SSD in the AL NUC server. I'm assuming this is definitely Linux commands. Again any guide for this sort of thing would be great.

 

Thanks in advance!

 

Alan

 

 

Did you get an answer? I know how to muddle my way through it using gparted on the command line. I'm guessing there is an easier way to do it with the LXQT version that someone can elaborate.

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