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

2 hours ago, mourip said:

 

Reboot with the command:
sudo reboot

 

I now have a Word document with all of the commands and tips from Piero's web site and the two threads here on CA. Very useful.
 

Thanks.

Now I could hear how my NUC7CJYH with ramboot enabled.

Wow...

Thanks to Roy, Larry, Piero and everyone Else here for all their hard work ?

 

I am using my Nuc as a Streamer for Tidal with MPD and UPnP enabled and installed with an Android Phone with Bubble UPnP App.

 

I ned another NUC for Roon core.

 

Cheers Monge

 

 

Link to comment

I have a Strange thing going on here with my NUC7CJYH with 2x4GB ram running AL Headless 0.6 with Ramboot Enabled (rebooted) with enabled MPD and UPnP services and installed.

I start the Bubble App and choose a playlist In Tidal and start playing. Then I pull the   

AL USB stick and the music keep playing but the startnumber on my Android Phone like freeze and I cant change number or playlist. But the music on the playlist keep playing. Only that I can not do anything to control it.

 

Cheers

Link to comment
  • 2 weeks later...

I just got a NUC7PJYH delivered. My plan is to run Roon Server with AL on the NUC7PJYH and Roon bridge Al on my NUC7CJYH.

But forgive me ny newbie questions about Roon.

I have never tried Roon before.

Q1: I Think I need 16GB ram?

Q2: Do I need a SSD disk for the NUC7PJYH for the install of Roon Server or can I run Roon core on the AL USB disk/ramboot?

Q3: I am going to stream Tidal Hi-Fi mainly and for that should I use Roon Remote or Ipeng on an IPAD?

Thanks.

Link to comment

@hifi25nl Audiolinux 0.7 with new improved menu. 

Thanks for the Update ? Lots of goodies. It’s very, very nice. It very easy to install Squeezerlite R2, Squeezerlite, LMS, MPD and Upmpdcli from the menu. Also I like the Status menu a lot.

First I forgot to type “menu” instead of alconf.

It’s nice that you Can login via browser. I logged In via Safari with http://ipaddress:8500

There are a lot to like In AL 0.7

Thanks a lot for your hard work.

Cheers Monge

Link to comment

@mozes I’m sure you have enabled the services after install.

Did you leave onboard Audio unchecked or checked In bios? Try leaving it checked.

In AL 0.7 you have the status undermenu where you Can check Audiocard etc.

I use the USB port(upper) on the back of my CJYH

You Can also try to poweroff your NUC and your audiogear. Then power on DAC, Pre and poweramp. Last you power on your NUC.

 

 

 

Link to comment
22 hours ago, lmitche said:

Unless I missed something, there is no reason to check the audio box with a usb DAC or DDC.

My mistake. Sorry. 

I just tried to leave the Onboard Audio unchecked In BIOS and running AL 0.7 it works like a charm.

It tried it a couple of times In earlier Al versions and I could not get it to work.

Thanks for correcting me and have a Merry Christmas.

Link to comment

On CJYH

I tried to disable USB ports 4,5 and 6. So I think the blue port on front is number 4 course I could’nt use my wireless keyboard (connectet at blue port at front) after reboot.

So I think the USB ports on the rear is 1 and 2 and the front USB ports is 3 Yellow and 4 blue.

Also I have the option to set USB ports In the BIOS to “no detect”.

Link to comment

I’m trying to stream Tidal with IPeng App to my CJYH diskless with Squeezelite+LMS on this machine only.

I have installed LMS and Squeezelite and started the services and rebooted.

But then I open Ipeng on my IPAD and click PlayerName I see audiolinux for a short while and then it disappear and it says “No Players and Music Sources (Servers) found. 

I did register ny IPAD on mysqueezebox.com and added Tidal app and some radiostations here.

Do I need to add a plugin on AL headless (0.8) and how?

I have the Ipeng app, but do I need to buy Ipeng UE also?

 

Link to comment
35 minutes ago, austinpop said:

 

Did you configure squeezelite by:

  • running squeezelite -l to identify the name of the audio device,
  • then, editing the squeezelite.conf file to match that name? 

