LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   No speakers sound on Lenovo Legion 7 16achg6 82n6 - Slackware15/current (https://www.linuxquestions.org/questions/slackware-14/no-speakers-sound-on-lenovo-legion-7-16achg6-82n6-slackware15-current-4175736799/)

xnexonx 05-07-2024 06:18 PM

No speakers sound on Lenovo Legion 7 16achg6 82n6 - Slackware15/current
 
Hi guys, first time making a thread on LQ.
I'm a casual Slackware user having a problem with sound on a Lenovo Legion 7 16achg6-82n6 laptop from 2021 with slackware-15/slackware-current
* OK Bluetooth sound
* OK Headphones
* NOK Speakers

I've tested the speakers on some distributions through LiveCDs (Debian, Fedora, Void, MX, Artix, etc). In all of them it works
It appears the ALC287 driver is known to be a pain

If you need more info about configs on those distros just ask

aplay -l
Code:

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC287 Analog [ALC287 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

(Graphics & Sound)
lspci -kvv
Code:


01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 3a54
        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-
        Interrupt: pin A routed to IRQ 255
        IOMMU group: 12
        Region 0: Memory at d0000000 (32-bit, non-prefetchable) [disabled] [size=16M]
        Region 1: Memory at fa00000000 (64-bit, prefetchable) [disabled] [size=8G]
        Region 3: Memory at fc00000000 (64-bit, prefetchable) [disabled] [size=32M]
        Region 5: I/O ports at 3000 [disabled] [size=128]
        Expansion ROM at d1080000 [disabled] [size=512K]
        Capabilities: [60] 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: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [78] Express (v2) Legacy Endpoint, IntMsgNum 0
                DevCap:        MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ TEE-IO-
                DevCtl:        CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        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 <1us, L1 <4us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl:        ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta:        Speed 8GT/s (downgraded), Width x8 (downgraded)
                        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-
                        AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                        AtomicOpsCtl: ReqEn-
                        IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
                        10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                LnkCap2: Supported Link Speeds: 2.5-16GT/s, Crosslink- Retimer+ 2Retimers+ DRS-
                LnkCtl2: Target Link Speed: 16GT/s, EnterCompliance- SpeedDis-
                        Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                        Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+ EqualizationPhase1+
                        EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
                        Retimer- 2Retimers- CrosslinkRes: unsupported
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100 v1] Virtual Channel
                Caps:        LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:        Fixed- WRR32- WRR64- WRR128-
                Ctrl:        ArbSelect=Fixed
                Status:        InProgress-
                VC0:        Caps:        PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:        Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:        Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
                        Status:        NegoPending- InProgress-
        Capabilities: [250 v1] Latency Tolerance Reporting
                Max snoop latency: 0ns
                Max no snoop latency: 0ns
        Capabilities: [258 v1] L1 PM Substates
                L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                          PortCommonModeRestoreTime=255us PortTPowerOnTime=10us
                L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
                          T_CommonMode=0us LTR1.2_Threshold=0ns
                L1SubCtl2: T_PwrOn=10us
        Capabilities: [128 v1] Power Budgeting <?>
        Capabilities: [420 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
        Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900 v1] Secondary PCI Express
                LnkCtl3: LnkEquIntrruptEn- PerformEqu-
                LaneErrStat: 0
        Capabilities: [bb0 v1] Physical Resizable BAR
                BAR 0: current size: 16MB, supported: 16MB
                BAR 1: current size: 8GB, supported: 64MB 128MB 256MB 512MB 1GB 2GB 4GB 8GB
                BAR 3: current size: 32MB, supported: 32MB
        Capabilities: [c1c v1] Physical Layer 16.0 GT/s <?>
        Capabilities: [d00 v1] Lane Margining at the Receiver
                PortCap: Uses Driver+
                PortSta: MargReady- MargSoftReady-
        Capabilities: [e00 v1] Data Link Feature <?>
        Kernel modules: nvidiafb, nouveau

01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
        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 128
        IOMMU group: 12
        Region 0: Memory at d1000000 (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, IntMsgNum 0
                DevCap:        MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75W TEE-IO-
                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 <1us, L1 <4us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl:        ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta:        Speed 8GT/s (downgraded), Width x8 (downgraded)
                        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-
                        AtomicOpsCtl: ReqEn-
                        IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
                        10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                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
        Capabilities: [160 v1] Data Link Feature <?>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel




06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c5) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 3a54
        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 A routed to IRQ 84
        IOMMU group: 17
        Region 0: Memory at fc10000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at fc20000000 (64-bit, prefetchable) [size=2M]
        Region 4: I/O ports at 1000 [size=256]
        Region 5: Memory at d1500000 (32-bit, non-prefetchable) [size=512K]
        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) Legacy Endpoint, IntMsgNum 0
                DevCap:        MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- TEE-IO-
                DevCtl:        CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 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 <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl:        ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta:        Speed 8GT/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-
                        AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                        AtomicOpsCtl: ReqEn-
                        IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
                        10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                LnkCap2: Supported Link Speeds: 2.5-16GT/s, Crosslink- Retimer+ 2Retimers+ DRS-
                LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
                        Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                        Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+ EqualizationPhase1+
                        EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
                        Retimer- 2Retimers- CrosslinkRes: unsupported
        Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [c0] MSI-X: Enable+ Count=4 Masked-
                Vector table: BAR=5 offset=00042000
                PBA: BAR=5 offset=00043000
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [270 v1] Secondary PCI Express
                LnkCtl3: LnkEquIntrruptEn- PerformEqu-
                LaneErrStat: 0
        Capabilities: [2a0 v1] Access Control Services
                ACSCap:        SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
                ACSCtl:        SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
        Capabilities: [2b0 v1] Address Translation Service (ATS)
                ATSCap:        Invalidate Queue Depth: 00
                ATSCtl:        Enable+, Smallest Translation Unit: 00
        Capabilities: [2c0 v1] Page Request Interface (PRI)
                PRICtl: Enable- Reset-
                PRISta: RF- UPRGI- Stopped+ PASID-
                Page Request Capacity: 00000100, Page Request Allocation: 00000000
        Capabilities: [2d0 v1] Process Address Space ID (PASID)
                PASIDCap: Exec+ Priv+, Max PASID Width: 10
                PASIDCtl: Enable- Exec- Priv-
        Capabilities: [400 v1] Data Link Feature <?>
        Capabilities: [410 v1] Physical Layer 16.0 GT/s <?>
        Capabilities: [440 v1] Lane Margining at the Receiver
                PortCap: Uses Driver-
                PortSta: MargReady- MargSoftReady-
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu



06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
        Subsystem: Lenovo Device 382b
        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 129
        IOMMU group: 21
        Region 0: Memory at d1580000 (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, IntMsgNum 0
                DevCap:        MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W TEE-IO-
                DevCtl:        CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 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 <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl:        ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta:        Speed 8GT/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-
                        AtomicOpsCtl: ReqEn-
                        IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
                        10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                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


Slackware alsa-info dmseg
Code:


!!ALSA/HDA dmesg
!!--------------

[    5.670709] usbcore: registered new interface driver btusb
[    5.672351] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    5.672429] snd_hda_intel 0000:01:00.1: Disabling MSI
[    5.672440] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    5.672533] snd_hda_intel 0000:06:00.6: enabling device (0000 -> 0002)
[    5.675748] kvm_amd: SVM disabled (by BIOS) in MSR_VM_CR on CPU 12
--
[    5.684054] Bluetooth: hci0: Firmware already loaded
[    5.689239] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input11
[    5.689418] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input12
[    5.689661] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input13
[    5.689844] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input14
[    5.689861] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
--
[    6.213364] cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.0: CS35L41 Bound - SSID: 17aa3847, BST: 4, VSPK: 0, CH: L, FW EN: 1, SPKID: 1
[    6.213379] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CLSA0100:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[    6.223054] cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.1: DSP1: Firmware version: 3
--
[    6.732347] cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.1: CS35L41 Bound - SSID: 17aa3847, BST: 4, VSPK: 0, CH: R, FW EN: 1, SPKID: 1
[    6.732362] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CLSA0100:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[    6.732912] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    6.732922] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.732928] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    6.732933] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    6.732938] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    6.732942] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
[    6.732946] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[    6.745239] [drm] amdgpu kernel modesetting enabled.
--
[    6.764791] amdgpu 0000:06:00.0: amdgpu: Will use PSP to load VCN firmware
[    6.773169] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1/input15
[    6.773281] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1/input16
[    7.479063] [drm] reserve 0x400000 from 0xf4ff400000 for PSP TMR
--
[    7.576706] [drm] Display Core v3.2.247 initialized on DCN 2.1
[    7.576711] [drm] DP-HDMI FRL PCON supported
[    7.577259] [drm] DMUB hardware initialized: version=0x01010028


!!Packages installed
!!--------------------

Fedora alsa-info dmesg
Code:

[    7.628519] [drm] Display Core v3.2.241 initialized on DCN 2.1
[    7.628522] [drm] DP-HDMI FRL PCON supported
[    7.629070] [drm] DMUB hardware initialized: version=0x01010027
--
[  12.339526] intel_rapl_common: Found RAPL domain core
[  12.357527] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[  12.357616] snd_hda_intel 0000:01:00.1: Disabling MSI
[  12.357622] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[  12.357718] snd_hda_intel 0000:06:00.6: enabling device (0000 -> 0002)
[  12.358791] iwlwifi 0000:04:00.0: api flags index 2 larger than supported by driver
--
[  12.381058] Bluetooth: hci0: Failed to read MSFT supported features (-19)
[  12.398443] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[  12.401503] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input15
[  12.401574] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input16
[  12.401632] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input17
[  12.401699] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input18
[  12.466537] cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.0: DSP1: Firmware version: 3
--
[  12.950794] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[  12.974112] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CLSA0100:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[  12.976549] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
--
[  13.458253] cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.1: DSP1: spk-prot: C:\Cirrus\Project\Lenovo_PC_Y760\Smart PA Tuning\Release Version\Y760_AMD_Version4.5_LS639\Lenovo_Y760_Veco_Right_Spk_Tuning_LS639_0905.bin
[  13.543086] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CLSA0100:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[  13.543559] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[  13.543564] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[  13.543566] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[  13.543569] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[  13.543571] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[  13.543573] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
[  13.543576] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[  13.584762] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1/input19
[  13.584833] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1/input20
[  13.957902] NET: Registered PF_QIPCRTR protocol family

!!Packages installed
!!--------------------

alsa-lib-1.2.10-3.fc39.x86_64
alsa-utils-1.2.10-1.fc39.x86_64
alsa-sof-firmware-2.2.6-1.fc39.noarch


chris.willing 05-07-2024 07:04 PM

A full -current installation has alsa & sof firmware stuff:

chris@d10:~$ ls -l /var/lib/pkgtools/packages/alsa*
-rw-r--r-- 1 root root 36984 Feb 2 09:17 /var/lib/pkgtools/packages/alsa-lib-1.2.11-x86_64-1
-rw-r--r-- 1 root root 1033 Oct 18 2022 /var/lib/pkgtools/packages/alsa-oss-1.1.8-x86_64-3
-rw-r--r-- 1 root root 3552 Jan 31 14:17 /var/lib/pkgtools/packages/alsa-plugins-1.2.7.1-x86_64-3
-rw-r--r-- 1 root root 3751 Feb 2 09:17 /var/lib/pkgtools/packages/alsa-utils-1.2.11-x86_64-1
chris@d10:~$ ls -l /var/lib/pkgtools/packages/sof*
-rw-r--r-- 1 root root 18527 Apr 21 16:03 /var/lib/pkgtools/packages/sof-firmware-2024.03-noarch-1


Do you have these installed?

Is your audio setup normal (default), or are you a pipewire or alsa-only enthusiast?

xnexonx 05-07-2024 07:40 PM

It's a full current installation with no mods. Kernel-6.6.30

rokytnji 05-07-2024 08:50 PM

I know from personal experience MX uses pipewire for audio.

Code:

System:
  Kernel: 6.1.0-13-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 wm: xfwm dm: LightDM
    Distro: MX-23.2_x64 Libretto July 31 2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Desktop System: Dell product: Precision WorkStation T3400 v: N/A
    serial: <superuser required> Chassis: type: 7 serial: <superuser required>
  Mobo: Dell model: 0TP412 serial: <superuser required> BIOS: Dell v: A09
    date: 06/04/2009
<snip>
4.5 MiB +  1.1 MiB =  5.7 MiB        pipewire

Just for info

xnexonx 05-07-2024 08:57 PM

I enabled it with /usr/sbin/pipewire-enable.sh but no joy

rokytnji 05-07-2024 09:23 PM

Does that enable pipewire and pipewire-pulse

This is how I check things running

Code:

harry@scooter:~
$ sudo ps_mem.py
 Private  +  Shared  =  RAM used        Program

112.0 KiB +  18.5 KiB = 130.5 KiB        runit
128.0 KiB +  18.5 KiB = 146.5 KiB        runsvdir
144.0 KiB +  20.5 KiB = 164.5 KiB        svlogd
156.0 KiB +  32.5 KiB = 188.5 KiB        seatd
224.0 KiB +  29.5 KiB = 253.5 KiB        sh
348.0 KiB +  79.5 KiB = 427.5 KiB        dbus-launch
364.0 KiB +  90.5 KiB = 454.5 KiB        icewm-session
356.0 KiB + 134.5 KiB = 490.5 KiB        udevil
428.0 KiB + 262.5 KiB = 690.5 KiB        getty (3)
640.0 KiB + 380.5 KiB =  1.0 MiB        devmon
820.0 KiB + 221.5 KiB =  1.0 MiB        runsv (9)
816.0 KiB + 399.5 KiB =  1.2 MiB        desktop-session
  1.0 MiB + 325.0 KiB =  1.3 MiB        dbus-daemon (2)
864.0 KiB + 768.0 KiB =  1.6 MiB        sudo (2)
  1.6 MiB + 421.5 KiB =  2.0 MiB        bash
  1.8 MiB + 414.5 KiB =  2.2 MiB        udevd
  1.5 MiB + 705.5 KiB =  2.2 MiB        pipewire-pulse
  2.1 MiB + 182.5 KiB =  2.2 MiB        bluetoothd
  2.7 MiB + 604.5 KiB =  3.3 MiB        slimski
  3.6 MiB + 124.5 KiB =  3.8 MiB        connmand
  4.5 MiB + 339.5 KiB =  4.9 MiB        conky
  4.7 MiB + 465.5 KiB =  5.2 MiB        at-spi-bus-launcher
  5.1 MiB +  1.3 MiB =  6.4 MiB        wpa_supplicant
  6.7 MiB +  2.0 MiB =  8.8 MiB        icewm
  5.7 MiB +  3.2 MiB =  8.8 MiB        leafpad
  5.8 MiB +  3.4 MiB =  9.2 MiB        roxterm
  8.6 MiB +  1.3 MiB =  10.0 MiB        pipewire
  7.2 MiB +  3.6 MiB =  10.8 MiB        zzzfm
  9.5 MiB +  1.7 MiB =  11.2 MiB        wireplumber
 10.2 MiB +  1.6 MiB =  11.8 MiB        tint2
 16.8 MiB +  9.1 MiB =  26.0 MiB        cmst
 48.0 MiB +  11.9 MiB =  60.0 MiB        python3.11
 47.2 MiB +  23.2 MiB =  70.4 MiB        Xorg
843.2 MiB + 129.6 MiB = 972.8 MiB        firefox-esr (13)
---------------------------------
                          1.2 GiB
=================================
harry@scooter:~
$

I have working sound. Different gear though. Older than yours. I'm more curious than solving your problem . Slackware dudes should be helping.

xnexonx 05-07-2024 09:40 PM

Installed ps_mem and ...

Code:

bash-5.2# ps_mem | grep pulse
  3.6 MiB + 666.5 KiB =  4.3 MiB        pipewire-pulse
  9.0 MiB +  2.3 MiB =  11.2 MiB        panel-8-pulseau


rizitis 05-08-2024 06:59 AM

Quote:

