Re: Ryzen 9 7950x sound module does not not build
[also Cc'ing alsa ML and related maintainers]
On Tue, Sep 26, 2023 at 01:23:13PM +0100, Sid Boyce wrote:
I've since rebooted and did a modprobe. No idea why it isn't automatically loaded.
#modinfo snd-rpl-pci-acp6x filename: /usr/lib/modules/6.6.0-rc3-vanilla/kernel/sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko.gz license: GPL v2 description: AMD ACP RPL PCI driver srcversion: 0F909BC61165681426ECEEB alias: pci:v00001022d000015E2sv*sd*bc04sc80i00* depends: retpoline: Y intree: Y name: snd_rpl_pci_acp6x vermagic: 6.6.0-rc3-vanilla SMP preempt mod_unload modversions
# modprobe snd-rpl-pci-acp6x
#lsmod|grep snd snd_rpl_pci_acp6x 16384 0 snd_seq_dummy 12288 0 snd_hrtimer 12288 1 snd_seq 131072 7 snd_seq_dummy snd_hda_codec_realtek 192512 1 snd_hda_codec_hdmi 94208 1 snd_hda_codec_generic 110592 1 snd_hda_codec_realtek snd_hda_intel 65536 2 snd_usb_audio 458752 2 snd_intel_dspcfg 40960 1 snd_hda_intel snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg snd_hda_codec 233472 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_usbmidi_lib 49152 1 snd_usb_audio snd_hda_core 147456 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_ump 36864 1 snd_usb_audio snd_rawmidi 57344 2 snd_usbmidi_lib,snd_ump snd_seq_device 16384 3 snd_seq,snd_ump,snd_rawmidi mc 94208 1 snd_usb_audio snd_hwdep 20480 2 snd_usb_audio,snd_hda_codec snd_pcm 225280 6 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm ledtrig_audio 12288 2 snd_hda_codec_generic,asus_wmi snd 163840 23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi
soundcore 16384 1 snd usbcore 446464 6 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci
Any errors on dmesg when loading snd-rpl-pci-acp6x module?
On 26/09/2023 14:01, Bagas Sanjaya wrote:
[also Cc'ing alsa ML and related maintainers]
On Tue, Sep 26, 2023 at 01:23:13PM +0100, Sid Boyce wrote:
I've since rebooted and did a modprobe. No idea why it isn't automatically loaded.
#modinfo snd-rpl-pci-acp6x filename: /usr/lib/modules/6.6.0-rc3-vanilla/kernel/sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko.gz license: GPL v2 description: AMD ACP RPL PCI driver srcversion: 0F909BC61165681426ECEEB alias: pci:v00001022d000015E2sv*sd*bc04sc80i00* depends: retpoline: Y intree: Y name: snd_rpl_pci_acp6x vermagic: 6.6.0-rc3-vanilla SMP preempt mod_unload modversions
# modprobe snd-rpl-pci-acp6x
#lsmod|grep snd snd_rpl_pci_acp6x 16384 0 snd_seq_dummy 12288 0 snd_hrtimer 12288 1 snd_seq 131072 7 snd_seq_dummy snd_hda_codec_realtek 192512 1 snd_hda_codec_hdmi 94208 1 snd_hda_codec_generic 110592 1 snd_hda_codec_realtek snd_hda_intel 65536 2 snd_usb_audio 458752 2 snd_intel_dspcfg 40960 1 snd_hda_intel snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg snd_hda_codec 233472 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_usbmidi_lib 49152 1 snd_usb_audio snd_hda_core 147456 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_ump 36864 1 snd_usb_audio snd_rawmidi 57344 2 snd_usbmidi_lib,snd_ump snd_seq_device 16384 3 snd_seq,snd_ump,snd_rawmidi mc 94208 1 snd_usb_audio snd_hwdep 20480 2 snd_usb_audio,snd_hda_codec snd_pcm 225280 6 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm ledtrig_audio 12288 2 snd_hda_codec_generic,asus_wmi snd 163840 23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi
soundcore 16384 1 snd usbcore 446464 6 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci
Any errors on dmesg when loading snd-rpl-pci-acp6x module?
No errors, no mention of the module. Booted with the USB dongle removed.
kmix only lists Playback Devices: Family 17h/19h HD Audio Controller Digital Stereo (IEC958).
Capture Devices: Family 17h/19h HD Audio Controller Analog Stereo.
With USB dongle plugged it uses it as the default.
#fuser -v /dev/snd/*
USER PID ACCESS COMMAND /dev/snd/controlC0: lancelot 2618 F.... wireplumber /dev/snd/controlC1: lancelot 2618 F.... wireplumber /dev/snd/controlC2: lancelot 2618 F.... wireplumber /dev/snd/pcmC0D0p: lancelot 2617 F...m pipewire /dev/snd/seq: lancelot 2617 F.... pipewire
#dmesg -T |grep snd [Tue Sep 26 15:30:12 2023] snd_hda_intel 0000:01:00.1: Disabling MSI [Tue Sep 26 15:30:12 2023] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client [Tue Sep 26 15:30:12 2023] snd_hda_intel 0000:0b:00.6: enabling device (0000 -> 0002) [Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line [Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0) [Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: mono: mono_out=0x0 [Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: dig-out=0x11/0x0 [Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: inputs: [Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: Front Mic=0x19 [Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: Rear Mic=0x18 [Tue Sep 26 15:30:12 2023] snd_hda_codec_realtek hdaudioC2D0: Line=0x1a [Tue Sep 26 15:30:12 2023] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
I had to use modprobe:
#lsmod|grep snd_rpl_pci_acp6x snd_rpl_pci_acp6x 16384 0
dmesg does not report it.
Regards
Sid.
On 26/09/2023 14:01, Bagas Sanjaya wrote:
[also Cc'ing alsa ML and related maintainers]
On Tue, Sep 26, 2023 at 01:23:13PM +0100, Sid Boyce wrote:
I've since rebooted and did a modprobe. No idea why it isn't automatically loaded.
#modinfo snd-rpl-pci-acp6x filename: /usr/lib/modules/6.6.0-rc3-vanilla/kernel/sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko.gz license: GPL v2 description: AMD ACP RPL PCI driver srcversion: 0F909BC61165681426ECEEB alias: pci:v00001022d000015E2sv*sd*bc04sc80i00* depends: retpoline: Y intree: Y name: snd_rpl_pci_acp6x vermagic: 6.6.0-rc3-vanilla SMP preempt mod_unload modversions
# modprobe snd-rpl-pci-acp6x
#lsmod|grep snd snd_rpl_pci_acp6x 16384 0 snd_seq_dummy 12288 0 snd_hrtimer 12288 1 snd_seq 131072 7 snd_seq_dummy snd_hda_codec_realtek 192512 1 snd_hda_codec_hdmi 94208 1 snd_hda_codec_generic 110592 1 snd_hda_codec_realtek snd_hda_intel 65536 2 snd_usb_audio 458752 2 snd_intel_dspcfg 40960 1 snd_hda_intel snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg snd_hda_codec 233472 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_usbmidi_lib 49152 1 snd_usb_audio snd_hda_core 147456 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_ump 36864 1 snd_usb_audio snd_rawmidi 57344 2 snd_usbmidi_lib,snd_ump snd_seq_device 16384 3 snd_seq,snd_ump,snd_rawmidi mc 94208 1 snd_usb_audio snd_hwdep 20480 2 snd_usb_audio,snd_hda_codec snd_pcm 225280 6 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm ledtrig_audio 12288 2 snd_hda_codec_generic,asus_wmi snd 163840 23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi
soundcore 16384 1 snd usbcore 446464 6 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci
Any errors on dmesg when loading snd-rpl-pci-acp6x module?
The full .config.
On 9/26/23 12:17, Sid Boyce wrote:
On 26/09/2023 14:01, Bagas Sanjaya wrote:
[also Cc'ing alsa ML and related maintainers]
On Tue, Sep 26, 2023 at 01:23:13PM +0100, Sid Boyce wrote:
I've since rebooted and did a modprobe. No idea why it isn't automatically loaded.
#modinfo snd-rpl-pci-acp6x filename: /usr/lib/modules/6.6.0-rc3-vanilla/kernel/sound/soc/amd/rpl/snd-rpl-pci-acp6x.ko.gz license: GPL v2 description: AMD ACP RPL PCI driver srcversion: 0F909BC61165681426ECEEB alias: pci:v00001022d000015E2sv*sd*bc04sc80i00* depends: retpoline: Y intree: Y name: snd_rpl_pci_acp6x vermagic: 6.6.0-rc3-vanilla SMP preempt mod_unload modversions
# modprobe snd-rpl-pci-acp6x
#lsmod|grep snd snd_rpl_pci_acp6x 16384 0 snd_seq_dummy 12288 0 snd_hrtimer 12288 1 snd_seq 131072 7 snd_seq_dummy snd_hda_codec_realtek 192512 1 snd_hda_codec_hdmi 94208 1 snd_hda_codec_generic 110592 1 snd_hda_codec_realtek snd_hda_intel 65536 2 snd_usb_audio 458752 2 snd_intel_dspcfg 40960 1 snd_hda_intel snd_intel_sdw_acpi 16384 1 snd_intel_dspcfg snd_hda_codec 233472 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_usbmidi_lib 49152 1 snd_usb_audio snd_hda_core 147456 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_ump 36864 1 snd_usb_audio snd_rawmidi 57344 2 snd_usbmidi_lib,snd_ump snd_seq_device 16384 3 snd_seq,snd_ump,snd_rawmidi mc 94208 1 snd_usb_audio snd_hwdep 20480 2 snd_usb_audio,snd_hda_codec snd_pcm 225280 6 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_hda_core snd_timer 53248 3 snd_seq,snd_hrtimer,snd_pcm ledtrig_audio 12288 2 snd_hda_codec_generic,asus_wmi snd 163840 23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_ump,snd_pcm,snd_rawmidi
soundcore 16384 1 snd usbcore 446464 6 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,btusb,xhci_pci
Any errors on dmesg when loading snd-rpl-pci-acp6x module?
The full .config.
Your .config file also builds with no problems, so I guess that the issue is not about building but about auto-loading and finding the device.
I think that what we are missing (first) is the output of 'lspci -vv', at least for the PCI sound device in question. The snd-rpl-pci-acp6x driver only supports vendor=0x1022, device=0x15e2, and PCI revision=0x62.
On 26/09/2023 23:13, Randy Dunlap wrote:
lspci -vv
01:00.1 Audiodevice: NVIDIA Corporation Device 10fa (rev a1) Subsystem: NVIDIA Corporation Device 1f82 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 80 IOMMU group: 11 Region 0: Memory at fc080000 (32-bit, non-prefetchable) [size=16K] Capabilities: [60] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [78] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75W DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s (downgraded), Width x16 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD AudioController DeviceName: Realtek ALC897 Audio Subsystem: ASUSTeK Computer Inc. Device 87fb Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin C routed to IRQ 81 IOMMU group: 24 Region 0: Memory at fc500000 (32-bit, non-prefetchable) [size=32K] Capabilities: [48] Vendor Specific Information: Len=08 <?> Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [64] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- LnkCap: Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 16GT/s, Width x16 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR- 10BitTagComp+ 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00000 Data: 0000 Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [2a0 v1] Access Control Services ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
On 9/27/23 04:27, Sid Boyce wrote:
On 26/09/2023 23:13, Randy Dunlap wrote:
|| The snd-rpl-pci-acp6x driver only supports || vendor=0x1022, device=0x15e2, and PCI revision=0x62.
lspci -vv
01:00.1 Audiodevice: NVIDIA Corporation Device 10fa (rev a1) Subsystem: NVIDIA Corporation Device 1f82 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 80 IOMMU group: 11 Region 0: Memory at fc080000 (32-bit, non-prefetchable) [size=16K] Capabilities: [60] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [78] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75W DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s (downgraded), Width x16 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD AudioController DeviceName: Realtek ALC897 Audio Subsystem: ASUSTeK Computer Inc. Device 87fb Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin C routed to IRQ 81 IOMMU group: 24 Region 0: Memory at fc500000 (32-bit, non-prefetchable) [size=32K] Capabilities: [48] Vendor Specific Information: Len=08 <?> Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [64] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- LnkCap: Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 16GT/s, Width x16 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR- 10BitTagComp+ 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00000 Data: 0000 Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [2a0 v1] Access Control Services ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
Sid, do you have some reason to believe that one of these devices should use the snd-rpl-pci-acp6x driver? I don't see that either one of them is the correct vendor/device ID pair for that driver, but I would prefer that someone who is familiar with the driver & device jump in here...
On 27/09/2023 16:40, Randy Dunlap wrote:
On 9/27/23 04:27, Sid Boyce wrote:
On 26/09/2023 23:13, Randy Dunlap wrote:
|| The snd-rpl-pci-acp6x driver only supports || vendor=0x1022, device=0x15e2, and PCI revision=0x62.
lspci -vv
01:00.1 Audiodevice: NVIDIA Corporation Device 10fa (rev a1) Subsystem: NVIDIA Corporation Device 1f82 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 80 IOMMU group: 11 Region 0: Memory at fc080000 (32-bit, non-prefetchable) [size=16K] Capabilities: [60] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [78] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75W DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s (downgraded), Width x16 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD AudioController DeviceName: Realtek ALC897 Audio Subsystem: ASUSTeK Computer Inc. Device 87fb Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin C routed to IRQ 81 IOMMU group: 24 Region 0: Memory at fc500000 (32-bit, non-prefetchable) [size=32K] Capabilities: [48] Vendor Specific Information: Len=08 <?> Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [64] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- LnkCap: Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 16GT/s, Width x16 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR- 10BitTagComp+ 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00000 Data: 0000 Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [2a0 v1] Access Control Services ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
Sid, do you have some reason to believe that one of these devices should use the snd-rpl-pci-acp6x driver? I don't see that either one of them is the correct vendor/device ID pair for that driver, but I would prefer that someone who is familiar with the driver & device jump in here...
Hi Randy,
After installing the new motherboard, there was no Analog Stereo audio. Googling on the motherboard audio suggested that acp6x was the driver to use.
I don't have any digital audio equipment, so expected Analog Stereo to work as it did on the old TUF GAMING X570-PLUS (WI-FI) which is on another box and works fine, kmix says Starship/Matisse HD Audio Controller Analog Stereo.
I'll try going back to pulseaudio on this box to see if it's a problem with pipewire.
Regards
Sid.
On 27/09/2023 16:40, Randy Dunlap wrote:
On 9/27/23 04:27, Sid Boyce wrote:
On 26/09/2023 23:13, Randy Dunlap wrote:
|| The snd-rpl-pci-acp6x driver only supports || vendor=0x1022, device=0x15e2, and PCI revision=0x62.
lspci -vv
01:00.1 Audiodevice: NVIDIA Corporation Device 10fa (rev a1) Subsystem: NVIDIA Corporation Device 1f82 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 80 IOMMU group: 11 Region 0: Memory at fc080000 (32-bit, non-prefetchable) [size=16K] Capabilities: [60] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [78] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75W DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s (downgraded), Width x16 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD AudioController DeviceName: Realtek ALC897 Audio Subsystem: ASUSTeK Computer Inc. Device 87fb Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin C routed to IRQ 81 IOMMU group: 24 Region 0: Memory at fc500000 (32-bit, non-prefetchable) [size=32K] Capabilities: [48] Vendor Specific Information: Len=08 <?> Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [64] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- LnkCap: Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 16GT/s, Width x16 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR- 10BitTagComp+ 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00000 Data: 0000 Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [2a0 v1] Access Control Services ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
Sid, do you have some reason to believe that one of these devices should use the snd-rpl-pci-acp6x driver? I don't see that either one of them is the correct vendor/device ID pair for that driver, but I would prefer that someone who is familiar with the driver & device jump in here...
Switched to pulseaudio, results are absolutely the same as with pipewire.
After reboot without USB dongle only the Digital Stereo (IEC958) showed in kmix.
Plugged in the USB dongle in order to get sound working.
On 27/09/2023 16:40, Randy Dunlap wrote:
On 9/27/23 04:27, Sid Boyce wrote:
On 26/09/2023 23:13, Randy Dunlap wrote:
|| The snd-rpl-pci-acp6x driver only supports || vendor=0x1022, device=0x15e2, and PCI revision=0x62.
lspci -vv
01:00.1 Audiodevice: NVIDIA Corporation Device 10fa (rev a1) Subsystem: NVIDIA Corporation Device 1f82 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin B routed to IRQ 80 IOMMU group: 11 Region 0: Memory at fc080000 (32-bit, non-prefetchable) [size=16K] Capabilities: [60] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: 0000000000000000 Data: 0000 Capabilities: [78] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75W DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend- LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s (downgraded), Width x16 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range AB, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Via message, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
0b:00.6 Audiodevice: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD AudioController DeviceName: Realtek ALC897 Audio Subsystem: ASUSTeK Computer Inc. Device 87fb Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin C routed to IRQ 81 IOMMU group: 24 Region 0: Memory at fc500000 (32-bit, non-prefetchable) [size=32K] Capabilities: [48] Vendor Specific Information: Len=08 <?> Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [64] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ MaxPayload 256 bytes, MaxReadReq 512 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- LnkCap: Port #0, Speed 16GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 16GT/s, Width x16 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR- 10BitTagComp+ 10BitTagReq- OBFF Not Supported, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- AtomicOpsCap: 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- 10BitTagReq- OBFF Disabled, AtomicOpsCtl: ReqEn- LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00000 Data: 0000 Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?> Capabilities: [2a0 v1] Access Control Services ACSCap: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- ACSCtl: SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans- Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel
Sid, do you have some reason to believe that one of these devices should use the snd-rpl-pci-acp6x driver? I don't see that either one of them is the correct vendor/device ID pair for that driver, but I would prefer that someone who is familiar with the driver & device jump in here...
Discovered this morning that there was a faulty plug to one of the external speakers.
Playback Devices in kmix now show "Family 17h/19h HD Audio Controller Analog Stereo" and I have audio working with pipewire.
Regards
Sid.
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
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
participants (4)
-
Bagas Sanjaya
-
Jaroslav Kysela
-
Randy Dunlap
-
Sid Boyce