Closed saveriogzz closed 1 year ago
I'm experiencing the same issue - everything seems to work, except the audio. Other than the above, I note the following in the log info shown in the Balena console. Release ed77d9d6afce9c1cb994476e8109142b
28.12.22 19:11:21 (+1300) audio E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
28.12.22 19:11:21 (+1300) audio E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-fef00700.hdmi" card_name="alsa_card.platform-fef00700.hdmi" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
Update after seeing https://github.com/balena-labs-projects/balena-sound/issues/576#issuecomment-1133786126, I have cleared the "vc4-kms-v3d" value from the "Define DT overlays" option in the Device Configuration list. After a reboot, and restarting the airplay service for some reason, the audio from the 3.5mm jack is working.
~@AnnoyedPlatypus just got the opportunity to test this but nope, still not working!~ Yep that solved the issue! Thank you so much 🙏
Describe the problem Using a RaspberryPi4 and setting the env variable
AUDIO_OUTPUT
to eitherRPI_AUTO
orRPI_HEADPHONES
. Does not make the audio coming out of the RPi4's 3.5mm jack. Using the latest commit e3098287cb9b0b866e528251b424e388e3fbbb6aTo Reproduce Steps to reproduce the behavior:
STANDALONE
and set the env variableAUDIO_OUTPUT
to either of the two options above.Expected behavior I would expect the audio to work since I've tested it with RaspberryPi OS and the jack works so it's not a hardware issue.
Additional info
Audio service logs
``` audio --- Audio --- audio Starting audio service with settings: audio - pulseaudio 15.0 audio - Pulse log level: NOTICE audio - Default output: RPI_HEADPHONES audio - Default volume: 75% audio audio Detected audio cards: audio 0 vc4hdmi0 vc4-hdmi-vc4-hdmi-0 audio 1 vc4hdmi1 vc4-hdmi-vc4-hdmi-1 audio audio audio WARNING: BCM2835 audio card not found, are you sure you are running on a Raspberry Pi? audio Setting audio routing rules... audio Routing 'balena-sound.input' to 'balena-sound.output'. audio Routing 'balena-sound.output' to '0'. audio W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified). audio E: [pulseaudio] module-alsa-card.c: Failed to find a working profile. audio E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-fef00700.hdmi" card_name="alsa_card.platform-fef00700.hdmi" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=yes card_properties="module-udev-detect.discovered=1""): initialization failed. audio E: [pulseaudio] module-alsa-card.c: Failed to find a working profile. audio E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" name="platform-fef05700.hdmi" card_name="alsa_card.platform-fef05700.hdmi" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=yes card_properties="module-udev-detect.discovered=1""): initialization failed. 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 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 audio W: [pulseaudio] module-loopback.c: Too many underruns, increasing latency to 205.00 ms ```Device information