Diet Pi, Roon Bridge, HQP and iFi Nano

No worries @Dan_Knight Dan.

Mate, thanks for all your help, your a gent.

I think I’m going to go back to the iqaudio pi-dac+ and use the ifi for static connection.

Dan, would you recommend the Odroid C2 and Hi Fi Shield against the Rpi2 and pi-dac+?

Im thinking of upgrading

If performance is key, then yes. The C2 is in a different league to RPi in terms of performance.

I personally feel the HiFi Shield 2 is just as good (if not better) as most high end RPi audio HATS.

Although, the downside is NAA Daemon doesn’t support ARM64 yet as far as i’am aware. Roon Bridge is in the works (hopefully for Roon 1.3).
However, without those binaries for ARM64, they wont run on the Odroid C2 just yet (maybe emulated under 32bit but i’d need to check). So, for the moment, you’d be limited to MPD as a audio player: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5#p50

Mate, thanks for all your help, your a gent.

Hehe, no worries. Just wish we could of got it resolved for you. This one will keep me thinking for a few days :wink:

Ok Dan, all the best

1 Like

I have since moved on from the nano to a Mojo though. I do have a spare Pi floating around somewhere, so I could check with that combo (will be a day, not at home right now).

@Wayne_Bull1: just to make sure: your setup is a Pi running DietPI, with the nano connected and both Roon Bridge and NAA installed through the DietPi software installer?

1 Like

That’s correct Rene.

Now you’ve had the Chord Mojo a while Rene, how are you enjoying it?

1 Like

Let’s just say I smile every time I use it. :wink:

1 Like

enough said :grinning:

1 Like

Dan, Jussi posted this in the previous thread. Does it make any sense to you?

jussi_laakoJussi Laako (Signalyst)Developer of HQ Player40m
Wayne_Bull1:
2016/12/28 18:06:40 initialization failure: clALSAMiniEngine::Initialize(): snd_pcm_format_physical_width(): Invalid argument
This happens when kernel/libasound2 is too old to have DSD support…

IIRC, minimum kernel 4.1 and alsa-lib 1.0.29, or otherwise necessary patches applied.

Kernel is at 4.4 so shouldn’t be a problem, but alsa-lib is 1.0.28 – if I’m not mistaken. @Dan_Knight will know for sure. :smiley:

1 Like

Yep spot on, can check current kernel version with:
uname -a

Looks like all ALSA packages on Debian 8 are built with: alsa-lib_1.0.28
https://packages.debian.org/source/jessie/alsa-lib

does that mean the ifi is a no go Dan?

Possibly, may be worth trying our Debian 9 image (in alpha):

This updates ALSA binaries to alsa-lib 1.1.2-1:
https://packages.debian.org/source/stretch/alsa-lib

I’ll give it a try Dan…

Just downloading it now

@Wayne_Bull1

Lets also enable logging for NAA Daemon and check it for errors.

echo -e "NETWORKAUDIOD_LOGFILE='/var/log/naadaemon.log'" > /etc/default/networkaudiod

Restart services
dietpi-services restart

Load up HQPlayer, select USB Dac then play. If it errors, paste results of:
cat /var/log/naadaemon.log

  2016/12/28 18:06:25 networkaudiod Copyright (C) 2011-2016 Jussi Laako / Signalyst. All rights reserved.
  2016/12/28 18:06:25 asoundlib version: 1.0.28
* 2016/12/28 18:06:39 discovery from [::ffff:192.168.0.8]:49252
* 2016/12/28 18:06:39 discovery from [::ffff:192.168.0.8]:49252
+ 2016/12/28 18:06:40 connection from [::ffff:192.168.0.8]:49455
  2016/12/28 18:06:40 Found ALSA device: hw:1,0 - iFi (by AMR) HD USB Audio (DOP2: USB Audio
  2016/12/28 18:06:40 begin disconnection
- 2016/12/28 18:06:40 ALSA backend uninitialized
- 2016/12/28 18:06:40 disconnected [::ffff:192.168.0.8]:49455
+ 2016/12/28 18:06:40 connection from [::ffff:192.168.0.8]:49456
- 2016/12/28 18:06:40 ALSA backend uninitialized
  2016/12/28 18:06:40 Set channels: 2 (2)
  2016/12/28 18:06:40 ALSA device: hw:1,0
  2016/12/28 18:06:40 ALSA access mode: 3
  2016/12/28 18:06:40 ALSA PCM format: S32_LE
  2016/12/28 18:06:40 ALSA PCM bits: 32
  2016/12/28 18:06:40 ALSA PCM physical width: 32
  2016/12/28 18:06:40 ALSA PCM rates: 44100 - 768000
  2016/12/28 18:06:40 ALSA DSD format:
# 2016/12/28 18:06:40 initialization failure: clALSAMiniEngine::Initialize(): snd_pcm_format_physical_width(): Invalid argument
  2016/12/28 18:06:43 begin disconnection
- 2016/12/28 18:06:43 ALSA backend uninitialized
- 2016/12/28 18:06:43 disconnected [::ffff:192.168.0.8]:49456
* 2016/12/28 18:06:43 discovery from [::ffff:192.168.0.8]:55442
* 2016/12/28 18:06:43 discovery from [::ffff:192.168.0.8]:55442
+ 2016/12/28 18:06:44 connection from [::ffff:192.168.0.8]:49457
  2016/12/28 18:06:44 Found ALSA device: hw:1,0 - iFi (by AMR) HD USB Audio (DOP2: USB Audio
  2016/12/28 18:06:44 begin disconnection
- 2016/12/28 18:06:44 ALSA backend uninitialized
- 2016/12/28 18:06:44 disconnected [::ffff:192.168.0.8]:49457
1 Like

This happens when kernel/libasound2 is too old to have DSD support…

IIRC, minimum kernel 4.1 and alsa-lib 1.0.29, or otherwise necessary patches applied.

Thanks Jussi,.

What would be the solution?

Please reply in idiot proof terms as I’m new to this :slight_smile:

@Dan_Knight…Yay! Success Dan.

Alpha build is now working with the ifi and HQPlayer.

Thanks again to you and @RBM and of course @jussi_laako

Cheers

3 Likes

@Dan_Knight

WOW I have never seen so many useful commands to do troubleshooting and setups and resets etc in one place…is there a way to have all these command line options written up in a FAQ or something with a little description so we might all have a place to refer to in the future and improve our DieiPi / Linux skills with respect to audio?

Excellent, great to hear :slight_smile: