我在某些应用程序中遇到了系统声音问题。它无法在某些特定安装的应用程序上重现任何音频(目前,我在通过 snap 安装的 Slack 和 Telegram Web-.AppImage 版本中遇到了这个问题)。其他同事也在 Ubuntu 上使用 Slack,没有遇到这个问题。
音频在通过 snap 安装的网络浏览器(Mozilla Firefox)、Spotify 和本地视频播放器上运行正常。
看起来与这些问题类似,但是他们没有得到任何有用的答案:
sudo lspci -v
输出:
0000:00:1f.3 Audio device: Intel Corporation Device 51c8 (rev 01) (prog-if 80)
Subsystem: Dell Device 0b1a
Flags: bus master, fast devsel, latency 64, IRQ 209
Memory at 6189290000 (64-bit, non-prefetchable) [size=16K]
Memory at 6189000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
aplay --list-devices
:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC289 Analog [ALC289 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 13: HDMI 7 [HDMI 7]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 14: HDMI 8 [HDMI 8]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 15: HDMI 9 [HDMI 9]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 16: HDMI 10 [HDMI 10]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 17: HDMI 11 [HDMI 11]
Subdevices: 1/1
Subdevice #0: subdevice #0
答案1
我按照以下步骤找到了解决方案。
- 首先,
pavucontrol
通过以下命令安装:
sudo apt-get install pavucontrol
打开它并运行
pavucontrol
。转到
Playback
并在Show
字段上选择Applications
。重现任何带有无法正常工作的音频的多媒体。
pavucontrol
应该显示正在重现的音频,它看起来应该像这样: pavucontrol 看起来显示了新的 Chromium 输出如果扬声器按钮处于静音状态,单击该按钮即可取消静音。
希望这对你有帮助!