Audio via HDMI

Hi all, I would like to use my laptop connect via hdmi at tv to see series and films.
I use mangowm with pipewire. Now some data:
Code:
  󰆧  freebsd-version -kru && uname -a
15.1-RELEASE-p3
15.1-RELEASE-p3
15.1-RELEASE-p3
FreeBSD beastiegram 15.1-RELEASE-p3 FreeBSD 15.1-RELEASE-p3 releng/15.1-n283611-88e7371d9dc2 GENERIC amd64

Code:
  󰆧  inxi --audio
Duplicate specification "debug-width|debug-y|debug-zy:i" for option "debug-zy"
Audio:
  Device-1: Intel 500 Series Family On-Package High Definition Audio
    driver: hdac
  Sound Server-1: OSS v: N/A running: yes
  Sound Server-2: PipeWire v: 1.6.6 running: yes

Code:
  󰆧  inxi -F     
Duplicate specification "debug-width|debug-y|debug-zy:i" for option "debug-zy"
System:
  Host: beastiegram Kernel: FreeBSD 15.1-RELEASE-p3 amd64 bits: 64
    Desktop: N/A OS: FreeBSD 15.1-RELEASE-p3
Machine:
  Unknown-error: Unknown dmidecode error. Unable to generate data.
CPU:
  Info: 8-core model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MCP
    cache: N/A
  Speed (MHz): 2803 min/max: N/A cores: No OS support for core speeds.
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: vgapci
  Device-2: Chicony LG Camera type: USB driver: N/A
  Display: wayland server: X.Org 24.1.13 driver: loaded: modesetting
    unloaded: vesa resolution: 2560x1600~60Hz
  OpenGL: renderer: Mesa Intel Iris Xe Graphics (TGL GT2)
    v: 4.6 Mesa 26.1.3
Audio:
  Device-1: Intel 500 Series Family On-Package High Definition Audio
    driver: hdac
  Sound Server-1: OSS v: N/A running: yes
  Sound Server-2: PipeWire v: 1.6.6 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi
  IF-ID-1: wlan0 state: associated speed: N/A duplex: N/A
    mac: dc:21:48:88:08:0b
Bluetooth:
  Device-1: 8087:0026 type: USB driver: N/A
  Report: No OS support. Is a comparable bluetooth tool available?
RAID:
  Device-1: freebsd type: zfs status: ONLINE level: linear raw: size: 936 GiB
    free: 872 GiB zfs-fs: size: 907.31 GiB free: 843.31 GiB
  Components: Online: 1:
Drives:
  Local Storage: total: N/A used: 47.91 GiB
Partition:
  ID-1: / size: 881.16 GiB used: 37.84 GiB (4.3%) fs: zfs
    logical: freebsd/ROOT/default
  ID-2: /boot/efi size: 256 MiB used: 1.9 MiB (0.7%) fs: msdosfs
    dev: /dev/efiboot0
  ID-3: /home size: 843.31 GiB used: 96 KiB (0.0%) fs: zfs
    logical: freebsd/home
  ID-4: /tmp size: 843.39 GiB used: 78.7 MiB (0.0%) fs: zfs
    logical: freebsd/tmp
  ID-5: /var/log size: 843.31 GiB used: 1.2 MiB (0.0%) fs: zfs
    logical: freebsd/var/log
  ID-6: /var/tmp size: 843.31 GiB used: 96 KiB (0.0%) fs: zfs
    logical: freebsd/var/tmp
Swap:
  ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%)
    dev: /dev/nda1p2
Sensors:
  Message: FreeBSD sensor data found but not usable.
Info:
  Processes: 107 Uptime: 12m Memory: 15.65 GiB used: 6.62 GiB (42.3%)
  Shell: Zsh inxi: 3.3.11

Code:
  󰆧  ps aux | grep wire  
marco      3456   0.0  0.1    32000   9764  -  Is   17:16    0:00.07 pipewire
marco      3457   0.0  0.1    32180   9204  -  Is   17:16    0:00.06 pipewire-pulse (pipewire)
marco      3491   0.0  0.1    56104  16548  -  S    17:16    0:00.06 /usr/local/bin/wireplumber
marco      4712   0.0  0.0    14180   2680  1  S+   17:21    0:00.00 grep wire

Code:
  󰆧  cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC298 (Analog)> (play/rec)
pcm1: <Realtek ALC298 (Left Analog Headphones)> (play) default
pcm2: <Intel Tiger Lake (HDMI/DP 8ch)> (play)
No devices installed from userspace.

I think is all correct, but when I connect laptop to tv I can't hear nothing. If I set sndstat on pcm0 I have sounds of my laptop.


Code:
  󰆧  pkg info -g '*drm*'
drm-66-kmod-6.6.25.1501000_8
drm-kmod-20260508
faac-backup-libfaac_drm.so.0-20260810215821
libdrm-2.4.133,1
 
Code:
  󰆧  wpctl status | more             
PipeWire 'pipewire-0' [1.6.6, marco@beastiegram, cookie:1171810159]
 └─ Clients:
        33. WirePlumber                         [1.6.6, marco@beastiegram, pid:3444]
        41. WirePlumber [export]                [1.6.6, marco@beastiegram, pid:3444]
        57. pipewire                            [1.6.6, marco@beastiegram, pid:3414]
        62. waybar                              [1.6.6, marco@beastiegram, pid:3417]
        63. waybar                              [1.6.6, marco@beastiegram, pid:3417]
        64. /usr/local/lib/firefox/firefox      [1.6.6, marco@beastiegram, pid:3764]
        70. wpctl                               [1.6.6, marco@beastiegram, pid:3909]

Audio
 ├─ Devices:
 │      42. Realtek ALC298                      [freebsd-oss]
 │      43. Intel Tiger Lake (HDMI/DP 8ch)      [freebsd-oss]
 │ 
 ├─ Sinks:
 │      44. Realtek ALC298 (Analog)             [vol: 1.00]
 │      46. Realtek ALC298 (Left Analog Headphones) [vol: 0.70]
 │  *   47. Intel Tiger Lake (HDMI/DP 8ch) @ nid=4 [vol: 1.00]
 │ 
 ├─ Sources:
 │  *   45. Realtek ALC298 (Analog)             [vol: 1.00]
 │ 
 ├─ Filters:
 │ 
 └─ Streams:
        65. /usr/local/lib/firefox/firefox                             
             68. output_FR       > Intel Tiger Lake (HDMI/DP 8ch) @ nid=4:playback_FR   [active]
             69. output_FL       > Intel Tiger Lake (HDMI/DP 8ch) @ nid=4:playback_FL   [active]

Video
 ├─ Devices:
 │ 
 ├─ Sinks:
 │ 
 ├─ Sources:
 │ 
 ├─ Filters:
 │ 
 └─ Streams:

Settings
 └─ Default Configured Devices:
         0. Audio/Sink    pcm2.play
--More--(END)

but I don't see nothing
 
Is that related to this issue? I am on Kaby Lake (i3 7th) and I had the issue to randomly lost HDMI audio (pulseaudio btw not pipewire) , the workaround mentioned there did the trick for me as well, HTH
 
Back
Top