NEWS: Archphile give us two new images for Rpi 2/3 and Odroid C1/2

NEWS: Archphile give us two new images for Rpi 2/3 and Odroid C1/2

posted in: News | 0

You thought the project was dead? Oh no…It’s Alive and kicking!

Tuxx(Archphile head) give us another two images with a lot of changes and the newest MPD version on top.

Take a quick look:

 

RPi Release:

Introduction

As you already know, Archphile is not an active project anymore. However, months ago, I asked the
community to help me in order to buy and support the Raspberry Pi 3.

The truth is that Archphile users were very generous and not only did I receive some money but I also got a Raspberry Pi 3 for free (thank
you very much Collybia team for this!).

For this reason, even if my project is almost dead, I felt that I had to give back the only thing that I could: an image.
Below you will find some useful information about this Raspberry Pi 2/3 version.

 

Changelog

This image has everything Archphile always had but let’s see the changelog in details for some new stuff
(btw I don’t remember everything!):

– New image based on latest ArchlinuxARM
– new MPD packages based on MPD 0.20.10 (apart from the native dsd package that remains in MPD 0.19.19)
– I2S dac support for the majority of DACS found in Raspberry Pi kernel
– new upmpdcli packages based on their latest sources
– Spotify Premium support using Librespot
– Roon Bridge support
– Some Optimizations I will explain below

 

Download

Please visit sourceforge in order to download this image:

https://sourceforge.net/projects/archphile/files/rpi3/0.99.6-beta-rpi23/

 

Detailed instructions

Below you will find some extra details for the new goodies. However, if you want to understand and be able to
configure Archphile please visit:

http://archphile.org/howto

 

1. MPD Packages

The preinstalled MPD package is mpd-archphile. If you want, you can replace it with:

pacman -Sy mpd-archphile-minimal | mpd-archphile-sacd | mpd-archphile-native-dsd

Then just restart MPD (ignore the bselect command that is mentioned on the website) and you are ready to use it.

 

2. I2S Dacs

For this image, please ignore the guide on the website and the whole reference to i2select command. The only thing
you have to do is edit config.txt

nano /boot/config.txt

and enable the overlay for the dac you want to use

then reboot (simply typing reboot command) and you are ready to listen to your favourite music.

 

3. Upmpdcli

Latest Upmpdcli version has a lot more stuff to explore comparing to the past. I have applied the very basic
configuration for standard UPNP use. If you want you can edit the configuration file:

nano /etc/upmpdcli.conf

and explore all these new amazing features (Tidal support etc).

Please remember that you have to restart the service after editing the configuration file. In order to do this
you use systemctl commands as you do with all services:

systemctl start|stop|restart|enable|reenable|disable upmpdcli

Please note that upmpdcli is not enabled by default. You can use the command above (with enable option) in order
to permanently enable it.

 

4. Spotify Premium

This image supports Spotify Premium using librespot. This means that after you configure and enable librespot,
Archphile will appear in Spotify devices in your smartphone or desktop Spotify Application.

In order to configure it you need to put your credentials in librespot.conf file:

nano /etc/librespot.conf

Then you need to check with alsacap command, the supported bit depths of your DAC.

If it supports 16 Bit you just need to start the service and enable it if you want this to be enabled after reboot:

systemctl start|stop|restart|enable|reenable|disable librespot

If it does not support 16 Bit, ex. like my DAC that only supports 32Bit (filling the gap with zeros), after finishing
with the credentials step, you need to edit the librespot.service file

nano /usr/lib/systemd/system/librespot.service

and enable the following line by removing the ‘#’:

–device=plughw:0 \

Now you need to start librespot as shown above and enable it if you don’t want to start everytime after reboot.

NOTE: If you have already edited the service file and you want to edit it again, please remember that you have to restart
the service and re-enable it if you have already enabled it.

NOTE 2: If you don’t want to enable it and you want to start it whenever you want, you can use your android remote and create buttons
for this task (ex. a “start Spotify” button with the “systemctl start librespot”). Please see the how-to section of Archphile website
for details.

 

5. Roon Bridge Support

If you want to use Archphile as a Roon bridge you will have to start the service. If you want to have it always on,
you will also need to enable it:

systemctl start|stop|restart|enable|reenable|disable roonbridge

If I remember correctly, you will see a device named Archphile in Roon preferences.

Please note that I don’t use Roon and I can’t test it anymore because my trial has expired.

NOTE: If you don’t want to enable it and you want to start it whenever you want, you can use your android remote and create buttons
for this task (ex. a “start Roon” button with the “systemctl start roonbridge”). Please see the how-to section of Archphile website
for details.

 

6. Various Optimizations

This image includes some optimizations not enabled by default. What you can do if you want to experiment, is to edit cmdline.txt

nano /boot/cmdline.txt

and enable the Archphile Configuration line, disabling the default one. With this tweak the second core is isolated waiting for
MPD to use it.

In order to do this, you will have to edit archphile-optimize file:

nano /usr/bin/archphile-optimize

and enable the following line.

taskset -c -a -p 1 $(pidof mpd)

Please note that if you want to use Archphile only as a Roon or Spotify box, all these taskset commands are not needed and you
can disable them in archphile-optimize file. In addition you can disable various services like, mpd, ympd etc, as Roon and Spotify
music reproduction has nothing to do with MPD. As a last step, you can remove core number 1 from isolcpus, so that Roon or Spotify will
be able to use the first and second cores.

 

7. Known Issues | Notes

– Dirble option in YMPD is not functional
– Not all I2s DACS were tested
– Shairport was not tested

 

8. Buy Me A Beer

