Audio crackling present in Pipewire but not pulseaudio

Firstly, I would like to thank you in advance for taking time out of your day to read my post. My issue, as described in the title, is that I get a constant crackling sound during audio playback on a fresh install of Fedora Workstation on my Laptop. However, when switching from Pipewire to Pulseaudio, I experience no audio crackling.

not sure why, but I am happy to report that fedora 39 has resolved this issue for me!

For problems like this you should try to provide enough detail for others with similar hardware to reproduce the issue. We don’t know if you have a laptop with built-in speakers, headphones, add-on audio, hdmi connection to a TV, or ??. Please post (as text using the </> button) the output from inxi -Fzx and mention how you get audio output. It could help to see if the problem occurs using both headphones and speakers, etc. Sound is often problematic with linux, particularly with Fedora which is often an early adopter of new approaches. For this reason, I keep several USB sound “dongles” so I can use audio while waiting for fixes. Detailed problem reports are helpful to those working to improve audio support in linux.

I apologize for my oversight, I experience the issue with my laptops speakers as well as wired headphones. Here is the output from the command you requested

  Kernel: 6.3.11-200.fc38.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.39-9.fc38 Desktop: GNOME v: 44.2 Distro: Fedora release 38 (Thirty
  Type: Laptop System: LG product: 15Z95N-G.AAC6U1 v: 0.1
    serial: <superuser required>
  Mobo: LG model: 15Z95N v: FAB1 serial: <superuser required> UEFI: Phoenix
    v: T1ZF0220 X64 date: 04/08/2021
  ID-1: CMB0 charge: 9.1 Wh (13.0%) condition: 70.1/80.0 Wh (87.6%) volts: 7.8
    min: 7.7 model: LG LGC-LGC status: charging
  Info: quad core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 8 MiB
  Speed (MHz): avg: 1712 high: 2400 min/max: 400/4200 cores: 1: 1129 2: 2400
    3: 2400 4: 727 5: 2400 6: 1185 7: 1055 8: 2400 bogomips: 38707
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: LG driver: i915
    v: kernel arch: Gen-12.1 bus-ID: 00:02.0
  Device-2: Chicony LG Camera driver: uvcvideo type: USB bus-ID: 3-2:2
  Display: wayland server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: iris gpu: i915 resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.1.3 renderer: Mesa Intel Xe Graphics (TGL GT2)
    direct-render: Yes
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: LG
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  API: ALSA v: k6.3.11-200.fc38.x86_64 status: kernel-api
  Server-1: PipeWire v: 0.3.72 status: active
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 00:14.3
  IF: wlp0s20f3 state: up mac: <filter>
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB
    bus-ID: 3-10:4
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
  Local Storage: total: 476.94 GiB used: 12.51 GiB (2.6%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GD3JX013N
    size: 476.94 GiB temp: 24.9 C
  ID-1: / size: 475.34 GiB used: 12.26 GiB (2.6%) fs: btrfs dev: /dev/dm-0
    mapped: luks-a9ecbfb6-34f3-4589-9597-f6be7a73ce6f
  ID-2: /boot size: 973.4 MiB used: 240.9 MiB (24.7%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 17.4 MiB (2.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 475.34 GiB used: 12.26 GiB (2.6%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-a9ecbfb6-34f3-4589-9597-f6be7a73ce6f
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
  System Temperatures: cpu: 37.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 657 Uptime: 3m Memory: available: 15.3 GiB used: 2.56 GiB (16.8%)
  Init: systemd target: graphical (5) Compilers: N/A Packages: 24
  note: see --rpm Shell: Bash v: 5.2.15 inxi: 3.3.27

Note that clicking the </> button gives one this

type or paste code here

If one pastes the text between the triple back quote lines as indicated it appears as your post above after I edited it.

I checked the Linux Hardware Database (LHDB). There are many probes for systems using Intel Smart Sound Technology (SST), but most say “Not detected”. I looked at one scan that did detect SST hardware, but no driver was listed.

From an Intel forum: Are there Intel Smart Sound Technology drivers for linux?:

We would like to jump in and clarify that the Intel® Smart Sound Technology driver is wrapped by the audio codec driver and then provided to the Original Equipment Manufacturer (OEM).[…] we recommend addressing additional inquiries or issues to your OEM.

I guess this is yet another example where vendor support is spotty. If your vendor doesn’t provide linux support, someone has to reverse engineer drivers. Linux distros package drivers from The Sound Open Firmware (SOF) Project, but there may open issues.
More detail is needed to determine if your issue is listed.

You appear have a driver that “almost” works, you need to find out exactly what is being used. You need to search in journalctl for lines related to audio that contain Smart, sof, ssa, or sst (any case). Submitting
a probe for your system the the LHWDB would be a useful contribution to the community and could contribute to a solution.