Originally Posted by xnexonx (Post 6500375)
Hi guys, first time making a thread on LQ.
I'm a casual Slackware user having a problem with sound on a Lenovo Legion 7 16achg6-82n6 laptop from 2021 with slackware-15/slackware-current
* OK Bluetooth sound
* OK Headphones
* NOK Speakers

I've tested the speakers on some distributions through LiveCDs (Debian, Fedora, Void, MX, Artix, etc). In all of them it works
It appears the ALC287 driver is known to be a pain

If you need more info about configs on those distros just ask

aplay -l
Code:

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC287 Analog [ALC287 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

(Graphics & Sound)
lspci -kvv
Code:


01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 3a54
        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-
        Interrupt: pin A routed to IRQ 255
        IOMMU group: 12
        Region 0: Memory at d0000000 (32-bit, non-prefetchable) [disabled] [size=16M]
        Region 1: Memory at fa00000000 (64-bit, prefetchable) [disabled] [size=8G]
        Region 3: Memory at fc00000000 (64-bit, prefetchable) [disabled] [size=32M]
        Region 5: I/O ports at 3000 [disabled] [size=128]
        Expansion ROM at d1080000 [disabled] [size=512K]
        Capabilities: [60] 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: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [78] Express (v2) Legacy Endpoint, IntMsgNum 0
                DevCap:        MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ TEE-IO-
                DevCtl:        CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset-
                        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 <1us, L1 <4us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl:        ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta:        Speed 8GT/s (downgraded), Width x8 (downgraded)
                        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-
                        AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                        AtomicOpsCtl: ReqEn-
                        IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
                        10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                LnkCap2: Supported Link Speeds: 2.5-16GT/s, Crosslink- Retimer+ 2Retimers+ DRS-
                LnkCtl2: Target Link Speed: 16GT/s, EnterCompliance- SpeedDis-
                        Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                        Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+ EqualizationPhase1+
                        EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
                        Retimer- 2Retimers- CrosslinkRes: unsupported
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100 v1] Virtual Channel
                Caps:        LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:        Fixed- WRR32- WRR64- WRR128-
                Ctrl:        ArbSelect=Fixed
                Status:        InProgress-
                VC0:        Caps:        PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:        Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:        Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
                        Status:        NegoPending- InProgress-
        Capabilities: [250 v1] Latency Tolerance Reporting
                Max snoop latency: 0ns
                Max no snoop latency: 0ns
        Capabilities: [258 v1] L1 PM Substates
                L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                          PortCommonModeRestoreTime=255us PortTPowerOnTime=10us
                L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
                          T_CommonMode=0us LTR1.2_Threshold=0ns
                L1SubCtl2: T_PwrOn=10us
        Capabilities: [128 v1] Power Budgeting <?>
        Capabilities: [420 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
        Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900 v1] Secondary PCI Express
                LnkCtl3: LnkEquIntrruptEn- PerformEqu-
                LaneErrStat: 0
        Capabilities: [bb0 v1] Physical Resizable BAR
                BAR 0: current size: 16MB, supported: 16MB
                BAR 1: current size: 8GB, supported: 64MB 128MB 256MB 512MB 1GB 2GB 4GB 8GB
                BAR 3: current size: 32MB, supported: 32MB
        Capabilities: [c1c v1] Physical Layer 16.0 GT/s <?>
        Capabilities: [d00 v1] Lane Margining at the Receiver
                PortCap: Uses Driver+
                PortSta: MargReady- MargSoftReady-
        Capabilities: [e00 v1] Data Link Feature <?>
        Kernel modules: nvidiafb, nouveau

01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
        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 128
        IOMMU group: 12
        Region 0: Memory at d1000000 (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, IntMsgNum 0
                DevCap:        MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 75W TEE-IO-
                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 <1us, L1 <4us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl:        ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta:        Speed 8GT/s (downgraded), Width x8 (downgraded)
                        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-
                        AtomicOpsCtl: ReqEn-
                        IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
                        10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                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
        Capabilities: [160 v1] Data Link Feature <?>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel




06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c5) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 3a54
        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 A routed to IRQ 84
        IOMMU group: 17
        Region 0: Memory at fc10000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at fc20000000 (64-bit, prefetchable) [size=2M]
        Region 4: I/O ports at 1000 [size=256]
        Region 5: Memory at d1500000 (32-bit, non-prefetchable) [size=512K]
        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) Legacy Endpoint, IntMsgNum 0
                DevCap:        MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- TEE-IO-
                DevCtl:        CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 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 <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl:        ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta:        Speed 8GT/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-
                        AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                        AtomicOpsCtl: ReqEn-
                        IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
                        10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                LnkCap2: Supported Link Speeds: 2.5-16GT/s, Crosslink- Retimer+ 2Retimers+ DRS-
                LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
                        Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                        Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
                LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+ EqualizationPhase1+
                        EqualizationPhase2+ EqualizationPhase3+ LinkEqualizationRequest-
                        Retimer- 2Retimers- CrosslinkRes: unsupported
        Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [c0] MSI-X: Enable+ Count=4 Masked-
                Vector table: BAR=5 offset=00042000
                PBA: BAR=5 offset=00043000
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [270 v1] Secondary PCI Express
                LnkCtl3: LnkEquIntrruptEn- PerformEqu-
                LaneErrStat: 0
        Capabilities: [2a0 v1] Access Control Services
                ACSCap:        SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
                ACSCtl:        SrcValid- TransBlk- ReqRedir- CmpltRedir- UpstreamFwd- EgressCtrl- DirectTrans-
        Capabilities: [2b0 v1] Address Translation Service (ATS)
                ATSCap:        Invalidate Queue Depth: 00
                ATSCtl:        Enable+, Smallest Translation Unit: 00
        Capabilities: [2c0 v1] Page Request Interface (PRI)
                PRICtl: Enable- Reset-
                PRISta: RF- UPRGI- Stopped+ PASID-
                Page Request Capacity: 00000100, Page Request Allocation: 00000000
        Capabilities: [2d0 v1] Process Address Space ID (PASID)
                PASIDCap: Exec+ Priv+, Max PASID Width: 10
                PASIDCtl: Enable- Exec- Priv-
        Capabilities: [400 v1] Data Link Feature <?>
        Capabilities: [410 v1] Physical Layer 16.0 GT/s <?>
        Capabilities: [440 v1] Lane Margining at the Receiver
                PortCap: Uses Driver-
                PortSta: MargReady- MargSoftReady-
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu



06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
        Subsystem: Lenovo Device 382b
        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 129
        IOMMU group: 21
        Region 0: Memory at d1580000 (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, IntMsgNum 0
                DevCap:        MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0W TEE-IO-
                DevCtl:        CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 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 <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl:        ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta:        Speed 8GT/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-
                        AtomicOpsCtl: ReqEn-
                        IDOReq- IDOCompl- LTR- EmergencyPowerReductionReq-
                        10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                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


Slackware alsa-info dmseg
Code:


!!ALSA/HDA dmesg
!!--------------

[    5.670709] usbcore: registered new interface driver btusb
[    5.672351] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    5.672429] snd_hda_intel 0000:01:00.1: Disabling MSI
[    5.672440] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    5.672533] snd_hda_intel 0000:06:00.6: enabling device (0000 -> 0002)
[    5.675748] kvm_amd: SVM disabled (by BIOS) in MSR_VM_CR on CPU 12
--
[    5.684054] Bluetooth: hci0: Firmware already loaded
[    5.689239] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input11
[    5.689418] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input12
[    5.689661] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input13
[    5.689844] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input14
[    5.689861] Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
--
[    6.213364] cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.0: CS35L41 Bound - SSID: 17aa3847, BST: 4, VSPK: 0, CH: L, FW EN: 1, SPKID: 1
[    6.213379] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CLSA0100:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[    6.223054] cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.1: DSP1: Firmware version: 3
--
[    6.732347] cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.1: CS35L41 Bound - SSID: 17aa3847, BST: 4, VSPK: 0, CH: R, FW EN: 1, SPKID: 1
[    6.732362] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CLSA0100:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[    6.732912] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    6.732922] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.732928] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    6.732933] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    6.732938] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    6.732942] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
[    6.732946] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[    6.745239] [drm] amdgpu kernel modesetting enabled.
--
[    6.764791] amdgpu 0000:06:00.0: amdgpu: Will use PSP to load VCN firmware
[    6.773169] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1/input15
[    6.773281] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1/input16
[    7.479063] [drm] reserve 0x400000 from 0xf4ff400000 for PSP TMR
--
[    7.576706] [drm] Display Core v3.2.247 initialized on DCN 2.1
[    7.576711] [drm] DP-HDMI FRL PCON supported
[    7.577259] [drm] DMUB hardware initialized: version=0x01010028