As far as I know, this is a manual step that needs to be done.

No I did not. Thanks I’ll try that.

Link to comment
  • 1 month later...

I have had a strange experiment with my NUC7PJYH running SqueezeLite and LMS running on the same NUC running Al headlees 0.99. I Set CPU governor custom 1500000 both min. and max and turbo off. 

Then I set Isolated CPU cores to half, USB=Y and Extreme 2 and rebooted and enabled the SqueezeLite and LMS serviced and hit play In Ipeng app and wow I had newer heard my Music Sound that good. 

I had to change my BOTW P&P Eco to the brick SMPS.

Then I began analyzing and found out that the CPU frequency was 2697..... on all 4 cores and turbo =on.

After 3 hours continiuos play the CPU core temperature was 49-50C.

 

 

Link to comment
46 minutes ago, bobfa said:

There have been some menu changes in AL about CPU isolation.  You might want to check out the menu updates

Thanks :😀

I’ll take a look at it.

The performancee improvement with the CPU at 2697.... or/and with the isolated cpus for Audio was very clear to my ears more 3D and more bass extention.

If I only had a JS-2 powersupply for my NUC.

Thanks to Piero for the development of isolateded CPU for Audio In AL.

Great work

Cheers Monge

 

Link to comment
2 hours ago, austinpop said:

Also, the ability to set custom frequencies, even without isolated cores, seems to be very system and motherboard dependent. I don't know if this is tied to the BIOS implementation. I would try this in a disciplined manner:

  1. First, without isolated cores, with Turbo/SpeedStep turned ON in the BIOS, try custom frequencies
    1. with Turbo OFF, can you set any frequency from base frequency to lower?
    2. with Turbo ON, can you set any frequency between base frequency to peak?
  2. Experiment, and find a frequency that sounds best to you. For many, this is the base frequency. But if you have a really clean PSU, perhaps this will be a frequency HIGHER than base, but LOWER than peak.
  3. Confirm your frequency settings are being honored by monitoring frequency status
  4. Now, turn on isolated cores, reboot etc, then set custom frequency as you found in step 2
  5. Now check frequency status. Is the governor setting being honored?

Hi austinpop,

I haven’t had time to play more with CPU governor settings and isolated CPU cores, for Audio, but I have ordered 2 more 16 GB USB sticks to try out newest AL headlees version.

Thank you very much for your guide. 

But one thing I noticed is, that with higher CPU frequency the bass extention was improoved ( not surpricing).

But I had to change my BOTW P&P Eco course I experienced glitched In the playback

So I had to change to the Brick SMPS for the NUC7PJYH. I need to find the sweet spot.

Cheers Monge

 

Link to comment
1 hour ago, HeeBroG said:

I have my NUC7PJYH running SqueezeLite and LMS on the same NUC running Al Headless.

After much frustration I have managed to run it in Extreme2 and Ramboot mode as suggested.

I understand in Ramboot mode one can remove the USB boot drive for further improvement.

I tried this but LMS freezes and I lose my connection and ability to play via Squeezelite.

I would appreciate some advice please.

You were able to play music before pulling the USB stick?

Did you uncheck Onboard Audio In the BIOS?

You should check the ramroot status In Status menu and show running services In configuration menu.

Also when enabling ramroot you should reboot.

Do you get any error message In your control App?

Link to comment
11 hours ago, Boomboy said:

Thnx @jcn3 there is no side scroll so I pressed down and 2 more options appeared .

Is this the procedure? 

Stop running processes .. isolated 2 cores .. save into ram .. then reboot ? 

 

What does isolate irq threads mean ? Should I say y to that ?

I would start with Realtime Priority set to Extreme.

Then isolate CPU cores to Audio under Configuration Menu:

Half

isolate CPU cores to irq threads  USB=Y if NUC7PHYH is you endpoint

Extreme2

 

Then under Configuration Menu - Save if in ramroot mode.

Reboot

Enable services under Configuration Menu

 Configuration Menu - save if In ramroot mode 

Then check it all In Status menu

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