FYI I'm new to Ubuntu. I can't get sound through my monitor that is connected via HDMI-cable to the graphics card. On my laptop(Win10) it works lika a charm. I've built a PC:
- Motherboard: Gigabyte A320 GA-A320-DS2
- CPU: AMD RYZEN 5 1600
- Monitor: HP24es
- Ubuntu: 16.4.03 LTS
- AMD driver: amdgpu-pro 17.30-465504
In system settings/audio HDMI doesn't show up as an output-option, only S/PDIF. I've tried pulseaudio but it shows all the HDMI output options as unplugged. GNOME ALSA Mixer has everything unmuted under the Realtek ALC887-vd tab and the ATI R6xx HDMI tab shows no options whatsoever. aplay -l shows:
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
I've tried this Ubuntu refuses to output audio via HDMI, this https://itsfoss.com/how-to-fix-no-sound-through-hdmi-in-external-monitor-in-ubuntu/ and this:
pacmd set-card-profile 0 output:hdmi-stereo
but so far nothing has worked. Any ideas?
I don't know what that means but after a reboot the line in /etc/default/grub is changed to:
– Erik Myrsell Sep 13 '17 at 18:52