pop-os / linux

Pop!_OS fork of https://launchpad.net/ubuntu/+source/linux
Other
110 stars 14 forks source link

Razer 16 - Speakers not working #246

Open mrmason opened 1 year ago

mrmason commented 1 year ago

Installed 22.04 LTS to a new Razer 16 laptop and unable to get any sound from the speakers using kernel 6.2.6, and also tried 6.3.0RC4.

Sound output shows : image (6)

but there is no output from the inbuilt speakers.

Seeing errors like

[  103.975645] snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
[  103.975650] snd_hda_codec_realtek ehdaudio0D0: ASoC: error at snd_soc_dai_startup on Digital Codec DAI: -22
[  103.975652]  Digital Playback and Capture: ASoC: error at __soc_pcm_open on Digital Playback and Capture: -22
[  103.975654]  HDA Digital: ASoC: error at dpcm_be_dai_startup on HDA Digital: -22
[  103.975655]  HDA Digital: ASoC: error at dpcm_fe_dai_startup on HDA Digital: -22
[  103.975727] snd_hda_codec_realtek ehdaudio0D0: didn't find PCM for DAI Digital Codec DAI
[  103.975729] snd_hda_codec_realtek ehdaudio0D0: ASoC: error at snd_soc_dai_startup on Digital Codec DAI: -22
[  103.975730]  Digital Playback and Capture: ASoC: error at __soc_pcm_open on Digital Playback and Capture: -22
[  103.975731]  HDA Digital: ASoC: error at dpcm_be_dai_startup on HDA Digital: -22
[  103.975732]  HDA Digital: ASoC: error at dpcm_fe_dai_startup on HDA Digital: -22

full dmesg attached:

dmesg.txt

mrmason commented 1 year ago

Seems other distros are having the same issue:

crinavar commented 1 year ago

Hi, Having the same issue with the same laptop.

Goddard commented 1 year ago

same

Goddard commented 1 year ago

just an update from a related audio card https://github.com/thesofproject/linux/issues/4055

kstych commented 5 months ago

temp fix available in https://bugzilla.kernel.org/show_bug.cgi?id=207423 , attached works for my Razer18 audio.sh.txt

j-m-harris commented 1 month ago

@kstych - Thanks for confirming those verbs work for you.

I'm making a kernel patch for the Razer Blade HDA fixups, can you confirm your subsystem ID? You can cat /sys/class/sound/hwC1D0/subsystem_id (or whichever card number corresponds for you).

On a RZ09-0483 I've got 0x1a583006

crinavar commented 1 month ago

Hi @j-m-harris On my Razer Blade 16 (2023) i've got

➜  ~ cat /sys/class/sound/hwC1D0/subsystem_id
0x1a583006
kstych commented 1 month ago

@j-m-harris sure, here goes

Blade 18 - RZ09-0484

razer-blade:~$ cat /sys/class/sound/hwC1D0/subsystem_id
0x1a583007
razer-blade:~$ 
leviport commented 1 month ago

This should probably be reported upstream. System76 is not likely to develop a kernel patch for Razer laptops any time soon.

j-m-harris commented 1 month ago

@leviport Yep, will do through https://bugzilla.kernel.org/show_bug.cgi?id=207423