仅供参考,我是 Ubuntu 新手。我无法通过 HDMI 电缆连接到显卡的显示器获得声音。在我的笔记本电脑(Win10)上,它运行良好。我组装了一台 PC:
- 主板:技嘉 A320 GA-A320-DS2
- 中央处理器:AMD RYZEN 5 1600
- 显示器:HP24es
- Ubuntu:16.4.03 LTS
- AMD 驱动程序:amdgpu-pro 17.30-465504
在系统设置/音频中,HDMI 不显示为输出选项,只有 S/PDIF。我试过 pulseaudio,但它显示所有 HDMI 输出选项都未插电。GNOME ALSA Mixer 在 Realtek ALC887-vd 选项卡下取消了所有内容的静音,而 ATI R6xx HDMI 选项卡则不显示任何选项。aplay -l 显示:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
我试过了Ubuntu 拒绝通过 HDMI 输出音频, 这https://itsfoss.com/how-to-fix-no-sound-through-hdmi-in-external-monitor-in-ubuntu/和这个:
pacmd set-card-profile 0 output:hdmi-stereo
但到目前为止,什么都没起作用。有什么想法吗?