Hi,
Sound doesn't work on my FreeBSD 11.2 desktop; I'm presently typing this from openSUSE Tumbleweed (Linux) on the same PC so here's the output of lspci: https://paste.pound-python.org/show/NLhG3d7cKqTCKqlDGqxz/. If I run
(which I'm running to give what I think is relevant in that lspci output) I get:
I have tried building my kernel with snd_hda built-in (after which I've rebooted, of course) but as my audio cards aren't Intel it doesn't seem to be working, or so I would imagine. I've also tried loading snd_driver per https://www.freebsd.org/doc/handbook/sound-setup.html, along with building my kernel with sound, and_sbc, snd_sb16 built in. Also tried adding:
to my /boot/device.hints just in case (I didn't understand what the handbook meant reading I/O and alike, so I thought let's see what happens if I do in fact do that, although I have tried without with the same result) and still no audio.
returns:
likewise
returns:
I've also tried changing the default sound device with
. as well as 2 and still no audio.
The funny thing is that under Linux audio runs fine and here's a snippet of lspci -k that seems relevant:
as you can see Intel modules are in use and they're running fine. If it is relevant I have x11/nvidia-driver installed too and graphics are working fine. Any ideas what I should do folks?
Thanks for your time and patience,
Brenton
Sound doesn't work on my FreeBSD 11.2 desktop; I'm presently typing this from openSUSE Tumbleweed (Linux) on the same PC so here's the output of lspci: https://paste.pound-python.org/show/NLhG3d7cKqTCKqlDGqxz/. If I run
Code:
lspci | grep -i audio
Code:
1f:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
21:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
I have tried building my kernel with snd_hda built-in (after which I've rebooted, of course) but as my audio cards aren't Intel it doesn't seem to be working, or so I would imagine. I've also tried loading snd_driver per https://www.freebsd.org/doc/handbook/sound-setup.html, along with building my kernel with sound, and_sbc, snd_sb16 built in. Also tried adding:
Code:
hint.sbc.0.at="isa"
hint.sbc.0.port="0x220"
hint.sbc.0.irq="5"
hint.sbc.0.drq="1"
hint.sbc.0.flags="0x15"
to my /boot/device.hints just in case (I didn't understand what the handbook meant reading I/O and alike, so I thought let's see what happens if I do in fact do that, although I have tried without with the same result) and still no audio.
Code:
dmesg | grep pcm
returns:
Code:
pcm0: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 5 on hdaa0
pcm2: <NVIDIA (0x0080) (HDMI/DP 8ch)> at nid 6 on hdaa0
pcm3: <Realtek ALC892 (Rear Analog)> at nid 20 and 24,26 on hdaa1
pcm4: <Realtek ALC892 (Front Analog)> at nid 27 and 25 on hdaa1
likewise
Code:
cat /dev/sndstat
Code:
Installed devices:
pcm0: <NVIDIA (0x0080) (HDMI/DP 8ch)> (play)
pcm1: <NVIDIA (0x0080) (HDMI/DP 8ch)> (play)
pcm2: <NVIDIA (0x0080) (HDMI/DP 8ch)> (play)
pcm3: <Realtek ALC892 (Rear Analog)> (play/rec) default
pcm4: <Realtek ALC892 (Front Analog)> (play/rec)
No devices installed from userspace.
I've also tried changing the default sound device with
Code:
sysctl hw.snd.defaultl.unit=4
The funny thing is that under Linux audio runs fine and here's a snippet of lspci -k that seems relevant:
Code:
1f:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 862a
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
21:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
DeviceName: Realtek ALC898
Subsystem: Micro-Star International Co., Ltd. [MSI] Device eb90
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
as you can see Intel modules are in use and they're running fine. If it is relevant I have x11/nvidia-driver installed too and graphics are working fine. Any ideas what I should do folks?
Thanks for your time and patience,
Brenton