Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#986822: installation-reports: Debian 11 Breaks Analague sound on Thinkpad Helix 2nd Gen

204 views
Skip to first unread message

dekks herton

unread,
Apr 12, 2021, 8:50:03 AM4/12/21
to
Package: installation-reports
Severity: important
X-Debbugs-Cc: dekk...@gmail.com

(Please provide enough information to help the Debian
maintainers evaluate the report efficiently - e.g., by filling
in the sections below.)

Boot method: usb key
Image version: https://cdimage.debian.org/cdimage/unofficial/non-free/cd-
including-firmware/weekly-builds/amd64/iso-dvd/firmware-testing-amd64-DVD-1.iso
Date: <31/03/2021>

Machine: Thinkpad Helix 2nd Gen
Partitions: <df -Tl will do; the raw partition table is preferred>

Filesystem Type 1K-blocks Used Available Use%
Mounted on
udev devtmpfs 3980824 0 3980824 0%
/dev
tmpfs tmpfs 804352 2176 802176 1%
/run
/dev/mapper/HELIX2NDGEN--vg-root ext4 28703652 11950108 15272432 44% /
tmpfs tmpfs 4021748 132976 3888772 4%
/dev/shm
tmpfs tmpfs 5120 4 5116 1%
/run/lock
/dev/sda2 ext2 483946 253033 205928 56%
/boot
/dev/sda1 vfat 523248 13344 509904 3%
/boot/efi
/dev/mapper/HELIX2NDGEN--vg-home ext4 177483612 2645548 165752728 2%
/home
tmpfs tmpfs 804348 164 804184 1%
/run/user/1000

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot: [O]
Detect network card: [O]
Configure network: [O]
Detect media: [O]
Load installer modules: [O]
Clock/timezone setup: [O]
User/password setup: [O]
Detect hard drives: [O]
Partition hard drives: [O]
Install base system: [O]
Install tasks: [O]
Install boot loader: [O]
Overall install: [E]

Comments/Problems:

No analogue sound on Tablet from Broadwell-U from intel smart sound chipset -
hw works on Buster but breaks on Bullseye
Card0 on Buster no longer detected on Bullseye

Tried installing Intel SOF drivers/firmware to no effect, forcing snd_hda_intel
via modprobe conf doesn't work either
Broadwell-U works eith with HDA or SOF drivers theoretically.
There is record of a kernel compilation flag to enable SOF functionality
SND_SOC_SOF_BROADWELL_SUPPORT=Y breaking legacy and snd_hda_intel too.

inxi Audio output

Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus ID: 00:03.0
Device-2: Realtek USB Audio type: USB driver: snd-usb-audio
bus ID: 1-3.3:5
Sound Server: ALSA v: k5.10.0-5-amd64

Buster aplay log

linux-image-4.19.0-14-amd64 4.19.171-2

