You are not logged in.
Hi, I recently installed Arch Linux. I'm using Xorg, Nvidia official driver and KDE. But I'm having trouble with HDMI audio output. I tried with pulseaudio and pipewire-pulse but unfortunately still no sound. It seems on Pavucontrol and alsamixer that the audio output works. But physically I don't hear any sound. Installed windows and arch with dualboot. There is no problem in windows.
Last edited by speretta (2022-07-20 03:02:53)
Offline
Are you selecting the correct HDMI profile for audio output? During an attempted not audible test what is your output for
sudo fuser -v /dev/snd/*
aplay -lL
pactl list cards
pactl list sinks
pactl list sink-inputsOffline
Are you sure the HDMI device is active? Sometimes I also have this problem after boot, but in the list of playback devices I can see that HDMI is disabled only Line out works.
I'm not sure what's the root of the problem, it started when I switched to wireplumber, but my solution:
systemctl --user restart pipewire-pulse.service
systemctl --user restart wireplumber.serviceOffline
Are you selecting the correct HDMI profile for audio output? During an attempted not audible test what is your output for
sudo fuser -v /dev/snd/* aplay -lL pactl list cards pactl list sinks pactl list sink-inputs
Yes I am choosing the correct HDMI output. Even in professional mode, there is only 1 stereo output. And I'm 99% sure I chose it right.
USER PID ACCESS COMMAND
/dev/snd/controlC0: oplta 933 F.... wireplumber
/dev/snd/controlC1: oplta 932 F.... pipewire
oplta 933 F.... wireplumber
/dev/snd/pcmC1D7p: oplta 932 F...m pipewire
/dev/snd/seq: oplta 932 F.... pipewire
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC662 rev3 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC662 rev3 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, Casper
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 2
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 3
HDMI Audio Output
hdmi:CARD=NVidia,DEV=4
HDA NVidia, HDMI 4
HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
HDA NVidia, HDMI 5
HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
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 [Casper ]
Subdevices: 0/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
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
Card #41
Name: alsa_card.pci-0000_01_00.1
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "1"
api.alsa.card.longname = "HDA NVidia at 0xdf080000 irq 17"
api.alsa.card.name = "HDA NVidia"
api.alsa.path = "hw:1"
api.alsa.use-acp = "true"
device.api = "alsa"
device.bus = "pci"
device.bus_path = "pci-0000:01:00.1"
device.description = "GP107GL High Definition Audio Controller"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_01_00.1"
device.nick = "HDA NVidia"
device.plugged.usec = "9334659"
device.product.id = "0x0fb9"
device.product.name = "GP107GL High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
device.vendor.id = "0x10de"
device.vendor.name = "NVIDIA Corporation"
media.class = "Audio/Device"
factory.id = "14"
client.id = "34"
object.id = "40"
object.serial = "41"
object.path = "alsa:pcm:1"
alsa.card = "1"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xdf080000 irq 17"
alsa.driver_name = "snd_hda_intel"
device.string = "1"
Profiles:
off: Kapalı (sinks: 0, sources: 0, priority: 0, available: yes)
output:hdmi-stereo: Sayısal Stereo (HDMI) Çıkışı (sinks: 1, sources: 0, priority: 5900, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Çıkışı (sinks: 1, sources: 0, priority: 5700, available: yes)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Çıkışı (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Çıkışı (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Çıkışı (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Çıkışı (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround: Sayısal Çevresel Ses 5.1 (HDMI) Çıkışı (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Çıkışı (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Çıkışı (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Çıkışı (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Çıkışı (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Çıkışı (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Çıkışı (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Çıkışı (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Çıkışı (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Çıkışı (sinks: 1, sources: 0, priority: 600, available: no)
pro-audio: Profesyonel Ses (sinks: 6, sources: 0, priority: 1, available: yes)
Active Profile: output:hdmi-stereo-extra1
Ports:
hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 1"
device.icon_name = "video-display"
card.profile.port = "0"
Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 2"
device.icon_name = "video-display"
card.profile.port = "1"
device.product.name = "Casper
"
Part of profile(s): output:hdmi-stereo-extra1
hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 3, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 3"
device.icon_name = "video-display"
card.profile.port = "2"
Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 4, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 4"
device.icon_name = "video-display"
card.profile.port = "3"
Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI, priority: 5500, latency offset: 0 usec, availability group: Legacy 5, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 5"
device.icon_name = "video-display"
card.profile.port = "4"
Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4
hdmi-output-5: HDMI / DisplayPort 6 (type: HDMI, priority: 5400, latency offset: 0 usec, availability group: Legacy 6, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 6"
device.icon_name = "video-display"
card.profile.port = "5"
Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5
Card #42
Name: alsa_card.pci-0000_00_1f.3
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.card.longname = "HDA Intel PCH at 0xdf220000 irq 127"
api.alsa.card.name = "HDA Intel PCH"
api.alsa.path = "hw:0"
api.alsa.use-acp = "true"
device.api = "alsa"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3"
device.description = "Dahili Ses"
device.enum.api = "udev"
device.form_factor = "internal"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3"
device.nick = "HDA Intel PCH"
device.plugged.usec = "9432163"
device.product.id = "0xa170"
device.product.name = "100 Series/C230 Series Chipset Family HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
media.class = "Audio/Device"
factory.id = "14"
client.id = "34"
object.id = "41"
object.serial = "42"
object.path = "alsa:pcm:0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xdf220000 irq 127"
alsa.driver_name = "snd_hda_intel"
device.string = "0"
Profiles:
off: Kapalı (sinks: 0, sources: 0, priority: 0, available: yes)
output:analog-stereo+input:analog-stereo: Analog İkili Stereo (sinks: 1, sources: 1, priority: 6565, available: yes)
output:analog-stereo: Analog Stereo Çıkışı (sinks: 1, sources: 0, priority: 6500, available: yes)
input:analog-stereo: Analog Stereo Girişi (sinks: 0, sources: 1, priority: 65, available: yes)
pro-audio: Profesyonel Ses (sinks: 1, sources: 2, priority: 1, available: yes)
Active Profile: off
Ports:
analog-input-front-mic: Ön Mikrofon (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
Properties:
port.type = "mic"
port.availability-group = "Legacy 1"
device.icon_name = "audio-input-microphone"
card.profile.port = "0"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-input-rear-mic: Arka Mikrofon (type: Mic, priority: 8200, latency offset: 0 usec, availability group: Legacy 2, available)
Properties:
port.type = "mic"
port.availability-group = "Legacy 2"
device.icon_name = "audio-input-microphone"
card.profile.port = "1"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-input-linein: Hat Girişi (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
Properties:
port.type = "line"
port.availability-group = "Legacy 3"
card.profile.port = "2"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-lineout: Hat Çıkışı (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, not available)
Properties:
port.type = "line"
port.availability-group = "Legacy 4"
card.profile.port = "3"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-headphones: Kulaklık (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 5, availability unknown)
Properties:
port.type = "headphones"
port.availability-group = "Legacy 5"
device.icon_name = "audio-headphones"
card.profile.port = "4"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
Sink #48
State: RUNNING
Name: alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1
Description: GP107GL High Definition Audio Controller Digital Stereo (HDMI 2)
Driver: PipeWire
Sample Specification: s16le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
Properties:
alsa.card = "1"
alsa.card_name = "HDA NVidia"
alsa.class = "generic"
alsa.device = "7"
alsa.driver_name = "snd_hda_intel"
alsa.id = "HDMI 1"
alsa.long_card_name = "HDA NVidia at 0xdf080000 irq 17"
alsa.name = "Casper"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HDA NVidia at 0xdf080000 irq 17"
api.alsa.card.name = "HDA NVidia"
api.alsa.path = "hdmi:1,1"
api.alsa.pcm.card = "1"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "9"
device.api = "alsa"
device.class = "sound"
device.id = "40"
device.profile.description = "Digital Stereo (HDMI 2)"
device.profile.name = "hdmi-stereo-extra1"
device.routes = "1"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "GP107GL High Definition Audio Controller"
node.name = "alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1"
node.nick = "Casper"
node.pause-on-idle = "false"
object.path = "alsa:pcm:1:hdmi:1,1:playback"
priority.driver = "632"
priority.session = "632"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "34"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "47"
object.serial = "48"
node.max-latency = "16384/48000"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "1"
api.alsa.use-acp = "true"
device.bus = "pci"
device.bus_path = "pci-0000:01:00.1"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_01_00.1"
device.nick = "HDA NVidia"
device.plugged.usec = "9334659"
device.product.id = "0x0fb9"
device.product.name = "GP107GL High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
device.vendor.id = "0x10de"
device.vendor.name = "NVIDIA Corporation"
device.string = "1"
Ports:
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, availability group: Legacy 2, available)
Active Port: hdmi-output-1
Formats:
pcm
Sink Input #71
Driver: PipeWire
Owner Module: n/a
Client: 70
Sink: 48
Sample Specification: float32le 2ch 48000Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = "\"float32le\"" format.rate = "48000" format.channels = "2" format.channel_map = "\"front-left,front-right\""
Corked: no
Mute: no
Volume: front-left: 58141 / 89% / -3,12 dB, front-right: 58141 / 89% / -3,12 dB
balance 0,00
Buffer Latency: 0 usec
Sink Latency: 0 usec
Resample method: PipeWire
Properties:
client.api = "pipewire-pulse"
pulse.server.type = "unix"
application.name = "Firefox"
application.process.id = "789"
application.process.user = "oplta"
application.process.host = "oplta"
application.process.binary = "firefox"
application.language = "tr_TR.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "8d0c2b9fbd0f45539fa6b2d3fdd77d52"
application.process.session_id = "2"
media.name = "AudioStream"
node.rate = "1/48000"
node.latency = "3600/48000"
stream.is-live = "true"
node.name = "Firefox"
node.autoconnect = "true"
node.want-driver = "true"
media.class = "Stream/Output/Audio"
adapt.follower.spa-node = ""
object.register = "false"
factory.id = "6"
clock.quantum-limit = "8192"
factory.mode = "split"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
client.id = "52"
object.id = "53"
object.serial = "71"
pulse.attr.maxlength = "4194304"
pulse.attr.tlength = "48000"
pulse.attr.prebuf = "38408"
pulse.attr.minreq = "9600"
module-stream-restore.id = "sink-input-by-application-name:Firefox"Offline
Are you sure the HDMI device is active? Sometimes I also have this problem after boot, but in the list of playback devices I can see that HDMI is disabled only Line out works.
I'm not sure what's the root of the problem, it started when I switched to wireplumber, but my solution:systemctl --user restart pipewire-pulse.service systemctl --user restart wireplumber.service
Nothing has changed.
Offline
Interestingly, my problem fixed itself. I tried deleting pipewire this morning. But it didn't allow it to be deleted. Just as I was closing the terminal, I heard a sound. When I entered youtube and tried it, the sound started to work. I'm pretty sure I haven't done any systemic things. Very interesting.
Offline
Interestingly, my problem fixed itself. I tried deleting pipewire this morning. But it didn't allow it to be deleted. Just as I was closing the terminal, I heard a sound. When I entered youtube and tried it, the sound started to work. I'm pretty sure I haven't done any systemic things. Very interesting.
Lucky basterd. ;-)
Don't forget to put "[Magically solved itself]" in the title.
Offline
speretta wrote:Interestingly, my problem fixed itself. I tried deleting pipewire this morning. But it didn't allow it to be deleted. Just as I was closing the terminal, I heard a sound. When I entered youtube and tried it, the sound started to work. I'm pretty sure I haven't done any systemic things. Very interesting.
Lucky basterd. ;-)
Don't forget to put "[Magically solved itself]" in the title.
Actually, I missed a small detail in the post description. I am using an HDMI to VGA converter. Interestingly, these converters do not work on linux when there is no display driver. Sometimes there is no display on boot so I unplug and plug the converter and the problem is gone. I think that's how I unplugged the converter and plugged it back in at the time. And magically, the sound came with it. So I think the problem is actually from the Xorg or Nvidia drivers. For now, unplugging and plugging the converter when the no sound solves my problem.
Offline