Linux Manjaro No audio over HDMI

Hi guys.

I’ve build a new PC this weekend with linux manjaro/cleanjaro on it. But i can’t get audio over hdmi to work. I connected my monitor via hdmi to my videocard. I have a amd/ati rx580 with ryzen 2600x if that helps.

I tried nearly every guide on google. Nothing worked so far. It always says Digital Stereo (HDMI) Output (unplugged) (unavailable) in pulseaudio. I tried to install normal manjaro, debian and ubuntu and also live medium.

Tried different cable, monitor and tv. Also tried to disable onboard audio in bios. Tried different kernel versions (4.19, 5.2, 5,3, 5.4). Tried adding amdgpu.dc=1, amdgpu.audio=1 and radeon.audio=1 to /etc/default/grub. I recently installed xf86-video-amdgpu-git 19.1.0.0-1 with kernel 5.4. Still nothing.

Anyone got some ideas?

does your monitor have a ground connection? The 3rd pin in the power plug? Ive had some issues in some HDMI that refuse to function without grounding (maybe as a safety feature?).

Hi.

No it doesn’t. But i don’t think it’s a cable issue. I don’t have other cables (3 pin) to test that. Audio over hdmi works on all other devices but on this PC. I think it’s an software thing. Nothing on the internet that worked for toher people worked for me yet. I’m out of ideas.

I can try another videocard, but that won’t fix my issue with the rx580.

Can confirm that it does/can function properly w/ r5 1600, rx580, msi tomahawk, ubuntu 19.1 w/out any fixes… not that I use it since the speakers on my tv/monitor are terrible.
But I’m assuming you tried ubuntu 19.1 or .10 in a live environment? Maybe check out what alternative audio driver packages might be available/work with your system.

does audio work on another device using this cable?

have you checked that the correct HDMI audio device has been set in Pulseaudio?
and output is not muted in alsamixer?

Yes, i tried ubuntu in a live enviroment, why?

I don’t know how to do that, to be frank. AFAIK i have pulseaudio installed.

Yes, it works on every other device i’ve tested so far.

In Valume Control > Configuration i have 2 Profiles, one for HDMI and the other HD Audio Controller (thats my motherboard and front panel). HDAC works fine, but i want audio over HDMI.
When i type alsamixer in terminal i can see PulseAudio for Card and Chip at 100. Pressing F6 and selecting sound card > 0 HDA ATI HDMI shows HDA ATI HDMI for Card and ATI R6xx HDMI for Chip but everything on 00 and i can’t change anything. No Master Control.

HDMI audio outputs in alsamixer do not have level controls, just a mute button
all outputs showing [OO] (unmuted) is good

need pavucontrol to change audio ‘Playback’ from HDA analog to HDMI,
and ‘Output Device’ set to correct HDMI output

there is no alternative driver - only snd_hda_intel

Well, yeah. I can change playback from HDAC to HDMI. Problem is, HDMI donsn’t play any sound. I can see the bar moving though.

I only have one option here. All it says is:
Port: HDMI / DisplayPort (unplugged)

please post Pulseaudio information - pactl list cards

and the link from response to ALSA diagnostic - alsa-info.sh --upload

Well, did it work there?

Also what monitor is it you are trying to connect to? And have you tried displayport?

Card #0
Name: alsa_card.pci-0000_0a_00.1
Driver: module-alsa-card.c
Owner Module: 6
Properties:
alsa.card = “0”
alsa.card_name = “HDA ATI HDMI”
alsa.long_card_name = “HDA ATI HDMI at 0xfce60000 irq 76”
alsa.driver_name = “snd_hda_intel”
device.bus_path = “pci-0000:0a:00.1”
sysfs.path = “/devices/pci0000:00/0000:00:03.1/0000:0a:00.1/sound/card0”
device.bus = “pci”
device.vendor.id = “1002”
device.vendor.name = “Advanced Micro Devices, Inc. [AMD/ATI]”
device.product.id = “aaf0”
device.product.name = “Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]”
device.string = “0”
device.description = “Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]”
module-udev-detect.discovered = “1”
device.icon_name = “audio-card-pci”
Profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: output:hdmi-stereo
Ports:
hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
Properties:
device.icon_name = “video-display”
Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available)
Properties:
device.icon_name = “video-display”
Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0 usec, not available)
Properties:
device.icon_name = “video-display”
Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
hdmi-output-3: HDMI / DisplayPort 4 (priority: 5600, latency offset: 0 usec, not available)
Properties:
device.icon_name = “video-display”
Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
hdmi-output-4: HDMI / DisplayPort 5 (priority: 5500, latency offset: 0 usec, not available)
Properties:
device.icon_name = “video-display”
Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4
hdmi-output-5: HDMI / DisplayPort 6 (priority: 5400, latency offset: 0 usec, not available)
Properties:
device.icon_name = “video-display”
Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5

Card #1
Name: alsa_card.pci-0000_0c_00.3
Driver: module-alsa-card.c
Owner Module: 7
Properties:
alsa.card = “1”
alsa.card_name = “HD-Audio Generic”
alsa.long_card_name = “HD-Audio Generic at 0xfcd00000 irq 78”
alsa.driver_name = “snd_hda_intel”
device.bus_path = “pci-0000:0c:00.3”
sysfs.path = “/devices/pci0000:00/0000:00:08.1/0000:0c:00.3/sound/card1”
device.bus = “pci”
device.vendor.id = “1022”
device.vendor.name = “Advanced Micro Devices, Inc. [AMD]”
device.product.id = “1457”
device.product.name = “Family 17h (Models 00h-0fh) HD Audio Controller”
device.string = “1”
device.description = “Family 17h (Models 00h-0fh) HD Audio Controller”
module-udev-detect.discovered = “1”
device.icon_name = “audio-card-pci”
Profiles:
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: output:analog-stereo
Ports:
analog-input-front-mic: Front Microphone (priority: 8500, latency offset: 0 usec, not available)
Properties:
device.icon_name = “audio-input-microphone”
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-input-rear-mic: Rear Microphone (priority: 8200, latency offset: 0 usec, not available)
Properties:
device.icon_name = “audio-input-microphone”
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-input-linein: Line In (priority: 8100, latency offset: 0 usec, not available)
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-lineout: Line Out (priority: 9000, latency offset: 0 usec, available)
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-headphones: Headphones (priority: 9900, latency offset: 0 usec, not available)
Properties:
device.icon_name = “audio-headphones”
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo

http://alsa-project.org/db/?f=ca43fc6629379933df2d89ad007aae7b042d50a2

No, it didn’t. It doesn’t work on any distro i’ve tested so far.

I think it’s an Acer G236HL 23-Inch Screen LED Monitor, but im not sure.

This monitor only has one HDMI port.

Hope this helps. Thanks so far.

Nope.

Ports & Connectors: VGA, DVI-in

Well, yes. That Model has, as seen in the pictures, 2 HDMI ports. Mine has only one. I can assure you it does, since all my devices are connected via HDMI.

Was my given info helpful @nikgnomic ?