**** List of PLAYBACK Hardware Devices ****
card 0: broadwellrt286 [broadwell-rt286], device 0: System Playback/Capture (*)
[]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: broadwellrt286 [broadwell-rt286], device 1: Offload0 Playback (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: broadwellrt286 [broadwell-rt286], device 2: Offload1 Playback (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

Bullseye aplay log

linux-image-5.10.0-4-amd64 5.10.19-1

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Audio [USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

Vincent Blut

unread,
Apr 13, 2021, 8:20:03 AM4/13/21
to
Control: reassign -1 src:linux
Control: retitle -1 Missing support for Haswell/Broadwell platforms with I2S codec present

Hi,

Le 2021-04-12 13:40, dekks herton a écrit :
> Comments/Problems:
>
> No analogue sound on Tablet from Broadwell-U from intel smart sound chipset -
> hw works on Buster but breaks on Bullseye
> Card0 on Buster no longer detected on Bullseye

Due to various bugs, Intel has rewritten the audio driver for Haswell/Broadwell
in Linux 5.10.
The bad news is that our kernel configuration does not seem to provide the
necessary bits to enable support for the Intel Audio DSP on Haswell U/Y and
Broadwell U.
I'm willing to provide a patch to fix this but the release of Bullseye is
approaching really fast so we might have to wait for the first point release.

> Tried installing Intel SOF drivers/firmware to no effect, forcing snd_hda_intel
> via modprobe conf doesn't work either
> Broadwell-U works eith with HDA or SOF drivers theoretically.
> There is record of a kernel compilation flag to enable SOF functionality
> SND_SOC_SOF_BROADWELL_SUPPORT=Y breaking legacy and snd_hda_intel too.

We do not support SOF on Broadwell. This is even not recommended by upstream due
to some limitations related to DMA and suspend-resume so installing
firmware-sof-signed is of no use in your case.

Cheers,
Vincent
signature.asc

Vincent Blut

unread,
Jun 4, 2021, 12:10:03 PM6/4/21
to
Hi Dekks,

Le 2021-06-04 15:34, Dekks Herton a écrit :
> Hi Everyone,
>
> As 5.10.7 was still in unstable 1 added it to my bullseye system via adding
> SId to sources.list and pulling the image and relevant headers packages. If
> there is a better or more correct way please advise.
>
> Running 5.10.7 AFAIK installs the catpt modules correctly and all the hw
> associated correctly
>
> 1) See aplayL txt file enc 2) GNOME shows a different slider layout
>
> However there is still no sound on play back, parsing journalctl it seems
> the firmware IntcSST2.bin errors out and thus no firmware is loaded.
>
> Jun 04 00:49:06 HELIX2NDGEN kernel: intel_catpt INT3438:00: firmware:
> direct-loading firmware intel/IntcSST2.bin
> Jun 04 00:49:10 HELIX2NDGEN kernel: intel_catpt INT3438:00: firmware:
> direct-loading firmware intel/IntcSST2.bin
> Jun 04 00:49:10 HELIX2NDGEN kernel: intel_catpt INT3438:00: firmware ready
> timeout
> Jun 04 00:49:10 HELIX2NDGEN kernel: intel_catpt INT3438:00: boot firmware
> failed: -110
>
> I enclose a listing of the intel firmware folder showing IntcSST2.bin is
> there, Is it the correct firmware?
>
> I've googled and cant find any info on this. Does intel have a github for
> this re-written driver?
>
> Can the bug reopened or can you advise any possible solutions?

Do you have firmware-sof-signed installed? It may be needed on your system.

> Regards....

Cheers,
Vincent
signature.asc

Salvatore Bonaccorso

unread,
Jun 4, 2021, 3:50:03 PM6/4/21
to
Hi,
Reopened the bug for now (at least until the above question is
clarified).

Regards,
Salvatore

Vincent Blut

unread,
Jun 4, 2021, 5:40:03 PM6/4/21
to
Hi Salvatore,
Dekks replied to me privately. Those SOF audio firmware aren't going to help in
this case since we don't provide support for SOF on Broadwell based platforms.
I already mentioned this in [1] but I had totally forgotten that.

Dekks, out of curiosity, could you please post the output of 'pacmd list-sinks'?

> Regards,
> Salvatore

Cheers,
Vincent

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986822#10
signature.asc

Vincent Blut

unread,
Jun 13, 2021, 2:20:04 PM6/13/21
to
Hi,

Le 2021-06-05 08:31, Dekks Herton a écrit :
> Hi
>
> Additional alsa-info script output

From a quick look, alsa-info reports that you're running both PipeWire and
PulseAudio sound servers. While it may not be the root cause of your issue,
if you want to stick with the former, please disable the latter:
$ sudo systemctl --user disable --now pulseaudio.service pulseaudio.socket

Note though that using PipeWire as a substitute to PulseAudio/JACK/ALSA in
Debian 11 is considered experimental.

Cheers,
Vincent
signature.asc

Vincent Blut

unread,
Jun 14, 2021, 4:20:04 AM6/14/21
to
Le 2021-06-13 20:08, Vincent Blut a écrit :
> Hi,
>
> Le 2021-06-05 08:31, Dekks Herton a écrit :
> > Hi
> >
> > Additional alsa-info script output
>
> From a quick look, alsa-info reports that you're running both PipeWire and
> PulseAudio sound servers. While it may not be the root cause of your issue,
> if you want to stick with the former, please disable the latter:
> $ sudo systemctl --user disable --now pulseaudio.service pulseaudio.socket

Err: the above command should not be run with sudo.
signature.asc

Dekks Herton

unread,
Jun 15, 2021, 7:50:04 AM6/15/21
to
Hi Vincent

I'll kill the pipewire server, i would uninstall the packages but they are hard deps for gnome now.

Is the fw file catpt is trying to load the correct one? Is there new fw files that come with catpt that have been forgotten?
Is there a listiing for the error codes -110 and -2, are they missing files or read permission issues?

Regards.....



Dekks Herton

unread,
Jun 21, 2021, 5:50:03 AM6/21/21
to
problem resolved, i think.

new sof firmware update came out, not sure its arrival was more than a coincidence

1 - disabling all intel vitrualisation options in the helix bios was enough to allow the fw to load thus  pavucontrol was now seeing input bars moving but no sound output.

2 - ran alsactl -U init after i noticed ucm errors when running alsactl init.

3 - aplay -l now sees all 3 cards when docked and 2 when tablet only.

4 - alsamixer still showed the correct hw but a lot of outputs were muted, by enabling and disabling them all in sequence enabling the front dac enabled sount from the rt256 card and headphone socket.

I'm doing basic checks like detaching and reattaching to see if that affects the sound, so far ok Only noticeable thing is the fw gets reloaded 3 or 4 times a session, but doesn't seem to affect anything . If i have not commented more  in a week feel free to close the bug.

Vincent Blut

unread,
Jun 29, 2021, 1:00:04 PM6/29/21
to
Version: 5.10.38-1

Hi,

One week has passed, as per your request I'm closing this bug report. Feel free
to reopen it if the issue recurs.

Cheers,
Vincent
signature.asc
0 new messages