Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2024 19:55:51 +0300
From:      Christos Margiolis <christos@freebsd.org>
To:        Joe B <josef.c.bailey@protonmail.com>
Cc:        Kevin Zheng <kevinz5000@gmail.com>,  "freebsd-multimedia@FreeBSD.org" <freebsd-multimedia@freebsd.org>
Subject:   Re: Getting sound to work
Message-ID:  <6lepe4wlezchjll2zow772u3zf275b2ewmovowjvz3pn3z4jsv@ks74dnbggyj5>
In-Reply-To: <UoYiqQNL_kKmiLIX-4WhX568gY755VGAg_EeolFEvPyDaVaBqqi-7y0Qi6qxS-QXgmC8fUDjzIqc-VARQvdiQgsraGBrdbOyTD_0EFcfKPc=@protonmail.com>
References:  <xiu_X6Qihlv9sc3jQ78WrLiLSRr7eYsAN33lyE1bHJPhhV5wlGB1q1sKaKNNzxw1ZjLkB38ZX7Yt3mcVSHoO3GrmDzYwAYyVkWuCbAtKaww=@protonmail.com> <a590424d-caed-4ad3-bf22-dae32a2c795d@gmail.com> <byexhn2ljj3rzb2zvy6icormmn2a4q65oiga2jb2n36m36nbwm@lnncrvazcgko> <UoYiqQNL_kKmiLIX-4WhX568gY755VGAg_EeolFEvPyDaVaBqqi-7y0Qi6qxS-QXgmC8fUDjzIqc-VARQvdiQgsraGBrdbOyTD_0EFcfKPc=@protonmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Monday, September 16th, 2024 at 11:31 AM, Christos Margiolis
> > With hw.snd.verbose=2.
> > 
> > Also the output of mixer(8) would be useful.
> 
> Thanks for the reply
> 
> root@freebsd1:~ # sysctl hw.snd.verbose=2
> hw.snd.verbose: 0 -> 2
> root@freebsd1:~ # cat /dev/sndstat
> FreeBSD Audio Driver (64bit 2009061500/amd64)
> Installed devices:
> pcm0: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa0 (1p:1v/0r:0v) default
>         snddev flags=0x2e7<SIMPLEX,AUTOVCHAN,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC>
>         [pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00006100, 0x00000004
>         interrupts 0, underruns 0, feed 0, ready 0 [b:2048/1024/2|bs:2048/1024/2]
>         channel flags=0x6100<BUSY,HAS_VCHAN,VCHAN_PASSTHROUGH>
>         {userland} -> feeder_mixer(0x00200010) -> {hardware}
>         pcm0:play:dsp0.p0[pcm0:virtual:dsp0.vp0]: spd 8000, fmt 0x00100008, flags 0x10000000, 0x00000000
>         interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:0/0/0]
>         channel flags=0x10000000<VIRTUAL>
>         {userland} -> feeder_root(0x00000000) -> {hardware}
> 
> root@freebsd1:~ # mixer
> pcm0:mixer: <Intel Kaby Lake (HDMI/DP 8ch)> on hdaa0 (play) (default)
>     vol       = 1.00:1.00     pbk
>     pcm       = 1.00:1.00     pbk

This looks reasonable. I am afraid your sound card might one of those
that nice SOF support, which is not ported to FreeBSD yet, although I am
planning to work on it at some point.

Just to make sure, since I guess you're trying to play sound from HDMI,
are your video drivers up to date and correctly configured?

Christos



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6lepe4wlezchjll2zow772u3zf275b2ewmovowjvz3pn3z4jsv>