音频在Arch Linux中不起作用

时间:2017-08-17 03:21:13

标签: linux archlinux arch

这很有趣,因为之前我的设置完全相同,但我必须将我的主板和处理器发送给保修。之后,我的声音消失了。特别是试图让耳机输出工作。 我的预感说NVIDIA的HDMI与这个问题有关,但我还没能找到问题所在。我使用默认的DVI电缆。

我已经重新安装了我的Arch Linux几次,但问题仍然存在。

我检查过以下内容:

  • speaker-test -c2< - 由于某种原因播放和工作。这是唯一有效的方法。

  • aplay test-wav-file.wav< - 播放但听不到任何声音。

  • alsamixer(unmuted,fiddled,everything

  • asoundconf set-default-card SB(主板芯片)。
lspci output:  
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia   (Intel HDA) (rev 40)  
01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller   (rev a1)  



aplay -l output:  
**** List of PLAYBACK Hardware Devices ****  

card 0: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

card 0: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0

card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0

card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0

ls -la /dev/snd/ output: total 0
drwxr-xr-x 3 root root 340 Aug 16 15:25 .
drwxr-xr-x 19 root root 3020 Aug 16 15:26 ..
drwxr-xr-x 2 root root 80 Aug 16 15:25 by-path
crw-rw----+ 1 root audio 116, 2 Aug 16 15:25 controlC0
crw-rw----+ 1 root audio 116, 8 Aug 16 15:25 controlC1
crw-rw----+ 1 root audio 116, 7 Aug 16 15:25 hwC0D0
crw-rw----+ 1 root audio 116, 13 Aug 16 15:25 hwC1D0
crw-rw----+ 1 root audio 116, 4 Aug 16 15:25 pcmC0D0c
crw-rw----+ 1 root audio 116, 3 Aug 16 15:39 pcmC0D0p
crw-rw----+ 1 root audio 116, 5 Aug 16 15:25 pcmC0D1p
crw-rw----+ 1 root audio 116, 6 Aug 16 15:25 pcmC0D2c
crw-rw----+ 1 root audio 116, 9 Aug 16 15:25 pcmC1D3p
crw-rw----+ 1 root audio 116, 10 Aug 16 15:25 pcmC1D7p
crw-rw----+ 1 root audio 116, 11 Aug 16 15:25 pcmC1D8p
crw-rw----+ 1 root audio 116, 12 Aug 16 15:25 pcmC1D9p
crw-rw----+ 1 root audio 116, 1 Aug 16 15:25 seq
crw-rw----+ 1 root audio 116, 33 Aug 16 15:25 timer

1 个答案:

答案 0 :(得分:1)

尝试安装PulseAudio

sudo pacman -Sy pulseaudio

SystemD应检测到它已安装并在下次重新启动时启动它。你应该有声音。