Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio (Read 608 times) previous topic - next topic
0 Members and 9 Guests are viewing this topic.

linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Hello, I'm not sure if this change in particular:

Code: [Select]
[2025-10-11T23:30:08-0600] [ALPM] upgraded linux (6.16.10.artix1-1 -> 6.17.1.artix1-1)

But I can't really tell, a reboot didn't help.  The audio driver is "snd_hda_intel":

Code: [Select]
00:1f.3 Multimedia audio controller: Intel Corporation Cannon Lake PCH cAVS (rev 10)
    Subsystem: Hewlett-Packard Company Device 860f
    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: 64
    Interrupt: pin A routed to IRQ 16
    IOMMU group: 11
    Region 0: Memory at 404a108000 (64-bit, non-prefetchable) [size=16K]
    Region 4: Memory at 404a000000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: <access denied>
    Kernel driver in use: sof-audio-pci-intel-cnl
    Kernel modules: snd_soc_avs, snd_sof_pci_intel_cnl, snd_hda_intel

I'm about to revert to 6.16.10 to see if that helps, and also to keep working...  We'll see if that helps.

Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #1
Effectively, downgrading linux (the kernel) together with its headers to 6.16.10 brought audio back

Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #2
Jus in case, the difference is that with 6.16.10 I get:

Code: [Select]
m1:~:% ls /sys/class/sound/
card0@  controlC0@  hwC0D0@  hwC0D2@  pcmC0D0c@  pcmC0D0p@  pcmC0D3p@  pcmC0D7p@  pcmC0D8p@  timer@

whereas with 6.17.1 I get:

Code: [Select]
m1:~:% ls /sys/class/sound/
timer@

Just the timer.  And the driver now loads, because it's found:

Code: [Select]
00:1f.3 Multimedia audio controller: Intel Corporation Cannon Lake PCH cAVS (rev 10)
    Subsystem: Hewlett-Packard Company Device 860f
    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: 64
    Interrupt: pin A routed to IRQ 193
    IOMMU group: 11
    Region 0: Memory at 404a108000 (64-bit, non-prefetchable) [size=16K]
    Region 4: Memory at 404a000000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel, snd_soc_avs, snd_sof_pci_intel_cnl

As opposed to linux 6.17.1, which you can see the difference in:

Code: [Select]
Kernel driver in use: snd_hda_intel

vs:

Code: [Select]
Kernel driver in use: sof-audio-pci-intel-cnl

Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #3
Ignoring linux upgrades for now:

Code: [Select]
warning: linux: ignoring package upgrade (6.16.10.artix1-1 => 6.17.1.artix1-1)
warning: linux-docs: ignoring package upgrade (6.16.10.artix1-1 => 6.17.1.artix1-1)
warning: linux-headers: ignoring package upgrade (6.16.10.artix1-1 => 6.17.1.artix1-1)

Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #4
From dmidecode:
Code: [Select]
    Vendor: HP
...
    Manufacturer: HP
    Product Name: HP ZBook 15 G6
...
    Family: 103C_5336AN HP ZBook

Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #5
Hmm, that is strange that the module didn't load.
Quote
$ cd /usr
find -name '*snd-sof-pci-intel-cnl*'
/usr/lib/modules/6.17.1-artix1-1/kernel/sound/soc/sof/intel/snd-sof-pci-intel-cnl.ko.zst
The module appears to be present in the package. Maybe try modprobe to manually load it.

Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #6
I believe that's not the module it should load, but rather snd-hda-intel, that's the one I remember being loaded for quite some time.

I believe it might be firmware.  The current series of firmware for linux we have is:

Code: [Select]
system/linux-firmware 20250917-1 [installed]

But on arch the firmware  series version is 20251011-1.  It might be, can' tell for sure, I'll try Tonight or when having the chance.


Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #7
As the new FW is on gremlins, it was an easy trial, and upgrading all linnux-firmware present did not help a bit with 6.17.1.

Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #8
On some HP systems these Sound Open Firmware packages from sof-bin are required for audio:

sof-firmware 2025.05.1-1
sof-tools 2025.05.1-1

artist

Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #9
I would install linux-lts for sound, so you can keep 6.17.* for further updates and tests.

Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #10
BTW, I do have sof-firmware installed.  This is an old laptop, and apparently it doesn't support any of the modern drivers.  Before I had:

Code: [Select]
% bat /etc/modprobe.d/audiofix.conf 
options snd-hda-intel dmic_detect=0
options snd-hda-intel model=laptop-amic enable=yes

That is no longer working.  What I need now (I haven't tested the mic, which is how I needed that before) is:

Code: [Select]
% bat /etc/modprobe.d/audiofix.conf 
# options snd-hda-intel dmic_detect=0 (deprecated)
options snd-hda-intel model=laptop-amic enable=yes
options snd-intel-dspcfg dsp_driver=1

I still tested the non legacy drivers, see:
Code: [Select]
% modinfo snd-intel-dspcfg
...
parm:           dsp_driver:Force the DSP driver for Intel DSP (0=auto, 1=legacy, 2=SST, 3=SOF, 4=AVS) (int)

I bet 0 is what attempted by default, I tested 2 (sst), 3 (sof) and 4 (avs), and they all failed to load their firmware according to dmesg.  So I tried 1, which is the suggestion given by dmesg because snd-hda-intel. dmic_detect doesn't work anymore, and it worked.  So I don't know how sound was detected before, that through snd-hda-intel one could select whether using dmic or not, and apparently depending on that the driver to use was changed or not, and now it's instead done through snd-intel-dspcfg.

Also, the changes leading to requiring dmic_detect were also like the current one, it came with a linux upgrade.  When that happened at that time there were more posts about what to do.  This time I couldn't find anything useful on the web.  Perhaps it's too early.

I need to test the mic, and if it works I'll mark this as solved.  And sorry for the noise.

Re: linux upgrade 6.16.10.artix1-1 -> 6.17.1.artix1-1 seem to break audio

Reply #11
Mic working as well, so that was it.  Marking as solved.  Many thanks !