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

17 minutes ago, LTG2010 said:

Did you clone a drive with ramroot already enabled? sounds like it's enabled.

 

If I run "ramroot status" it shows as not enabled. Also the reason I know that it is not enabled is that my when I pulled my USB drive after booting up the endpoint crashed..


"Don't Believe Everything You Think"

System

Link to comment
4 minutes ago, hifi25nl said:

Cloning is different from copying files... you cannot make from "inside" the OS you are cloning and you should use a dd command, since you must copy the files and the partitions.

 

 

I made an ISO file from the USB2 drive and used RUFUS as DD to "clone" that to a new USB3 drive. Is that correct?

 

Sounds like a perfect time to upgrade to headless .6 ?

 


"Don't Believe Everything You Think"

System

Link to comment

The start of my very very basic questions... pre AL

Do i need a network switch for my celeron and I3 NUCs. I hoped it would be just an Ethernet cable between them.

Aiming for local files on I3 only.  No tidal Qubuz ect. 

Bleeding easy over bleeding edge...

My CV lacks: was data manager at Google deep mind....☹

 

Link to comment
11 hours ago, Johnseye said:

the SOtM switch and have it connected to my REF10. I'll post in the other thread soon. 

What's the other thread?

11 hours ago, Johnseye said:

see if the sCLK helps the NUC, something I'm very hesitant on doing 

Why the hesitation?

Link to comment
10 hours ago, Middy said:

The start of my very very basic questions... pre AL

Do i need a network switch for my celeron and I3 NUCs. I hoped it would be just an Ethernet cable between them.

Aiming for local files on I3 only.  No tidal Qubuz ect. 

Bleeding easy over bleeding edge...

My CV lacks: was data manager at Google deep mind....☹

 

Middy,

 

It depends on your configuration and the simplest is the star topology with both the Celeron and the i3 connected to a router.  You may want to check the diagram that I posted before.

 

I'm using HQP (lxqt control PC) to NAA (headless audio PC) and a direct connection could be very unstable.  I tried the config that with only 1 LAN port in each of the computers.  In principle it should work but in practice the links breaks occasionally and regularly.  I'm still trying to solve this problem.  It seems that the problem is from multicast NAA and I stand corrected.

 

If the endpoint(the audio PC) may be referenced by IP address, then you may set up the ip addresses of both of the PCs manually and correctly.  It should work.

 

Given that switches does not necessarily provide DHCP, connect both PC to a switch without the switch connected to a DHCP server (say a router, which usually provides DHCP) may give you trouble.

 

Buy a cheap router, say $15 (WiFi no need) and use the star topology may be the simplest way to go.  Even better is to ask friends for old routers that are collecting dust to save the $15?

 

Link to comment

Thanks Leo, ive been reading the complications of connection especially people buying expensive aquavox box's and additional power supplies to avoid more noise in the chain.

With people holding out for Uptones ether regen. tm

I hoped 1 Audioquest pearl 1m ethernet cable would connect both. Cheap and simple as i dont require an internet connection for streaming .

Just load my PCM flacs onto a usb and copy them to the 'NUC server i3'  Wifi looks very complicated as does most of this.

Very clever knowledgeable people are doing good work.

I want roon on 2 boxes.

Al running on both hopefully in RAM

A simple request when writing but the fear of God in me.

Plus i want to be as near as possible completed before troubling our Italian AL expert. 

A cheap router suggestion would be welcome as i think i can manage to plug it in...?

I do really know nothing and need baby steps. So i am asking the basics, think grand mother than grand master..

 

 

Link to comment

Thanks Leo, ive been reading the complications of connection especially people buying expensive aquavox box's and additional power supplies to avoid more noise in the chain.

With people holding out for Uptones ether regen. tm

I hoped 1 Audioquest pearl 1m ethernet cable would connect both. Cheap and simple as i dont require an internet connection for streaming .

Just load my PCM flacs onto a usb and copy them to the 'NUC server i3'  Wifi looks very complicated as does most of this.

Very clever knowledgeable people are doing good work.

I want roon on 2 boxes.

Al running on both hopefully in RAM

A simple request when writing but the fear of God in me.

Plus i want to be as near as possible completed before troubling our Italian AL expert. 

A cheap router suggestion would be welcome as i think i can manage to plug it in...?

I do really know nothing and need baby steps. So i am asking the basics, think grand mother than grand master..

 

 

Link to comment
17 hours ago, Johnseye said:

 

I just asked Ghent to make me a JSSG360 Jager to 2.5mm cable.  A little cheaper and faster than from Paul.

Hi John,  don't count on it being too much faster, I ordered a couple cables 11/1 and I still don't have it.  China mail super slow, and at least here, Chicago mail service is terribly slow too.  It's been in Chicago since 12/11.   Just a heads up ;)

Ryzen 7 2700 PC Server, NUC7CJYH w. 4G Apacer RAM as Renderer/LPS 1.2 - IsoRegen/LPS-1/.2 - Singxer SU-1/LPS1.2 - Holo Spring Level 3 DAC - LTA MicroZOTL MZ2 - Modwright KWA 150 Signature Amp - Tidal Audio Piano's.  

.

Link to comment
4 hours ago, greenleo said:

What's the other thread?

Why the hesitation?

 

The Novel Way thread.  Where our testing results get shared.  This one is specific to AL and NUC tuning.

 

First because it's a lot of cost for potentially little gain.  I would have to buy the SOtM switch which I have on loan, then use the clock taps from it for the NUC.  The entire effort would be in the $2500 range.  I already have a very good TLS switch and what I will share in the other thread is that while there's a difference it's small.

 

Second because I really like what I hear from the NUC and AL now.  Maybe the clocks on the NUC are very good and that's part of the equation, we don't know yet.  If I tap in new clocks from the sCLK I introduce cabling between the switch and NUC.  That has the potential to change the sound.  I could also buy a separate sCLK for the NUC itself just to make the cabling a little bit shorter.  That is an even higher cost.

Link to comment
6 minutes ago, Forehaven said:

Hi John,  don't count on it being too much faster, I ordered a couple cables 11/1 and I still don't have it.  China mail super slow, and at least here, Chicago mail service is terribly slow too.  It's been in Chicago since 12/11.   Just a heads up ;)

 

Yea I know.  This trade war has had a direct impact.  Customs holds up shipments much longer than in the past.  I recently got some JSSG360 ethernet cables from Ghent and it took about 3 weeks with expedited shipping.

 

Still, even a 4 week wait is still much shorter than anything from Hynes.  Maybe cables take less time from him.

Link to comment
13 hours ago, Middy said:

Thanks Leo, ive been reading the complications of connection especially people buying expensive aquavox box's and additional power supplies to avoid more noise in the chain.

With people holding out for Uptones ether regen. tm

I hoped 1 Audioquest pearl 1m ethernet cable would connect both. Cheap and simple as i dont require an internet connection for streaming .

Just load my PCM flacs onto a usb and copy them to the 'NUC server i3'  Wifi looks very complicated as does most of this.

Very clever knowledgeable people are doing good work.

I want roon on 2 boxes.

Al running on both hopefully in RAM

A simple request when writing but the fear of God in me.

Plus i want to be as near as possible completed before troubling our Italian AL expert. 

A cheap router suggestion would be welcome as i think i can manage to plug it in...?

I do really know nothing and need baby steps. So i am asking the basics, think grand mother than grand master..

 

 

Hi Middy,

 

As stated in my post before, without knowing what software/system that you'll be using, no further concrete help may be provided because that is software and then hardware settings specific.

 

For the physical network connection, just buy a cheap router that provides DHCP (I guess now all routers do), connect your PCs to the LAN ports of the router will do.  The rest depends on your software.

 

For examples,

HQP need not internet to play local files.  Hence the above network configuration should work.  Hence the WAN port of the router may left open.

 

For ROON (up to my knowledge) Internet is needed.  Hence the WAN port of the router should connect to the Internet.  And the details depends on the hardware of your home, usually a router is connected, through the WAN port, to a modem provided by your ISP.

 

Hope this helps.

Link to comment
8 hours ago, Dutch said:

absolutely, it uses less than 2GB of memory in that config

@rettib2001, I

 

I concur with Dutch that 4GB works and 2 GB would be enough currently.  But 4GB RAM should be used in case the size of the headless is increasing in future or the user wants to add further to his/her own headless AL.

 

Link to comment

I recently ended up with a flash drive that wouldn't boot because of a filesystem inconsistency that luckily got fixed with fsck.

I think maintaining AL on a flash drive is tempting fate.  Obviously, you always need a backup copy.

 

So, I'd like to put a bootable image on a hard drive or SSD on another machine and do my maintenance there.  When I'm happy with the changes/updates I would copy the image to a flash drive to use on my NUC.

 

Can someone explain how to do this?

 

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

Bit of an update and new question from my server endeavours.

 

I tried to follow @austinpop "live dangerously" instructions in the headless command line. But despite putting on my Big Boy pants to do so, I failed.

 

Then using @LTG2010 recommendation of creating an Ubuntu boot drive and using Try rather than Install I was able to use GParted to format the SSD. [Much easier for any other noobs pondering the same].

 

Bingo! Now was able to use the remainder of Rajivs instructions to mount the drive and set it to automount. That Nano thing was a bit of a learning curve tho ?

 

Now using Ubuntu to copy the music onto the SSD (having failed miserably in the command line!). Even had to teach myself Chmod commands in order to change the permissions on the SSD folder to allow me to write to it. Is there no stopping me! 

 

Well it turns out yes there is. I'm hitting a problem that I'm sure Larry posted about but I cannot find that post. Think it's on the mothership but can't find it for the life of me.

 

Whenever I connect the LAN cable to the NUC server then the music playing on the NUC endpoint (via my Zenith as server) starts skipping through the playlist and nothing will play. I need to remove the LAN cable from the NUC server and do a power cycle on the endpoint to restore normal service.

 

@lmitche I recall a post of yours saying that you and Peiro had a similar conflict and found out the cause was the server and endpoint sharing the same Roon ID?

 

Is that right or has my audiophile NUC mania got me dreaming up issues and posts?

 

If I didn't imagine it then can you either point me at the post or advise how I go about changing one of the devices to avoid the conflict?

 

Many Thanks,

Alan

 

PS Thanks again to all for the advice that's helped this dummy get this far!

 

Synergistic Research Powercell UEF SE > Sonore OpticalModule (LPS-1.2 & DXP-1A5DSC) > EtherRegen (SR4T & DXP-1A5DSC) > (Sablon 2020 LAN) Innuos PhoenixNet > Muon Streaming System > Grimm Audio MU1 server > (Sablon AES) Mola Mola Tambaqui DAC > PS Audio M1200 monoblocks > Salk Sound Supercharged Songtowers

Link to comment
31 minutes ago, BigAlMc said:

Bit of an update and new question from my server endeavours.

 

I tried to follow @austinpop "live dangerously" instructions in the headless command line. But despite putting on my Big Boy pants to do so, I failed.

 

Then using @LTG2010 recommendation of creating an Ubuntu boot drive and using Try rather than Install I was able to use GParted to format the SSD. [Much easier for any other noobs pondering the same].

 

Bingo! Now was able to use the remainder of Rajivs instructions to mount the drive and set it to automount. That Nano thing was a bit of a learning curve tho ?

 

Now using Ubuntu to copy the music onto the SSD (having failed miserably in the command line!). Even had to teach myself Chmod commands in order to change the permissions on the SSD folder to allow me to write to it. Is there no stopping me! 

 

Well it turns out yes there is. I'm hitting a problem that I'm sure Larry posted about but I cannot find that post. Think it's on the mothership but can't find it for the life of me.

 

Whenever I connect the LAN cable to the NUC server then the music playing on the NUC endpoint (via my Zenith as server) starts skipping through the playlist and nothing will play. I need to remove the LAN cable from the NUC server and do a power cycle on the endpoint to restore normal service.

 

@lmitche I recall a post of yours saying that you and Peiro had a similar conflict and found out the cause was the server and endpoint sharing the same Roon ID?

 

Is that right or has my audiophile NUC mania got me dreaming up issues and posts?

 

If I didn't imagine it then can you either point me at the post or advise how I go about changing one of the devices to avoid the conflict?

 

Many Thanks,

Alan

 

PS Thanks again to all for the advice that's helped this dummy get this far!

 

"RoonBridge generates and writes out a unique id into its data directory on first run and uses that to identify itself to RoonServer. Clear out /var/roon on the second device (or hunt down and delete the RAATServer/Settings/unique_id file) and it will generate itself a new one next time it starts up."

 

I deleted /var/roon/RAATServer/Settings/unique_id and rebooted. I had to log in as root." 

 

This is a quote from the novel way thread. I used the "rm" command to delete the roon id file. But I don't know if that is the answer to your problem or not... But it solved my issue with my roon endpoint not recognised when using headless on server and endpoint 

Link to comment
28 minutes ago, Bricki said:

"RoonBridge generates and writes out a unique id into its data directory on first run and uses that to identify itself to RoonServer. Clear out /var/roon on the second device (or hunt down and delete the RAATServer/Settings/unique_id file) and it will generate itself a new one next time it starts up."

 

I deleted /var/roon/RAATServer/Settings/unique_id and rebooted. I had to log in as root." 

 

This is a quote from the novel way thread. I used the "rm" command to delete the roon id file. But I don't know if that is the answer to your problem or not... But it solved my issue with my roon endpoint not recognised when using headless on server and endpoint 

 

Thanks Bricki,

 

I guess I'll start by checking the unique_id are the same before I risk messing around with them.

 

Cheers,

Alan

Synergistic Research Powercell UEF SE > Sonore OpticalModule (LPS-1.2 & DXP-1A5DSC) > EtherRegen (SR4T & DXP-1A5DSC) > (Sablon 2020 LAN) Innuos PhoenixNet > Muon Streaming System > Grimm Audio MU1 server > (Sablon AES) Mola Mola Tambaqui DAC > PS Audio M1200 monoblocks > Salk Sound Supercharged Songtowers

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