You are not logged in.

#1 2022-02-24 02:26:50

turbochamp
Member
Registered: 2021-11-05
Posts: 23

Pipewire no audio through HDMI (TV)

I have pipewire, pipewire-alsa, pipewire-pulse, pipewire-media-session all installed. I get audio in my USB headset, but if I switch to HDMI in pavu I get no audio. But I can see the audio streaming through in pavu as if I was getting sound normally. I tried changing profiles, nothing.

Does pipewire not play well with hdmi?

Offline

#2 2022-02-24 02:34:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,205

Re: Pipewire no audio through HDMI (TV)

What HDMI, which graphics card? How sure are you your monitor has speakers and how sure are you that if they are present that they aren't muted on the monitor side. There shouldn't be anything inherently preventing pipewire from accessing HDMI but there are quite a few things at play here. To rule out a pipewire issue you could run speaker-test -D$dev -c2 with dedicated hw strings like hw:0,1 or whatever corresponds to the correct HDMI card. If the speaker-test gives you output it's a pipewire issue, if it doesn't it's lower level.

Offline

#3 2022-02-24 03:48:27

turbochamp
Member
Registered: 2021-11-05
Posts: 23

Re: Pipewire no audio through HDMI (TV)

V1del wrote:

What HDMI, which graphics card? How sure are you your monitor has speakers and how sure are you that if they are present that they aren't muted on the monitor side. There shouldn't be anything inherently preventing pipewire from accessing HDMI but there are quite a few things at play here. To rule out a pipewire issue you could run speaker-test -D$dev -c2 with dedicated hw strings like hw:0,1 or whatever corresponds to the correct HDMI card. If the speaker-test gives you output it's a pipewire issue, if it doesn't it's lower level.

It's a TV, it's in the title. 3070 TI. But yeah the TV isn't muted, channels aren't muted in alsamixer. I've tried a speaker test. It all worked in pulseaudio, just decided to try Pipewire.

When in pavucontrol and the HDMI is selected I can see audio is coming through (like the visual audio bar is moving, like normal) but sound doesn't make it to the TV.

Offline

#4 2022-02-24 11:42:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,205

Re: Pipewire no audio through HDMI (TV)

You didn't mention that it used to work and there are many people that run into one or the other two problems that nothing on the OS can do much about, the sound bar moving doesn't have to mean much the only thing this definitely shows that the output isn't muted from a pulse perspective, did you select the correct profile? Post

aplay -l
amixer -c1 #That's an assumption, replace the 1 with the correct card index according to the -l output
pactl list cards
pactl list sinks

did you try the speaker-test method (if speaker-test on the correct HDMI/ALSA device works then driver/kernel is fine and it's very likely a pipewire bug) to rule out a pipewire issue? It could also be a driver bug, which kernel/nvidia driver version did it work with on pulse? Other things that just comes to mind, what's your refresh rate? And if it isn't 60Hz what happens if you change to 60

Last edited by V1del (2022-02-24 12:30:53)

Offline

#5 2023-01-03 23:49:53

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

Re: Pipewire no audio through HDMI (TV)

Hi, hijacking this thread since I'm having the exact issue. Speaker test is able to play audio on my connected HDMI device. aplay -l lists the connected HDMI device:

❯ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [EPSON PJ]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

However, pactl list cards shows the corresponding interface as not having any profiles:

❯ pactl list cards
Card #47
        Name: alsa_card.pci-0000_07_00.1
        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 = "HD-Audio Generic at 0xfd3c8000 irq 109"
                api.alsa.card.name = "HD-Audio Generic"
                api.alsa.path = "hw:0"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio0"
                device.api = "alsa"
                device.bus = "pci"
                device.bus_path = "pci-0000:07:00.1"
                device.description = "Renoir Radeon High Definition Audio Controller"
                device.enum.api = "udev"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_07_00.1"
                device.nick = "HD-Audio Generic"
                device.plugged.usec = "3290954"
                device.product.id = "0x1637"
                device.product.name = "Renoir Radeon High Definition Audio Controller"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:07:00.1/sound/card0"
                device.vendor.id = "0x1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                media.class = "Audio/Device"
                factory.id = "14"
                client.id = "33"
                object.id = "47"
                object.serial = "47"
                object.path = "alsa:pcm:0"
                alsa.card = "0"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xfd3c8000 irq 109"
                alsa.driver_name = "snd_hda_intel"
                device.string = "0"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: off

KDE control center lists this audio card as "Inactive". How can I make it active?

Offline

#6 2023-01-17 00:46:03

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

I have the same issue, Pipewire no audio through HDMI (TV), I am setting up Archlinux with pipewire...pulse audio works perfect out of the box... doing low latency work for audio recording. I have 2 output devices a HDMI tv and Audiobox usb, the Audiobox usb works perfect, the HDMI no audio, just used webbrowser on youtube to test. I tried as directed by the moderator speaker-test -Dhw:0,3 -c2 where hw:0,3 is my HDMI tv and sounds come out... so pulse and alsa is working as understood. Noting all audio worked perfect on install without pipewire initally. Now if theres a bug i made sure I am using  the right drivers...
Now the Video driver is mesa. Asus 560 with I5-11400 processor with graphics.  Ref,   https://wiki.archlinux.org/title/Intel_graphics driver is
Mesa Version 22.3.3-1 and Pipewire Version 1:0.3.64-1, changed refresh rate from 60 to 50, and 30 no change. "In Windows 11 audio works perfectly with jack, asio and ardour." In Archlinux works perfect with original configuration.

Now i tried manjaro, and a few other Arch linux distros same issue with pipewire...
I am using a new HDMI cable for v2.1 and 8k, from an older HDMI cable.

Also, I have 4 computer systems that Archlinux doesnt work with pipewire for Hdmi tv, Asus amd 4 core, HP amd 4 core and Laptop Toshiba 4 core.

But on the Dell optiplex 3050 Archlinux and pipewire are working fine I5-6500... I want to understand the kernel and video audio issue..
thanks for any advise,
Thanks
Vic

Just learning this and to  post, sorry if i dont understand yet...
The I5 system is all intel 730, Asus amd 4 core  Nvida 1030, HP amd 4 core, radeon and Laptop Toshiba 4 core amd radeon.

Now the Dell opti3050 is all Intel 530 and it works with a Hdmi on a 50 inch sceptre 4k 60 hz... pipewire and hdmi is solid. I dont get it yet... still observing...

Yes it detects the HDMI... on test speaker-test -Dhw:0,3 -c2 and plays  right and left channel on the TV .. it something to do either with the kernel or the pipewire libraries... SO what I did was break Archlinux system before, i wanted to try different kernels did an install and grub went broken... so i started over with arcolinux... now same issue as hours ago...hdmi works for pulseaudio, once i installed pipewire and rebooted no Hdmi audio, oh well now ill try different kernels, harderned, lt and zen.

**** List of PLAYBACK Hardware Devices ****
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
card 1: PCH [HDA Intel PCH], device 0: ALC897 Analog [ALC897 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC897 Digital [ALC897 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [Sceptre N43]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: USB [AudioBox USB], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
[vic@500gbSSD ~]$
[vic@500gbSSD ~]$ amixer -c1
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 60 [69%] [-20.25dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',16
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 39 [62%] [12.00dB] [on]
  Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

Trying to understand this... looking for anything muted but the output here is nuts,,, I rather look at  pavucontrol and select the default device simple logic there..
Ill try the different kernels, I dont know what I'm doing as of yet but trying stuff.

First ... Linux 500gbSSD 6.1.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 14 Jan 2023 13:09:38 +0000 x86_64 GNU/Linux, doesnt work

Second .... Linux 500gbSSD 5.15.88-1-lts #1 SMP Sat, 14 Jan 2023 12:12:48 +0000 x86_64 GNU/Linux, doesnt work geeze

Third kernel.... Linux 500gbSSD 6.1.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 14 Jan 2023 13:09:35 +0000 x86_64 GNU/Linux, doesnt work  bummer

they all work with Presonus Audiobox usb, so no big deal I guess... I wanted to have the Hdmi working for you tube and everything else through the studio monitors....like in windows 11 in the studio

[vic@500gbSSD ~]$ inxi -A
Audio:
  Device-1: Intel Tiger Lake-H HD Audio driver: snd_hda_intel
  Device-2: PreSonus Audio AudioBox USB type: USB driver: snd-usb-audio
  Device-3: C-Media NEEWER USB-200 type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Sound API: ALSA v: k6.1.6-arch1-1 running: yes
  Sound Server-1: PipeWire v: 0.3.64 running: yes

Thanks Hw... I am just learning the pipewire stuff  I dont understand the pactl list cards
pactl list sinks if anyone would explain that would be great, I mean by simple code examples! I thought my HDMI device exists... ok Alsa is tied to the kernel and devices (providing device drivers for sound cards.), pulseaudio pipes out to the devices( sound server used to mix and record audio from multiple sources), so that speaker test (test speaker-test -Dhw:0,3 -c2 this worked) is pulse audio I gather through alsa , it found my TV hdmi using alsa, why doesnt pipewire get this info or how does pipewire get this info? That's what everyone and I need to know... thanks all. gonna read the pipewire stuff... """https://docs.pipewire.org/page_pulseaud … %20devices.""""

I intitalyl tried months ago.. debian. and fedora  and the HDMI problem exists with those platforms too... so its hardware related,,, geeze.... I hooked this tv to the optlex known pipewire, hdmi working computer and the tv audio works...so its my hardware from intel that doesnt make sense... geeze
, see what i did was put arch on usb 500 gb ssd and just booted if off the optiplex and pipewire hhdmi audio worked thats all its my media server to the living room, windows11 only. so why doesnt work for the 4 machines, I dont get it...any help would be great,,, this studio computer is the real point of interest... thanks again.

aplay is a command-line audio player for ALSA (Advanced Linux Sound Architecture) sound card drivers. It supports several file formats and multiple soundcards with multiple devices. It is basically used to play audio on command-line interface. aplay is much the same as arecord only it plays instead of recording.
Interesting so the devices are found with Alsa... so its there, pulse should be the server,  how does pipewire work? thanks again

Last edited by VicA (2023-01-17 08:46:32)

Offline

#7 2023-01-17 02:10:53

topcat01
Member
Registered: 2019-09-17
Posts: 157

Re: Pipewire no audio through HDMI (TV)

I'm curious, are all working cases using Intel graphics? Just trying to figure out if the issue happens only with nvidia and pipewire.

Offline

#8 2023-01-17 06:07:01

jay716
Member
Registered: 2021-04-30
Posts: 3

Re: Pipewire no audio through HDMI (TV)

Same issue here with intel graphics(i5-1240P).
pipewire, wireplumber, pipewire-{alsa, pulse, jack}
When connected to a TV via HDMI(both 1.6 and 2.0), the HDMI audio card is even not detected.
Another laptop with windows works, so it's the problem of my setup.
Is this [kernel issue](https://bugzilla.kernel.org/show_bug.cgi?id=216836) related?

Offline

#9 2023-01-17 06:34:16

hwgasdfasdf
Member
Registered: 2023-01-17
Posts: 2

Re: Pipewire no audio through HDMI (TV)

I may be having a similar issue, and I'm using Intel Integrated graphics. I see this thread is active, so maybe this is of some value too.
I'm running a fresh install of Debian SID (yes, I know, this is Arch forum, but the issue seems too similar to be distro-specific) that's using pipewire on an HP Elitedesk 800 G4 with I5-8500 CPU and integrated UHD Graphics 630
Unfortunately this is a new-to-me machine, so I have no experience with whether this was working with an older kernel / other audio code / or if it's a hardware issue (like a DP->HDMI adapter that doesn't support audio if that's even a thing??)

I find it very odd that when I run aplay -l, the HDMI device is shown, including that the LG TV is connected. It shows as Card 0 Device 3:

card 0: PCH [HDA Intel PCH], device 0: CX20632 Analog [CX20632 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [LG TV]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

and if I run pactl list cards, again it is shown, and marked available (whereas the other unconnected DP ports show as "not available") and seems to have correct profiles listed

                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 5, available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 5"
                                device.icon_name = "video-display"
                                card.profile.port = "4"
                                device.product.name = "LG TV"
                        Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo
                hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, 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-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
                hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 7, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 7"
                                device.icon_name = "video-display"
                                card.profile.port = "6"
                        Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo

but if I run alsamixer, it doesn't show up as a valid sound device, and of course in KDE mixer it doesn't show up as a valid device.

I also tried playing around with hdajackretask and it shows 3 digital outputs HDMI, and I tried overriding them, and it makes no difference.

The output of inxi -A is:

Audio:
  Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
  Sound API: ALSA v: k6.1.1-4-siduction-amd64 running: yes
  Sound Server-1: PipeWire v: 0.3.63 running: yes

I'm rather stumped...

Offline

#10 2023-01-17 08:04:41

FearMaster
Member
Registered: 2018-11-16
Posts: 14

Re: Pipewire no audio through HDMI (TV)

I would like to say that I am try to get sound though HDMI cable in this thread https://bbs.archlinux.org/viewtopic.php?id=282842. I am suspect that it is a bug but im not sure.

Last edited by FearMaster (2023-01-17 08:06:07)

Offline

#11 2023-01-17 08:39:43

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

FearMaster wrote:

I would like to say that I am try to get sound though HDMI cable in this thread https://bbs.archlinux.org/viewtopic.php?id=282842. I am suspect that it is a bug but im not sure.

What is Pro Audio Profile? Now thats new to me? I found it in pavucontrol configuration, I changed the HDMI to pro audio,,, hmmm what is this? I clicked on all 8 prro audio items in output devices... no Hdmi audio at all, now it gets confusing.. Ayways thanks for rthe info...

Last edited by VicA (2023-01-17 08:41:08)

Offline

#12 2023-01-17 09:13:56

hwgasdfasdf
Member
Registered: 2023-01-17
Posts: 2

Re: Pipewire no audio through HDMI (TV)

I just figured it out - it seems to be quite an issue in pipewire somehow...

So what you have to do is install pavucontrol (which in debian depends on 'pulseaudio' package, which conflicts with 'pipewire-pulse', so when you install pavucontrol, it removes 'pipewire-pulse' and completely borks your whole pipewire install and you have to manually remove pulseaudio and re-install pipewire-pulse and delete some configuration files to get pipewire working again).

Then, at least for an Intel HDA device, which is the same "device" for both analog and DP/HDMI audio, you have to run pavucontrol, and change the "profile" of the device from Analog Audio to HDMI audio under the "Configuration" tab of pavucontrol. Then, HDMI audio works, but analog doesn't. If you're using a discrete GPU (AMD / Nvidia) this is probably different for you as that should be a completely separate audio device (vs the Intel HDA where it's all the same device, but different sub-devices).

Seems like some kind of fundamental limitation somewhere that you can only use analog or HDMI audio with pipewire, but not both (because I was able to use speaker-test on the console to play to both of them at the same time through ALSA directly).

So, I have DP/HDMI audio working, but if I also needed analog simultaneously, I'd have to abandon pipewire altogether and go back to pulseaudio... there's no option to enable both at the same time, which seems strange...

https://i.imgur.com/x1dZHPD.png

I also tried dist-upgrading during testing, and went from kernel 6.1.1, which assigned the pins on the audio controller to the DP/HDMI port automatically, to 6.1.6, which has the kernel bug that you have to override the assignment using 'hdajackretask' for the DP/HDMI audio devices to even show up - so I got bit by that bug too!

What a mess...

Also, for VicA above, pipewire "replaces" pulseaudio by imitating it (along with imitating a raw "alsa" interface and imitating a raw "jack" interface) so that software that only talks to one of those interfaces directly can talk to pipewire without any changes. Pipewire in turn talks directly to Alsa to actually get the audio to the hardware. So if you're running pipewire, any "pulseaudio" tools you run, like pavucontrol, or pactl is actually talking to pipewire using it's imitation pulseaudio interface, but if you use alsa tools, like aplay or speaker-test, that's talking directly to ALSA (and thus the kernel / hardware) and bypassing pipewire

So to troubleshoot your issue, run aplay -l and see if you're HDMI devices are showing up (and hopefully showing the display they're connected to, like in my case it shows LG TV on HDMI 0). This is at the ALSA layer. If it's not working there, it will never work with pipewire. If the DP/HDMI interfaces aren't showing up at all, it's a kernel driver issue, or if it's an Intel HDA audio device, you might need to use hdajackretask to connect the audio pins to the ports manually.
Test with "speaker-test" to see that the hardware and kernel drivers are actually working.

Then check 'pactl list cards' (which is actually talking to pipewire), paying attention to which "profiles" it's showing are valid for your device. If there are no profiles (or the incorrect profiles) listed on the connected DP/HDMI port, then it's an issue that pipewire isn't detecting the display device, or the audio profiles it supports properly.

Then, use pavucontrol to switch the correct device to the correct profile, and it _should_ work... maybe... smile

Last edited by V1del (2023-01-17 19:53:42)

Offline

#13 2023-01-17 18:17:13

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

Interesting... pavucontrol installs perfectly after pipewire and wireplumber installs, no conflicts, I took the arch linux install, 500gb ssd to all 4 computers all amd, all intel and amd with nvidia,,,,  and they all work well with pipewire now,,,4k @ 30hz and 2k at 60 hz I am gald and mistified using the zen kernel. Now on the I511400 computer doest work with HDMI thats  all Intell 730 graphics. So my assumption is the kernel is having a problem with intel 730, it works fine with intel 530. I just changed the to 4k 30  hz and 2k 30 and 60 hz by rebootings each time, same issure no audio to HDMI but pulse audio control shows activity on the HDMI port. All interfaces are showing using aplay -l, even speaker test works speaker-test -Dhw:1,3 -c2 where ...
card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
card 1: PCH [HDA Intel PCH], device 0: ALC897 Analog [ALC897 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC897 Digital [ALC897 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [Sceptre N43]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: USB [AudioBox USB], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Scepter 4k tv is listed as is the Audiobox usb....

SO this hardware I511400 is not working with pipewire, works perfectly with Windows 11 4k 60 hz. Must be the kernal and alsa not with the right drivers or they are buggy.
Its nice to have these 5 computer to work on,
now
Playback device is hw:1,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
[vic@500gbSSD ~]$


I am ready to get a slegde hammer .... just kidding...

hdajackretask not understanding what to do with this... thanks for the help


There are no understandable guidelines with examples... I just need examples that I can understand. like what drivers are needed, ill search in octopi, like mesa and Intel like a list of drivers to install... I cant find anything on the web that makes sense... thanks for all the help

Last edited by VicA (2023-01-17 18:42:30)

Offline

#14 2023-01-17 18:52:57

d.ALT
Member
Registered: 2019-05-10
Posts: 953

Re: Pipewire no audio through HDMI (TV)

Did you all guys already try enabling Input Signal Plus (for Samsung. Look for equivalent settings by others manufacturers) on your TVs?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#15 2023-01-17 19:53:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,205

Re: Pipewire no audio through HDMI (TV)

Can any of the affected take pipewire out of the picture?

systemctl --user mask pipewire{,-pulse} wireplumber --now
speaker-test -Dhw:1,3 -c2

replace hw:1,3 with whatever card/device combination is valid for you. If that doesn't work then it's a kernel bug. Use

systemctl --user unmask pipewire{,-pulse} wireplumber --now

to restore pipewire if necessary.

FWIW technically all of you are hijacking an unrelated and likely intermittently solved thread, if this just started happening now then chances it's something in the 6.1 kernel are high and I'd advise to test with 6.0.

Last edited by V1del (2023-01-17 19:56:07)

Offline

#16 2023-01-17 22:15:54

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

Yes 2  audio device work fine
[vic@500gbSSD ~]$ speaker-test -Dhw:1,0 -c2

speaker-test 1.2.8

Playback device is hw:1,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
--------------------------------------------------------------------
[vic@500gbSSD ~]$ speaker-test -Dhw:1,1 -c2

speaker-test 1.2.8

Playback device is hw:1,1
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 10.930428
--------------------------------------------------------
omg  now its making a tone HDMI 1,3         after reboot,  earlier hw:1.3 was busy


[vic@500gbSSD ~]$ speaker-test -Dhw:1,3 -c2

speaker-test 1.2.8

Playback device is hw:1,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right
Time per period = 10.931656

In browser no sound in Qwpgraph theres a hook up... running a jpipewire jack setb no sound , music file with vlc no sound to HDMI
Everything worked before pipewire wireplumber install....It all works fine on the dell 3050 I5-6500 530 @ 30hz

Now will use... [vic@500gbSSD ~]$ systemctl --user unmask pipewire{,-pulse} wireplumber --now #from Moderator Interesting ... dont understand what this is?
redoing test....

Playback device is hw:1,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
[vic@500gbSSD ~]$


[vic@500gbSSD ~]$ speaker-test -Dhw:1,1 -c2

speaker-test 1.2.8

Playback device is hw:1,1
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left
1 - Front Right

[vic@500gbSSD ~]$ speaker-test -Dhw:1,0 -c2

speaker-test 1.2.8

Playback device is hw:1,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
0 - Front Left


okay just lost the HDMI after systemctl --user unmask pipewire{,-pulse} wireplumber --now
dont understand the logic of this can you explain?
Thanks Vic

Offline

#17 2023-01-17 22:19:06

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

It seems to work on all th eoutputs, headphone, line out and AudioBox USB but NO HDMI, i dont understand can anyone explain?
Speaker test was working on all after reboot now ill have to reboot again brb,,,

Offline

#18 2023-01-17 22:26:57

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

rebooted... okay speaker test is working YAY, no output from youtube or vlc very strange to HDMI.... sound is coming from headphones, line out, Audiobox usb but nothing from HDMI when selected ... let me check kernal
vic@500gbSSD ~]$ speaker-test -Dhw:1,3 -c2

vic@500gbSSD ~]$ uname -a
Linux 500gbSSD 6.1.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 14 Jan 2023 13:09:38 +0000 x86_64 GNU/Linux
changing kernal to 5.15 i think it was brb

Offline

#19 2023-01-17 22:35:09

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

rebooted to another kernel
Linux 500gbSSD 6.1.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 14 Jan 2023 13:09:35 +0000 x86_64 GNU/Linux

vic@500gbSSD ~]$ speaker-test -Dhw:1,3 -c2

speaker-test 1.2.8

Playback device is hw:1,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4

speaker test works, no HDMI output to youtube or vlc .. when trying a youtuve video ia small nose like a beep comes out and no audio,,,
Moderator any suggestions I dont understan wht it works on one computer and then on my main studio computer it does this,,,,any suggestions \?
thnaks
vic

Offline

#20 2023-01-17 22:43:24

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

d.ALT wrote:

Did you all guys already try enabling Input Signal Plus (for Samsung. Look for equivalent settings by others manufacturers) on your TVs?

Input Signal Plus, I connect the Dell opt 3050 I5-6500 530 to the same tv hdmi and the ssd Archlinux worked fine ... it doesnt work with the studio computer, Asus560 I51140 730 32 gigs ddr4 HDMI used the good cable and sceptre tv at 4K, and 2 K at 30hz 2.1 hdmi 8k cable,,,
it has to do with the new configuration the kernel and intel driver not understanding this at all...
If anyone knows what drivers i should use mesa? mess-amber and what else? thanks vic

Offline

#21 2023-01-17 22:47:38

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

I changes to the mesa-amber no difference reverting back...



[vic@500gbSSD ~]$ speaker-test -Dhw:1,3 -c2

speaker-test 1.2.8

Playback device is hw:1,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
[vic@500gbSSD ~]$

seems to have affected the HDMI speaker test... reverting back
on reboot

Last edited by VicA (2023-01-17 22:49:08)

Offline

#22 2023-01-17 22:53:01

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

I installed all the mesa drivers except amber theres a conflict okay rebooting,,,

Offline

#23 2023-01-17 22:58:37

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

Could it be a sampling rate issue for hdmi?

Offline

#24 2023-01-17 22:59:26

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

How do you in pipewire change the sampling rate?

Offline

#25 2023-01-17 23:06:17

VicA
Member
Registered: 2023-01-17
Posts: 39

Re: Pipewire no audio through HDMI (TV)

The PipeWire package provides an initial set of configuration files in /usr/share/pipewire. You should not edit these files directly, as package updates will overwrite your changes. To configure PipeWire, you can copy files from /usr/share/pipewire to the alternate system-wide location /etc/pipewire, or to the user location ~/.config/pipewire. An equally named file in a directory with a higher precedence makes the analogous files ignored. [1]


If anyone can explain....  /usr/share/pipewire. i dont modify the usr items, i modify  /etc/pipewire?

Offline

Board footer

Powered by FluxBB