-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALSA bug #636
Comments
same issue here. exact same set up. No audio. |
audio |
Describe the problem
Audio not working at all on RPi 4B.
ALSA reporting: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Using headphone jack as output.
To Reproduce
Steps to reproduce the behavior:
Clean install of BalenaOS with BalenaSound deployed from Balena Hub
Device information
Additional context
Logs:
23.03.23 07:34:24 (+0100) Supervisor starting
23.03.23 07:33:46 (+0100) audio
23.03.23 07:33:46 (+0100) audio --- Audio ---
23.03.23 07:33:46 (+0100) audio Starting audio service with settings:
23.03.23 07:33:47 (+0100) audio - pulseaudio 15.0
23.03.23 07:33:47 (+0100) audio - Pulse log level: NOTICE
23.03.23 07:33:47 (+0100) audio - Default output: RPI_HEADPHONES
23.03.23 07:33:47 (+0100) audio - Default volume: 75%
23.03.23 07:33:47 (+0100) audio
23.03.23 07:33:47 (+0100) audio Detected audio cards:
23.03.23 07:33:47 (+0100) audio 0 bcm2835-jack bcm2835_headpho-bcm2835Headphones
23.03.23 07:33:47 (+0100) audio
23.03.23 07:33:47 (+0100) audio
23.03.23 07:34:19 (+0100) audio Setting audio routing rules...
23.03.23 07:34:19 (+0100) audio Routing 'balena-sound.input' to 'balena-sound.output'.
23.03.23 07:34:19 (+0100) audio Routing 'balena-sound.output' to 'alsa_output.bcm2835-jack.stereo-fallback'.
23.03.23 07:34:19 (+0100) audio W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
23.03.23 07:34:21 (+0100) audio W: [pulseaudio] module-loopback.c: Cannot set requested sink latency of 66.67 ms, adjusting to 99.95 ms
23.03.23 07:34:21 (+0100) audio W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
23.03.23 07:33:45 (+0100) spotify Starting Spotify plugin...
23.03.23 07:33:45 (+0100) spotify Device name: Streamer U-Etg
23.03.23 07:33:45 (+0100) spotify [2023-03-23T06:33:45Z INFO librespot] librespot 0.4.2 UNKNOWN (Built on 2022-08-01, Build ID: leSkOw9g, Profile: release)
23.03.23 07:33:45 (+0100) spotify [2023-03-23T06:33:45Z WARN librespot] Could not initialise discovery: Setting up dns-sd failed: No such device (os error 19).
23.03.23 07:33:45 (+0100) spotify [2023-03-23T06:33:45Z ERROR librespot] Discovery is unavailable and no credentials provided. Authentication is not possible.
23.03.23 07:33:49 (+0100) spotify Starting Spotify plugin...
23.03.23 07:33:49 (+0100) spotify Device name: Streamer U-Etg
23.03.23 07:33:49 (+0100) spotify [2023-03-23T06:33:49Z INFO librespot] librespot 0.4.2 UNKNOWN (Built on 2022-08-01, Build ID: leSkOw9g, Profile: release)
23.03.23 07:33:49 (+0100) sound-supervisor
23.03.23 07:33:49 (+0100) sound-supervisor > sound-supervisor@1.0.1 start /usr/src
23.03.23 07:33:49 (+0100) sound-supervisor > node build/index.js
23.03.23 07:33:49 (+0100) sound-supervisor
23.03.23 07:34:15 (+0100) sound-supervisor Sound supervisor listening on port 80
23.03.23 07:34:15 (+0100) sound-supervisor Error connecting to audio block - Retry failed: connect ECONNREFUSED 192.168.2.183:4317
23.03.23 07:34:16 (+0100) sound-supervisor Error connecting to audio block - Retry failed: connect ECONNREFUSED 192.168.2.183:4317
23.03.23 07:34:18 (+0100) sound-supervisor Error connecting to audio block - Retry failed: connect ECONNREFUSED 192.168.2.183:4317
23.03.23 07:34:22 (+0100) sound-supervisor Connected to PulseAudio at 192.168.2.183:4317
23.03.23 07:34:22 (+0100) sound-supervisor Server protocol version: 35
23.03.23 07:34:22 (+0100) sound-supervisor Client protocol version: 33
23.03.23 07:34:21 (+0100) audio W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
23.03.23 07:34:25 (+0100) audio E: [alsa-sink-bcm2835 Headphones] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write.
23.03.23 07:34:25 (+0100) audio E: [alsa-sink-bcm2835 Headphones] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_bcm2835'. Please report this issue to the ALSA developers.
23.03.23 07:34:25 (+0100) audio E: [alsa-sink-bcm2835 Headphones] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
The text was updated successfully, but these errors were encountered: