OK, I reinstalled the machine with Ubuntu 24.10 using the traditional
LUKS+LVM encryption (so using conventional deb packaged kernels) and
confirmed that sound works out of the box. So the problem really seems
to be the firmware that is bundled with the Snap-managed kernels.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/2099845

Title:
  Sound not working on Dell XPS 14 9440 with Snap-managed kernel

Status in alsa-driver package in Ubuntu:
  New

Bug description:
  I cannot get the sound working my Dell XPS 14 9440 laptop.

  Importantly, this laptop is using TPM FDE (so the kernel is managed by
  Snap).

  I had exactly these same issues with Ubuntu 24.04, but I reinstalled
  with 24.10 and this bug is documenting my experience in 24.10.

  Here's the hardware device:

  $ sudo lspci | grep Audio
  0000:00:1f.3 Multimedia audio controller: Intel Corporation Meteor Lake-P HD 
Audio Controller (rev 20)

  The dmesg output clearly indicates the problem:

  [   37.729950] sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 
0002)
  [   37.730039] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI 
class/subclass/prog-if 0x040100
  [   37.730091] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops 
i915_audio_component_bind_ops [i915])
  [   37.736671] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
  [   37.753104] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 4
  [   37.753411] sof-audio-pci-intel-mtl 0000:00:1f.3: SOF firmware and/or 
topology file not found.
  [   37.756034] sof-audio-pci-intel-mtl 0000:00:1f.3: Supported default 
profiles
  [   37.756036] sof-audio-pci-intel-mtl 0000:00:1f.3: - ipc type 1 (Requested):
  [   37.756038] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file: 
intel/sof-ipc4/mtl/sof-mtl.ri
  [   37.756040] sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file: 
intel/sof-ace-tplg/sof-mtl-cs42l43-l0-cs35l56-l23.tplg
  [   37.756041] sof-audio-pci-intel-mtl 0000:00:1f.3: Check if you have 
'sof-firmware' package installed.
  [   37.756043] sof-audio-pci-intel-mtl 0000:00:1f.3: Optionally it can be 
manually downloaded from:
  [   37.756044] sof-audio-pci-intel-mtl 0000:00:1f.3:    
https://github.com/thesofproject/sof-bin/
  [   37.758046] sof-audio-pci-intel-mtl 0000:00:1f.3: error: sof_probe_work 
failed err: -2

  If I try to install the firmware-sof-signed package, it fails and gets
  into a pretty bad state because it tries to write to a readonly
  location. Seems like that package is entirely incompatible with the
  Snap-managed kernel this machine has:

  $ sudo apt install firmware-sof-signed 
  The following package was automatically installed and is no longer required:
    python3-netifaces
  Use 'sudo apt autoremove' to remove it.

  Installing:
    firmware-sof-signed

  Summary:
    Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 1
    Download size: 7,093 kB
    Space needed: 9,779 kB / 464 GB available

  Get:1 http://us.archive.ubuntu.com/ubuntu oracular-updates/main amd64 
firmware-sof-signed all 2024.06-1ubuntu1.3 [7,093 kB]
  Fetched 7,093 kB in 1s (7,389 kB/s)              
  Selecting previously unselected package firmware-sof-signed.
  (Reading database ... 107544 files and directories currently installed.)
  Preparing to unpack .../firmware-sof-signed_2024.06-1ubuntu1.3_all.deb ...
  Unpacking firmware-sof-signed (2024.06-1ubuntu1.3) ...
  dpkg: error processing archive 
/var/cache/apt/archives/firmware-sof-signed_2024.06-1ubuntu1.3_all.deb 
(--unpack):
   error creating directory './usr/lib/firmware/intel/sof': Read-only file 
system
  dpkg: error while cleaning up:
   unable to remove newly-extracted version of '/usr/lib/firmware/intel/sof': 
Read-only file system
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/firmware-sof-signed_2024.06-1ubuntu1.3_all.deb
  Error: Sub-process /usr/bin/dpkg returned an error code (1)

  I know from a previous Ubuntu install that didn't use TPM-based FDE
  that I can manually place the SOF firmware files into place and get it
  working (hackily). But that approach won't work here with the Snap-
  managed kernels.

  One strange thing that I noticed was that the Oracular installer
  environment *did* have working sound. And indeed, the dmesg output
  there showed that it found the correct SOF firmware files and loaded
  the driver just fine. But once I installed Ubuntu to the disk, sound
  was in this broken state.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.10
  Package: alsa-base 1.0.25+dfsg-0ubuntu7
  ProcVersionSignature: Ubuntu 6.11.0-18.18-generic 6.11.11
  Uname: Linux 6.11.0-18-generic x86_64
  ApportVersion: 2.30.0-0ubuntu4
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/seq:        kat        3575 F.... pipewire
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Feb 23 16:55:15 2025
  MachineType: Dell Inc. XPS 14 9440
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: alsa-driver
  Symptom: audio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/21/2024
  dmi.bios.release: 1.9
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.9.0
  dmi.board.name: 0CWTN6
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.ec.firmware.release: 1.22
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.9.0:bd10/21/2024:br1.9:efr1.22:svnDellInc.:pnXPS149440:pvr:rvnDellInc.:rn0CWTN6:rvrA00:cvnDellInc.:ct10:cvr:sku0C6B:
  dmi.product.family: XPS
  dmi.product.name: XPS 14 9440
  dmi.product.sku: 0C6B
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/2099845/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to