Can anyone help me with my sound issue?
I'm experiencing a situation that’s similar to what’s been described in this thread.
However, I won’t be ‘reinstalling Linux’ since I’m accustomed to having it on other computers and using a virtual machine for different purposes. ;-)
Recently, I’ve been experiencing sound problems since upgrading from version 14.0 to 14.1 last month.
Today, I set aside some time to try to resolve the issue and, if possible, pinpoint the root cause.
Here’s what’s happening: after a while of using my system, the sound cuts out.
I usually restart the audio daemon (sndiod) or sometimes reboot, which has typically worked to restore sound.
However, for some unknown reason, since last month, this approach has stopped being effective.
I’m starting to suspect it might be a hardware issue, as it worked fine for a time after the 14.1 upgrade. The frequency of the sound loss increased months ago in 14.0, prompting me to upgrade in hopes of fixing the issue.
What do you recommend? Reinstalling FreeBSD is tempting and seems like it could be a quick fix, but that might be overkill.
I've never reinstalled FreeBSD; I’ve only removed all packages once as an option. I’ve been using this PC since 2022 and have transferred data from other systems, but I've never gone through a complete reinstallation.
My version is:
I've executed all steps above in the thread (in the past, before upgrade from 14.0 to 14.1) I've solved with them but now, it is not working anymore.
Now:
Note:
TIA
I'm experiencing a situation that’s similar to what’s been described in this thread.
However, I won’t be ‘reinstalling Linux’ since I’m accustomed to having it on other computers and using a virtual machine for different purposes. ;-)
Recently, I’ve been experiencing sound problems since upgrading from version 14.0 to 14.1 last month.
Today, I set aside some time to try to resolve the issue and, if possible, pinpoint the root cause.
Here’s what’s happening: after a while of using my system, the sound cuts out.
I usually restart the audio daemon (sndiod) or sometimes reboot, which has typically worked to restore sound.
However, for some unknown reason, since last month, this approach has stopped being effective.
I’m starting to suspect it might be a hardware issue, as it worked fine for a time after the 14.1 upgrade. The frequency of the sound loss increased months ago in 14.0, prompting me to upgrade in hopes of fixing the issue.
What do you recommend? Reinstalling FreeBSD is tempting and seems like it could be a quick fix, but that might be overkill.
I've never reinstalled FreeBSD; I’ve only removed all packages once as an option. I’ve been using this PC since 2022 and have transferred data from other systems, but I've never gone through a complete reinstallation.
My version is:
Code:
FreeBSD bside 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
I've executed all steps above in the thread (in the past, before upgrade from 14.0 to 14.1) I've solved with them but now, it is not working anymore.
Now:
Code:
$ dmesg | grep pcm
pcm0: <Intel Jasper Lake (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1 on uaudio0
pcm1: chn_write(): pcm1:virtual:dsp1.vp0: play interrupt timeout, channel dead
Code:
$ kldstat
Id Refs Address Size Name
1 131 0xffffffff80200000 1f370e8 kernel
2 1 0xffffffff82139000 77d8 cryptodev.ko
3 1 0xffffffff82141000 5cd608 zfs.ko
4 1 0xffffffff837f9000 1b3920 i915kms.ko
5 2 0xffffffff839ad000 7c050 drm.ko
6 1 0xffffffff83a2a000 22b8 iic.ko
7 3 0xffffffff83a2d000 3080 linuxkpi_hdmi.ko
8 3 0xffffffff83a31000 6350 dmabuf.ko
9 3 0xffffffff83a38000 3378 lindebugfs.ko
10 1 0xffffffff83a3c000 b360 ttm.ko
11 1 0xffffffff83a48000 6760 cuse.ko
12 1 0xffffffff83a4f000 12e18 fusefs.ko
13 1 0xffffffff83a62000 33c0 usbhid.ko
14 1 0xffffffff83a66000 3380 hidbus.ko
15 1 0xffffffff83a6a000 3390 acpi_wmi.ko
16 1 0xffffffff83a6e000 93260 if_iwlwifi.ko
17 1 0xffffffff83b02000 17314 if_iwm.ko
18 1 0xffffffff83b1a000 fd1c0 iwm7265Dfw.ko
19 1 0xffffffff83c18000 2240 cpuctl.ko
20 1 0xffffffff83c1b000 3360 uhid.ko
21 1 0xffffffff83c1f000 4364 ums.ko
22 1 0xffffffff83c24000 e5b0 snd_uaudio.ko
23 1 0xffffffff83c33000 3360 wmt.ko
24 1 0xffffffff83c37000 4d20 ng_ubt.ko
25 6 0xffffffff83c3c000 abb8 netgraph.ko
26 2 0xffffffff83c47000 a250 ng_hci.ko
27 4 0xffffffff83c52000 2670 ng_bluetooth.ko
28 1 0xffffffff83c55000 e268 ng_l2cap.ko
29 1 0xffffffff83c64000 1bf68 ng_btsocket.ko
30 1 0xffffffff83c80000 38f8 ng_socket.ko
31 1 0xffffffff83e00000 33e438 vmm.ko
32 1 0xffffffff83c84000 21dc nmdm.ko
33 1 0xffffffff83c87000 7798 if_bridge.ko
34 1 0xffffffff83c8f000 60e0 bridgestp.ko
35 1 0xffffffff83c96000 2a68 mac_ntpd.ko
36 1 0xffffffff83c99000 1aec0 ext2fs.ko
37 1 0xffffffff83cb4000 439c geom_linux_lvm.ko
Code:
$ cat /boot/loader.conf
cryptodev_load="YES"
zfs_load="YES"
cpu_microcode_load="YES"
efi_max_resolution=1080p
vbe_max_resolution=1080p
kern.vt.color.0.rgb="10,10,10"
kern.vt.color.15.rgb="#f0f0f0"
sound_load="YES"
snd_hda_load="YES"
#snd_driver_load="YES"
Code:
$ sysctl -a | grep snd
kern.ipc.num_snd_tags: 0
<118>Autoloading module: snd_uaudio
device snd_cmi
device snd_csa
device snd_emu10kx
device snd_es137x
device snd_hda
device snd_ich
device snd_via8233
hw.snd.maxautovchans: 16
hw.snd.default_unit: 1
hw.snd.version: 2009061500/amd64
hw.snd.default_auto: 0
hw.snd.verbose: 2
hw.snd.vpc_mixer_bypass: 1
hw.snd.feeder_rate_quality: 1
hw.snd.feeder_rate_round: 25
hw.snd.feeder_rate_max: 2016000
hw.snd.feeder_rate_min: 1
hw.snd.feeder_rate_polyphase_max: 183040
hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97
hw.snd.feeder_eq_exact_rate: 0
hw.snd.feeder_eq_presets: PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000
hw.snd.basename_clone: 1
hw.snd.compat_linux_mmap: 0
hw.snd.syncdelay: -1
hw.snd.usefrags: 0
hw.snd.vpc_reset: 0
hw.snd.vpc_0db: 45
hw.snd.vpc_autoreset: 1
hw.snd.timeout: 5
hw.snd.latency_profile: 1
hw.snd.latency: 2
hw.snd.report_soft_matrix: 1
hw.snd.report_soft_formats: 1
Code:
$ cat /dev/sndstat
FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <Intel Jasper Lake (HDMI/DP 8ch)> on hdaa0 (1p:1v/0r:0v)
snddev flags=0x200002e7<SIMPLEX,AUTOVCHAN,SOFTPCMVOL,BUSY,MPSAFE,REGISTERED,VPC,PRIO_WR>
[pcm0:play:dsp0.p0]: spd 48000, fmt 0x00200010, flags 0x00006100, 0x00000004
interrupts 1571, underruns 0, feed 1571, 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/48000, fmt 0x00100008/0x00200010, flags 0x10000000, 0x0000006b
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:512/64/8]
channel flags=0x10000000<VIRTUAL>
{userland} -> feeder_root(0x00100008) -> feeder_format(0x00100008 -> 0x00100010) -> feeder_rate(0x00100010 q:1 8000 -> 48000) -> feeder_matrix(1.0 -> 2.0) -> feeder_volume(0x00200010) -> {hardware}
pcm1: <KTMicro KT USB Audio> on uaudio0 (1p:1v/0r:0v) default
snddev flags=0x200002e3<SIMPLEX,AUTOVCHAN,BUSY,MPSAFE,REGISTERED,VPC,PRIO_WR>
[pcm1:play:dsp1.p0]: spd 48000, fmt 0x00200010/0x00210000, flags 0x00002100, 0x00000006
interrupts 0, underruns 0, feed 0, ready 0 [b:2304/1152/2|bs:2048/1024/2]
channel flags=0x2100<BUSY,HAS_VCHAN>
{userland} -> feeder_mixer(0x00200010) -> feeder_format(0x00200010 -> 0x00210000) -> {hardware}
pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 8000/48000, fmt 0x00100008/0x00200010, flags 0x10000000, 0x0000006b
interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:512/64/8]
channel flags=0x10000000<VIRTUAL>
{userland} -> feeder_root(0x00100008) -> feeder_format(0x00100008 -> 0x00100010) -> feeder_rate(0x00100010 q:1 8000 -> 48000) -> feeder_matrix(1.0 -> 2.0) -> feeder_volume(0x00200010) -> {hardware}
No devices installed from userspace.
Note:
cat /dev/random to /dev/dsp0 or /dev/dsp1 doesn't not play any noise sound despite of my volume is at 100% on both
Code:
$ mixer -a
pcm0:mixer: <Intel Jasper Lake (HDMI/DP 8ch)> on hdaa0 (play)
vol = 1.00:1.00 pbk
pcm = 1.00:1.00 pbk
pcm1:mixer: <KTMicro KT USB Audio> on uaudio0 (play) (default)
vol = 1.00:1.00 pbk
pcm = 1.00:1.00 pbk
Code:
$ cat /dev/random > /dev/dsp0
^C
$ cat /dev/random > /dev/dsp1
cat: stdout: Invalid argument
TIA
Last edited by a moderator: