我有 antergos 和 gnome 作为 DE 双启动,与 Windows 10 一起启动。
一切正常,直到我打开笔记本电脑并播放电影,没有声音。(插入耳机时也没有声音)
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
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
系统已完全更新,我尝试重新安装 pavucontrolpulseaudiopulsaudio-alsapulsaudio-bluetoothalsa-firmwarealsa-lib alsa-utils
没有任何效果:( 我喜欢 arch linux,但有时它会很烦人。
答案1
在 Manjaro 用户使用相同 Realtek ALC294 的帖子后找到此页面
ALC294 模拟 - 检测到声卡,但内部或耳机没有声音
还从 ubuntu 用户找到了此页面,指出了问题的原因
无声音输出 - Ubuntu 17.10 - ASUS Zenbook 13
所有 3 个问题似乎都是由 Windows 10 关闭引起的相同问题
网络搜索结果显示没有报告 ALC294 的其他 Linux 问题;建议该音频设备在不受 Windows 影响的情况下在 Linux 中工作
答案2
我发现这个问题在 Windows/Linux 双引导系统中很常见,我的解决方案是通过在 Linux 系统中运行将系统置于挂起模式systemctl suspend
,当你恢复一切正常时,声音再次工作。
答案3
我在使用声卡 Conexant CX20722 的 Dell Inpiron 13 7359, 7 笔记本电脑上遇到此问题。
pulseaudio/alsa 的模块是 snd-hda-intel,在我的例子中,它的运行仅在 /etc/modprobe.d/alsa-base.conf 上插入下面的行。
选项 snd-hda-intel 型号=戴尔笔记本电脑
存在与windows分区冲突的问题。
尝试这个。
答案4
也许它被静音了。你可以尝试:
pactl set-sink-mute <your-sink-name/index>
为了知道最后一个参数:
pactl list sinks