build module CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m for 5.11, 5.13-rc2 and later

Bug #1921632 reported by Marian Klein
66
This bug affects 11 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned
Hirsute
Fix Released
Medium
Hui Wang
Impish
Fix Released
Medium
Unassigned
linux-oracle (Ubuntu)
Fix Released
Undecided
Unassigned
Hirsute
Fix Released
Undecided
Unassigned
Impish
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Ubuntu users ran the kernel on the Dell soundwire audio machines,
the dmesg shows the audio mchine driver is not found, then the
audio fails to initialize

[Fix]
Enable the intel soundwire audio machine driver and some related
codec driver.

[Test]
run fakeroot debian/rules clean updateconfigs, and check the
config.common.ubuntu, the content is not changed.
Build the kernel with this patch applied, the soundwire audio
machine driver is built.

[Where problems could occur]
This could possibly introduce the building failure, I tested it,
so far no failure.

See also
https://bugzilla.kernel.org/show_bug.cgi?id=212465

Default kernel from
https://cdimage.ubuntu.com/kubuntu/daily-live/20210327/
and also upstream kernel
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12-rc4/

tested and both do not work.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu61
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D2p', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D7c', '/dev/snd/pcmC0D6c', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 21.04
InstallationDate: Installed on 2021-03-28 (0 days ago)
InstallationMedia: Kubuntu 21.04 "Hirsute Hippo" - Alpha amd64 (20210326)
MachineType: HP HP Spectre x360 Convertible 13-aw2xxx
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-11-generic root=/dev/mapper/sys-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.11.0-11.12-generic 5.11.0
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.11.0-11-generic N/A
 linux-backports-modules-5.11.0-11-generic N/A
 linux-firmware 1.195
Tags: hirsute
Uname: Linux 5.11.0-11-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 12/08/2020
dmi.bios.release: 15.10
dmi.bios.vendor: AMI
dmi.bios.version: F.10
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 8709
dmi.board.vendor: HP
dmi.board.version: 31.30
dmi.chassis.type: 31
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 31.30
dmi.modalias: dmi:bvnAMI:bvrF.10:bd12/08/2020:br15.10:efr31.30:svnHP:pnHPSpectrex360Convertible13-aw2xxx:pvr:rvnHP:rn8709:rvr31.30:cvnHP:ct31:cvrChassisVersion:
dmi.product.family: 103C_5335KV HP Spectre
dmi.product.name: HP Spectre x360 Convertible 13-aw2xxx
dmi.product.sku: 2G2D8EA#ABU
dmi.sys.vendor: HP

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1921632

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Marian Klein (sandokan9) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected hirsute
description: updated
Revision history for this message
Marian Klein (sandokan9) wrote : CRDA.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : IwConfig.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : Lspci.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : Lspci-vt.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : Lsusb.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : Lsusb-t.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : Lsusb-v.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : PaInfo.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : ProcModules.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : RfKill.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : UdevDb.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : WifiSyslog.txt

apport information

Revision history for this message
Marian Klein (sandokan9) wrote : acpidump.txt

apport information

Marian Klein (sandokan9)
summary: Internal Speakers Bang & Olufsen on HP Spectre X360 Convertible model
- 13-aw2025na don't work at all probably because of driver missing or
- wrongly configured
+ 13-aw2025na don't work at all probably because of missing kernel/ALSA
+ driver or wrong driver configuration
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Marian Klein (sandokan9) wrote : Re: Internal Speakers Bang & Olufsen on HP Spectre X360 Convertible model 13-aw2025na don't work at all probably because of missing kernel/ALSA driver or wrong driver configuration

Please apply patches suggested there for 21.04 kernel

https://github.com/thesofproject/linux/issues/2700#issuecomment-805954898

Revision history for this message
Marian Klein (sandokan9) wrote :

Ok. I got it working.
I built from here.
git clone https://github.com/thesofproject/linux.git
with
CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m

I uploaded my kernel debian/ubuntu packages to
https://drive.google.com/drive/folders/1L9DpjMamc37tZ19s5u_4RfmV221F4222?usp=sharing

Affected Spectre X360 laptop users can install this kernel directly in the meantime before patches make it to the mainline kernel and distros.

Also this needs to be installed:
user1@HPSpectre:~/dev$ git clone https://github.com/alsa-project/alsa-ucm-conf.git
sudo apt remove alsa-ucm-conf
cd /usr/share/alsa/
sudo ln -s "$HOME/dev/alsa-ucm-conf/ucm2" ucm2
reboot

Revision history for this message
Marian Klein (sandokan9) wrote :

CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m
is not enabled for https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13-rc1/
I can see nothing in
marian@HPSpectre:/boot$ cat config-5.13.0-051300rc1-generic | grep CONFIG_SND_SOC_INTEL_SOUNDWIRE_

please make sure it is enabled in https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13-rc2/ and later and also in proper ubuntu kernels

see https://bugzilla.kernel.org/show_bug.cgi?id=212465#c36

summary: - Internal Speakers Bang & Olufsen on HP Spectre X360 Convertible model
- 13-aw2025na don't work at all probably because of missing kernel/ALSA
- driver or wrong driver configuration
+ build module CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m for 5.13-rc2 and
+ later
Hui Wang (hui.wang)
Changed in linux (Ubuntu Hirsute):
status: New → Confirmed
importance: Undecided → Medium
Changed in linux (Ubuntu Impish):
importance: Undecided → Medium
Changed in linux (Ubuntu Hirsute):
assignee: nobody → Hui Wang (hui.wang)
Hui Wang (hui.wang)
description: updated
Revision history for this message
Marian Klein (sandokan9) wrote : Re: build module CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m for 5.13-rc2 and later

Please enabled first
marian@HPSpectre:/boot$ cat config-5.12.0-rc4+ | grep CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES
CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES=y
to see the card , then you can see the card and you can
CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m

Revision history for this message
Marian Klein (sandokan9) wrote :

enabling module

Hui Wang (hui.wang)
summary: - build module CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m for 5.13-rc2 and
- later
+ build module CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m for 5.11,
+ 5.13-rc2 and later
Changed in linux (Ubuntu Hirsute):
status: Confirmed → Fix Committed
Revision history for this message
Mikhail Shevtsov (mesouug) wrote :

@hui.wang I've accidentally pressed on Fix Released. Please revert.

