Lenovo legion 9 software shows all fine but audio in the speaker not producing

lspci -v | grep -A7 -i audio shows:

 Audio device: Intel Corporation Raptor Lake High Definition Audio Controller (rev 11) (prog-if 80)
        Subsystem: Lenovo Device 3d32
        Flags: bus master, fast devsel, latency 32, IRQ 244, IOMMU group 15
        Memory at 6405230000 (64-bit, non-prefetchable) [size=16K]
        Memory at 6405000000 (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_tgl
--
 Audio device: NVIDIA Corporation Device 22bb (rev a1)
        Subsystem: Lenovo Device 3d34
        Physical Slot: 1
        Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 16
        Memory at 89080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

and

lspci -k | grep -A2 -i audio shows:

Audio device: Intel Corporation Raptor Lake High Definition Audio Controller (rev 11)
        Subsystem: Lenovo Device 3d32
        Kernel driver in use: snd_hda_intel
--
Audio device: Intel Corporation Raptor Lake High Definition Audio Controller (rev 11)
        Subsystem: Lenovo Device 3d32
        Kernel driver in use: snd_hda_intel
--
 Audio device: NVIDIA Corporation Device 22bb (rev a1)
        Subsystem: Lenovo Device 3d34
        Kernel driver in use: snd_hda_intel

and hostnamectl shows:

       Icon name: computer-laptop
         Chassis: laptop đź’»
      Machine ID: f735b7f8f3ec41a7947555c784d2244a
         Boot ID: 3d143981296e4355a9b0b67ab70e7097
Operating System: Manjaro Linux                   
          Kernel: Linux 6.9.5-1-MANJARO
    Architecture: x86-64
 Hardware Vendor: Lenovo
  Hardware Model: Legion 9 16IRX9
Firmware Version: NXCN13WW
   Firmware Date: Mon 2024-03-11
    Firmware Age: 4month 1d

and inxi -Fxz shows:

System:
  Kernel: 6.9.5-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
  Desktop: KDE Plasma v: 6.0.5 Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 83G0 v: Legion 9 16IRX9
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76461 WIN
    serial: <superuser required> UEFI: LENOVO v: NXCN13WW date: 03/11/2024
Battery:
  ID-1: BAT0 charge: 77.8 Wh (77.1%) condition: 100.9/99.9 Wh (101.0%)
    volts: 16.6 min: 15.6 model: Sunwoda L22D4PC3 status: not charging
CPU:
  Info: 24-core (8-mt/16-st) model: Intel Core i9-14900HX bits: 64
    type: MST AMCP arch: Raptor Lake rev: 1 cache: L1: 2.1 MiB L2: 32 MiB
    L3: 36 MiB
  Speed (MHz): avg: 798 high: 845 min/max: 800/5600:5800:4100 cores: 1: 800
    2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 718
    12: 800 13: 800 14: 800 15: 800 16: 800 17: 800 18: 800 19: 800 20: 800
    21: 800 22: 800 23: 800 24: 800 25: 800 26: 800 27: 800 28: 800 29: 845
    30: 800 31: 800 32: 800 bogomips: 154880
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Raptor Lake-S UHD Graphics vendor: Lenovo driver: i915
    v: kernel arch: Gen-13 bus-ID: 0000:00:02.0
  Device-2: NVIDIA GN21-X11 vendor: Lenovo driver: nvidia v: 550.90.07
    arch: Lovelace bus-ID: 0000:01:00.0
  Device-3: Luxvisions Innotech Integrated Camera driver: uvcvideo type: USB
    bus-ID: 1-12:6
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.0 driver: X:
    loaded: modesetting,nvidia dri: iris gpu: i915 resolution: 3200x2000~165Hz
  API: EGL v: 1.5 drivers: iris,kms_swrast,nvidia,swrast platforms:
    active: gbm,x11,surfaceless,device inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.1-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (RPL-S)
  API: Vulkan v: 1.3.279 drivers: nvidia surfaces: xcb,xlib devices: 1
Audio:
  Device-1: Intel Raptor Lake High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 0000:00:1f.3
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel
    bus-ID: 0000:01:00.1
  API: ALSA v: k6.9.5-1-MANJARO status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active
Network:
  Device-1: Intel Raptor Lake-S PCH CNVi WiFi vendor: Rivet Networks
    driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
  IF: wlp0s20f3 state: down mac: <filter>
  Device-2: Realtek Killer E3000 2.5GbE vendor: Lenovo driver: r8169
    v: kernel port: 3000 bus-ID: 0000:a1:00.0
  IF: enp161s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB
    bus-ID: 1-14:8
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel
    driver: vmd v: 0.6 bus-ID: 0000:00:0e.0
  Device-1: md126 type: mdraid level: raid-0 status: active size: 1.86 TiB
  Info: report: N/A blocks: 2000404480 chunk-size: 128k
  Components: Online: 0: nvme1n1 1: nvme0n1
  Device-2: md127 type: mdraid level: N/A status: inactive size: N/A
  Info: report: N/A blocks: 4784 chunk-size: N/A
  Components: Online: N/A Spare: 0: nvme1n1 1: nvme0n1
Drives:
  Local Storage: total: raw: 1.86 TiB usable: -4784 used: 72.15 GiB
  ID-1: /dev/nvme0n1 vendor: KIOXIA model: N/A size: 953.87 GiB temp: 33.9 C
  ID-2: /dev/nvme1n1 vendor: KIOXIA model: N/A size: 953.87 GiB temp: 33.9 C
Partition:
  ID-1: / size: 294.23 GiB used: 15.32 GiB (5.2%) fs: ext4 dev: /dev/md126p8
  ID-2: /boot/efi size: 256 MiB used: 38.4 MiB (15.0%) fs: vfat
    dev: /dev/md126p1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 39.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB note: est. available: 31.05 GiB used: 5.51 GiB (17.8%)
  Processes: 490 Uptime: 27m Init: systemd
  Packages: 1319 Compilers: gcc: 14.1.1 Shell: Zsh v: 5.9 inxi: 3.3.35

I have activated kernels ranging from version 6.1 to 6.9. The software appears to be functioning correctly, however, the speaker is not producing any sound.

Thank you.

In Windows, everything seems to be fine. I am using dual boot.

Hello and welcome to the Forum!

As you mention a Windows dual-boot, are you sure it (Windows) is fully shut down? i.e. not in its “Fast Startup” mode? This can cause issues where hardware devices aren’t “released” properly and therefore won’t work (properly) in the other OS i.e. Linux.

EDIT: The way to do this in Windows is by running powercfg /h off in an elevated Command Prompt.

I’ve seen that somewhere before; it’s very good advice. :wink:

1 Like

It stopped working, or never worked?

It’s not something simple like using your HDMI audio? Which is usually a simple change in your window manager’s audio settings.

No relevant journalctl errors or warnings?

What audio are you using Pulseaudio, Pipewire, etc?

If PA, what is pactl info ? (No sudo.)

1 Like

I had seen it too a few days back, but still had to hunt for it. I really need to compile a database of “useful” commands for use on here. :smiley:

Teo’s Manjaro Cheatsheet will probably help with that.

2 Likes

The cmd shows this:

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 76
Tile Size: 65472
User Name: (___)
Host Name: (___)
Server Name: PulseAudio (on PipeWire 1.0.7)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie: 953e:d648

I have disabled the fast startup in Windows by unchecking the checkbox.

The audio has not been produced since the installation of the Manjaro.

journalctl -b | grep -i audio gave me:

 
Jul 13 07:51:04 Robin kernel: snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
Jul 13 07:51:05 Robin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jul 13 07:51:05 Robin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jul 13 07:51:05 Robin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jul 13 07:51:05 Robin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jul 13 07:51:05 Robin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jul 13 07:51:05 Robin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jul 13 07:51:05 Robin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jul 13 07:51:06 Robin bluetoothd[886]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Jul 13 07:51:06 Robin kernel: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Jul 13 07:51:06 Robin kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Jul 13 07:51:06 Robin kernel: snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
Jul 13 07:51:06 Robin kernel: snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jul 13 07:51:06 Robin kernel: snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
Jul 13 07:51:06 Robin kernel: snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
Jul 13 07:51:06 Robin kernel: snd_hda_codec_realtek hdaudioC1D0:    inputs:
Jul 13 07:51:06 Robin kernel: snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
Jul 13 07:51:06 Robin kernel: snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12
Jul 13 07:51:09 Robin systemd[1035]: Listening on PipeWire PulseAudio.
Jul 13 07:51:14 Robin systemd[1095]: Listening on PipeWire PulseAudio.
Jul 13 07:51:14 Robin systemd[1095]: Started PipeWire PulseAudio.
Jul 13 07:51:24 Robin systemd[1035]: Closed PipeWire PulseAudio.

I haven’t made the switch to Pipewire yet, Qemu didn’t work with it until recently.

But get all the logs for it, as there are other problems.

You could always journalctl -u pipewire, but there may other logs related. I would journalctl -f and look at them all, while you try to start the service. (sudo systemctl start pipewire I think.)

======

I even see the kernel module for your audio chipset is even throwing errors.

The full logs would probably help more. journalctl --boot=-1 --priority 3 (…ctl -b -1 -p3)

Stumbled on this, but hard to say if it’s related: [solved] my audio drivers are unable to recognize my sound card / Newbie Corner / Arch Linux Forums

I booted into a live USB to test the audio and found that the speaker did not produce any sound. I think the issue might be related to the Lenovo Legion series. I have found some discussions, but I’m not sure if they are related to this issue. I am still unable to make it work with the speaker emitting sound. Here are some links regarding a similar issue:

https://forums.lenovo.com/t5/Ubuntu/Ubuntu-and-legion-pro-7-16IRX8H-audio-issues/m-p/5210709

Lenovo Legion 9 16IRX9 was released 06/2024
https://www.notebookcheck.net/Lenovo-Legion-9-16IRX9-Legion-9i-review-How-high-end-is-the-RTX-4090-gamer.852916.0.html

linux-hardware data for this laptop shows it has Realtek ALC287 for onboard audio
HW probe of Lenovo Legion 9 16IRX9 83G0 #9fcc4a1a9a: aplay

Manufacturer’s specifications state that system has 2x2W speakers and a smart amplifier
The smart amplifier may need a kernel patch to be configured correctly. There are previous posts on here for laptops with a similar issue where audio playback works for headphone jack only

Please post more information about audio devices detected in ALSA

sudo alsa-info.sh --upload
2 Likes

Hi @nikgnomic Thanks for the update. Here is the uploaded information:
https://alsa-project.org/db/?f=5c0041d3109313870bf40d58ae3c7dc1c03f889d

Hi @irowbin
Is there any progress with this issue? I have the very same model

Audio is also reported not to be working on Fedora
Fedora 41 - KDE fresh install no sound - Fedora Discussion
and Ubuntu
forums.lenovo.com - Ubuntu 24.10/Linux 6.11 Internal speakers (Legion 9 16IRX9 - Type 83G0)

I uploaded my lenovo system, still on Fedora 41 at the moment here:
http://alsa-project.org/db/?f=ee21a71d2d41e9c9817f3
51c19fb5787f26a6ab3

I also installed Manjaro on an LG Gram that I am having the same issue with:
http://alsa-project.org/db/?f=aa38eba7cbc83a80b73cea784f41e8298ebf7249