BalenaSound stuttering with Spotify

Hi!

First, sorry if its at wrong place and sorry for my bad english too, if something you read you dont understand, quote for me and i’ll try write again!

I just deployed a new device with Balena and Balena-sound, but time to time my audio just stop and start again, the music dont stop but the audio just go off and on.

By the terminal at balenacloud i see this error appear whenever the sound stop, its not always that the audio stuck, but in some music it happen more than 10 times in less than 20 seconds.

15.08.20 01:01:27 (-0300) spotify ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
15.08.20 01:01:30 (-0300) spotify ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
15.08.20 01:01:32 (-0300) spotify ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
15.08.20 01:01:34 (-0300) spotify ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred

I’m using the raspberry pi 1(or the first that launched) Its has 2 USB, 1 ethernet port, hdmi, sound and other port that i kind dont know what it is.

Hi @meephz! Welcome to balena!
You may find this GH issue useful since both PRi 1 and PRi Zero W are of the same architecture (rpi). In particular, this user encountered the same error as you: https://github.com/balenalabs/balena-sound/issues/26#issuecomment-618340675.
Moreover here are described ways to debug performance issues on the Pi Zero:
https://github.com/balena-io-projects/balena-sound/issues/9#issuecomment-527952061

Hope these resources will be helpful for you.
Georgia

Hi!
Thanks i’ll try to apply those changes

Also, its possible install balena-sound in my CubieBoard 2? Do you know if it is compatible or how install? I’ve searched but didnt find nothing yet, mey english is not soo good so i might be searching with wrong words.

I dont know how make the text with a line at all letter so i just use spoiler, but, for my cubieboard i just installed raspotify and worked, its not balena but i guess it will work for some time until a buy a rasp4

Thanks!

Hi, here is the list of device balenaCloud supports https://www.balena.io/docs/reference/hardware/devices/. CubieBoards are not on that list, so unfortunately it not supported to flash balenaOS onto that device.

Also balenaSound was designed and tested on Raspberry PI’s, it may be possible to get it working on other boards that balena supports but might require custom modifications.