Loud Pop on Laptop Speakers When Rebooting

Two loud asynchronous pops around 0.5 seconds apart in my right and left laptop speakers consistently happen upon running any reboot (systemctl reboot or reboot). They happen after the screen is shut down, just before the power indicator turns on again.

I am running Fedora Sericea 38 (Silverblue, but using Sway), with an Intel Raptor Lake card (probably virtual?) that manages my laptop’s speaker and a headphone jack. There is also a disabled Nvidia audio device.

The issue does not occur when powering off then back on. When my external headphones have been unplugged for a sufficient time before rebooting, the noise does not occur.

The pop does not occur the restart after modifying modprobe.d, as it seems that the reboot sequence after this modification is different.

I have disabled power save using /etc/modprobe.d to no effect. I have also disabled the “pc speaker (beeper)” to no effect.

~ ❯ uname -r
6.5.10-200.fc38.x86_64
~ ❯ lspci
00:00.0 Host bridge: Intel Corporation Device a706
00:01.0 PCI bridge: Intel Corporation Device a70d
00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)
00:04.0 Signal processing controller: Intel Corporation Raptor Lake Dynamic Platform and Thermal Framework Processor Participant
00:06.0 PCI bridge: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port
00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:15.2 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #2 (rev 01)
00:15.3 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #3 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:16.3 Serial controller: Intel Corporation Alder Lake AMT SOL Redirection (rev 01)
00:1c.0 PCI bridge: Intel Corporation Device 51b8 (rev 01)
00:1c.7 PCI bridge: Intel Corporation Alder Lake PCH-P PCI Express Root Port #9 (rev 01)
00:1d.0 PCI bridge: Intel Corporation Alder Lake PCI Express Root Port #9 (rev 01)
00:1f.0 ISA bridge: Intel Corporation Raptor Lake LPC/eSPI Controller (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Raptor Lake-P/U/H cAVS (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
01:00.0 VGA compatible controller: NVIDIA Corporation AD103GLM [RTX 5000 Ada Generation Laptop GPU] (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 22bb (rev a1)
06:00.0 Non-Volatile memory controller: SK hynix Platinum P41/PC801 NVMe Solid State Drive
0a:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5261 PCI Express Card Reader (rev 01)
20:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
21:00.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
21:01.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
21:02.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
21:03.0 PCI bridge: Intel Corporation Thunderbolt 4 Bridge [Maple Ridge 4C 2020] (rev 02)
22:00.0 USB controller: Intel Corporation Thunderbolt 4 NHI [Maple Ridge 4C 2020]
48:00.0 USB controller: Intel Corporation Thunderbolt 4 USB Controller [Maple Ridge 4C 2020]

lspci -v
00:1f.3 Multimedia audio controller: Intel Corporation Raptor Lake-P/U/H cAVS (rev 01)
	Subsystem: Lenovo Device 2317
	Flags: bus master, fast devsel, latency 64, IRQ 203, IOMMU group 13
	Memory at 6452b30000 (64-bit, non-prefetchable) [size=16K]
	Memory at 6452a00000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: sof-audio-pci-intel-tgl
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

01:00.1 Audio device: NVIDIA Corporation Device 22bb (rev a1)
	Subsystem: Lenovo Device 2316
	Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 14
	Memory at be000000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
~ ❯ inxi -Fzxx
System:
  Kernel: 6.5.10-200.fc38.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.39-15.fc38 Desktop: sway v: 1.8.1 dm: SDDM Distro: Fedora release 38
    (Thirty Eight)
Machine:
  Type: Laptop System: LENOVO product: 21FV002FUS v: ThinkPad P1 Gen 6
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21FV002FUS v: SDK0T76528 WIN
    serial: <superuser required> UEFI: LENOVO v: N3ZET27W (1.14 )
    date: 09/14/2023
Battery:
  ID-1: BAT0 charge: 73.4 Wh (79.5%) condition: 92.3/90.0 Wh (102.6%)
    volts: 16.8 min: 15.5 model: Sunwoda 5B11K07737 serial: <filter>
    status: not charging
CPU:
  Info: 14-core (6-mt/8-st) model: 13th Gen Intel Core i9-13900H bits: 64
    type: MST AMCP arch: Raptor Lake rev: 2 cache: L1: 1.2 MiB L2: 11.5 MiB
    L3: 24 MiB
  Speed (MHz): avg: 442 high: 890 min/max: 400/5200:5400:4100 cores: 1: 400
    2: 400 3: 400 4: 400 5: 890 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400
    12: 400 13: 400 14: 637 15: 400 16: 400 17: 400 18: 522 19: 400 20: 400
    bogomips: 119807
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Lenovo driver: i915
    v: kernel arch: Gen-13 ports: active: eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:a7a0
  Device-2: NVIDIA AD103GLM [RTX 5000 Ada Generation Laptop GPU]
    vendor: Lenovo driver: N/A arch: Lovelace pcie: speed: 16 GT/s lanes: 8
    bus-ID: 01:00.0 chip-ID: 10de:2730
  Device-3: Bison [] driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 1-8:4 chip-ID: 5986:118c
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.9
    compositor: sway v: 1.8.1 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: 1
  Monitor-1: eDP-1 model: Samsung 0x4165 res: 3840x2400 dpi: 284
    diag: 406mm (16")
  API: OpenGL v: 4.6 vendor: intel mesa v: 23.1.9 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel Graphics (RPL-P)
    device-ID: 8086:a7a0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Raptor Lake-P/U/H cAVS vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51ca
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22bb
  API: ALSA v: k6.5.10-200.fc38.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 0.3.84 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Raptor Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f1
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel [] driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 1-10:5 chip-ID: 8087:0033
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
Drives:
  Local Storage: total: 1.86 TiB used: 52.75 GiB (2.8%)
  ID-1: /dev/nvme0n1 vendor: SanDisk model: SKHynix HFS002TEJ9X162N
    size: 1.86 TiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 54.9 C
Partition:
  ID-1: /boot size: 973.4 MiB used: 101.1 MiB (10.4%) fs: ext4
    dev: /dev/nvme0n1p6
  ID-2: /boot/efi size: 1022 MiB used: 11.6 MiB (1.1%) fs: vfat
    dev: /dev/nvme0n1p5
  ID-3: /var size: 486.28 GiB used: 52.64 GiB (10.8%) fs: btrfs
    dev: /dev/nvme0n1p7
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 65.0 C mobo: N/A
  Fan Speeds (rpm): fan-1: 2586 fan-2: 2345
Info:
  Processes: 413 Uptime: 0m Memory: total: 64 GiB note: est.
  available: 62.44 GiB used: 2.97 GiB (4.8%) Init: systemd v: 253
  target: graphical (5) default: graphical Compilers: gcc: 13.2.1
  clang: 16.0.6 Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak
  pkgs: 36 Shell: Zsh v: 5.9 running-in: foot inxi: 3.3.31

alsa-info.sh:
alsa-info.sh

Thank you!

2 Likes

When you said the nvidia audio is disabled are you saying the GPU is disabled or that only the audio side is disabled/unused.

Please post the output of inxi -Fzxx to provide more info.

1 Like

I’ve shared the results of the command above in the post. I believe it’s the audio side that is disabled: the GPU is still running normally.

You have what appears to be a very new GPU and no driver loaded, not even nouveau.
I would first suggest that you install the nvidia drivers from rpmfusion and see if that makes a difference. Having a device capable of audio output but not having the driver for that device loaded can have unintended or undefined consequences.

The gpu with no driver causes the CPU to be tasked with excessive load in rendering graphics that would normally be managed by the hardware acceleration of the GPU which can also interfere with audio as well as everything else the machine normally does.

1 Like

I have went through a long process and installed the Nvidia proprietary drivers. However, the issue persists.

~ ❯ inxi -Fzxx
System:
  Kernel: 6.5.10-200.fc38.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.39-15.fc38 Desktop: sway v: 1.8.1 dm: SDDM Distro: Fedora release 38
    (Thirty Eight)
Machine:
  Type: Laptop System: LENOVO product: 21FV002FUS v: ThinkPad P1 Gen 6
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 21FV002FUS v: SDK0T76528 WIN
    serial: <superuser required> UEFI: LENOVO v: N3ZET27W (1.14 )
    date: 09/14/2023
Battery:
  ID-1: BAT0 charge: 73.2 Wh (79.3%) condition: 92.3/90.0 Wh (102.6%)
    volts: 16.8 min: 15.5 model: Sunwoda 5B11K07737 serial: <filter>
    status: not charging
CPU:
  Info: 14-core (6-mt/8-st) model: 13th Gen Intel Core i9-13900H bits: 64
    type: MST AMCP arch: Raptor Lake rev: 2 cache: L1: 1.2 MiB L2: 11.5 MiB
    L3: 24 MiB
  Speed (MHz): avg: 510 high: 1152 min/max: 400/5200:5400:4100 cores: 1: 400
    2: 400 3: 400 4: 400 5: 726 6: 400 7: 668 8: 737 9: 667 10: 400 11: 657
    12: 1152 13: 400 14: 400 15: 400 16: 400 17: 400 18: 400 19: 400 20: 400
    bogomips: 119807
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Lenovo driver: i915
    v: kernel arch: Gen-13 ports: active: eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:a7a0
  Device-2: NVIDIA AD103GLM [RTX 5000 Ada Generation Laptop GPU]
    vendor: Lenovo driver: nvidia v: 535.129.03 arch: Lovelace pcie:
    speed: 2.5 GT/s lanes: 8 ports: active: none empty: DP-1,DP-2,HDMI-A-1
    bus-ID: 01:00.0 chip-ID: 10de:2730
  Device-3: Bison [] driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 1-8:4 chip-ID: 5986:118c
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.9
    compositor: sway v: 1.8.1 driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa alternate: nv dri: iris gpu: i915
    display-ID: 1
  Monitor-1: eDP-1 model: Samsung 0x4165 res: 3840x2400 dpi: 284
    diag: 406mm (16")
  API: OpenGL v: 4.6 vendor: intel mesa v: 23.1.9 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: Mesa Intel Graphics (RPL-P)
    device-ID: 8086:a7a0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Raptor Lake-P/U/H cAVS vendor: Lenovo
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3 chip-ID: 8086:51ca
  Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    speed: 2.5 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22bb
  API: ALSA v: k6.5.10-200.fc38.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 0.3.84 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Raptor Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:51f1
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel [] driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 1-10:5 chip-ID: 8087:0033
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.3
    lmp-v: 12
Drives:
  Local Storage: total: 1.86 TiB used: 54.55 GiB (2.9%)
  ID-1: /dev/nvme0n1 vendor: SanDisk model: SKHynix HFS002TEJ9X162N
    size: 1.86 TiB speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 47.9 C
Partition:
  ID-1: /boot size: 973.4 MiB used: 101.1 MiB (10.4%) fs: ext4
    dev: /dev/nvme0n1p6
  ID-2: /boot/efi size: 1022 MiB used: 11.6 MiB (1.1%) fs: vfat
    dev: /dev/nvme0n1p5
  ID-3: /var size: 486.28 GiB used: 54.44 GiB (11.2%) fs: btrfs
    dev: /dev/nvme0n1p7
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 57.0 C mobo: N/A
  Fan Speeds (rpm): fan-1: 2327 fan-2: 2025
Info:
  Processes: 444 Uptime: 0m Memory: total: 64 GiB note: est.
  available: 62.44 GiB used: 2.54 GiB (4.1%) Init: systemd v: 253
  target: graphical (5) default: graphical Compilers: gcc: 13.2.1
  clang: 16.0.6 Packages: pm: rpm pkgs: N/A note: see --rpm pm: flatpak
  pkgs: 36 Shell: Zsh v: 5.9 running-in: foot inxi: 3.3.31

Hey,

I also have a Thinkpad P1 Gen 6. Unfortunately, I can confirm that this issue is caused by the machine’s firmware and is not a Fedora issue.

I’ve reported this issue to Lenovo, but I’m afraid it’s not going to be an easy fix on their side.

1 Like

I have a Legion Pro 7 16ARX8H running Fedora 40 and also experiencing this issue. Not sure what’s going on.