我最近从 18.04 lts 升级到 Ubuntu 20.04 lts。重新启动后音频不起作用。我尝试重新安装pulseaudio,alsa但仍然无法正常工作。
sudo apt-get install --reinstall alsa-base pulseaudio
sudo alsa force-reload
还是行不通。
输出
??? inxi -SMA
System: Host: Wizard Kernel: 5.4.0-26-generic x86_64 bits: 64 Desktop: Gnome 3.36.1 Distro: Ubuntu 20.04 LTS (Focal Fossa)
Machine: Type: Portable System: Dell product: Vostro 2520 v: N/A serial: <superuser/root required>
Mobo: Dell model: 0V1NDP v: A11 serial: <superuser/root required> BIOS: Dell v: A11 date: 02/24/2014
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio driver: …Run Code Online (Sandbox Code Playgroud) 我现在使用 Ubuntu 20.04 一个多月了。重新启动后,我没有更多的声音和 WiFi。请注意,这与许多其他帖子不同,这些帖子在升级后似乎完全没有声音。在这种情况下,声音仅在重新启动后停止工作。
至于声音,我似乎没有适合 sound 的内核模块,所以我想最可能的解决方案是使模块可用(似乎我有两个声卡)。我将尝试在下面 (1) 中包含尽可能多的与具有类似问题的大量帖子相关的信息。
我在下面列出了 (2) 我认为在当前修复工作进行中最有用的帖子。
我在下面列出了我在草高时检查过的其他帖子(3)。
(1)有关我损坏的系统的信息,以及与我在设法拼凑在一起的工作系统中看到的内容的比较。
/proc/asound目录。
$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0x604b108000 irq 159
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xa4000000 irq 17
Run Code Online (Sandbox Code Playgroud)
$ lsmod | grep snd什么都不输出。
$ lsmod | grep snd_hda_intel
snd_hda_intel 53248 10
snd_intel_dspcfg 24576 3 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common
snd_hda_codec 131072 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core …Run Code Online (Sandbox Code Playgroud) 在升级之前,我的声音可以正常工作,现在不行。我只有一个输出“虚拟输出”。
我的电脑有 snd_hda_intel 声卡,我已经尝试了这里列出的所有步骤
任何帮助将不胜感激,希望避免重新安装。
系统信息,Thinkpad T460s,Kubuntu 20.04。
lsmod 的输出 | grep snd_hda_intel
snd_hda_intel 53248 3
snd_intel_dspcfg 24576 1 snd_hda_intel
snd_hda_codec 131072 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 90112 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_pcm 106496 5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd 90112 17 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_timer,thinkpad_acpi,snd_pcm,snd_rawmidi
Run Code Online (Sandbox Code Playgroud)
lspci -nnk 的输出 | grep -A3 音频
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d70] (rev 21)
Subsystem: Lenovo Sunrise Point-LP HD Audio [17aa:2233]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
Run Code Online (Sandbox Code Playgroud) 在我完全更新的 Ubuntu 18.04.3 系统上,除非我在输出之间切换,否则音频不起作用。当我启动我的 PC 时,默认情况下已经选择了正确的输出(立体声扬声器),但没有来自 Chromium、Firefox、VLC 或任何其他程序的音频。但是,GNOME 扬声器测试有效。我可以从那里听到“左前”和“右前”,但听不到其他程序的音频。为了解决这个问题,我可以简单地切换到另一个音频输出(例如 HDMI 输出),然后切换回立体声扬声器,音频就会神奇地工作。知道为什么吗?这没什么大不了的,因为在输出之间切换需要几秒钟的时间,但是每次重新启动后都这样做有点烦人。