Volumio Debian Buster Beta - Raspi images debugging

Raspberry Pi 3+ with Hifi Berry AMP2 (with regular volumio i set it up as “HifiBerry DAC Plus” which has worked).

Volumio Logs journalctl -f

– Logs begin at Thu 2020-12-24 14:36:45 UTC. –
Dec 24 15:56:27 yves volumio[676]: info: DOING PREFETCH IN MPD
Dec 24 15:56:27 yves volumio[676]: verbose: ControllerMpd::sendMpdCommand add “NAS/NAS/Globi/ Globi_und_die_Bahn/03_Globi-D_Bähnlerpfiffe_und_d_Hünd.ogg”
Dec 24 15:56:27 yves volumio[676]: info:
Dec 24 15:56:27 yves volumio[676]: ---------------------------- MPD announces system playlist update
Dec 24 15:56:27 yves volumio[676]: info: Ignoring MPD Status Update
Dec 24 15:56:27 yves volumio[676]: verbose: ControllerMpd::sendMpdCommand consume 1
Dec 24 15:56:27 yves volumio[676]: info: ------------------------------ 7ms
Dec 24 15:56:27 yves volumio[676]: error: Upnp client error: Error: This socket has been ended by the other party
Dec 24 15:56:31 yves volumio[676]: info: CoreStateMachine::startPlaybackTimer
Dec 24 15:56:31 yves volumio[676]: info: CorePlayQueue::getTrack 2

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: sndrpihifiberry [snd_rpi_hifiberry_dacplus], device 0: HiFiBerry DAC+ HiFi pcm512x-hifi-0 [HiFiBerry DAC+ HiFi pcm512x-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0

Strange: Last time i have done “aplay -l” i saw more devices :thinking:

Can you try going back to your Source selection and toggling I2S off, rebooting and adding your I2S DAC again? It looks like something fishy happened the previous attempt, and the volumio API is still looking for card 2…

Done, same error.
Maybe disable i2c, reboot, enable i2c and reboot again?

Where is your HDMI output? :thinking:

cat /boot/cmdline.txt
# Check for
# snd-bcm2835.enable_compat_alsa=1 snd_bcm2835.enable_hdmi=1

Ok, something is strange here:
snd-bcm2835.enable_compat_alsa=0
The “snd_bcm2835.enable_hdmi=” part is not here.

Can you share your full cmdline.txt any plugins installed?

splash plymouth.ignore-serial-consoles dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0xF dwc_otg.nak_holdoff=1 quiet console=serial0,115200 kgdboc=serial0,115200 console=tty1 imgpart=/dev/mmcblk0p2 imgfile=/volumio_current.sqsh rootwait bootdelay=5 elevator=noop logo.nologo vt.global_cursor_default=0 net.ifnames=0 snd-bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_headphones=1 loglevel=8

Plugins installed: Touch Display

Edit: Ok wait, i will do a fresh install and test it tomorrow (with no config and no plugins).

Replace snd_bcm2835.enable_headphones=1 with snd_bcm2835.enable_hdmi=1 and reboot for now… I have already fixed this in newer builds, but would like to consolidate multiple fixes into a build :slight_smile:

This, but not get airplay! i think you need check
thanks!
mac

flashed version 2020-12-10, version 0.014.

everything okay​:laughing::+1:, even mixer type on none, whereas the latest volumio 2 version mixer type doesn’t work.

use a raspberry pi 2, allo isolator v1, allo Boss 1.2 for the rest no touchscreen or anything, just Spotify connect.

oh yes, and a merry Christmas to everyone​:evergreen_tree::bamboo:

Perfect, works now! :sunglasses:
Thank you for your help and please fix it in the main build :wink:
I hope debian 10 came soon to volumio, because debian 8 is VERY outdated. For my project debian 8 does not work for example. The browser is to old.

HI!

i do follow you but i see , i think it still wrong!

***● shairport-sync.service - Shairport Sync - AirPlay Audio Receiver
Loaded: loaded (/lib/systemd/system/shairport-sync.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2020-12-25 11:16:25 UTC; 5s ago
Process: 3237 ExecStart=/usr/local/bin/shairport-sync (code=exited, status=127)
Main PID: 3237 (code=exited, status=127)

Dec 25 11:16:25 volumio systemd[1]: Started Shairport Sync - AirPlay Audio Receiver.
Dec 25 11:16:25 volumio shairport-sync[3237]: /usr/local/bin/shairport-sync: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
Dec 25 11:16:25 volumio systemd[1]: shairport-sync.service: Main process exited, code=exited, status=127/n/a
Dec 25 11:16:25 volumio systemd[1]: shairport-sync.service: Failed with result ‘exit-code’.
***

Maybe you can try this:

ln -s /usr/lib/arm-linux-gnueabihf/libssl.so.1.1 /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0

How have you installed/activated shairport-sync? It looks i am to stupid to enable it :crazy_face:

ashthespy guided me forward!
Please look back at some of the posts
Thanks

What?
Good luck… :roll_eyes:

Ah, that is interesting – can you tell me what the ouput of

$ cat /etc/ld.so.conf.d/arm-linux-gnueabihf.conf
$ ldd /usr/local/bin/shairport-sync
$ /usr/local/bin/shairport-sync --version

I think he mean this Volumio Debian Buster Beta - Raspi images debugging? – that should have the steps to get the shairport-sync service up and running.

i don’t think so…:wink:

To help fixing the problem i need to install shairport. But it looks like “mac” don’t wan’t my help :crazy_face:
There are missing librarys, link them and it probably will work :grimacing:

Nah, I guess he was trying to be helpful and respond your previous comment here

Either way - shairport-sync should be already installed, just the service to start it from Volumio’s side was disabled as it was giving some issues in much earlier builds with dependencies. That should be fixed now, but you need to add the service manually.

What makes things a little confusing, is that on a fresh build (not yet released) things seems to be working fine

volumio@volumio:~$ cat /lib/systemd/system/shairport-sync.service
[Unit]
Description=Shairport Sync - AirPlay Audio Receiver
After=sound.target
Requires=avahi-daemon.service
After=avahi-daemon.service
Wants=network-online.target
After=network.target network-online.target

[Service]
ExecStart=/usr/local/bin/shairport-sync --configfile=/tmp/shairport-sync.conf
User=shairport-sync
Group=shairport-sync

[Install]
volumio@volumio:~$ ldd /usr/local/bin/shairport-sync
        linux-vdso.so.1 (0xbec1a000)
        libgio-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0 (0xb6e46000)
        libgobject-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0xb6de9000)
        libglib-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xb6cd9000)
        libasound.so.2 => /usr/lib/arm-linux-gnueabihf/libasound.so.2 (0xb6bf8000)
        libavahi-common.so.3 => /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 (0xb6bdd000)
        libavahi-client.so.3 => /usr/lib/arm-linux-gnueabihf/libavahi-client.so.3 (0xb6bbe000)
        libsoxr.so.0 => /usr/lib/arm-linux-gnueabihf/libsoxr.so.0 (0xb6b5c000)
        libssl.so.1.1 => /usr/lib/arm-linux-gnueabihf/libssl.so.1.1 (0xb6add000)
        libcrypto.so.1.1 => /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.1 (0xb68c3000)
        libconfig.so.9 => /usr/lib/arm-linux-gnueabihf/libconfig.so.9 (0xb68a9000)
        libpopt.so.0 => /usr/lib/arm-linux-gnueabihf/libpopt.so.0 (0xb688e000)
        libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6864000)
        librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb684d000)
        libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6706000)
        libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6684000)
        libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6657000)
        libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6509000)
        libgmodule-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0xb64f5000)
        libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb64ca000)
        libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb64b7000)
        libmount.so.1 => /lib/arm-linux-gnueabihf/libmount.so.1 (0xb6456000)
        libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0xb6422000)
        libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0xb63fe000)
        /lib/ld-linux-armhf.so.3 (0xb6fc2000)
        libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0xb63e6000)
        libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0xb636f000)
        libdbus-1.so.3 => /lib/arm-linux-gnueabihf/libdbus-1.so.3 (0xb631e000)
        libgomp.so.1 => /usr/lib/arm-linux-gnueabihf/libgomp.so.1 (0xb62e6000)
        libblkid.so.1 => /lib/arm-linux-gnueabihf/libblkid.so.1 (0xb628e000)
        libsystemd.so.0 => /lib/arm-linux-gnueabihf/libsystemd.so.0 (0xb61f1000)
        libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0xb61da000)
        liblzma.so.5 => /lib/arm-linux-gnueabihf/liblzma.so.5 (0xb61a7000)
        liblz4.so.1 => /usr/lib/arm-linux-gnueabihf/liblz4.so.1 (0xb617b000)
        libgcrypt.so.20 => /lib/arm-linux-gnueabihf/libgcrypt.so.20 (0xb60a1000)
        libgpg-error.so.0 => /lib/arm-linux-gnueabihf/libgpg-error.so.0 (0xb6077000)
volumio@volumio:~$ /usr/local/bin/shairport-sync --version
3.3.6-OpenSSL-Avahi-ALSA-soxr-metadata-dbus-sysconfdir:/etc

Don’t use airplay, so can’t test… which is why I’m curious as to what version of shairport-sync the .014 version is running.

On my installation /usr/local/bin/shairport-sync is not there. :thinking:
This is because i asked “how have you installed it” because i also like to show what “ldd” tells.
Maybe you have a newer build?
Edit: I have 3.014 installed.