Audio distortion and weird issues

I just moved from Windows 11 to Fedora 41 for few reasons, and it mostly works well. It just has a problem.

My laptop audio didn’t sound good at first, so I had to download Easy Effects (since it uses PipeWire) and tune my audio with an Equalizer. I used same EQ setting when I used Windows. Audio works fine then, and some casual music plays fine. But, when I play some loud music, I heard some distortion when my audio output hit its highest peak, primarily in bass and treble frequencies (I don’t know how to phrase it better; I’m no audiophile, sorry). This never happened in Windows before, so I assume it is PipeWire issue, by fixing its sample rate.

Strangely, while I tried to find sample rate setting in PipeWire, I found out that my default audio device is AMD High Definition Audio (named Family 17h/19h HD Audio Controller) and not Realtek High Definition Audio. I remember my actual audio device in Windows is Realtek, so this doesn’t seem right to me.

Is there any fix to this issue? Any help will be appreciated. Sorry for bad English and thanks.

Also, here are the details of my laptop:

Specifications for HP Laptop 14s-fq2035au:

  • AMD Ryzen™ 5 5625U with Radeon™ Graphics × 12
  • 16 GB RAM
  • 512 GB NVMe SSD
  • Fedora 41 Workstation
  • GNOME 47
  • Linux 6.11.8-300.fc41.x86_64

My EQ setting in APO (pretty basic, huh):

Preamp: 0 db
Filter 1: ON PK Fc 31 Hz Gain 6.7 dB Q 4.36
Filter 2: ON PK Fc 43 Hz Gain 6.7 dB Q 4.36
Filter 3: ON PK Fc 63 Hz Gain 6.7 dB Q 4.36
Filter 4: ON PK Fc 87 Hz Gain 6.7 dB Q 4.36
Filter 5: ON PK Fc 125 Hz Gain 6.7 dB Q 4.36
Filter 6: ON PK Fc 175 Hz Gain 6.6 dB Q 4.36
Filter 7: ON PK Fc 250 Hz Gain 4.7 dB Q 4.36
Filter 8: ON PK Fc 350 Hz Gain 2.4 dB Q 4.36
Filter 9: ON PK Fc 500 Hz Gain -0.5 dB Q 4.36
Filter 10: ON PK Fc 700 Hz Gain -2.3 dB Q 4.36
Filter 11: ON PK Fc 1000 Hz Gain -1.7 dB Q 4.36
Filter 12: ON PK Fc 1400 Hz Gain -1.2 dB Q 4.36
Filter 13: ON PK Fc 2000 Hz Gain -0.4 dB Q 4.36
Filter 14: ON PK Fc 2800 Hz Gain 0.7 dB Q 4.36
Filter 15: ON PK Fc 4000 Hz Gain 1.6 dB Q 4.36
Filter 16: ON PK Fc 5600 Hz Gain 2.6 dB Q 4.36
Filter 17: ON PK Fc 8000 Hz Gain 3.9 dB Q 4.36
Filter 18: ON PK Fc 11200 Hz Gain 5.5 dB Q 4.36
Filter 19: ON PK Fc 16000 Hz Gain 9 dB Q 4.36
Filter 20: ON PK Fc 22000 Hz Gain 9 dB Q 4.36

Device details:

$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
02:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD Controller BG5 (DRAM-less)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo (rev c2)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
03:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
03:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
03:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
03:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
$ cat /proc/asound/card0/codec\#0
Codec: ATI R6xx HDMI
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x1002aa01
Subsystem Id: 0x00aa0100
Revision Id: 0x100700
No Modem Function Group found
Default PCM:
    rates [0x70]: 32000 44100 48000
    bits [0x2]: 16
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D3 CLKSTOP EPSS
  Power: setting=D0, actual=D0, Clock-stop-OK
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x02 [Audio Output] wcaps 0x221: Stereo Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x185600f0: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x02
Node 0x04 [Audio Output] wcaps 0x221: Stereo Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x04
Node 0x06 [Audio Output] wcaps 0x221: Stereo Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x07 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x06
Node 0x08 [Audio Output] wcaps 0x221: Stereo Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x09 [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x08
Node 0x0a [Audio Output] wcaps 0x221: Stereo Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x0b [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0a
Node 0x0c [Audio Output] wcaps 0x221: Stereo Digital Stripe
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
Node 0x0d [Pin Complex] wcaps 0x400381: Stereo Digital
  Pincap 0x00000094: OUT Detect HDMI
  Pin Default 0x585600f0: [N/A] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 1
     0x0c
$ cat /proc/asound/card1/codec\#0
Codec: Realtek ALC236
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0236
Subsystem Id: 0x103c89fe
Revision Id: 0x100002
No Modem Function Group found
Default PCM:
    rates [0xe05]: 8000 16000 176400 192000 384000
    bits [0x0]:
    formats [0x5]: PCM AC3
Default Amp-In caps: ofs=0x05, nsteps=0x7e, stepsize=0x00, mute=0
Default Amp-Out caps: ofs=0x05, nsteps=0x7e, stepsize=0x00, mute=0
State of AFG node 0x01:
  Power states:  D0 D2 (null) (null) (null) (null) (null) (null) (null)
  Power: setting=UNKNOWN, actual=D0, Clock-stop-OK, Setting-reset
Invalid AFG subtree