Spotify Connect Not Connecting

Volumio Information

Volumio Version: 2.907
Hardware: Raspberry Pi 4 8GB
DAC: Schiit Asgard 3 w/ Multibit

I’m able to see my volumio device, but unable to connect. I’m seeing mixer errors…
What I’m seeing in the logs:

Jul 24 15:11:04 asgard systemd[1]: volspotconnect2.service holdoff time over, scheduling restart.
Jul 24 15:11:04 asgard systemd[1]: Stopping Volspotconnect2 Daemon…
Jul 24 15:11:04 asgard systemd[1]: Starting Volspotconnect2 Daemon…
Jul 24 15:11:04 asgard systemd[1]: Started Volspotconnect2 Daemon.
Jul 24 15:11:04 asgard volumio[1943]: vollibrespot v0.2.2 cd96399 2020-10-07 (librespot 08d8bcc 2020-10-07) – Built On 2020-10-07
Jul 24 15:11:04 asgard volumio[1943]: Reading Config from “volspotify.toml”
Jul 24 15:11:04 asgard volumio[1943]: [Vollibrespot] : Using Alsa backend with device: plughw:5
Jul 24 15:11:04 asgard volumio[1943]: [Vollibrespot] : Failed to register IPv6 receiver: Os { code: 19, kind: Other, message: “No such device” }
Jul 24 15:11:49 asgard volumio[1943]: [Vollibrespot] : Connecting to AP “guc3-accesspoint-a-3351.ap.spotify.com:443
Jul 24 15:11:49 asgard volumio[1943]: [Vollibrespot] : Authenticated as “USER” !
Jul 24 15:11:49 asgard volumio[1943]: [Vollibrespot] : Setting up new mixer: card:hw:5 mixer:PCM index:0
Jul 24 15:11:49 asgard volumio[1943]: [Vollibrespot] : Alsa min-db is not SND_CTL_TLV_DB_GAIN_MUTE!!
Jul 24 15:11:49 asgard volumio[1943]: [Vollibrespot] : Alsa Mixer info min: 0 (MilliBel(0)[dB]) – max: 0 (MilliBel(0)[dB]) HW: false
Jul 24 15:11:49 asgard volumio[1943]: [Vollibrespot] : Switching to linear volume mapping, control range: MilliBel(0)
Jul 24 15:11:49 asgard volumio[1943]: [Vollibrespot] : Alsa min-db is not SND_CTL_TLV_DB_GAIN_MUTE!!
Jul 24 15:11:49 asgard volumio[1943]: [Vollibrespot] : Using alsa sink
> Jul 24 15:11:49 asgard volumio[1943]: thread ‘main’ panicked at ‘Couldn’t get current volume: Error(“snd_mixer_selem_get_playback_volume”, Sys(EINVAL))’, /build/cache/git/checkouts/librespot-6f197fd632ef9380/08d8bcc/playback/src/mixer/alsamixer.rs:94:14
Jul 24 15:11:49 asgard volumio[1943]: stack backtrace:
Jul 24 15:11:49 asgard volumio[1943]: 0: 0xa2633c - backtrace::backtrace::libunwind::trace::hae21a072c81e5842
Jul 24 15:11:49 asgard volumio[1943]: at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
Jul 24 15:11:49 asgard volumio[1943]: 1: 0xa2633c - backtrace::backtrace::trace_unsynchronized::h0f9b260087e46e47
Jul 24 15:11:49 asgard volumio[1943]: at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
Jul 24 15:11:49 asgard volumio[1943]: 2: 0xa2633c - std::sys_common::backtrace::_print_fmt::hbf1a59173a7860c3
Jul 24 15:11:49 asgard volumio[1943]: at src/libstd/sys_common/backtrace.rs:78
Jul 24 15:11:49 asgard volumio[1943]: 3: 0xa2633c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he1a5d6f378e506c4
Jul 24 15:11:49 asgard volumio[1943]: at src/libstd/sys_common/backtrace.rs:59
Jul 24 15:11:49 asgard volumio[1943]: 4: 0xa46d5c - core::fmt::write::hb37ae5a5e0b70623
Jul 24 15:11:49 asgard volumio[1943]: at src/libcore/fmt/mod.rs:1076
Jul 24 15:11:49 asgard volumio[1943]: 5: 0xa1fc64 - std::io::Write::write_fmt::ha24bb3f5a858327b
Jul 24 15:11:49 asgard volumio[1943]: at src/libstd/io/mod.rs:1537
Jul 24 15:11:49 asgard volumio[1943]: 6: 0xa28974 - std::sys_common::backtrace::_print::h47b03aa1342833e3
Jul 24 15:11:49 asgard volumio[1943]: at src/libstd/sys_common/backtrace.rs:62
Jul 24 15:11:49 asgard volumio[1943]: 7: 0xa28974 - std::sys_common::backtrace::print::h2217cbc390250439
Jul 24 15:11:49 asgard volumio[1943]: at src/libstd/sys_common/backtrace.rs:49
Jul 24 15:11:49 asgard volumio[1943]: 8: 0xa28974 - std::panicking::default_hook::{{closure}}::h179f5229ea1c8e30
Jul 24 15:11:49 asgard volumio[1943]: at src/libstd/panicking.rs:198
Jul 24 15:11:49 asgard volumio[1943]: 9: 0xa28640 - std::panicking::default_hook::h46ab82039cbc65eb
Jul 24 15:11:49 asgard volumio[1943]: at src/libstd/panicking.rs:217
Jul 24 15:11:49 asgard volumio[1943]: 10: 0xa29054 - std::panicking::rust_panic_with_hook::h7326c48419bc7c33
Jul 24 15:11:49 asgard volumio[1943]: at src/libstd/panicking.rs:526
Jul 24 15:11:49 asgard volumio[1943]: 11: 0xa28c54 - rust_begin_unwind

I should note that I tried setting the mixer type to NONE and that didn’t fix anything :frowning:

Saw this on another post, just in case someone needs it to help with troubleshooting :slight_smile:

root@asgard:/home/volumio# amixer -c5 scontrols
Simple mixer control ‘PCM’,0

Why do you have so many problems? :wink: @balbuze @ashthespy

Alright, so I learned something new again about Volumio. At least I keep debugging.
Just because you made a config change and it says it HUP’d the service, it didn’t.
I gave it a kick in the butt and tried again with changing the mixer settings. (only thing I could think this could be). Setting it to NONE and HUP’ing/restarting the service fixed it.

The Schiit Dacs seem to report a hardware mixer when they either don’t, or more likely the driver doesn’t work/needs some coaxing… A quick search should lead to other bad experiences with this Dac and mixers.

Does volume control work directly from amixer ? If so please share the full command you use?

@ashthespy,

From my understanding Schiit DACs don’t support volume control. You couldn’t control it in Windows as an example. Everything has to be done on the DAC itself. So None is the only real option, not sure why its reporting there is one :confused:

The default setting seems to be Hardware, and I would guess Volumio just silently fails when trying to set any volume? While VLS shouts and quits :smiley: