Ubuntu 23.04 突发无声音问题求助(双系统环境)
Ubuntu 23.04 突发无声音问题求助(双系统环境)
系统与硬件信息
- 双系统配置:Ubuntu 23.04 + Windows 11(分独立磁盘安装)
- 设备:HP OMEN 游戏台式机
- Ubuntu桌面环境:已升级到最新版本的Cinnamon
问题背景
这套双系统我已经稳定使用了好几个月,之前声音一直完全正常,但上次启动Ubuntu后突然没声音了。我每次进Ubuntu都会执行系统更新升级操作,Windows 11的声音完全正常,Ubuntu这边我已经检查了静音开关、音量滑块这些基础设置,都没有问题。
声音设置里显示输出设备是「Line Out Built-in Audio」,配置文件为「Analog Stereo」,之前能正常工作的测试音现在完全没输出,系统提示音也彻底消失了。我搜了很多解决方案尝试都没用,作为Linux新手我平时根本不敢乱改系统设置,最近也没安装新程序,实在卡壳了,求大家帮忙!
已执行的排查操作及测试结果
我按照网上的建议跑了一些命令,结果如下(我完全看不懂这些输出代表什么):
1. PipeWire服务状态
pipewire.service - PipeWire Multimedia Service Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled) Active: active (running) since Fri 2023-09-08 14:34:48 CDT; 21min ago TriggeredBy: ● pipewire.socket Main PID: 1915 (pipewire) Tasks: 2 (limit: 38030) Memory: 6.8M CPU: 229ms CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service └─1915 /usr/bin/pipewire Sep 08 14:34:48 dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx systemd[1908]: Started pipewire.service - PipeWire Multimedia Service. Sep 08 14:34:48 dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx pipewire[1915]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running? Sep 08 14:34:48 dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx pipewire[1915]: mod.rt: found session bus but no portal
2. 音频设备PCI信息
~$ lspci -nnk |grep -A3 -i aud 00:1f.3 Multimedia audio controller [0401]: Intel Corporation Device [8086:7a50] (rev 11) DeviceName: Onboard - Sound Subsystem: Hewlett-Packard Company Device [103c:8a97] Kernel driver in use: snd_hda_intel 03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28] Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28] Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
3. 音频内核模块加载情况
~$ lsmod | grep -i snd snd_seq_dummy 16384 0 snd_hrtimer 16384 1 snd_hda_codec_realtek 192512 1 snd_hda_codec_generic 118784 1 snd_hda_codec_realtek ledtrig_audio 16384 1 snd_hda_codec_generic snd_sof_pci_intel_tgl 16384 0 snd_sof_intel_hda_common 188416 1 snd_sof_pci_intel_tgl soundwire_intel 57344 1 snd_sof_intel_hda_common snd_sof_intel_hda 24576 1 snd_sof_intel_hda_common snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common snd_sof 311296 3 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_hda snd_sof_utils 20480 1 snd_sof snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common snd_hda_ext_core 36864 3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda snd_soc_acpi_intel_match 77824 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common snd_soc_core 417792 4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda snd_hda_codec_hdmi 94208 2 snd_compress 32768 1 snd_soc_core ac97_bus 16384 1 snd_soc_core snd_pcm_dmaengine 20480 1 snd_soc_core snd_hda_intel 61440 2 snd_intel_dspcfg 36864 3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common snd_intel_sdw_acpi 20480 2 snd_sof_intel_hda_common,snd_intel_dspcfg snd_hda_codec 204800 6 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_sof_intel_hda snd_hda_core 139264 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda snd_hwdep 20480 1 snd_hda_codec snd_pcm 192512 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pcm_dmaengine snd_seq_midi 20480 0 snd_seq_midi_event 16384 1 snd_seq_midi snd_rawmidi 53248 1 snd_seq_midi snd_seq 94208 9 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm snd 135168 20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi soundcore 16384 1 snd
4. 音频设备占用情况
~$ fuser /dev/snd/ /dev/snd/controlC0: 1949 /dev/snd/controlC1: 1949 /dev/snd/seq: 1946 ~$ lsof /dev/snd/* COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME pipewire 1946 dogman 50u CHR 116,1 0t0 580 /dev/snd/seq pipewire 1946 dogman 51u CHR 116,1 0t0 580 /dev/snd/seq wireplumb 1949 dogman 31u CHR 116,19 0t0 1078 /dev/snd/controlC0 wireplumb 1949 dogman 35u CHR 116,9 0t0 1044 /dev/snd/controlC1
5. PulseAudio信息
~$ pactl info Server String: /run/user/1000/pulse/native Library Protocol Version: 35 Server Protocol Version: 35 Is Local: yes Client Index: 64 Tile Size: 65472 User Name: dogman Host Name: dogman-OMEN-by-HP-40L-Gaming-Desktop-GT21-1xxx Server Name: PulseAudio (on PipeWire 0.3.79) Server Version: 15.0.0 Default Sample Specification: float32le 2ch 48000Hz Default Channel Map: front-left,front-right Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo Default Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor Cookie: 7401:edbf
后续尝试的操作
- 安装了ALSA Mixer,调整了各种参数后只能听到非常微弱的声音,完全达不到可用程度
- 执行了
pulseaudio --kill和pulseaudio --start命令,没有任何改善 - 我完全不知道怎么重新安装音频驱动,网上找到的都是针对旧版Ubuntu的教程,不敢随便尝试
真的很沮丧,明明之前一切正常,我什么也没改就突然出问题了,Windows那边又完全没问题,希望有人能帮我解决这个问题!
备注:内容来源于stack exchange,提问作者Dogman45
相关产品推荐
相关产品推荐

