Closed spippoli closed 2 years ago
How have you installed bluealsa
? Because bluealsa
is not in the Buster repo? I don't use bluealsa
so I can't really offer any help.
I have both bullseye
and buster
repos in sources.list
.
As for the error, as far as I understand setting LIBRESPOT_DEVICE="bluealsa"
is the same as launching librespot -d bluealsa
so if launching librespot
directly works my problem could probably be due to some other raspotify
service configuration parameter limiting resources or permissions. I'll try playing with those to see if it takes me somewhere.
Any suggestion on where I should focus is welcome!
Closing this because it's not really a Raspotify issue.
Systemd does not play well with dbus when dynamicusers are active https://github.com/systemd/systemd/issues/9503
Removing DynamicUsers and putting back a static user makes it work for me. With dynamicusers librespot doesn't manage to get a dbus connection to the bluealsa device (or at least that's my supposition)
Compatible OS
Latest Version
Due Diligence
What happened?
I'm using raspotify on a rpi-zero W using bluealsa to send the audio to a bluetooth speaker. It worked fine on buster but I just upgraded OS to bullseye and raspotify to v0.31.4~librespot.v0.3.1-34 and it stopped working with the following error:
my raspotify configuration file looks like this (omitting the commented lines):
/etc/asound.conf
is correct since if i launchlibrespot -d bluealsa
it works fine and I get sound through the bt speakerRestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
'ENOMEM: Out of memory'
hint suggests a problem with memory but raspotify is the only process running on my otherwise clean bullseye lite install and currently only ~45MB of RAM are used.Should I check anything else? Did I miss some required configuration parameter?
Relevant log output
No response