No Sound Over Displayport

On FreeBSD 15.1:

This does not produce sound from the monitor speaker which is connected via displayport. Monitor speaker volume is non-zero. This uses the AMD Renoir driver which works fine for video.

Code:
[root@l1 ~]# sysctl hw.snd.default_unit=2
hw.snd.default_unit: 3 -> 2
[root@l1 ~]# cat /dev/urandom > /dev/dsp

This does produce sound from the laptop speaker:

Code:
[root@l1 ~]# sysctl hw.snd.default_unit=3
hw.snd.default_unit: 3 -> 3
[root@l1 ~]# cat /dev/urandom > /dev/dsp

kld snd_driver and friends are loaded. All mixer values are non-zero.

I was also able to get the headphone jack on the laptop to work.

Before I updated to 15.1, audio via displayport worked. I don't recall if I had some long forgotten configuration in the pre-15.1 system. I did a fresh install to a bare drive with the 15.1 update. Those config files are lost, in time, like tears in rain.

Any pointers on how to get this sorted out?
 
Does mixer -a show vol, pcm devices on your display port? My output below; it is connected over display port.

Code:
pcm2:mixer: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa1 (play)
    vol       = 0.25:0.25     pbk
    pcm       = 1.00:1.00     pbk
 
Back
Top