1. Please describe the problem: My laptop's internal audio has been broken since upgrading to kernel 5.10. I have a System76 Gazelle Pro model gazp9. 2. What is the Version-Release number of the kernel: 5.10.7-200.fc33 3. Did it work previously in Fedora? If so, what kernel version did the issue *first* appear? Old kernels are available for download at https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : I bisected the regression to this upstream commit: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0645daf16101bb9a6d87598c17e9a8b7bd60ea7 4. Can you reproduce this issue? If so, please provide the steps to reproduce the issue below: Open Settings -> Sound, find Output, ensure Output Device is "Speakers - Built-in Audio", click Test, click Front Left or Front Right. Prior to this commit, I hear sound. After this commit, no sound. Note that headphones still work fine: only internal audio is broken. 5. Does this problem occur with the latest Rawhide kernel? To install the Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by ``sudo dnf update --enablerepo=rawhide kernel``: These instructions are broken. I see this error message: warning: /var/cache/dnf/rawhide-2d95c80a1fa0a67d/packages/kernel-5.11.0-0.rc4.129.fc34.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 45719a39: NOKEY Fedora - Rawhide - Developmental packages for the next Fedora release 1.6 MB/s | 1.6 kB 00:00 GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-33-x86_64 (0x9570FF31) is already installed The GPG keys listed for the "Fedora - Rawhide - Developmental packages for the next Fedora release" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.. Failing package is: kernel-5.11.0-0.rc4.129.fc34.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-33-x86_64 Public key for kernel-core-5.11.0-0.rc4.129.fc34.x86_64.rpm is not installed. Failing package is: kernel-core-5.11.0-0.rc4.129.fc34.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-33-x86_64 Public key for kernel-modules-5.11.0-0.rc4.129.fc34.x86_64.rpm is not installed. Failing package is: kernel-modules-5.11.0-0.rc4.129.fc34.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-33-x86_64 The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: GPG check FAILED Instead, I manually built the latest kernel from https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git/log/. That kernel is still broken. However, that appears to be about a month behind rawhide for some reason. I think the commit I built was https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git/commit/?id=8653b778e454a7708847aeafe689bce07aeeb94e. 6. Are you running any modules that not shipped with directly Fedora's kernel?: No. 7. Please attach the kernel logs. You can get the complete kernel log for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the issue occurred on a previous boot, use the journalctl ``-b`` flag. Coming right up....
Most interesting bits from dmesg: Jan 21 11:48:57 kernel: snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) Jan 21 11:48:57 kernel: iwlwifi 0000:03:00.0: loaded firmware version 17.3216344376.0 3160-17.ucode op_mode iwlmvm Jan 21 11:48:57 kernel: input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input16 Jan 21 11:48:57 kernel: input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input17 Jan 21 11:48:57 kernel: input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input18 Jan 21 11:48:57 kernel: input: HDA Intel HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/sound/card0/input19 Jan 21 11:48:57 kernel: input: HDA Intel HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.0/sound/card0/input20 Jan 21 11:48:57 kernel: snd_hda_intel 0000:00:03.0: device 1558:6504 is on the power_save denylist, forcing power_save to 0 Jan 21 11:48:57 kernel: snd_hda_codec_via hdaudioC1D0: autoconfig for VT1802: line_outs=1 (0x24/0x0/0x0/0x0/0x0) type:speaker Jan 21 11:48:57 kernel: snd_hda_codec_via hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) Jan 21 11:48:57 kernel: snd_hda_codec_via hdaudioC1D0: hp_outs=1 (0x25/0x0/0x0/0x0/0x0) Jan 21 11:48:57 kernel: snd_hda_codec_via hdaudioC1D0: mono: mono_out=0x0 Jan 21 11:48:57 kernel: snd_hda_codec_via hdaudioC1D0: inputs: Jan 21 11:48:57 kernel: snd_hda_codec_via hdaudioC1D0: Internal Mic=0x30 Jan 21 11:48:57 kernel: snd_hda_codec_via hdaudioC1D0: Mic=0x2b Jan 21 11:48:57 kernel: input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input21 Jan 21 11:48:57 kernel: input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input22 Jan 21 11:48:57 kernel: snd_hda_intel 0000:00:1b.0: device 1558:6504 is on the power_save denylist, forcing power_save to 0 The rest of the dmesg is attached in a private comment, but I'm happy to send it to anyone interested in investigating if the part above isn't enough.
(In reply to Michael Catanzaro from comment #0) > 5. Does this problem occur with the latest Rawhide kernel? To install the > Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by > ``sudo dnf update --enablerepo=rawhide kernel``: I tested a vanilla mainline kernel revision from yesterday (5.11.0-rc5+) and the bug still exists. This might be relevant: $ lspci | grep -i audio 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05) (I dunno why it says Xeon E3. The CPU is a Haswell i7, if that matters.)
Reported upstream: https://lore.kernel.org/lkml/EM1ONQ.OL5CFJTBEBBW@redhat.com/T/#u
Can you please share which sound card is used on the system and also the full dmesg? Does reverting just that patch fix the issue?
Created attachment 1752067 [details] dmesg.txt, with IPv6 addresses removed Here's a full dmesg.txt, modified to remove IPv6 addresses
(In reply to Harsha Priya from comment #5) > Can you please share which sound card is used on the system Looks like this is included in alsa-info output. Coming right up. > Does reverting just that patch fix the issue? I would expect so, but I didn't actually check, so I'll do another build now to find out for sure.
Created attachment 1752080 [details] alsa-info.txt from the F33 GA kernel, 5.8.15
Created attachment 1752081 [details] alsa-info.txt from current kernel 5.10.10
I can retake the alsa-info.txt using the before/after commit rather than using distro kernels if needed. Looks like not too much is different between the two versions, though.
Looks like this is probably https://bugzilla.opensuse.org/show_bug.cgi?id=1181330. The fix for that was merged into master just yesterday. I am building now to find out.
Yes, fixed by https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4961167bf7482944ca09a6f71263b9e47f949851.