Skip to content
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

audio: Pulseaudio logs warnings and errors #9

Open
rahul-thakoor opened this issue Jan 20, 2022 · 3 comments
Open

audio: Pulseaudio logs warnings and errors #9

rahul-thakoor opened this issue Jan 20, 2022 · 3 comments

Comments

@rahul-thakoor
Copy link
Collaborator

Hey @psaavedra do you see these in the logs

18.01.22 18:59:21 (+0400)  audio  --- Audio ---
18.01.22 18:59:21 (+0400)  audio  Starting audio service with settings:
18.01.22 18:59:21 (+0400)  audio  - pulseaudio 15.0
18.01.22 18:59:21 (+0400)  audio  - Pulse log level: NOTICE
18.01.22 18:59:21 (+0400)  audio  - Default output: AUTO
18.01.22 18:59:21 (+0400)  audio  - Default volume: 75%
18.01.22 18:59:21 (+0400)  audio  
18.01.22 18:59:21 (+0400)  audio  Detected audio cards:
18.01.22 18:59:21 (+0400)  audio  0 bcm2835-jack bcm2835_headpho-bcm2835Headphones
18.01.22 18:59:21 (+0400)  audio  1 vc4hdmi0 vc4-hdmi-vc4-hdmi-0
18.01.22 18:59:21 (+0400)  audio  2 vc4hdmi1 vc4-hdmi-vc4-hdmi-1
18.01.22 18:59:21 (+0400)  audio  
18.01.22 18:59:21 (+0400)  audio  
18.01.22 18:59:32 (+0400)  audio  W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
18.01.22 18:59:32 (+0400)  audio  E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
18.01.22 18:59:32 (+0400)  audio  E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="1" 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.
18.01.22 18:59:32 (+0400)  audio  E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
18.01.22 18:59:32 (+0400)  audio  E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="2" 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.
18.01.22 18:59:33 (+0400)  audio  E: [pulseaudio] bluez5-util.c: Failed to get D-Bus connection: Failed to connect to socket /host/run/dbus/system_bus_socket: No such file or directory
18.01.22 18:59:33 (+0400)  audio  E: [pulseaudio] module.c: Failed to load module "module-bluez5-discover" (argument: "autodetect_mtu=yes headset=native"): initialization failed.
18.01.22 18:59:33 (+0400)  audio  E: [pulseaudio] module.c: Failed to load module "module-bluetooth-discover" (argument: "autodetect_mtu=yes headset=native"): initialization failed.
18.01.22 18:59:33 (+0400)  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
18.01.22 18:59:33 (+0400)  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
@rahul-thakoor
Copy link
Collaborator Author

Do I need to set WPE_PULSE_SERVER?

@psaavedra
Copy link
Member

Yes I see those associated to ALSA card.0 but they come from the audio block. I don't really know what implies since apparently the audio output is working.

 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="0" card_name="alsa_card.0" 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] bluez5-util.c: Failed to get D-Bus connection: Failed to connect to socket /host/run/dbus/system_bus_socket: No such file or directory
 audio  E: [pulseaudio] module.c: Failed to load module "module-bluez5-discover" (argument: "autodetect_mtu=yes headset=native"): initialization failed.
 audio  E: [pulseaudio] module.c: Failed to load module "module-bluetooth-discover" (argument: "autodetect_mtu=yes headset=native"): initialization failed.

@psaavedra
Copy link
Member

Do I need to set WPE_PULSE_SERVER?

I don't think it is necessary. That variables is set by default to unix:/run/pulse/pulseaudio.socket. It only is needed for the balena-browser-wpe block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants