You are not logged in.
Hi. I've had issues with Pulseaudio for the last week or so. I think it was due to a system update, but I can't confirm which update exactly because I've done a few since the behavior started.
I use a Thinkpad X1 Carbon (Gen 9) along with a 4k USBC monitor and occasionally an HDMI projector. I used to be able to plug and unplug either my external monitor or projector and sound would more or less automatically be routed to the monitor/projector after I plugged them in, or back to the laptop speakers after unplugging.
After about a week ago, each time I (un)plug the monitor or projector, there's no sound at all, either from the monitor/projector audio or the system speakers. Opening up pavucontrol and going to the output devices tab just shows 1 output labeled "Dummy Output". Normally there are outputs for the system speakers/headphones and 3 HDMI/DisplayPort outputs listed, and the "Dummy Output" doesn't appear.
Sometimes restarting the pulseaudio daemon with `systemctl --user restart pulseaudio` fixes things and all outputs are listed, but a lot of times that doesn't help either.
I have errors in the output of `dmesg` after I connect a monitor:
[34074.272229] ------------[ cut here ]------------
[34074.272231] adding CRTC not allowed without modesets: requested 0x4, affected 0x7
[34074.272238] WARNING: CPU: 1 PID: 1249 at drivers/gpu/drm/drm_atomic.c:1379 drm_atomic_check_only+0x7e9/0x910
[34074.272244] Modules linked in: hid_logitech_hidpp uhid hid_apple hidp ccm rfcomm xt_nat xt_tcpudp veth xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_filter iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c br_netfilter bridge stp llc overlay cmac algif_hash algif_skcipher af_alg uinput snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof soundwire_bus snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core intel_tcc_cooling x86_pkg_temp_thermal joydev intel_powerclamp snd_soc_sst_ipc mousedev iTCO_wdt snd_soc_sst_dsp coretemp intel_pmc_bxt snd_soc_acpi_intel_match iTCO_vendor_support snd_soc_acpi hid_multitouch snd_soc_core kvm_intel mei_wdt mei_hdcp mei_pxp snd_compress
[34074.272287] intel_rapl_msr kvm ac97_bus snd_pcm_dmaengine irqbypass nls_iso8859_1 snd_hda_intel vfat think_lmi rapl fat firmware_attributes_class wmi_bmof snd_intel_dspcfg intel_wmi_thunderbolt iwlmvm snd_intel_sdw_acpi intel_cstate intel_spi_pci intel_uncore mac80211 snd_hda_codec psmouse i2c_i801 intel_spi e1000e pcspkr snd_hda_core spi_nor libarc4 mtd snd_hwdep i2c_smbus uvcvideo videobuf2_vmalloc iwlwifi btusb videobuf2_memops snd_pcm mei_me processor_thermal_device_pci_legacy videobuf2_v4l2 intel_lpss_pci snd_timer thunderbolt btrtl processor_thermal_device i915 mei intel_lpss videobuf2_common btbcm processor_thermal_rfim cfg80211 idma64 videodev btintel processor_thermal_mbox thinkpad_acpi processor_thermal_rapl bluetooth mc cdc_acm ttm intel_rapl_common ledtrig_audio ucsi_acpi tpm_crb ecdh_generic platform_profile intel_gtt intel_soc_dts_iosf intel_pch_thermal typec_ucsi rfkill typec tpm_tis i2c_hid_acpi snd roles int3403_thermal tpm_tis_core i2c_hid soundcore
[34074.272324] int340x_thermal_zone soc_button_array video int3400_thermal intel_hid acpi_thermal_rel wmi sparse_keymap acpi_pad mac_hid sg crypto_user fuse bpf_preload ip_tables x_tables usbhid dm_crypt cbc encrypted_keys dm_mod trusted asn1_encoder tee tpm rng_core serio_raw atkbd crct10dif_pclmul libps2 crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd xhci_pci xhci_pci_renesas i8042 serio ext4 crc32c_generic crc32c_intel crc16 mbcache jbd2
[34074.272344] CPU: 1 PID: 1249 Comm: sway Not tainted 5.16.1-arch1-1 #1 49bbb8d20d0329f70e47963ef5feb4a66c3cd442
[34074.272346] Hardware name: LENOVO 20U9005KUS/20U9005KUS, BIOS N2WET16W (1.06 ) 05/10/2020
[34074.272347] RIP: 0010:drm_atomic_check_only+0x7e9/0x910
[34074.272350] Code: 10 a5 89 04 24 bf 10 00 00 00 e8 a2 cc 00 00 8b 04 24 e9 90 fa ff ff 8b 74 24 14 44 89 e2 48 c7 c7 28 f9 10 a5 e8 67 9d 40 00 <0f> 0b 31 c0 e9 50 fe ff ff 49 8b 4d 18 41 8b 55 58 bf 10 00 00 00
[34074.272351] RSP: 0018:ffffa2f441657b78 EFLAGS: 00010246
[34074.272353] RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000000
[34074.272353] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[34074.272354] RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
[34074.272355] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000007
[34074.272355] R13: 0000000000000008 R14: ffff8bfef2cb4800 R15: ffff8bfd40e46c00
[34074.272356] FS: 00007f11cbc65980(0000) GS:ffff8c00ad640000(0000) knlGS:0000000000000000
[34074.272358] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[34074.272359] CR2: 00007f11bdce8000 CR3: 00000001039b2001 CR4: 00000000003706e0
[34074.272360] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[34074.272360] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[34074.272361] Call Trace:
[34074.272362] <TASK>
[34074.272364] drm_mode_atomic_ioctl+0x76c/0xb20
[34074.272367] ? drm_plane_get_damage_clips.cold+0x1c/0x1c
[34074.272371] ? drm_atomic_set_property+0xb60/0xb60
[34074.272373] drm_ioctl_kernel+0xbe/0x150
[34074.272376] drm_ioctl+0x23e/0x3e0
[34074.272378] ? drm_atomic_set_property+0xb60/0xb60
[34074.272380] __x64_sys_ioctl+0x8b/0xd0
[34074.272383] do_syscall_64+0x59/0x90
[34074.272385] ? syscall_exit_to_user_mode+0x23/0x50
[34074.272387] ? syscall_exit_to_user_mode+0x23/0x50
[34074.272389] ? do_syscall_64+0x69/0x90
[34074.272390] ? syscall_exit_to_user_mode+0x23/0x50
[34074.272392] ? do_syscall_64+0x69/0x90
[34074.272393] ? do_syscall_64+0x69/0x90
[34074.272394] ? do_syscall_64+0x69/0x90
[34074.272395] entry_SYSCALL_64_after_hwframe+0x44/0xae
[34074.272397] RIP: 0033:0x7f11ccc7259b
[34074.272399] Code: ff ff ff 85 c0 79 9b 49 c7 c4 ff ff ff ff 5b 5d 4c 89 e0 41 5c c3 66 0f 1f 84 00 00 00 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a5 a8 0c 00 f7 d8 64 89 01 48
[34074.272400] RSP: 002b:00007fff8813dcb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[34074.272402] RAX: ffffffffffffffda RBX: 00007fff8813dd00 RCX: 00007f11ccc7259b
[34074.272402] RDX: 00007fff8813dd00 RSI: 00000000c03864bc RDI: 000000000000000b
[34074.272403] RBP: 00000000c03864bc R08: 0000000000000003 R09: 0000000000000003
[34074.272404] R10: 00007f11ccd3da00 R11: 0000000000000246 R12: 0000561474e0e420
[34074.272405] R13: 000000000000000b R14: 0000561474b38c10 R15: 0000561474df29d0
[34074.272407] </TASK>
[34074.272407] ---[ end trace 3d50cddae2b6a1fc ]---
I also have lots of errors like the following in the output of `dmesg`, but I think they might be from a different issue.
[33909.935126] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x80010000 (msg/reply size: 216/12): -19
[33909.935135] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed resetting DAI config for HDA6.OUT
[33909.935229] done.
[33909.935418] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x80010000 (msg/reply size: 216/12): -19
[33909.935426] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed resetting DAI config for HDA4.OUT
[33909.940706] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x80010000 (msg/reply size: 216/12): -19
[33909.940721] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed resetting DAI config for HDA5.OUT
[33909.941990] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x80010000 (msg/reply size: 216/12): -19
[33909.941996] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed resetting DAI config for HDA0.OUT
[33909.942494] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x80010000 (msg/reply size: 216/12): -19
[33909.942499] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed resetting DAI config for HDA1.IN
[33909.959436] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[33909.959443] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load widget HDA4.OUT
[33909.960625] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed widget list set up for pcm 3 dir 0
[33909.960629] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[33909.960634] HDMI1: ASoC: soc_pcm_hw_params() failed (-22)
[33909.960667] HDMI1: ASoC: dpcm_fe_dai_hw_params failed (-22)
[33909.963157] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[33909.963162] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load widget HDA6.OUT
[33909.964431] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed widget list set up for pcm 5 dir 0
[33909.964448] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[33909.964451] HDMI3: ASoC: soc_pcm_hw_params() failed (-22)
[33909.964479] HDMI3: ASoC: dpcm_fe_dai_hw_params failed (-22)
[33909.967028] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[33909.967032] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load widget HDA5.OUT
[33909.968249] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed widget list set up for pcm 4 dir 0
[33909.968251] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[33909.968254] HDMI2: ASoC: soc_pcm_hw_params() failed (-22)
[33909.968279] HDMI2: ASoC: dpcm_fe_dai_hw_params failed (-22)
[33909.968435] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[33909.968448] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load widget HDA5.OUT
[33909.968449] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed setting up DAI widget HDA5.OUT
[33909.968450] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp2 Pin: -22
[33909.968468] iDisp2: ASoC: soc_pcm_hw_params() failed (-22)
[33909.968472] HDMI2: ASoC: dpcm_fe_dai_hw_params failed (-22)
[33909.970062] audit: type=1130 audit(1642683895.383:175): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shadow comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[33909.971792] audit: type=1131 audit(1642683895.386:176): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[33909.973655] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[33909.973659] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load widget HDA6.OUT
[33909.973661] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed setting up DAI widget HDA6.OUT
[33909.973662] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp3 Pin: -22
[33909.973683] iDisp3: ASoC: soc_pcm_hw_params() failed (-22)
[33909.973688] HDMI3: ASoC: dpcm_fe_dai_hw_params failed (-22)
[33909.973797] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[33909.973801] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load widget HDA4.OUT
[33909.973803] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed setting up DAI widget HDA4.OUT
[33909.973805] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp1 Pin: -22
[33909.973815] iDisp1: ASoC: soc_pcm_hw_params() failed (-22)
[33909.973820] HDMI1: ASoC: dpcm_fe_dai_hw_params failed (-22)
[33909.974033] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x30010000 (msg/reply size: 96/20): -22
[33909.974036] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to load widget HDA4.OUT
[33909.974038] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed setting up DAI widget HDA4.OUT
[33909.974039] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_dai_hw_params on iDisp1 Pin: -22
[33909.974054] iDisp1: ASoC: soc_pcm_hw_params() failed (-22)
[33909.974058] HDMI1: ASoC: dpcm_fe_dai_hw_params failed (-22)
Has anyone else seen this? Does anyone know how to fix?
Offline