If you want to buy me a beer you can send me BTC in the following address:

15kZCg9z3WoZVRJYVjhna4C6AzQ7GBewaq

If you prefer to send me another cryptocoin, please send me an email (info at archphile.org) and I will send you the address.

 

ODROID C1/2 Release:

Introduction

As you already know, Archphile is not an active project anymore. However I still use my Odroid C2 and I always
try to keep my software up-to-date. So I decided to share with you the latest image I have created for personal
use.

 

Changelog

This image has everything Archphile always had but let’s see the changelog in details for somw new stuff
(tbw I don’t remember everything!):

– New image based on latest ArchlinuxARM
– new MPD packages based on MPD 0.20.10 (apart from the native dsd package that remains in MPD 0.19.19)
– new upmpdcli packages based on their latest sources
– Spotify Premium support using Librespot
– Roon Bridge support
– Various Optimizations I will explain below

 

Download

Please visit sourceforge in order to download this image:

https://sourceforge.net/projects/archphile/files/odroidc2/0.99.6-beta/

 

Detailed instructions

Below you will find some extra details for the new goodies. However, if you want to understand and be able to
configure Archphile please visit:

http://archphile.org/howto

 

1. MPD Packages

The preinstalled MPD package is mpd-archphile. If you want, you can replace it with:

pacman -Sy mpd-archphile-minimal | mpd-archphile-sacd | mpd-archphile-native-dsd

Then just restart MPD (ignore the bselect command that is mentioned on the website) and you are ready to use it.

 

2. Upmpdcli

Latest Upmpdcli version has a lot more stuff to explore comparing to the past. I have applied the very basic
configuration for standard UPNP use. If you want you can edit the configuration file:

nano /etc/upmpdcli.conf

and explore all these new amazing features (Tidal support etc).

Please remember that you have to restart the service after editing the configuration file. In order to do this
you use systemctl commands as you do with all services:

systemctl start|stop|restart|enable|reenable|disable upmpdcli

Please that upmpdcli is not enabled by default. You can use the command above (with enable option) in order
to permanently enable it.

 

3. Spotify Premium

This image supports Spotify Premium using librespot. This means that after you configure and enable librespot,
Archphile will appear in Spotify devices in your smartphone or desktop Spotify Application.

In order to configure it you need to put your credentials in librespot.conf file:

nano /etc/librespot.conf

Then you need to check with alsacap command, the supported bit depths of your DAC.

If it supports 16 Bit you just need to start the service and enable it if you want this to be enabled after reboot:

systemctl start|stop|restart|enable|reenable|disable librespot

If it does not support 16 Bit, ex. like my DAC that only supports 32Bit (filling the gap with zeros), after finishing
with the credentials step, you need to edit the librespot.service file

nano /usr/lib/systemd/system/librespot.service

and enable the following line by removing the ‘#’:

–device=plughw:1 \

Now you need to start librespot as shown above and enable it if you don’t want to start everytime after reboot.

 

NOTE: If you have already edited the service file and you want to edit it again, please remember that you have to restart
the service and re-enable it if you have already enabled it.

NOTE 2: If you don’t want to enable it and you want to start it whenever you want, you can use your android remote and create buttons
for this task (ex. a “start Spotify” button with the “systemctl start librespot”). Please see the how-to section of Archphile website
for details.

 

4. Roon Bridge Support

If you want to use Archphile as a Roon bridge you will have to start the service. If you want to have it always on,
you will also need to enable it:

systemctl start|stop|restart|enable|reenable|disable roonbridge

If I remember correctly, you will see a device named Archphile in Roon preferences.

Please note that I don’t use Roon and I can’t test it anymore because my trial has expired.

NOTE: If you don’t want to enable it and you want to start it whenever you want, you can use your android remote and create buttons
for this task (ex. a “start Roon” button with the “systemctl start roonbridge”). Please see the how-to section of Archphile website
for details.

 

5. Various Optimizations

This image is heavily optimized by default. MPD runs in one isolated core, USB and ethernet interrupts are redirected to other
unused cores etc.

If you want to play around with my settings you will have to edit:

/usr/bin/archphile-optimize

and

/boot/boot.ini

In most of the cases you won’t have to do anything but use the default configuration. Odroid C2 usb implementation sucks and
this is why it’s a very bad idea to disable the “interrupts” tweak!

Please note that when you change an MPD package you need to reboot for the tweaks to be applied. If you don’t want to reboot
you can give the following command after restarting MPD:

taskset -c -a -p 1 $(pidof mpd)

Please note that if you want to use Archphile only as a Roon or Spotify box, all these taskset commands are not needed and you
can disable them in archphile-optimize file. In addition you can disable various services like, mpd, ympd etc, as Roon and Spotify
music reproduction has nothing to do with MPD. As a last step, you can remove core number 1 from isolcpus, so that Roon or Spotify will
be able to use the first and second cores.

 

6. Known Issues | Notes

– Dirble option in YMPD is not functional

– Some USB Dacs, although they are Linux supported, don’t make a good combo with Odroid C2. This is because of the poor USB
implementation (the main issue is thoudands of interrupts/sec) of Odroid C2. If you can’t test C2 with your USB DAC, please
think twice before buying it

– I2s Dacs were not tested and currently are not supported. I will revise this document as long as I get some feedback from
I2S users.

 

 

7. Buy Me A Beer

If you want to buy me a beer you can send me BTC in the following address:

15kZCg9z3WoZVRJYVjhna4C6AzQ7GBewaq

If you prefer to send me another cryptocoin, please send me an email (info at archphile.org) and I will send you the address.

Leave a Reply