You are not logged in.
Hello. Recently I have been having an issue where video playback won't start on any browser until I flip a setting in `pavucontrol`.
Specifically, I start the browser, go to the video I want to watch on some website (say YouTube), and then it just buffers. I then start
`pavucontrol`, go to the configurations tab and flip my audio controllers profile from `Play HiFi quality Music (Mic1, Mic2, Speaker)`
to `Play HiFi quality Music (Headphones, Mic1, Mic2)` and then back again. The video instantly starts playing when I switch it back but it
must be TOGGLED and that being the original state doesn't matter. Any help appreciated.
Journal: http://0x0.st/X36j.txt
These look interesting:
sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp2 Pin: -22
Some other information:
pulseaudio 17.0
card: 1 <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = ""
alsa.id = "HDA Analog (*)"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "sof-hda-dsp"
alsa.long_card_name = "LENOVO-21DC0030US-ThinkPadP1Gen5"
alsa.driver_name = "snd_soc_skl_hda_dsp"
device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "51c8"
device.product.name = "Alder Lake PCH-P High Definition Audio Controller"
device.string = "_ucm0003.hw:sofhdadsp"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "16384"
device.access_mode = "mmap+timer"
device.profile.name = "HiFi: Speaker: sink"
device.profile.description = "Speaker"
alsa.mixer_device = "_ucm0003.hw:sofhdadsp"
device.description = "Alder Lake PCH-P High Definition Audio Controller Speaker"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
[Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
properties:
active port: <[Out] Speaker>
Thanks as always!
Last edited by qualia (2024-10-07 03:22:46)
Offline
Start by replacing pulseaudio w/ pipewire-pulse
Sometimes a state wireplumber state gets in the way, https://wiki.archlinux.org/title/PipeWi … ot_working
Offline
Issues persist after switching to pipewire-pulse and removing and restarting wireplumber state.
Offline
Can you post an updated journal?
Are the
kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp1 Pin: -22
errors still there?
Offline
Start by replacing pulseaudio w/ pipewire-pulse
Sometimes a state wireplumber state gets in the way, https://wiki.archlinux.org/title/PipeWi … ot_working
This fixes. Thanks as always Seth.
Offline
I'm encountering the same problem:
[ 17.586801] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp1 Pin: -22
[ 17.586807] HDMI 1: ASoC: error at dpcm_fe_dai_hw_params on HDMI 1: -22
Which affects me by not being able to send the audio through HDMI.
@seth, I'm already working with `pipewire-pulse` (`pulseaudio` was removed from the system). Any more ideas what could solve the issue?
Offline
Wireplumber or pipewire-media-session?
Did you see/try https://wiki.archlinux.org/title/PipeWi … ot_working ?
If cleaning up pw/pa and the wp state fixed it for the OP, those sof EINVALS would likely have been red herrings.
Offline
@seth thanks for your quick reply :-)
I'm using `wireplumber` (and `pipewire-media-session` is not installed), and trying the suggested solution there did not work:
╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔ 2025-03-08 05:57:54
╰─ rm -r .local/state/wireplumber
╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔ 2025-03-08 05:58:06
╰─ systemctl --user restart wireplumber
╭─ ~ ───────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔ 2025-03-08 05:58:15
╰─ pactl list sinks | grep -i hdmi
(and after restating the system, the `dmesg` errors are seen again..)
Last edited by itayf (2025-03-08 04:03:41)
Offline
the dmegs errors likely aren't (directly) related to the perceived symptoms of this thread - do you have actually issues w/ video playback or "hdmi sound doesn't work" (but no problems w/ using headphones or so)?
In the latter case this is more likely https://bbs.archlinux.org/viewtopic.php?id=288402
Post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
and
aplay -lL; pactl list sinks
(we might be facing multiple cards, specifically w/ optimus systems) and try adding "snd_intel_dspcfg.dsp_driver=1" to the https://wiki.archlinux.org/title/Kernel_parameters
Offline