Getting Roon Bridge to function on Linux (Ubuntu 20.04.1 LTS)

I’m trying to get Roon running remotely on my Linux computer. My core is a NUC ROCK, which works very well serving my Sonore OpticalRendu network player and my Windows 10 computers. My main source of music is Tidal.

I have a second NUC. That NUC is connected by wi-fi to my router/network. Both Windows 10 and Ubuntu 20.04.1 LTS are installed on it. On the Windows side Roon functions as it should. I get great sound on my computer speakers. I would like to have the same experience when I boot into Ubuntu.

I may be confused, but I gather that to make that happen I need to install Roon Bridge on the Linux computer, and that should give me a new zone that represents the computer to play music on. Am I right?

After I used the easy install method to install Roon Bridge on Ubuntu no such zone shows up on any Roon remote (iPhone, iPad, Both Apple and Windows laptops and Windows desktops). The Bridge log in var/roon/RoonBridge/Logs folder shows that it starts up, is stable and updated etc.

01/30 13:06:33 Info: Starting RoonBridge v1.7 (build 571) stable on linuxx64
01/30 13:06:33 Trace: [rnet/RnetJsonServer] Listening on port 39663
01/30 13:06:33 Trace: [roonbridgehelperserver] SOOD announce
01/30 13:06:45 Trace: Successful POST response from https://push.roonlabs.com/push/1/connect
01/30 13:06:45 Trace: [push] connecting to 35.185.75.137:9200
01/30 13:06:45 Trace: [push] connected
01/30 13:07:03 Trace: [appupdater] initial check for updates
01/30 13:07:03 Debug: [base/updater] Checking for updates: https://updates.roonlabs.com/update/?v=2&serial=E4758396-5230-407D-8802-F591BB96FE9D&userid=&platform=linuxx64&product=RoonBridge&branding=&curbranch=stable&version=100700571&branch=stable
01/30 13:07:04 Debug: [appupdater] Update not needed

What am I missing?

There is also a RAATserver folder in the var/roon folder. Should that be there? If not could that be the issue. I wonder because weeks ago I ran the easy roon server install script on the machine. I then uninstalled the server and decided to run the core on the dedicated NUC. Is the RAATserver folder a left over artefact that did not get uninstalled?

The RAATserver log shows that is has started on the duel booting NUC that it is installed on and the audio devices on that machine. There is no indication that it has connected to the core that I can see.

01/30 13:06:34 Info: Starting RAATServer v1.7 (build 571) stable on linuxx64
01/30 13:06:34 Trace: [RAATServer] detected ALSA support
01/30 13:06:34 Info: [RAATServer] creating RAAT__manager
01/30 13:06:34 Info: [RAATServer]     appdata_dir  = /var/roon/RAATServer
01/30 13:06:34 Info: [RAATServer]     unique_id    = f2886a26-ae69-4fd1-9da7-839df1c6748a
01/30 13:06:34 Info: [RAATServer]     machine_id   = c4b0c011-bbc4-b1cd-e095-7b15bbc64e53
01/30 13:06:34 Info: [RAATServer]     machine_name = dan-NUC10i5FNH
01/30 13:06:34 Info: [RAATServer]     os_version   = Linux 5.8.0-41-generic
01/30 13:06:34 Info: [RAATServer]     vendor       = 
01/30 13:06:34 Info: [RAATServer]     model        = 
01/30 13:06:34 Info: [RAATServer]     service_id   = d7634b85-8190-470f-aa51-6cb5538dc1b9
01/30 13:06:34 Info: [RAATServer]     is_dev       = False
01/30 13:06:34 Trace: [raatmanager] starting
01/30 13:06:34 Trace: [raatmanager/linux] FOUND id=hw:CARD=PCH,DEV=0 usb_id=
01/30 13:06:34 Trace: [raatmanager/linux]       vendor=                               name=HDA Intel PCH ALC256 Analog   
01/30 13:06:34 Trace: [raatmanager/linux] FOUND id=hw:CARD=PCH,DEV=3 usb_id=
01/30 13:06:34 Trace: [raatmanager/linux]       vendor=                               name=HDA Intel PCH HDMI 0          
01/30 13:06:34 Trace: [raatmanager/linux] FOUND id=hw:CARD=PCH,DEV=7 usb_id=
01/30 13:06:34 Trace: [raatmanager/linux]       vendor=                               name=HDA Intel PCH HDMI 1          
01/30 13:06:34 Trace: [raatmanager/linux] FOUND id=hw:CARD=PCH,DEV=8 usb_id=
01/30 13:06:34 Trace: [raatmanager/linux]       vendor=                               name=HDA Intel PCH HDMI 2          
01/30 13:06:34 Trace: [raatmanager/linux] FOUND id=hw:CARD=PCH,DEV=9 usb_id=
01/30 13:06:34 Trace: [raatmanager/linux]       vendor=                               name=HDA Intel PCH HDMI 3          
01/30 13:06:34 Trace: [raatmanager/linux] FOUND id=hw:CARD=PCH,DEV=10 usb_id=
01/30 13:06:34 Trace: [raatmanager/linux]       vendor=                               name=HDA Intel PCH HDMI 4          
01/30 13:06:34 Trace: [raatmanager] initialized
01/30 13:06:34 Info: [RAATServer] running RAAT__manager
01/30 13:06:34 Trace: [raatmanager] starting discovery
01/30 13:06:34 Trace: [discovery] starting
01/30 13:06:34 Info: [discovery] [iface:127.0.0.1] multicast recv socket is bound to 0.0.0.0:9003
01/30 13:06:34 Info: [discovery] [iface:127.0.0.1] multicast send socket is bound to 0.0.0.0:44727
01/30 13:06:34 Info: [discovery] [iface:192.168.2.117] multicast recv socket is bound to 0.0.0.0:9003
01/30 13:06:34 Info: [discovery] [iface:192.168.2.117] multicast send socket is bound to 0.0.0.0:59988
01/30 13:06:34 Info: [discovery] unicast socket is bound to 0.0.0.0:9003
01/30 13:06:34 Trace: [raatmanager] starting server
01/30 13:06:34 Info: [jsonserver] listening on port 46347
01/30 13:06:34 Trace: [raatmanager] announcing
01/30 13:06:34 Debug: [discovery] broadcast op is complete
01/30 13:06:34 Trace: [jsonserver] [192.168.2.86:35487] accepted connection
01/30 13:06:34 Trace: [jsonserver] [192.168.2.86:35487] GOT[LL] [1] {"request":"enumerate_devices","subscription_id":"0"}
01/30 13:06:34 Trace: [jsonserver] [192.168.2.86:35487] SENT [1] [nonfinal] {"status": "Success", "devices": [{"device_id": "hw:CARD=PCH,DEV=0", "type": "alsa", "name": "HDA Intel PCH ALC256 Analog"}, {"device_id": "hw:CARD=PCH,DEV=3", "type": "alsa", "name": "HDA Intel PCH HD
01/30 13:06:44 Trace: [RAATServer] refreshing @ 10s
01/30 13:06:44 Trace: [raatmanager] announcing
01/30 13:06:44 Debug: [discovery] broadcast op is complete

Please let me know were I go from here.
Thank you.

Hi Dan

can you quickly describe your installation steps you did?

  1. is it Ubuntu Desktop or Server?

  2. How did you install RoonBridge?

  3. what is the result when you run /opt/RoonServer/check.sh?

Linux requires the installation of libasound2 and ffmpeg. Did you install them?

1 Like

Have you gone to Settings > Audio on your Core to enable the new devices? Or are they not present?

Also, are you running UFW or similar? If you are, type sudo ufw disable to confirm if this makes a difference.

1 Like

When you go into Roon Audio settings and scroll to the NUC that you’re running Bridge on, what do you see? I see 5 instances of HDMI ALSA drivers and 1 for my DAC. The one for the DAC needs to be enabled and configured in Roon. If you don’t see the second NUC in Roon at all, the NUC isn’t setup right. I’m running Mint and I seem to recall that I had to install the ALSA package as a prereq for getting any audio out via USB.

Thank you everyone for your input. I had the wrong audio selection enabled in settings. Everything works now.

1 Like