No Sound Over HDMI in i3

I just fresh installed Manjaro with i3. I connect my speakers via my monitor's audio jack. There is no sound over HDMI. I only installed Pulseaudio after the fresh installation.

The speaker system works fine in my previous Manjaro KDE and the alongside Windows.

When I run pavucontrol, I can see nothing is muted. I selected the HDMI that is shown plugged in. I can see audio volume is pumping.

My headphone worked once when I directly connect it to my PC. I can not reduplicate that anymore after I try to change the setting in the pavucontrol. I reverted everything back and there is no sound in my headphone.

Hardware :
I have i7-4790k with Nvidia 1080.

Thanks for helping in advance.

please post 'inxi -Fxz' as usual to get an overview. if your not using the nvidia-driver but instead nouveau, bumblebee, or the hybrid-driver than hdmi-sound is not avaiable.

Thank you for replying. It seems that I am using a Nvidia driver.

System:    Host: i3wm Kernel: 5.6.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
           Desktop: i3 4.18.1 Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASRock model: Z97 Killer serial: <filter> UEFI: American Megatrends 
           v: P2.20 date: 05/12/2015 
Battery:   Device-1: hidpp_battery_0 model: Logitech K520 charge: 70% (should be ignored) 
           status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i7-4790K bits: 64 type: MT MCP arch: Haswell 
           rev: 3 L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 64000 
           Speed: 1474 MHz min/max: 800/4400 MHz Core speeds (MHz): 1: 1861 2: 1755 3: 1825 4: 1869 
           5: 1663 6: 1368 7: 1841 8: 1785 
Graphics:  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics 
           vendor: ASRock driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GP104 [GeForce GTX 1080] vendor: ASUSTeK driver: nvidia v: 440.82 
           bus ID: 05:00.0 
           Display: x11 server: X.Org 1.20.8 driver: nvidia resolution: 3840x2160~30Hz 
           OpenGL: renderer: GeForce GTX 1080/PCIe/SSE2 v: 4.6.0 NVIDIA 440.82 direct render: Yes 
Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio vendor: ASRock 
           driver: snd_hda_intel v: kernel bus ID: 00:03.0 
           Device-2: Intel 9 Series Family HD Audio vendor: ASRock driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 
           Device-3: NVIDIA GP104 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel 
           v: kernel bus ID: 05:00.1 
           Sound Server: ALSA v: k5.6.16-1-MANJARO 
Network:   Device-1: Qualcomm Atheros Killer E220x Gigabit Ethernet vendor: ASRock driver: alx 
           v: kernel port: e000 bus ID: 04:00.0 
           IF: enp4s0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros AR93xx Wireless Network Adapter driver: ath9k v: kernel 
           port: d000 bus ID: 06:00.0 
           IF: wlp6s0 state: up mac: <filter> 
Drives:    Local Storage: total: 1.19 TiB used: 6.84 GiB (0.6%) 
           ID-1: /dev/sda vendor: SanDisk model: SDSSDXPS240G size: 223.57 GiB 
           ID-2: /dev/sdb vendor: Western Digital model: WD10EZEX-08WN4A0 size: 931.51 GiB 
           ID-3: /dev/sdc type: USB vendor: SanDisk model: Cruzer size: 58.42 GiB 
Partition: ID-1: / size: 906.94 GiB used: 6.84 GiB (0.8%) fs: ext4 dev: /dev/sdb2 
           ID-2: swap-1 size: 8.80 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdb3 
Sensors:   System Temperatures: cpu: 34.0 C mobo: N/A gpu: nvidia temp: 45 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Info:      Processes: 190 Uptime: 2h 24m Memory: 15.52 GiB used: 806.7 MiB (5.1%) Init: systemd 
           Compilers: gcc: 10.1.0 Shell: bash v: 5.0.17 inxi: 3.0.37 

check out 'aplay -l' if your hdmi audio is recognized. i have to leave now but post it that others can give you further support.

Yes, I understand that. Thank you for specifying the general guideline. I did search a lot of posts. My situation now is kind of weird to me. I once made the headphone worked, but I can not duplicated with every setting that I have changed. I suspect it is something that I am not seeing from other posts.

*** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I'm having the same problem with a 980Ti and DisplayPort connection? Fixed it yet?

I was having the same issue on Manjaro KDE. I fixed the issue by going to volume control and made HDMI output default.

you have a lot of HDMI outputs - 5 for motherboard (Card 0) and 7 for the nVidia GPU (Card 2)
presumably it is one of the subdevices for Card 2 showing as plugged in?

all audio subdevices are showing the same status in aplay -l

Subdevices: 1/1

1/1 indicates that Pulseaudio is not connected to any subdevices
if Pulseaudio was connected to a subdevice it would show status 0/1

check if package pulseaudio-alsa is installed
This package is only an optional dependency for pulseaudio so it is not installed automatically, but it is needed on Manjaro to create controls in ALSA for Pulseaudio
other i3 users have had the same problem before and installing pulseaudio-alsa is often all that is required to get audio working

My laptop only has a single HDMI output. I think you replied to the wrong comment.

your laptop may only have one physical HDMI socket but your 'aplay -l`data is showing ALSA has detected 5 HDMI subdevices on the Realtek audio codec and 7 subdevices on the nVidia GPU

most of the detected subdevices probably do not have a connection to use for audio and are not relevant, you only need to find the one that works and the rest can be disregarded

but it appears that pulseaudio-alsa is not installed and audio from Pulseaudio cannot connect to any subdevice in ALSA

it is possible to use speaker-test command with only ALSA to find the correct HDMI connection. but working out the correct command options and subdevice is more complex than using audio from pulseaudio and trying audio playback to the different HDMI outputs

I don't have the issue nor did I post the output of aplay -l. You are once again replying to the wrong comment. You should reply to @Kudoyafka

apologies for not spotting this before posting

post cannot be edited to change it to OP or a general response but it does only relate to OP comments and data

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by