tomsom / yoga-linux

Run Linux on the Lenovo Yoga 7 14 (14ARB7) with AMD Ryzen 6800U (Rembrand).
https://github.com/tomsom/yoga-linux/wiki
58 stars 1 forks source link

Speaker issues continue with gen 9 Yoga (14AHP9) #61

Open regulator-g opened 5 months ago

regulator-g commented 5 months ago

hi all, I have a new 2024 gen9 Yoga 14AHP9 Yoga Pro 7 14.5", Gen 9 (AMD 8845HS)

Fedora 40 Kernel 6.9.4

it has the usual 2x2 Dolby™ speaker setup and ALC3306 which Linux detects as ALC287

the main issue i have is crackling/distortion when it tries to play low notes and this seems like a new issue? when the laptop tries to produce certain low tones, even if the volume is almost off there will be this nasty crackle

originally the volume control didn't work but that was fixed by adding element master config to analog-output.conf, the side effect of this though is that headphone volume becomes very low!

I tried 2pa-byps.sh but every number seems to say invalid / no difference

I tried the modprobe snd.conf options snd-sof-intel-hda-common hda_model=alc287-yoga9-bass-spk-pin which didnt help

any ideas here either there's some fix in the kernel that also needs to be applied to this model or is this problem getting a bit worse on newer machines?

happy to try any fixes or get more info just let me know

edit found this in alsa info if its useful:

Card sysdefault:1 'Generic_1'/'HD-Audio Generic at 0xb95c0000 irq 92'
  Mixer name    : 'Realtek ALC287'
  Components    : 'HDA:10ec0287,17aa38d1,00100002'
  Controls      : 24
  Simple ctrls  : 14
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 14 [16%] [-54.75dB] [on]
stuarthayhurst commented 5 months ago

I noticed https://lore.kernel.org/all/20240619111105.34300-1-pablocpascual@gmail.com/, does that help at all?

regulator-g commented 5 months ago

I noticed https://lore.kernel.org/all/20240619111105.34300-1-pablocpascual@gmail.com/, does that help at all?

Thanks for finding that, so will that change go into the kernel? Weirdly I tried enabling that yoga9-bass-spk via modprobe but I must have done something wrong

stuarthayhurst commented 5 months ago

It's in the upstream kernel now, so it'll be released with 6.10, and possibly backported. Not sure why your attempt didn't work, perhaps it didn't apply, or maybe there's a second issue. Either way, the upstream patch should help out a bit.