Audio

聲音突然停止工作

  • July 2, 2020

我有 antergos 和 gnome 作為 Windows 10 雙引導的 DE。

一切正常,直到我打開筆記型電腦並播放電影,沒有聲音。(插入耳機時也沒有聲音)

windows有聲音,所以不是硬體問題。

以下是一些系統細節:

系統:

$ uname -a
Linux prometheus 4.17.6-1-ARCH #1 SMP PREEMPT Wed Jul 11 19:14:29 UTC 2018 x86_64 GNU/Linux

卡片:

$ cat /proc/asound/cards
0 [PCH            ]: HDA-Intel - HDA Intel PCH
                    HDA Intel PCH at 0xef528000 irq 16

驅動程序:

$ lsmod | grep snd
snd_hda_codec_hdmi     57344  1
snd_hda_codec_realtek   110592  1
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
snd_soc_skl           114688  0
snd_soc_skl_ipc        73728  1 snd_soc_skl
snd_hda_ext_core       28672  1 snd_soc_skl
snd_soc_sst_dsp        36864  1 snd_soc_skl_ipc
snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
snd_soc_acpi           16384  1 snd_soc_skl
snd_soc_core          290816  1 snd_soc_skl
snd_compress           24576  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          45056  3
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           94208  7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               135168  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer              36864  1 snd_pcm
snd                    98304  16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore              16384  1 snd

alsamixers 輸出

lspci | grep Audio輸出:

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)

aplay -lL輸出:

null
   Discard all samples (playback) or generate zero samples (capture)
pulse
   PulseAudio Sound Server
default
   Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
   HDA Intel PCH, ALC294 Analog
   Default Audio Device
front:CARD=PCH,DEV=0
   HDA Intel PCH, ALC294 Analog
   Front speakers
surround21:CARD=PCH,DEV=0
   HDA Intel PCH, ALC294 Analog
   2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
   HDA Intel PCH, ALC294 Analog
   4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
   HDA Intel PCH, ALC294 Analog
   4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
   HDA Intel PCH, ALC294 Analog
   5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
   HDA Intel PCH, ALC294 Analog
   5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
   HDA Intel PCH, ALC294 Analog
   7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
   HDA Intel PCH, HDMI 0
   HDMI Audio Output
hdmi:CARD=PCH,DEV=1
   HDA Intel PCH, HDMI 1
   HDMI Audio Output
hdmi:CARD=PCH,DEV=2
   HDA Intel PCH, HDMI 2
   HDMI Audio Output
hdmi:CARD=PCH,DEV=3
   HDA Intel PCH, HDMI 3
   HDMI Audio Output
hdmi:CARD=PCH,DEV=4
   HDA Intel PCH, HDMI 4
   HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC294 Analog [ALC294 Analog]
 Subdevices: 1/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

系統已完全更新,我嘗試重新安裝 pavucontrol pulseaudio pulseaudio-alsa pulseaudio-bluetooth alsa-firmware alsa-lib alsa-utils

沒有任何效果:(我喜歡arch linux,但有時會很煩人。

我發現這個問題在 windows/linux 雙啟動系統中很常見,我的解決方案是通過systemctl suspend在 linux 系統中執行將系統置於掛起模式,當你恢復一切正常時,聲音又開始工作了。

在 Manjaro 使用者使用相同的 Realtek ALC294 ALC294 模擬後發現此頁面

- 檢測到音效卡,但內部或耳機沒有聲音

還從 ubuntu 使用者那裡找到了這個頁面,指出問題的原因

沒有聲音輸出 - Ubuntu 17.10 - ASUS Zenbook 13

所有 3 個似乎都是由 Windows 10 關閉引起的相同問題

網路搜尋結果顯示沒有報告 ALC294 的其他 Linux 問題;建議此音頻設備在不受 Windows 影響時在 Linux 中工作

引用自:https://unix.stackexchange.com/questions/456883