From notes.rst DMA-Position Problem ===================== ``position_fix=6`` is to correct the position with the fixed FIFO size, mainly targeted for the recent AMD controllers. 0 is the default value for all other controllers, the automatic check and fallback to LPIB as described in the above. If you get a problem of repeated sounds, this option might help. #cat /proc/asound/cards 0 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xfc080000 irq 79 1 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xfc500000 irq 80 2 [Device ]: USB-Audio - USB PnP Sound Device C-Media Electronics Inc. USB PnP Sound Device at usb-0000:09:00.0-3, full speed
#dmesg -T|grep hda [Wed Sep 27 17:52:33 2023] snd_hda_intel 0000:01:00.1: Disabling MSI [Wed Sep 27 17:52:33 2023] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client [Wed Sep 27 17:52:33 2023] snd_hda_intel 0000:0b:00.6: enabling device (0000 -> 0002) [Wed Sep 27 17:52:33 2023] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau]) [Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line [Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0) [Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0 [Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: dig-out=0x11/0x0 [Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: inputs: [Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: Front Mic=0x19 [Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: Rear Mic=0x18 [Wed Sep 27 17:52:33 2023] snd_hda_codec_realtek hdaudioC1D0: Line=0x1a [Wed Sep 27 17:52:35 2023] Modules linked in: ecdh_generic(E+) r8169(E) rfkill(E) edac_mce_amd(E) mbcache(E) jbd2(E) snd_hda_codec_realtek(E) kvm_amd(E) snd_hda_codec_hdmi(E) realtek(E) mdio_devres(E) snd_hda_codec_generic(E) ledtrig_audio(E) libphy(E) snd_hda_intel(E) kvm(E) pcspkr(E) i2c_piix4(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) joydev(E) irqbypass(E) snd_hda_codec(E) k10temp(E) snd_hda_core(E) snd_hwdep(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) gpio_amdpt(E) wmi_bmof(E) gpio_generic(E) tiny_power_button(E) configfs(E) fuse(E) efi_pstore(E) dmi_sysfs(E) ip_tables(E) x_tables(E) hid_generic(E) usbhid(E) nouveau(E) drm_ttm_helper(E) ttm(E) drm_exec(E) gpu_sched(E) i2c_algo_bit(E) mxm_wmi(E) drm_display_helper(E) drm_kms_helper(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel( E) xhci_pci(E) xhci_pci_renesas(E) sha512_ssse3(E) drm(E) xhci_hcd(E) usbcore(E) aesni_intel(E) ccp(E) cec(E) crypto_simd(E) cryptd(E) sp5100_tco(E) rc_core(E) video(E) wmi(E) button(E) btrfs(E) blake2b_generic(E) libcrc32c(E) [Wed Sep 27 17:52:35 2023] Modules linked in: ecdh_generic(E+) r8169(E) rfkill(E) edac_mce_amd(E) mbcache(E) jbd2(E) snd_hda_codec_realtek(E) kvm_amd(E) snd_hda_codec_hdmi(E) realtek(E) mdio_devres(E) snd_hda_codec_generic(E) ledtrig_audio(E) libphy(E) snd_hda_intel(E) kvm(E) pcspkr(E) i2c_piix4(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) joydev(E) irqbypass(E) snd_hda_codec(E) k10temp(E) snd_hda_core(E) snd_hwdep(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) gpio_amdpt(E) wmi_bmof(E) gpio_generic(E) tiny_power_button(E) configfs(E) fuse(E) efi_pstore(E) dmi_sysfs(E) ip_tables(E) x_tables(E) hid_generic(E) usbhid(E) nouveau(E) drm_ttm_helper(E) ttm(E) drm_exec(E) gpu_sched(E) i2c_algo_bit(E) mxm_wmi(E) drm_display_helper(E) drm_kms_helper(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel( E) xhci_pci(E) xhci_pci_renesas(E) sha512_ssse3(E) drm(E) xhci_hcd(E) usbcore(E) aesni_intel(E) ccp(E) cec(E) crypto_simd(E) cryptd(E) sp5100_tco(E) rc_core(E) video(E) wmi(E) button(E) btrfs(E) blake2b_generic(E) libcrc32c(E) [Wed Sep 27 17:52:58 2023] Modules linked in: cmac(E) algif_hash(E) algif_skcipher(E) vboxnetadp(OE) vboxnetflt(OE) af_alg(E) bnep(E) vboxdrv(OE) rtw89_8852be(E) rtw89_8852b(E) rtw89_pci(E) rtw89_core(E) mac80211(E) binfmt_misc(E) btusb(E) btrtl(E) nls_iso8859_1(E) btin tel(E) nls_cp437(E) libarc4(E) btbcm(E) btmtk(E) cfg80211(E) bluetooth(E) asus_nb_wmi(E) vfat(E) fat(E) asus_wmi(E) battery(E) intel_rapl_msr(E) intel_rapl_common(E) sparse_keymap(E) platform_profile(E) ext4(E) ecdh_generic(E) r8169(E) rfkill(E) edac_mce_amd(E) mbcache( E) jbd2(E) snd_hda_codec_realtek(E) kvm_amd(E) snd_hda_codec_hdmi(E) realtek(E) mdio_devres(E) snd_hda_codec_generic(E) ledtrig_audio(E) libphy(E) snd_hda_intel(E) kvm(E) pcspkr(E) i2c_piix4(E) snd_intel_dspcfg(E) snd_intel_sdw_acpi(E) joydev(E) irqbypass(E) snd_hda_cod ec(E) k10temp(E) snd_hda_core(E) snd_hwdep(E) snd_pcm(E) snd_timer(E) snd(E) soundcore(E) gpio_amdpt(E) wmi_bmof(E) gpio_generic(E) tiny_power_button(E) configfs(E) fuse(E) efi_pstore(E) dmi_sysfs(E) ip_tables(E) x_tables(E)
Attached /proc/asound/card*/codec#*
On 27/09/2023 17:26, Jaroslav Kysela wrote:
On 27. 09. 23 13:27, Sid Boyce wrote:
On 26/09/2023 23:13, Randy Dunlap wrote:
lspci -vv
0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD AudioController DeviceName: Realtek ALC897 Audio Subsystem: ASUSTeK Computer Inc. Device 87fb
It looks like a standard HDA hardware. The acp module may not be relevant. You should see some inputs/outputs for this card in pipewire
- the snd-hda-intel module is loaded.
But this hardware may require a new quirk, when the generic code does not work for you. I suggest to look to the HDA driver documentation in Documentation/sound/hd-audio tree.
Jaroslav