I have been having some audio issues for a while now; usually when I start my laptop I have no audio output (or input); but the following command fixes this: systemctl --user restart pulseaudio.service pulseaudio.socket
After this everything works fine; except for Google Meet and Slack.
Slack can be fixed by restarting the application; and then it picks up on the audio input and output without issues.
But the problem remains with Google Meet in firefox.
It can pick up my microphone without any problems (as well as the webcam); I can even choose different input devices.
But the only option I get for output devices is “default” and I get no audio-out…
Audio persist both in x11 and wayland
Firefox has the pulse-rust
audio backend.
I did notice that jack2
, pipewire
and pulseaudio
are installed; could these be in conflict?
If any additional information is needed, let me know and I will be happy to provide it.
Thank you in advance!
I suggest check the socket and service for errors before restarting
systemctl -l --no-pager --user status pulseaudio.{socket,service}
PulseAudio might be having issues from loading old user settings
To clear old user settings:
rm ~/.config/pulse/*.tdb ~/.config/pulse/cookie
and restart PulseAudio (or reboot) to create new configuration files
systemctl --user restart pulseaudio
the only option I get for output devices is “default” and I get no audio-out
check audio output from Firefox to PulseAudio
pactl list sink-inputs
and check audio output from PulseAudio
pactl list sinks
pulseaudio
conflicts with replacement service pipewire-pulse
but not pipewire
JACK is probably not running - see inxi -Aa
pactl list sink-inputs
returns the following:
Sink Input #4
Driver: protocol-native.c
Owner Module: 13
Client: 12
Sink: 0
Sample Specification: float32le 2ch 48000Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = "\"float32le\"" format.rate = "48000" format.channels = "2" format.channel_map = "\"front-left,front-right\""
Corked: no
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 19250 usec
Sink Latency: 34669 usec
Resample method: copy
Properties:
media.name = "Meet – mzf-oywy-kbq"
application.name = "Firefox"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "35"
application.process.id = "1860"
application.process.user = "pieter-jan"
application.process.host = "ACCOLAPTOP"
application.process.binary = "firefox"
application.language = "en_US.UTF-8"
window.x11.display = ":1"
application.process.machine_id = "dbdee7b641634f22ae9403adacc33379"
application.process.session_id = "2"
application.icon_name = "firefox"
module-stream-restore.id = "sink-input-by-application-name:Firefox"
inxi -Aa returns the following:
Audio:
Device-1: Intel Tiger Lake-LP
Smart Sound Audio
vendor: Hewlett-Packard
driver: sof-audio-pci-intel-tgl
alternate: snd_hda_intel,snd_sof_pci_intel_tgl
bus-ID: 00:1f.3
chip-ID: 8086:a0c8
class-ID: 0401
API: ALSA v: k6.7.7-1-MANJARO
status: kernel-api with: aoss
type: oss-emulator
tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22
status: off tools: N/A
Server-2: PipeWire v: 1.0.3
status: off with: wireplumber
status: off tools: pw-cli,wpctl
Server-3: PulseAudio v: 17.0
status: active with:
1: pulseaudio-alsa type: plugin
2: pulseaudio-jack type: module
tools: pacat,pactl,pavucontrol
edit: added output from ìnxi -Aa`
inxi -Aa
shows JACK, PipeWire (and wireplumber) are not running: status: off
pactl list-sink-inputs
shows audio from Meet/Firefox is not corked or muted
If pactl list sinks
also shows sink output from PulseAudio to ALSA is not corked or muted, please post more information about PulseAudio configuration
pacmd dump; pactl list cards
Thank you for the information and help so far!
pactl list sinks
shows that the speakers/headphones are working fine.
Audio input and output works fine via the slack desktop app; if I open YouTube via firefox, I also get audio output…
Output from pacmd dump; pactl list cards
:
### Configuration dump generated at Sat Apr 6 17:18:31 2024
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-udev-detect
load-module module-alsa-card device_id="0" name="pci-0000_00_1f.3-platform-skl_hda_dsp_generic" card_name="alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-jackdbus-detect channels=2
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-bluez5-discover
load-module module-dbus-protocol
load-module module-native-protocol-unix
load-module module-gsettings
load-module module-default-device-restore
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-cli-protocol-unix
set-sink-volume alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink 0x10000
set-sink-mute alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink no
suspend-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink yes
set-sink-volume alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink 0x10000
set-sink-mute alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink no
suspend-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink yes
set-sink-volume alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink 0x10000
set-sink-mute alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink no
suspend-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink yes
set-sink-volume alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink 0x10000
set-sink-mute alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink no
suspend-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink no
set-source-volume alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink.monitor no
suspend-source alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink.monitor yes
set-source-volume alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink.monitor no
suspend-source alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI2__sink.monitor yes
set-source-volume alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink.monitor no
suspend-source alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI1__sink.monitor yes
set-source-volume alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic2__source 0x10004
set-source-mute alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic2__source no
suspend-source alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic2__source yes
set-source-volume alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic1__source 0x10000
set-source-mute alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic1__source yes
suspend-source alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic1__source no
set-source-volume alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink.monitor no
suspend-source alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink.monitor no
set-card-profile alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic HiFi (HDMI1, HDMI2, HDMI3, Mic1, Mic2, Speaker)
set-default-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink
set-default-source alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic1__source
### EOF
No valid command specified.
The speaker sink is not muted/suspended and is set as default-sink
set-sink-volume alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink 0x10000
set-sink-mute alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink no
suspend-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink no
set-default-sink alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Speaker__sink
If audio playback is working with YouTube, issue is likely to be with Meet audio settings
Audio output should be set to System default speaker device or similar
Clicking on Test Speakers should be audible
If speaker test is not audible try using Meet in a Chrome browser e.g. chromium
Sorry for the late reply;
I tried google meet in various browsers; and none of them produce any audio output…
When I open output devices for google meet in firefox, it only shows “system default”; while for the input devices I have several options.
When I open google meet in chrome, it shows all output devices, as well as system default, but none produce any output…
Hey! New to Linux. I’ve recently installed Manjaro and have this exact same problem. Won’t work with Brave or Chrome, but works with Firefox – but only gives me System Default as an option.
You ever get this to work?
Thanks.