Dietpi running roon server for AMD64 dietpi builds

(Mr Fix It ) #1

@Dan_Knight I see here that you added Roon Server to the DietPi installs!

I guess this could be used as a roon/tidal cheap interface but realistically one would not want a large library or audio assessment should be turned off.

Is anyone running this currently here - care to comment on the performance?

Will it run better on the Sparkey with the LAN/Ethernet performance being better?

(Geoff Coupe) #2

We’ve been here before, and it’s not really what you think it is…

(Mr Fix It ) #3

Oh yes…its all coming back to me now…X86 only…as you were guys’n’gals

1 Like
(Dan Knight) #4

Hi,

Oh yes…its all coming back to me now…X86 only…as you were guys’n’gals

Yep, Roon Server is only available for x86 systems at this time, as we lack ARM binaries:
https://roonlabs.com/downloads.html

I’ve only quickly tested it on x86_64 native PC during implementation into DietPi, not personally had a chance to really test its performance yet :slight_smile:

(Mr Fix It ) #5

I’m thinking to try this…just to see if there is a basic Linux build minimalist enough to run server other than ROCK on a MOCK

(Mr Fix It ) #6

@Dan_Knight So far so good… removed my MOCK install and loaded in a 750GB HDD for now just to test … system is an MSI H110 Pro AC i5-6500 8GB Ram

Based on Native PC for BIOS/CSM (BETA) Installed Debian AMD64 and ran it up then followed this page

Installed no issues (without wifi) and updated dietpi then installed Roon Server.

restoring a database now … but slow… but its a 150K tracks setup

Fingers X this could be a viable setup… time will tell…and so it has… pushing DSP Upsampled to DSD512

57 AM

(Mr Fix It ) #7

Ok well maybe the DSD512 was a bit of a stretch…it did run for a few mins…but seems MUCH happier without it. Ill keep testing - but its working at least with 150,000 tracks library… seems its scanning so that could be the cause… using all 4 cores…so throttling that back to 2 and will see how it recovers after its done

All in all pretty happy tho so far

(Rene Bouwmeester) #8

DSD512 should be fine on that system.

I’ve been running Debian on a NUC6i5 every since the first traces of Roon Server for Linux. It has been fast en rock solid ever since.

Last month I’ve been playing DSD512 exclusively to a Pre Box S2 for about a week. I came away unimpressed (and have since sold on the S2), but the NUC ran absolutely flawless at 1.4x speed.

Since the Passmark score of your i5 is about 1.65x higher than mine, I guess you will be fine once Roon is done restoring and scanning.

(Mr Fix It ) #9

Hi Rene…Its done scanning the tracks…but now it has some audio analysis going on with 4 cores flat out…once all that has settled down I think the DSD will be back to operable again.

I’m running this a small experiment to see just how light one can get linux without too much effort for anyone with little or no linux tuning capability.

I must say aside from the wifi drivers being flagged as not free…its been a doddle to install.

I rather would have this on a non wifi equipped mobo but its what I had to hand… its was running ROCK (as a MOCK) with no issues.

The only thing that would probably help right now as I removed the SSD that had ROCK on it…is instead of the 750GB HDD is to drop a small M.2 2240/60/80 PCIe card and run it up off that… so once I am happy… and the shops are open again (Chinese New year here) I will go and get one and see if I can’t make it run a bit snappier in the searches…its not too shabby right now tho. :smiley:

(Mr Fix It ) #10

@Dan_Knight had a power outage and when I powered up the Roon Server with DietPi AMD64 I had to do a full setup - like it lost the database … sign in to roon and tidal and no music store location… any thoughts? Roon Build is V1.4.310

It did seem to remember the Roon backups folder location I had internally setup in the Root folder.

(Dan Knight) #11

Hi,

The only thing I can think of is, in terms of DietPi’s end:

  • DietPi has a RAMdisk for all its settings and configurations. If the system is hard rebooted, the RAMdisk does not save to disk, resulting in the next boot reverting back to a previous state.

However, once the software is installed, DietPi will reboot the system. So any changes made during dietpi-software installs, should not be affected.

It may be that the Roon Server application did not save the database/settings correctly, maybe it also loads into RAM and saves on process termination, however, unsure, would need a Roon dev to verify.

Either way, just verify the Roon Server service:

cat /etc/systemd/system/roonserver.service

Matches:

[Unit]
Description=Roon Server
After=network.target

[Service]
Type=simple
User=root
Environment=ROON_DATAROOT=/mnt/dietpi_userdata/roonserver
ExecStart=/mnt/dietpi_userdata/roonserver/start.sh

[Install]
WantedBy=multi-user.target

Aside from the service above and setting up the data locations, I believe the location must be manually setup in Roon Server during initial run.

(Mr Fix It ) #12

Its as you posted exactly when I cat /etc/systemd/system/roonserver.service

Also I see the structure here

root@DietPi:/mnt/dietpi_userdata/roonserver# ls -la
total 52
drwxrwxr-x 8 dietpi dietpi  4096 Apr  2 07:38 .
drwxrwxr-x 7 dietpi dietpi  4096 Mar  3 09:48 ..
drwxr-xr-x 2 roon   roon   12288 Mar 27 04:42 Appliance
-rwxr-xr-x 1 roon   roon    2376 Mar 27 04:42 check.sh
drwxr-xr-x 4 root   root    4096 Apr  2 07:38 RAATServer
drwxr-xr-x 3 root   root    4096 Apr  2 07:38 RoonGoer
drwxr-xr-x 5 roon   roon    4096 Mar 27 04:42 RoonMono
drwxr-xr-x 7 root   root    4096 Apr 24 09:13 RoonServer
drwxr-xr-x 2 roon   roon    4096 Mar 27 04:42 Server
-rwxr-xr-x 1 roon   roon    1311 Mar 27 04:42 start.sh
-rw-r--r-- 1 roon   roon      39 Mar 27 04:42 VERSION
root@DietPi:/mnt/dietpi_userdata/roonserver# 

So maybe something messed up… Ill try a graceful shutdown and restart and see if that still has issues