No sound on Lenovo Legion S7 16ARHA7

Any info from sudo dmesg | eos-sendlog help?

https://clbin.com/vIK8o

I am also wondering why it loads snd_hda_intel, shouldnt it load instead snd_hda_codec_realtek since it is a Realtek audio card

edit: looks like here in the arch wiki I can set that, but don’t know if that would be correct. https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture#Set_the_default_sound_card

 4.528776] snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC287: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    4.528779] snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.528780] snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.528781] snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
[    4.528781] snd_hda_codec_realtek hdaudioC2D0:    inputs:
[    4.528782] snd_hda_codec_realtek hdaudioC2D0:      Mic=0x19

because in my inxi -A in my first post, it says everywhere snd_hda_intel

This is the codec?

driver. At least that’s what I see in the output.

Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Rembrandt Radeon High Definition Audio
    driver: snd_hda_intel
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor driver: snd_pci_acp6x
  Device-4: AMD Family 17h/19h HD Audio driver: snd_hda_intel

codec ALC3306, but linux loads ALC287. All these infos already posted on the first post of the thread. I also don’t really understand what each of these devices are. I assume 4 is the card for the speaker. What is 2? for headphone jack?

So there is also these

[    4.293182] snd_hda_intel 0000:03:00.1: enabling device (0000 -> 0002)
[    4.293418] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[    4.293473] snd_hda_intel 0000:03:00.1: Force to non-snoop mode
[    4.293651] snd_hda_intel 0000:07:00.1: enabling device (0000 -> 0002)
[    4.293741] snd_hda_intel 0000:07:00.1: Handle vga_switcheroo audio client
[    4.293759] ATPX version 1, functions 0x00005001
[    4.293852] snd_hda_intel 0000:07:00.6: enabling device (0000 -> 0002)
 4.533942] snd_pci_acp6x 0000:07:00.5: enabling device (0000 -> 0002)
[    7.350121] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[  183.735644] snd_hda_intel 0000:03:00.1: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
[  214.619052] snd_hda_intel 0000:07:00.1: IRQ timing workaround is activated for card #1. Suggest a bigger bdl_pos_adj.

I think it has to do with the acp3x/acp6x audio co-processor that AMD has implemented? Or is separate?

I can still try the patch you linked earlier above. Don’t know if it will solve the issue, as it was for ALC287. maybe worth a shot.

Then the next thing I can try is

/etc/modprobe.d/alsa-base.conf

options snd_hda_realtek index=1
options snd_hda_intel index=0

Would that make sense? obviously don’t know what/why my devices list the intel as drivers. But i assume if it was that simple other people would have figured it out and not posted on bugzilla.

I really don’t know what to say. If i had the same laptop here i could try things but it’s all hit & miss especially when i don’t know where to start.

1 Like

no worries, really appreciate your time and inputs. And also @keybreak inputs. I will try the patches. If it doesn’t work I probably call it a day and for now use external speakers, they sound better anyways. I also think it maybe good to switch back to pipewire, as now I am on jack and think that was the older thing used in eos before.

1 Like

Yeah, i’m sure it will be fixed in some next releases of Kernel anyway :slight_smile:

So It’s just the internal laptop speakers that aren’t working? So line out or speaker out works?

It seems like the headphone output is active, not the speaker’s one.

How to fix is the issue?

when I go to volume control in pulse audio it switched to headphones when I plug them in, and then back to the other card when I unplug the headphones. I can then see audio levels moving when I play a videos, but now sound comes out of those speakers when using the “Family 17h/19h HD Audio Controller”

I think that’s what you want isn’t it?

To understanding yes, and pulseaudio lists this audio controller for the speakers. (actually I do not know if it is also used for headphones).

Edit: Sorry, I am mixing up stuff due to my lack of knowledge. I can see this audio controller in pulse audio, and it switch port from speakers to headphones when I plug/unplug them.

Do the internal speakers work when headphones are unplugged?

How do you connect external speakers. Does it have another separate jack or line out?