Changed in linux (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Steve (gadydm) wrote :

@mesouug: does this change also include CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES=y ?

Revision history for this message
Hui Wang (hui.wang) wrote :

@mesouug,

OK, got it.

@gadydm,

Yes, it does.

thx.

Changed in linux (Ubuntu Hirsute):
status: Fix Released → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-hirsute' to 'verification-done-hirsute'. If the problem still exists, change the tag 'verification-needed-hirsute' to 'verification-failed-hirsute'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-hirsute
Revision history for this message
Marian Klein (sandokan9) wrote :

Who is supposed to test it? Is it me as a reporter?
I reported the problem to make ubuntu aware of it and I expected ubuntu to pick it up and to sort it out by themselves. I do not accept any further "responsibility" on this, including testing.
I compiled a kernel manually myself , so I have a solution that works for me.

Revision history for this message
Eduard (jongeduard) wrote :

Hi, I am lucky that I am reading the verification request now.

Yesterday I tried this one by manual dpkg-install:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13-rc4/amd64/

Was this build supposed to have the fix included as well? Because for me sound still did not work.

Revision history for this message
Eduard (jongeduard) wrote (last edit ):

Alright, I also tested the proposed 5.11.0-19-generic now.

SoundWire does work on this kernel.
So that part is OK.

BUT:

Recently a new bug has been introduced with the ath11k driver, that my machine also uses.
It seems that we are now going to introduce this same bug on Ubuntu if this kernel gets accepted (It has already passed It has already passed Arch Linux and Fedora, on which I reported too. And has also been fixed already.)
The result is that WIFI is not working.

Update: I made a separate bug report for this issue now.

Revision history for this message
Marian Klein (sandokan9) wrote :

Problem is still not fixed for https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13-rc4/
Config variable still does not appear for 5.13-rc4
marian@HPSpectre:/boot$ cat config-5.13.0-051300rc4-generic | grep CONFIG_SND_SOC_INTEL_SOUNDWIRE

Revision history for this message
Marian Klein (sandokan9) wrote :

ubuntu linux kernel 5.11.0-19 form hirsute-proposed branch did not work for me for the audio

marian@HPSpectre:/boot$ cat /etc/apt/sources.list.d/ubuntu-hirsute-proposed.list
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ hirsute-proposed restricted main multiverse universe

Although config vars are set
marian@HPSpectre:/boot$ cat config-5.11.0-19-generic | grep CONFIG_SND_SOC_INTEL_SOUNDWIRE
CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m
marian@HPSpectre:/boot$ cat config-5.11.0-19-generic | grep LONG
CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES=y

In kde I don't get audio devices I get with kernel compiled by me. See also alsa info attached.
marian@HPSpectre:/boot$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 1: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 2: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Revision history for this message
Hui Wang (hui.wang) wrote :

@Eduard,

thanks for your verification.

@Marian Klein,

I will verify the proposed kernel. And about the fix in mainline build kernel (like v5.13-rc4), need to wait for a while, the process is the fix is merged in impish first, then the mainline build kernel will get the fix from impish kernel.

Revision history for this message
Marian Klein (sandokan9) wrote :

ubuntu kernel hirsute-proposed 5.11.0-19 does not work. I believe backporting patches to such an old kernel was a mistake. You should have consulted Pierre-Louis Bossart <<email address hidden> if backporting patches to 5.11 is a good idea, what problems could arise or if the 5.11 kernel has everything the patches require.

Revision history for this message
Hui Wang (hui.wang) wrote :

@Marian,

You mentioned you built working kernel yourself, is it based on 5.11 kernel or 5.13 kernel? I guess your machine has the soundwire SDCA design, we plan to support the soundwire SDCA audio design in the impish (5.13) kernel.

Revision history for this message
Hui Wang (hui.wang) wrote :

Installed the proposed kernel 5.11.0-19 on the Dell Latitude 9520, the audio works.

[ 0.000000] Linux version 5.11.0-19-generic (buildd@lcy01-amd64-025) (gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.36.1) #20-Ubuntu SMP Tue Jun 1 10:51:47 UTC 2021 (Ubuntu 5.11.0-19.20-generic 5.11.21)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.11.0-19-generic root=UUID=8ea841b0-b453-4ee6-9595-5a60018eef31 ro quiet splash vt.handoff=7
....

[ 9.479914] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3

[ 9.479918] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 4

[ 9.479920] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 5

[ 9.479922] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 6

[ 9.479924] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 7

[ 9.479926] sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 8

[ 9.498512] input: sof-soundwire Headset Jack as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input17
[ 9.498557] input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input18
[ 9.498599] input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input19
[ 9.498639] input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input20

Revision history for this message
Marian Klein (sandokan9) wrote :

To answer your question: My kernel was compiled 5.13-rc2.
I have a messed up system now. I enabled hirsute-proposed repository and upgraded all the packages I could. Now even the kernel 5.13-rc2 does not work for me with the audio on speakers (it works on audio jack headset). Non-kernel Packages linux-firmware and alsa-ucm-conf are also important.

For original working kernel 5.13-rc2 I had to also previously download
topology file sof-tgl-rt711-rt1308-2ch.tplg (I don't remember from where) and overwrite file in linux-firmware.

Also I had to overwrite ucm2 in alsa-ucm-conf package:

user1@HPSpectre:~/dev$ git clone https://github.com/alsa-project/alsa-ucm-conf.git
sudo apt remove alsa-ucm-conf
cd /usr/share/alsa/
sudo ln -s "$HOME/dev/alsa-ucm-conf/ucm2" ucm2

Please see https://github.com/thesofproject/linux/issues/2700
I still have the same problem like the last message of another guy.

Alsa mixer shows radically different options for your kernel and for mine.

Revision history for this message
Hui Wang (hui.wang) wrote :

@Marian,

After read the https://github.com/thesofproject/linux/issues/2700, looks like the kernel 5.11 couldn't work on your machine. So please use the 5.13 kernel built on your won, and wait for the mainline build kernel to merge this kconfig fix.

And for the sof-firmware and alsa-ucm-conf, could you please replace the needed files little by little, then find what files must be upgraded to support your machine. like:

/lib/firmware/intel/sof/*.ri?
/lib/firmware/intel/sof-tplg/*.tplg?
/usr/share/alsa/ucm2/sof-soundwire/?

Revision history for this message
Marian Klein (sandokan9) wrote :

Pulse is a problem.

I can with aplay both into speaker (after enabling with alsamixer) and into headset connected via audio jack.

marian@HPSpectre:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofsoundwire [sof-soundwire], device 0: Headphone (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 2: SDW1-speakers (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 5: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 6: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 7: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofsoundwire [sof-soundwire], device 8: HDMI4 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

marian@HPSpectre:~$ uname -a
Linux HPSpectre 5.13.0-rc2 #1 SMP Mon May 17 23:59:52 BST 2021 x86_64 x86_64 x86_64 GNU/Linux

marian@HPSpectre:~$ aplay -D plughw:0,2 ambitions.wav
Playing WAVE 'ambitions.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Stereo

marian@HPSpectre:~$ aplay -D plughw:0,0 ambitions.wav
Playing WAVE 'ambitions.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Stereo

Revision history for this message
Marian Klein (sandokan9) wrote :

Pavucontrol cannot see speakers

Revision history for this message
Marian Klein (sandokan9) wrote :

I downloaded and extracted
https://github.com/thesofproject/linux/files/5912926/sof-tgl-rt711-rt1308-2ch.tplg.gz
and placed it in /lib/firmware/intel/sof-tplg/

Revision history for this message
Marian Klein (sandokan9) wrote :

also kde audio settings cannot see speakers

Revision history for this message
Marian Klein (sandokan9) wrote :

maybe alsa-utils problem?

marian@HPSpectre:~/dev$ alsaucm listcards
ALSA lib parser.c:2365:(uc_mgr_scan_master_configs) Incompatible syntax 4 in HDA-Intel
  list is empty
marian@HPSpectre:~/dev$ apt-file search alsaucm
alsa-utils: /usr/bin/alsaucm
alsa-utils: /usr/share/man/man1/alsaucm.1.gz
marian@HPSpectre:~/dev$ apt list -a alsa-utils
Listing... Done
alsa-utils/hirsute,now 1.2.4-1ubuntu3 amd64 [installed,automatic]

Revision history for this message
Marian Klein (sandokan9) wrote :

I got it working

Ubuntu 21.04 hirsute default version 1.2.4-2ubuntu1 of package alsa-ucm-conf does not work.
the latest 1.2.5 version "git clone https://github.com/alsa-project/alsa-ucm-conf.git"
There is a new syntax introduced in upstream alsa-ucm-conf.

Exactly with this version of alsa-ucm-conf works only
https://github.com/alsa-project/alsa-ucm-conf/archive/548036b8ecc92d4e8e2070046551fb0b8acb7d96.zip
just before new syntax is introduced.

It works for me even without a new topology file
https://github.com/thesofproject/linux/files/5912926/sof-tgl-rt711-rt1308-2ch.tplg.gz in
/lib/firmware/intel/sof-tplg/

which is strange (because previously it made a difference)

See
https://github.com/thesofproject/linux/issues/2700#issuecomment-854033711

Revision history for this message
Marian Klein (sandokan9) wrote :

So I got it working with 5.13-rc2 kernel built by me. And a new topology file
https://github.com/thesofproject/linux/files/5912926/sof-tgl-rt711-rt1308-2ch.tplg.gz in
/lib/firmware/intel/sof-tplg/
was really needed. Because when I restarted laptop with ubuntu version of the topology file devices disappeared. The comment #45 regarding this topology file was errorneous (I forgot to test it).

With ubuntu kernel the problem is deeper. I cannot see the right devices in aplay and in alsamixer (Compare with comment #40 above)

marian@HPSpectre:/usr/share/alsa$ uname -a
Linux HPSpectre 5.11.0-19-generic #20-Ubuntu SMP Tue Jun 1 10:51:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
marian@HPSpectre:/usr/share/alsa$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 1: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 2: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Revision history for this message
Hui Wang (hui.wang) wrote :

@Marian,

According to the issue of #2700, the codec connection on your machine is greatly different from the existing supported connections in the linux-5.11 kernel, so please wait for the 5.13 mainline kernel to enable the Kconfig or to wait for the impish kernel or 5.13-oem kernel.

For the tplg, I checked the sof-firmware, it is in the stable-v1.7-rc2

For the ucm, could you please help bisect the alsa-ucm-conf from v1.2.4 to v1.2.5, then find what commit fixes your problem and we could backport it. (We don't have the machine, can't do that ourselves).

thx.

tags: added: verification-done-hirsute
removed: verification-needed-hirsute
Revision history for this message
Marian Klein (sandokan9) wrote :

Two questions.

1) Will impish 5.13 kernel be backported and made available to ubuntu 21.03/hirsute ?

2) Will the packages
    libasound2 1.2.4-1.1ubuntu2
    libasound2-data 1.2.4-1.1ubuntu2
    alsa-utils 1.2.4-1ubuntu3
    alsa-topology-conf 1.2.4-1
    alsa-ucm-conf 1.2.4-2ubuntu1.1
    alsa-tools 1.2.2-1
    alsa-base 1.0.25+dfsg-0ubuntu7

   be upgraded to version 1.2.5 in impish? There is a syntax change in the latest alsa-ucm-conf (git clone https://github.com/alsa-project/alsa-ucm-conf.git) that can be read only with 1.2.5 alsa-utils library.

Revision history for this message
Marian Klein (sandokan9) wrote :

In case of non-kernel packages can ubuntu deviate from debian?
According to
https://distrowatch.com/table.php?distribution=debian
debian uses alsa-lib version 1.2.4 in testing branch.
Is it the reason ubuntu cannot upgrade to 1.2.5 of this package for impish?

Revision history for this message
Marian Klein (sandokan9) wrote :

Opened another ticket to upgrade alsa-lib to 1.2.5 for impish.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1930941

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-oracle (Ubuntu Hirsute):
status: New → Confirmed
Changed in linux-oracle (Ubuntu):
status: New → Confirmed
Revision history for this message
Herczeg Zsolt (herczegzsolt) wrote :

I went ahead and tested 5.11.0-19 and 5.11.0.20, neither of them works. 5.11.0-19 does not boot to GUI at all, 5.11.0-20 has no audio and touchpad broken.

I'm currently on a self-built 5.11.0-17 where the only change is the two soundwire configs and this works amazing. What has happened to -19 and -20 kernels besides the config change?

Revision history for this message
Hui Wang (hui.wang) wrote :

@Herczeg,

What is your machine, Dell or HP? If non-audio part is broken with -20 kernel, you could file a new bug against it.

Revision history for this message
Herczeg Zsolt (herczegzsolt) wrote :

My machine is a Dell XPS 9700, happy to provide hardware info or any other details you may be interested in. With -20 kernel audio and 4k support is both broken. Audio behaves exactly like with unpatched -16 or -17 kernels, only "dummy output" is present no onboard input/outputs are visible.

Would there be any data/tests that you have in mind to see why the -20 kernel does not correctly handle the audio devices? I'm happy to perform those if you give me a general direction.

Revision history for this message
Eduard (jongeduard) wrote :

Alright, testing the kernel 5.11.0-20 right now (I didn't realize that it was available already, because somehow it didn't show up as an automatic update anymore when having proposed updates enabled).

For me, also working with XPS 9700, the kernel works, but only the 5.11.0-20-lowlatency without issues.
Both the WIFI ath11k issue and the Soundwire issue are solved for me.

But 5.11.0-20-generic does not load the GUI, only a blinking cursor on a black screen. :(
When I boot the kernel from GRUB without the "quit" and "splash" parameters, I see the full kernel and systemd outputs.
With Ctrl+Alt+F* I can also switch to terminals and just login to a terminal.

So I suspect there is an issue with the NVIDIA driver and this kernel. So I think something needs to be fixed with that.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

@jongeduard,

The only difference between -19 and -20 is the fix for bug 1930637:

* 326fb259bc3b (tag: Ubuntu-5.11.0-20.21) UBUNTU: Ubuntu-5.11.0-20.21
* 551229625f67 UBUNTU: link-to-tracker: update tracking bug
* fae84905e0ca bus: mhi: core: Download AMSS image from appropriate function
* 75b5532c4938 UBUNTU: Start new release
* 6c982603b0df (tag: Ubuntu-5.11.0-19.20) UBUNTU: Ubuntu-5.11.0-19.20

Revision history for this message
Eduard (jongeduard) wrote :

@vicamo

Thanks!
It turns out to be something with my installation (no success after removing NVIDIA drivers and it also turns out that installing an older generic kernel version gives the same issue when I try that, something seems completely broken here). I will find that out for myself.

So not a problem for the new kernel indeed.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (65.7 KiB)

This bug was fixed in the package linux - 5.11.0-20.21+21.10.1

---------------
linux (5.11.0-20.21+21.10.1) impish; urgency=medium

  * impish/linux: 5.11.0-20.21+21.10.1 -proposed tracker (LP: #1930056)

  * Packaging resync (LP: #1786013)
    - update dkms package versions

  [ Ubuntu: 5.11.0-20.21 ]

  * hirsute/linux: 5.11.0-20.21 -proposed tracker (LP: #1930854)
  * ath11k WIFI not working in proposed kernel 5.11.0-19-generic (LP: #1930637)
    - bus: mhi: core: Download AMSS image from appropriate function

  [ Ubuntu: 5.11.0-19.20 ]

  * hirsute/linux: 5.11.0-19.20 -proposed tracker (LP: #1930075)
  * Packaging resync (LP: #1786013)
    - update dkms package versions
  * CVE-2021-33200
    - bpf: Wrap aux data inside bpf_sanitize_info container
    - bpf: Fix mask direction swap upon off reg sign change
    - bpf: No need to simulate speculative domain for immediates
  * AX201 BT will cause system could not enter S0i3 (LP: #1928047)
    - SAUCE: drm/i915: Tweaked Wa_14010685332 for all PCHs
  * CVE-2021-3490
    - SAUCE: Revert "UBUNTU: SAUCE: bpf: verifier: fix ALU32 bounds tracking with
      bitwise ops"
    - gpf: Fix alu32 const subreg bound tracking on bitwise operations
  * CVE-2021-3489
    - SAUCE: Revert "UBUNTU: SAUCE: bpf: prevent writable memory-mapping of read-
      only ringbuf pages"
    - bpf: Prevent writable memory-mapping of read-only ringbuf pages
  * Select correct boot VGA when BIOS doesn't do it properly (LP: #1929217)
    - vgaarb: Use ACPI HID name to find integrated GPU
  * Realtek USB hubs in Dell WD19SC/DC/TB fail to work after exiting s2idle
    (LP: #1928242)
    - USB: Verify the port status when timeout happens during port suspend
  * CVE-2020-26145
    - ath10k: drop fragments with multicast DA for SDIO
    - ath10k: add CCMP PN replay protection for fragmented frames for PCIe
    - ath10k: drop fragments with multicast DA for PCIe
  * CVE-2020-26141
    - ath10k: Fix TKIP Michael MIC verification for PCIe
  * CVE-2020-24587
    - ath11k: Clear the fragment cache during key install
  * CVE-2020-24588
    - mac80211: properly handle A-MSDUs that start with an RFC 1042 header
    - cfg80211: mitigate A-MSDU aggregation attacks
    - mac80211: drop A-MSDUs on old ciphers
    - ath10k: drop MPDU which has discard flag set by firmware for SDIO
  * CVE-2020-26139
    - mac80211: do not accept/forward invalid EAPOL frames
  * CVE-2020-24586 // CVE-2020-24587 // CVE-2020-24587 for such cases.
    - mac80211: extend protection against mixed key and fragment cache attacks
  * CVE-2020-24586 // CVE-2020-24587
    - mac80211: prevent mixed key and fragment cache attacks
    - mac80211: add fragment cache to sta_info
    - mac80211: check defrag PN against current frame
    - mac80211: prevent attacks on TKIP/WEP as well
  * CVE-2020-26147
    - mac80211: assure all fragments are encrypted
  * raid10: Block discard is very slow, causing severe delays for mkfs and
    fstrim operations (LP: #1896578)
    - md: add md_submit_discard_bio() for submitting discard bio
    - md/raid10: extend r10bio devs to raid disks
    - md/raid10: pull the code that wait for blocked dev into one function
    - md/raid10: improve ra...

Changed in linux (Ubuntu Impish):
status: Confirmed → Fix Released
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (65.9 KiB)

This bug was fixed in the package linux - 5.11.0-22.23

---------------
linux (5.11.0-22.23) hirsute; urgency=medium

  * UAF on CAN J1939 j1939_can_recv (LP: #1932209)
    - SAUCE: can: j1939: delay release of j1939_priv after synchronize_rcu

  * UAF on CAN BCM bcm_rx_handler (LP: #1931855)
    - SAUCE: can: bcm: delay release of struct bcm_op after synchronize_rcu

linux (5.11.0-20.21) hirsute; urgency=medium

  * hirsute/linux: 5.11.0-20.21 -proposed tracker (LP: #1930854)

  * ath11k WIFI not working in proposed kernel 5.11.0-19-generic (LP: #1930637)
    - bus: mhi: core: Download AMSS image from appropriate function

linux (5.11.0-19.20) hirsute; urgency=medium

  * hirsute/linux: 5.11.0-19.20 -proposed tracker (LP: #1930075)

  * Packaging resync (LP: #1786013)
    - update dkms package versions

  * CVE-2021-33200
    - bpf: Wrap aux data inside bpf_sanitize_info container
    - bpf: Fix mask direction swap upon off reg sign change
    - bpf: No need to simulate speculative domain for immediates

  * AX201 BT will cause system could not enter S0i3 (LP: #1928047)
    - SAUCE: drm/i915: Tweaked Wa_14010685332 for all PCHs

  * CVE-2021-3490
    - SAUCE: Revert "UBUNTU: SAUCE: bpf: verifier: fix ALU32 bounds tracking with
      bitwise ops"
    - gpf: Fix alu32 const subreg bound tracking on bitwise operations

  * CVE-2021-3489
    - SAUCE: Revert "UBUNTU: SAUCE: bpf: prevent writable memory-mapping of read-
      only ringbuf pages"
    - bpf: Prevent writable memory-mapping of read-only ringbuf pages

  * Select correct boot VGA when BIOS doesn't do it properly (LP: #1929217)
    - vgaarb: Use ACPI HID name to find integrated GPU

  * Realtek USB hubs in Dell WD19SC/DC/TB fail to work after exiting s2idle
    (LP: #1928242)
    - USB: Verify the port status when timeout happens during port suspend

  * CVE-2020-26145
    - ath10k: drop fragments with multicast DA for SDIO
    - ath10k: add CCMP PN replay protection for fragmented frames for PCIe
    - ath10k: drop fragments with multicast DA for PCIe

  * CVE-2020-26141
    - ath10k: Fix TKIP Michael MIC verification for PCIe

  * CVE-2020-24587
    - ath11k: Clear the fragment cache during key install

  * CVE-2020-24588
    - mac80211: properly handle A-MSDUs that start with an RFC 1042 header
    - cfg80211: mitigate A-MSDU aggregation attacks
    - mac80211: drop A-MSDUs on old ciphers
    - ath10k: drop MPDU which has discard flag set by firmware for SDIO

  * CVE-2020-26139
    - mac80211: do not accept/forward invalid EAPOL frames

  * CVE-2020-24586 // CVE-2020-24587 // CVE-2020-24587 for such cases.
    - mac80211: extend protection against mixed key and fragment cache attacks

  * CVE-2020-24586 // CVE-2020-24587
    - mac80211: prevent mixed key and fragment cache attacks
    - mac80211: add fragment cache to sta_info
    - mac80211: check defrag PN against current frame
    - mac80211: prevent attacks on TKIP/WEP as well

  * CVE-2020-26147
    - mac80211: assure all fragments are encrypted

  * raid10: Block discard is very slow, causing severe delays for mkfs and
    fstrim operations (LP: #1896578)
    - md: add md_submit_discard_bio() for submitting discard bio
    - ...

Changed in linux (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (66.3 KiB)

This bug was fixed in the package linux-oracle - 5.11.0-1010.10

---------------
linux-oracle (5.11.0-1010.10) hirsute; urgency=medium

  [ Ubuntu: 5.11.0-22.23 ]

  * UAF on CAN J1939 j1939_can_recv (LP: #1932209)
    - SAUCE: can: j1939: delay release of j1939_priv after synchronize_rcu
  * UAF on CAN BCM bcm_rx_handler (LP: #1931855)
    - SAUCE: can: bcm: delay release of struct bcm_op after synchronize_rcu

linux-oracle (5.11.0-1008.8) hirsute; urgency=medium

  * hirsute/linux-oracle: 5.11.0-1008.8 -proposed tracker (LP: #1930066)

  * build module CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m for 5.11, 5.13-rc2
    and later (LP: #1921632)
    - [Config] oracle: disable soundwire audio mach driver

  * Hirsute update: v5.11.21 upstream stable release (LP: #1929455)
    - [Config] oracle: updateconfigs for AD9467

  [ Ubuntu: 5.11.0-20.21 ]

  * hirsute/linux: 5.11.0-20.21 -proposed tracker (LP: #1930854)
  * ath11k WIFI not working in proposed kernel 5.11.0-19-generic (LP: #1930637)
    - bus: mhi: core: Download AMSS image from appropriate function

  [ Ubuntu: 5.11.0-19.20 ]

  * hirsute/linux: 5.11.0-19.20 -proposed tracker (LP: #1930075)
  * Packaging resync (LP: #1786013)
    - update dkms package versions
  * CVE-2021-33200
    - bpf: Wrap aux data inside bpf_sanitize_info container
    - bpf: Fix mask direction swap upon off reg sign change
    - bpf: No need to simulate speculative domain for immediates
  * AX201 BT will cause system could not enter S0i3 (LP: #1928047)
    - SAUCE: drm/i915: Tweaked Wa_14010685332 for all PCHs
  * CVE-2021-3490
    - SAUCE: Revert "UBUNTU: SAUCE: bpf: verifier: fix ALU32 bounds tracking with
      bitwise ops"
    - gpf: Fix alu32 const subreg bound tracking on bitwise operations
  * CVE-2021-3489
    - SAUCE: Revert "UBUNTU: SAUCE: bpf: prevent writable memory-mapping of read-
      only ringbuf pages"
    - bpf: Prevent writable memory-mapping of read-only ringbuf pages
  * Select correct boot VGA when BIOS doesn't do it properly (LP: #1929217)
    - vgaarb: Use ACPI HID name to find integrated GPU
  * Realtek USB hubs in Dell WD19SC/DC/TB fail to work after exiting s2idle
    (LP: #1928242)
    - USB: Verify the port status when timeout happens during port suspend
  * CVE-2020-26145
    - ath10k: drop fragments with multicast DA for SDIO
    - ath10k: add CCMP PN replay protection for fragmented frames for PCIe
    - ath10k: drop fragments with multicast DA for PCIe
  * CVE-2020-26141
    - ath10k: Fix TKIP Michael MIC verification for PCIe
  * CVE-2020-24587
    - ath11k: Clear the fragment cache during key install
  * CVE-2020-24588
    - mac80211: properly handle A-MSDUs that start with an RFC 1042 header
    - cfg80211: mitigate A-MSDU aggregation attacks
    - mac80211: drop A-MSDUs on old ciphers
    - ath10k: drop MPDU which has discard flag set by firmware for SDIO
  * CVE-2020-26139
    - mac80211: do not accept/forward invalid EAPOL frames
  * CVE-2020-24586 // CVE-2020-24587 // CVE-2020-24587 for such cases.
    - mac80211: extend protection against mixed key and fragment cache attacks
  * CVE-2020-24586 // CVE-2020-24587
    - mac80211: prevent mixed key and fragment cache attacks
 ...

Changed in linux-oracle (Ubuntu Hirsute):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (66.2 KiB)

This bug was fixed in the package linux-oracle - 5.11.0-1008.8+21.10.1

---------------
linux-oracle (5.11.0-1008.8+21.10.1) impish; urgency=medium

  * impish/linux-oracle: 5.11.0-1008.8+21.10.1 -proposed tracker (LP: #1930065)

  * Hirsute update: v5.11.21 upstream stable release (LP: #1929455)
    - [Config] oracle: updateconfigs for AD9467

  * Packaging resync (LP: #1786013)
    - update dkms package versions

  [ Ubuntu: 5.11.0-1008.8 ]

  * hirsute/linux-oracle: 5.11.0-1008.8 -proposed tracker (LP: #1930066)
  * build module CONFIG_SND_SOC_INTEL_SOUNDWIRE_SOF_MACH=m for 5.11, 5.13-rc2
    and later (LP: #1921632)
    - [Config] oracle: disable soundwire audio mach driver
  * Hirsute update: v5.11.21 upstream stable release (LP: #1929455)
    - [Config] oracle: updateconfigs for AD9467
  * hirsute/linux: 5.11.0-20.21 -proposed tracker (LP: #1930854)
  * ath11k WIFI not working in proposed kernel 5.11.0-19-generic (LP: #1930637)
    - bus: mhi: core: Download AMSS image from appropriate function
  * hirsute/linux: 5.11.0-19.20 -proposed tracker (LP: #1930075)
  * Packaging resync (LP: #1786013)
    - update dkms package versions
  * CVE-2021-33200
    - bpf: Wrap aux data inside bpf_sanitize_info container
    - bpf: Fix mask direction swap upon off reg sign change
    - bpf: No need to simulate speculative domain for immediates
  * AX201 BT will cause system could not enter S0i3 (LP: #1928047)
    - SAUCE: drm/i915: Tweaked Wa_14010685332 for all PCHs
  * CVE-2021-3490
    - SAUCE: Revert "UBUNTU: SAUCE: bpf: verifier: fix ALU32 bounds tracking with
      bitwise ops"
    - gpf: Fix alu32 const subreg bound tracking on bitwise operations
  * CVE-2021-3489
    - SAUCE: Revert "UBUNTU: SAUCE: bpf: prevent writable memory-mapping of read-
      only ringbuf pages"
    - bpf: Prevent writable memory-mapping of read-only ringbuf pages
  * Select correct boot VGA when BIOS doesn't do it properly (LP: #1929217)
    - vgaarb: Use ACPI HID name to find integrated GPU
  * Realtek USB hubs in Dell WD19SC/DC/TB fail to work after exiting s2idle
    (LP: #1928242)
    - USB: Verify the port status when timeout happens during port suspend
  * CVE-2020-26145
    - ath10k: drop fragments with multicast DA for SDIO
    - ath10k: add CCMP PN replay protection for fragmented frames for PCIe
    - ath10k: drop fragments with multicast DA for PCIe
  * CVE-2020-26141
    - ath10k: Fix TKIP Michael MIC verification for PCIe
  * CVE-2020-24587
    - ath11k: Clear the fragment cache during key install
  * CVE-2020-24588
    - mac80211: properly handle A-MSDUs that start with an RFC 1042 header
    - cfg80211: mitigate A-MSDU aggregation attacks
    - mac80211: drop A-MSDUs on old ciphers
    - ath10k: drop MPDU which has discard flag set by firmware for SDIO
  * CVE-2020-26139
    - mac80211: do not accept/forward invalid EAPOL frames
  * CVE-2020-24586 // CVE-2020-24587 // CVE-2020-24587 for such cases.
    - mac80211: extend protection against mixed key and fragment cache attacks
  * CVE-2020-24586 // CVE-2020-24587
    - mac80211: prevent mixed key and fragment cache attacks
    - mac80211: add fragment cache to sta_info
    - mac80211: check defrag PN agai...

Changed in linux-oracle (Ubuntu Impish):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.