Public bug reported:

Hardware: Lenovo Legion Pro 7 16IRX9H (83DE), BIOS N2CN32WW
Codec: Realtek ALC287, codec SSID 17aa:38cd, PCI SSID 17aa:3842
Amps: 2x TI TAS2781 (i2c-TIAS2781:00, i2c-3, 0x3f/0x38), firmware 
TAS2XXX38CD.bin present
Kernel: 6.8.0-149-generic (22.04 HWE); linux-firmware 
20220329.git681281e4-0ubuntu3.42

Steps to reproduce:
1. Cold boot, play any audio -> internal speakers silent. Mixer shows Speaker 
on, unmuted; PulseAudio port "Speakers" active; no kernel errors.
2. Close and reopen lid (S3 suspend/resume) -> speakers work.
3. Leave audio idle ~10 s (snd_hda_intel power_save=1 default) -> codec 
runtime-suspends -> next playback silent again.

Expected: speakers work after boot and after idle, as in Windows
(speakers work in Windows on the same machine).

Analysis:
- TAS2781 PWR_CTL (book 0, page 0, reg 0x02) reads 0x00 (active, unmuted) on 
both amps while silent.
- Toggling "Speaker Force Firmware Load" does not help.
- Runtime suspend/resume of the codec + HDA controller reproduces it 100%. 
Runtime suspend of only the TAS2781 i2c device does not.
- Unbind/bind of tas2781-hda recovers audio without suspend:
    echo i2c-TIAS2781:00 > /sys/bus/i2c/drivers/tas2781-hda/unbind
    echo i2c-TIAS2781:00 > /sys/bus/i2c/drivers/tas2781-hda/bind

Workaround:
  /etc/modprobe.d/: options snd_hda_intel power_save=0 power_save_controller=N
  plus unbind/bind of i2c-TIAS2781:00 once after boot (systemd oneshot).

Upstream: same failure reported on Legion Pro 7 16ARX8H (17aa:38a7) with kernel 
7.0:
https://ratatoskr.run/linux-sound/2026/07/17248758
No upstream fix yet as of 2026-12.

Related, separate: on 7.3.x kernels this model may fail to bind the amp at all 
(wrong fixup picked via PCI SSID 17aa:3842); upstream fix 0b4d69e8d2b5 "ALSA: 
hda/realtek: Fix regression on Lenovo Legion 16IRX9H":
https://github.com/CachyOS/linux-cachyos/issues/1167

Logs will be attached with apport-collect.
--- 
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.10
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC1:  johnny     7466 F.... pulseaudio
 /dev/snd/controlC0:  johnny     7466 F.... pulseaudio
CRDA: N/A
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2026-08-20 (105 days ago)
InstallationMedia: Ubuntu 22.04.5 LTS "Jammy Jellyfish" - Release amd64 
(20240911)
MachineType: LENOVO 83DE
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-149-generic 
root=UUID=58a3a2b0-ba78-4491-8a1b-065e58b72fe3 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 6.8.0-149.149~22.04.1-generic 6.8.12
RelatedPackageVersions:
 linux-restricted-modules-6.8.0-149-generic N/A
 linux-backports-modules-6.8.0-149-generic  N/A
 linux-firmware                             20220329.git681281e4-0ubuntu3.42
Tags:  jammy wayland-session
Uname: Linux 6.8.0-149-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dialout dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 06/01/2026
dmi.bios.release: 1.32
dmi.bios.vendor: LENOVO
dmi.bios.version: N2CN32WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76461 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Legion Pro 7 16IRX9H
dmi.ec.firmware.release: 1.29
dmi.modalias: 
dmi:bvnLENOVO:bvrN2CN32WW:bd06/01/2026:br1.32:efr1.29:svnLENOVO:pn83DE:pvrLegionPro716IRX9H:rvnLENOVO:rnLNVNB161216:rvrSDK0T76461WIN:cvnLENOVO:ct10:cvrLegionPro716IRX9H:skuLENOVO_MT_83DE_BU_idea_FM_LegionPro716IRX9H:
dmi.product.family: Legion Pro 7 16IRX9H
dmi.product.name: 83DE
dmi.product.sku: LENOVO_MT_83DE_BU_idea_FM_Legion Pro 7 16IRX9H
dmi.product.version: Legion Pro 7 16IRX9H
dmi.sys.vendor: LENOVO

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: alc287 apport-collected jammy legion tas2781 wayland-session

** Tags added: apport-collected wayland-session

** Description changed:

  Hardware: Lenovo Legion Pro 7 16IRX9H (83DE), BIOS N2CN32WW
  Codec: Realtek ALC287, codec SSID 17aa:38cd, PCI SSID 17aa:3842
  Amps: 2x TI TAS2781 (i2c-TIAS2781:00, i2c-3, 0x3f/0x38), firmware 
TAS2XXX38CD.bin present
  Kernel: 6.8.0-149-generic (22.04 HWE); linux-firmware 
20220329.git681281e4-0ubuntu3.42
  
  Steps to reproduce:
  1. Cold boot, play any audio -> internal speakers silent. Mixer shows Speaker 
on, unmuted; PulseAudio port "Speakers" active; no kernel errors.
  2. Close and reopen lid (S3 suspend/resume) -> speakers work.
  3. Leave audio idle ~10 s (snd_hda_intel power_save=1 default) -> codec 
runtime-suspends -> next playback silent again.
  
  Expected: speakers work after boot and after idle, as in Windows
  (speakers work in Windows on the same machine).
  
  Analysis:
  - TAS2781 PWR_CTL (book 0, page 0, reg 0x02) reads 0x00 (active, unmuted) on 
both amps while silent.
  - Toggling "Speaker Force Firmware Load" does not help.
  - Runtime suspend/resume of the codec + HDA controller reproduces it 100%. 
Runtime suspend of only the TAS2781 i2c device does not.
  - Unbind/bind of tas2781-hda recovers audio without suspend:
      echo i2c-TIAS2781:00 > /sys/bus/i2c/drivers/tas2781-hda/unbind
      echo i2c-TIAS2781:00 > /sys/bus/i2c/drivers/tas2781-hda/bind
  
  Workaround:
    /etc/modprobe.d/: options snd_hda_intel power_save=0 power_save_controller=N
    plus unbind/bind of i2c-TIAS2781:00 once after boot (systemd oneshot).
  
  Upstream: same failure reported on Legion Pro 7 16ARX8H (17aa:38a7) with 
kernel 7.0:
  https://ratatoskr.run/linux-sound/2026/07/17248758
  No upstream fix yet as of 2026-12.
  
  Related, separate: on 7.3.x kernels this model may fail to bind the amp at 
all (wrong fixup picked via PCI SSID 17aa:3842); upstream fix 0b4d69e8d2b5 
"ALSA: hda/realtek: Fix regression on Lenovo Legion 16IRX9H":
  https://github.com/CachyOS/linux-cachyos/issues/1167
  
  Logs will be attached with apport-collect.
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.11-0ubuntu82.10
+ Architecture: amd64
+ AudioDevicesInUse:
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC1:  johnny     7466 F.... pulseaudio
+  /dev/snd/controlC0:  johnny     7466 F.... pulseaudio
+ CRDA: N/A
+ CasperMD5CheckResult: pass
+ CurrentDesktop: ubuntu:GNOME
+ DistroRelease: Ubuntu 22.04
+ InstallationDate: Installed on 2026-08-20 (105 days ago)
+ InstallationMedia: Ubuntu 22.04.5 LTS "Jammy Jellyfish" - Release amd64 
(20240911)
+ MachineType: LENOVO 83DE
+ NonfreeKernelModules: nvidia_modeset nvidia
+ Package: linux (not installed)
+ ProcFB: 0 i915drmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-149-generic 
root=UUID=58a3a2b0-ba78-4491-8a1b-065e58b72fe3 ro quiet splash vt.handoff=7
+ ProcVersionSignature: Ubuntu 6.8.0-149.149~22.04.1-generic 6.8.12
+ RelatedPackageVersions:
+  linux-restricted-modules-6.8.0-149-generic N/A
+  linux-backports-modules-6.8.0-149-generic  N/A
+  linux-firmware                             20220329.git681281e4-0ubuntu3.42
+ Tags:  jammy wayland-session
+ Uname: Linux 6.8.0-149-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm audio cdrom dialout dip lpadmin lxd plugdev sambashare sudo
+ _MarkForUpload: True
+ dmi.bios.date: 06/01/2026
+ dmi.bios.release: 1.32
+ dmi.bios.vendor: LENOVO
+ dmi.bios.version: N2CN32WW
+ dmi.board.asset.tag: NO Asset Tag
+ dmi.board.name: LNVNB161216
+ dmi.board.vendor: LENOVO
+ dmi.board.version: SDK0T76461 WIN
+ dmi.chassis.asset.tag: NO Asset Tag
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: LENOVO
+ dmi.chassis.version: Legion Pro 7 16IRX9H
+ dmi.ec.firmware.release: 1.29
+ dmi.modalias: 
dmi:bvnLENOVO:bvrN2CN32WW:bd06/01/2026:br1.32:efr1.29:svnLENOVO:pn83DE:pvrLegionPro716IRX9H:rvnLENOVO:rnLNVNB161216:rvrSDK0T76461WIN:cvnLENOVO:ct10:cvrLegionPro716IRX9H:skuLENOVO_MT_83DE_BU_idea_FM_LegionPro716IRX9H:
+ dmi.product.family: Legion Pro 7 16IRX9H
+ dmi.product.name: 83DE
+ dmi.product.sku: LENOVO_MT_83DE_BU_idea_FM_Legion Pro 7 16IRX9H
+ dmi.product.version: Legion Pro 7 16IRX9H
+ dmi.sys.vendor: LENOVO

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2185290

Title:
  [Lenovo Legion Pro 7 16IRX9H, ALC287 + TAS2781, 17aa:38cd] Speakers
  silent after boot and after codec runtime suspend; works after
  suspend/resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2185290/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to