Ubuntu 20.04.2 LTS 没有声音

Ubuntu 20.04.2 LTS 没有声音

我一直在尝试让我的笔记本电脑(与 Windows 双启动)的声音正常工作,但现在我已经束手无策了。我尝试了网上的许多解决方案,但都无济于事。有什么建议吗?

系统:

  • 华硕 FX503VD
  • CPU:四核英特尔酷睿 i7-7700HQ(-MT MCP-)
  • 速度/最小值/最大值:800/800/3800 MHz 内核:5.8.0-44-generic x86_64 最高:7m
  • 内存:1738.3/7844.3 MiB (22.2%) 存储:1.03 TiB (已使用 1.4%) 进程:269
  • 外壳:bash 5.0.17 inxi:3.0.38
$ sudo lspci

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0 (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #6 (rev f1)
00:1c.6 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #7 (rev f1)
00:1f.0 ISA bridge: Intel Corporation HM175 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)


$ sudo lshw -C sound

  *-usb:3                   
       description: Video
       product: USB2.0 HD UVC WebCam
       vendor: Azurewave
       physical id: 7
       bus info: usb@1:7
       version: 3.22
       serial: NULL
       capabilities: usb-2.00
       configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
  *-multimedia
       description: Audio device
       product: CM238 HD Audio Controller
       vendor: Intel Corporation
       physical id: 1f.3
       bus info: pci@0000:00:1f.3
       version: 31
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list
       configuration: driver=snd_hda_intel latency=32
       resources: irq:135 memory:df420000-df423fff memory:df400000-df40ffff

编辑:我检查了我的音频是否能在蓝牙上工作,结果是可以的(在执行了一些故障排除步骤后,蓝牙也不起作用了)。我的显示屏上也出现了奇怪的伪影和随机崩溃报告。真的考虑回到 18.04,Ubuntu 不是我的主要操作系统,我只是需要一些可靠的系统。

答案1

啊,CM238。好吧……有几个选项供您选择。希望其中一个是您还没有尝试过的。

更新alsa-base.conf

某些 Intel 声卡要求dmic_detect将值设置为0。具体操作如下:

  1. 打开终端(如果尚未打开)
  2. 编辑alsa-base.confroot
    sudo vi /etc/modprobe.d/alsa-base.conf
    
    笔记:请随意替换vi您选择的编辑器。
  3. 将以下行添加到文件末尾:
    options snd-hda-intel dmic_detect=0
    
  4. 保存并重启机器

如果这不能解决问题,那么......

重新安装 Alsa 和 PulseAudio

有时重新安装alsa-base即可pulseaudio使一切正常运行。要执行此操作:

  1. 打开终端(如果尚未打开)
  2. 更新apt并重新安装 alsa-basepulseaudio
    sudo apt update 
    sudo apt-get install --reinstall alsa-base pulseaudio
    
  3. 重新加载alsa
    sudo alsa force-reload
    

如果这不起作用...

使用pavucontrol

有时我会看到音频在摆弄后“神奇地”开始工作pavucontrol。如果你的计算机上还没有这个,你可以像这样安装它:

  1. 打开终端(如果尚未打开)
  2. 更新apt并安装pavucontrol
    sudo apt update
    sudo apt install pavucontrol
    
  3. 通过应用程序坞打开应用程序来运行pavucontrol。如果您想使用终端,可以这样做:
    pavucontrol &
    
  4. 检查输出设备是否正确以及音量滑块是否设置为 100% (0 db)

如果这不管用……我不确定。这些是我在笔记本中针对这种情况的唯一记录

相关内容