!!Packages installed
!!--------------------

Fedora alsa-info dmesg
Code:

[    7.628519] [drm] Display Core v3.2.241 initialized on DCN 2.1
[    7.628522] [drm] DP-HDMI FRL PCON supported
[    7.629070] [drm] DMUB hardware initialized: version=0x01010027
--
[  12.339526] intel_rapl_common: Found RAPL domain core
[  12.357527] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[  12.357616] snd_hda_intel 0000:01:00.1: Disabling MSI
[  12.357622] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[  12.357718] snd_hda_intel 0000:06:00.6: enabling device (0000 -> 0002)
[  12.358791] iwlwifi 0000:04:00.0: api flags index 2 larger than supported by driver
--
[  12.381058] Bluetooth: hci0: Failed to read MSFT supported features (-19)
[  12.398443] snd_hda_intel 0000:01:00.1: bound 0000:01:00.0 (ops nv50_audio_component_bind_ops [nouveau])
[  12.401503] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input15
[  12.401574] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input16
[  12.401632] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input17
[  12.401699] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input18
[  12.466537] cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.0: DSP1: Firmware version: 3
--
[  12.950794] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[  12.974112] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CLSA0100:00-cs35l41-hda.0 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[  12.976549] Bluetooth: hci0: Found device firmware: intel/ibt-20-1-3.sfi
--
[  13.458253] cs35l41-hda i2c-CLSA0100:00-cs35l41-hda.1: DSP1: spk-prot: C:\Cirrus\Project\Lenovo_PC_Y760\Smart PA Tuning\Release Version\Y760_AMD_Version4.5_LS639\Lenovo_Y760_Veco_Right_Spk_Tuning_LS639_0905.bin
[  13.543086] snd_hda_codec_realtek hdaudioC1D0: bound i2c-CLSA0100:00-cs35l41-hda.1 (ops cs35l41_hda_comp_ops [snd_hda_scodec_cs35l41])
[  13.543559] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[  13.543564] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[  13.543566] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[  13.543569] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[  13.543571] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[  13.543573] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
[  13.543576] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
[  13.584762] input: HD-Audio Generic Mic as /devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1/input19
[  13.584833] input: HD-Audio Generic Headphone as /devices/pci0000:00/0000:00:08.1/0000:06:00.6/sound/card1/input20
[  13.957902] NET: Registered PF_QIPCRTR protocol family

!!Packages installed
!!--------------------

alsa-lib-1.2.10-3.fc39.x86_64
alsa-utils-1.2.10-1.fc39.x86_64
alsa-sof-firmware-2.2.6-1.fc39.noarch


open pavucontrol and doble check that you have enabled the correct sound card and not nvidia in Output Divices.
I m almost sure that there is the problem.(I hope!)
if not then boot from ubuntu or fedora or any working distro and paste here the output of
Code:

cat /etc/default/grub
maybe you need a GRUB_CMDLINE_LINUX=?

EDIT: kernel 6.7.9 looks that works fine with your card can you build and install it?
also kernel 6.8.7 if builded with this patch seems to work

xnexonx 05-08-2024 11:25 AM

Quote:

Originally Posted by rizitis (Post 6500468)
open pavucontrol and doble check that you have enabled the correct sound card and not nvidia in Output Divices.
I m almost sure that there is the problem.(I hope!)
if not then boot from ubuntu or fedora or any working distro and paste here the output of
Code:

cat /etc/default/grub
maybe you need a GRUB_CMDLINE_LINUX=?

EDIT: kernel 6.7.9 looks that works fine with your card can you build and install it?
also kernel 6.8.7 if builded with this patch seems to work

The kernel update did the job (I did it with a fresh install)
Thank you guys


All times are GMT -5. The time now is 02:49 PM.