[Bug 263385] Sound pops using Realtek ALC897 Intel Alder Lake.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 07 Jun 2025 16:37:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263385

--- Comment #22 from Tomasz "CeDeROM" CEDRO <tomek@cedro.info> ---
Thanks Olivier :-)

Another problem I observed is that these problems are not always the same, it
looks like either hardware setup is non-linear (sometimes problems occur
sometimes not or different intensity) - either BIOS is setting things up
different way or does something behind runtime or the kernel initialization of
hardware may be different each time? o_O

I have changed these sysctl's runtime to see impact runtime is that okay?

sysctl machdep.idle_mwait=0 does not help maybe more clicks :-(

With sysctl machdep.idle_mwait=1 I have:
# sysctl machdep.idle_available
machdep.idle_available: spin, mwait, hlt, acpi
# sysctl machdep.idle
machdep.idle: acpi


# sysctl machdep.idle=spin - looks like less clicks
# sysctl machdep.idle=mwait - looks like less clicks
# sysctl machdep.idle=hlt - looks like less clicks
# sysctl machdep.idle=acpi - again less clicks

So there is no rule for me? :-(

Below rest of the madchep sysctls:


# sysctl machdep
machdep.disable_msix_migration: 0
machdep.num_msi_irqs: 2048
machdep.first_msi_irq: 120
machdep.syscall_ret_flush_l1d: 0
machdep.nmi_flush_l1d_sw: 0
machdep.uprintf_signal: 0
machdep.max_ldt_segment: 512
machdep.nkpt: 75
machdep.dump_retry_count: 5
machdep.efi_map:
 (...)
machdep.tsc_freq: 3686394718
machdep.disable_tsc_calibration: 0
machdep.disable_tsc: 0
machdep.stop_mwait: 0
machdep.intr_apic_id_limit: -1
machdep.hyperthreading_intr_allowed: 0
machdep.hyperthreading_allowed: 1
machdep.disable_mtrrs: 0
machdep.nmi_is_broadcast: 1
machdep.panic_on_nmi: 255
machdep.idle: acpi
machdep.idle_available: spin, mwait, hlt, acpi
machdep.idle_apl31: 0
machdep.idle_mwait: 1
machdep.mwait_cpustop_broken: 0
machdep.bootmethod: UEFI
machdep.i8254_freq: 1193182
machdep.atrtc_power_lost: 0
machdep.hwpstate_pkg_ctrl: 1
machdep.acpi_root: 2139086868
machdep.vga_aspect_scale: 100
machdep.acpi_timer_freq: 3579545
machdep.prot_fault_translation: 0
machdep.disable_rtc_set: 0
machdep.wall_cmos_clock: 0
machdep.adjkerntz: 0
machdep.rtc_save_period: 1800
machdep.mitigations.zenbleed.state: Not applicable
machdep.mitigations.zenbleed.enable: 2
machdep.mitigations.rngds.state: Not applicable
machdep.mitigations.rngds.enable: 1
machdep.mitigations.flush_rsb_ctxsw: 1
machdep.mitigations.taa.state: TSX not present
machdep.mitigations.taa.enable: 0
machdep.mitigations.mds.disable: 0
machdep.mitigations.mds.state: inactive
machdep.mitigations.ssb.disable: 0
machdep.mitigations.ssb.active: 0
machdep.mitigations.ibrs.disable: 1
machdep.mitigations.ibrs.active: 0
machdep.enable_panic_key: 0
machdep.efi_rt_handle_faults: 1

-- 
You are receiving this mail because:
You are the assignee for the bug.