You are not logged in.

#1 2025-12-14 11:42:22

Ateku
Member
Registered: 2025-12-14
Posts: 15

Audio crackling after switching GPU (pipewire / pulseaudio).

Hello,
I did upgrade my PC from RX 6600 8GB to RX 9060XT 16GB graphic card, and I noticed that when anything graphical happens, like switching tab or launching game, the audio crackes for a split of the second. This did not happen on the previous GPU (I did switch it back to check if that's what was causing it to confirm it). The CPU I'm currently using is R5 5500.
What I tried doing:
- Changing settings with pulseaudio with or without pipewire ex.: changing clock min and max quantum.
- Setting CPU power to governor performance.
- Doing a fresh install of Arch Linux.
- Tried to check if power cable connected to GPU could cause any interference (moving it around).
- Disabling Resizeble-Bar in BIOS.
- Downgrading packages for pipewire.
- Changing the Jack that my headphones are using from front to back of the case.
What I observed:
- This only happens under GPU load. If the HDMI cabel is not connected to the GPU, the issue does not happen.
- Bluetooth works fine.
- The load on GPU is irrevelant. Playing demanding games can or cannot cause it.
- This might had happen on Windows 10, but I'm not 100% sure, because on Arch I can fairly easy see it by changing tabs in Qutebrowser.

For time being, I will use BT solution, but it is not ideal.

Offline

#2 2025-12-14 20:45:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

- This only happens under GPU load. If the HDMI cabel is not connected to the GPU, the issue does not happen.
- The load on GPU is irrevelant. Playing demanding games can or cannot cause it.

How do we square that?
Also, do you playback audio via HDMI or using some line-out or headphone jack on the board or a usb headset etc et pp?
If there's no HDMI cable attached the the GPU, what kind of output are you using?

with pulseaudio with or without pipewire

Sanity check

systemctl --user status pipewire wireplumber pulseaudio

Offline

#3 2025-12-14 21:20:14

Ateku
Member
Registered: 2025-12-14
Posts: 15

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

The audio is played via headphone jack.
About GPU load, I did some testing around it with playing under high GPU usage vs at low GPU usage, and it does not matter when it will happen. It is mostly noticable when switching tabs in quick succession, but it not even happen for one second, as long as the tab is not switched or anything new is opened, the audio plays fine. I do have Qutebrowser as my default browser which lets me to change tab to last used by holding the keybind by which I hear that it still happens after all fixes and research done online.
What I meant by "with pulseaudio with or without pipewire" is that I tried to use pipewire with pulse - pipewire, pipewire-pulse, wireplumber - or just pulseaudio.

The output of the command:

Unit pulseaudio.service could not be found.
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Sun 2025-12-14 13:14:03 CET; 8h ago
 Invocation: ce034dbcb49846a3a2df2d10bdcc5273
TriggeredBy: ● pipewire.socket
   Main PID: 651 (pipewire)
      Tasks: 3 (limit: 18904)
     Memory: 7.6M (peak: 12.2M, swap: 1.9M, swap peak: 5.7M, zswap: 153.4K)
        CPU: 9min 34.266s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─651 /usr/bin/pipewire

Dec 14 13:14:03 ateku systemd[639]: Started PipeWire Multimedia Service.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Sun 2025-12-14 13:14:03 CET; 8h ago
 Invocation: 83e949cfc79d46e0a31b61fab4bc6159
   Main PID: 652 (wireplumber)
      Tasks: 6 (limit: 18904)
     Memory: 9.5M (peak: 54.1M, swap: 12.2M, swap peak: 15.4M, zswap: 936K)
        CPU: 1.831s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─652 /usr/bin/wireplumber

Dec 14 13:14:03 ateku systemd[639]: Started Multimedia Service Session Manager.
Dec 14 13:14:03 ateku wireplumber[652]: wp-event-dispatcher: wp_event_dispatcher_unregister_hook: assertion 'already_registered_dispatcher == self' failed
Dec 14 13:14:03 ateku wireplumber[652]: wp-event-dispatcher: wp_event_dispatcher_unregister_hook: assertion 'already_registered_dispatcher == self' failed
Dec 14 13:14:03 ateku wireplumber[652]: wp-event-dispatcher: wp_event_dispatcher_unregister_hook: assertion 'already_registered_dispatcher == self' failed
Dec 14 13:14:03 ateku wireplumber[652]: wp-event-dispatcher: wp_event_dispatcher_unregister_hook: assertion 'already_registered_dispatcher == self' failed
Dec 14 13:14:03 ateku wireplumber[652]: default: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Dec 14 13:14:03 ateku wireplumber[652]: wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Dec 14 13:14:03 ateku wireplumber[652]: s-monitors-libcamera: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.

Offline

#4 2025-12-14 21:40:03

Ateku
Member
Registered: 2025-12-14
Posts: 15

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

I did play around it a little bit more, and strangely enough, the problem is solved temporarly if I change the volume of the headphones using ncpamixer (ex.: from 60 to 61 back to 60). After reboot, the problem resets.

Offline

#5 2025-12-14 21:45:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

There's been some other thread about poor sound w/ low volumes, https://bbs.archlinux.org/viewtopic.php?id=310368

=> See  https://wiki.archlinux.org/title/PipeWi … 30%_volume
Ignore the context but nb.  that "alsa_card.name-of-device" is a placeholder (the other thread should allow you to come up w/ a proper value)

This doesn't explain it being somehow related to the HDMI cable, do you have other means of attaching a monitor?

Offline

#6 2025-12-14 21:59:45

Ateku
Member
Registered: 2025-12-14
Posts: 15

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

I did the conf file, restarted pipewire wireplumber and pipewire-pulse, but did not help.
I tried to change the volume in alsamixer, but it did not help even temporarly, only using ncpamixer.
The volume level does not matter, 60 is just what I'm using, but on 100 it still happens.

I only have HDMI cabel right now. I will order DP cabel, either way, I will have use for it even if it will not help.

Offline

#7 2025-12-14 22:08:06

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

What are you currently doing when not using the HDMI cable and is the sound reproducibly better then?
If yes using the SW mixer won't systematically help and your previous experience might have been a fluke.
It would then also not be https://wiki.archlinux.org/title/PipeWi … ample_rate

Can you move the headphones or monitor around to spread out the cables?

Offline

#8 2025-12-14 22:18:50

Ateku
Member
Registered: 2025-12-14
Posts: 15

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

If you mean what I did when I removed the HDMI cable was the same test what I'm doing to check if crackling sound happens - switching tabs. The crackling sound does not happen if I remove the HDMI cable.
Just in case this is important. The HDMI input for GPU is directly under the JACK connection for motherboard, BUT the headphones JACK is connected from front.
About context.properties, I did it when I searched for solution online. Nothing helped when changing pipewire or wireplumber config files.

I did moving the cables around. I tried to plug the headphones to motherboard from back of the case, or changing the monitor, or monitor settings.

About ncpamixer, the app needs to run in the background to work, otherwise, it will revert to the previous state if I refresh any of the pages or launch any app like Discord.
If the first thing I start when I boot my system is ncpamixer, the crackling sound stops when playing audio, as long as ncpamixer runs in the background.

Edit:
Added the hack in Hyprland config to launch the ncpamixer at start, and works fine so far:

exec-once=ncpamixer

Last edited by Ateku (2025-12-14 22:32:50)

Offline

#9 2025-12-14 22:43:39

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

If you mean what I did when I removed the HDMI cable was the same test what I'm doing to check if crackling sound happens - switching tabs.

But how do you see anything? Do you attach the monitor to another GPU or another monitor via VGA etc?

About context.properties, I did it when I searched for solution online.

https://bbs.archlinux.org/viewtopic.php … 9#p2261679
And does "pactl list sinks" currently list "api.alsa.soft-mixer = "true"" for the relevant device?

Just in case this is important. The HDMI input for GPU is directly under the JACK connection for motherboard, BUT the headphones JACK is connected from front.

If it's leaking EM that might interfere w/ the signal enough - was the old GPU/output in the same spot?

Offline

#10 2025-12-14 22:53:18

Ateku
Member
Registered: 2025-12-14
Posts: 15

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

If I unplug the HDMI cable, the GPU is not connected to any external sources. I use the same keybind as when the HDMI cable is plugged, so there is no issue knowing the tabs are switched. The keybind is switching between current one and last used by just holding the keybind, it happens multiple times in a seoncd.

The "pactl list sinks" lists "api.alsa.soft-mixer = "true" for the only output I have (my headphones).

The older GPU did have the HDMI connection further away by far from motherboard. I just thought, it might be relevant.

Offline

#11 2025-12-15 20:07:18

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

Can you move the GPU to a different PCI slot?
x-ref, https://bbs.archlinux.org/viewtopic.php?id=311020

Edit: the other user gets good audio *via* HDMI?
Can you confirm that?

Last edited by seth (2025-12-15 21:00:54)

Offline

#12 2025-12-15 21:11:20

Ateku
Member
Registered: 2025-12-14
Posts: 15

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

I only have one PCI express slot for GPU as it is micro ATX motherboard, so cannot change the GPU slot.

Not sure what it means by other users, but if you mean other accounts on the PC, then the answer would be that it is the same, because I did format my Arch install, and I have experienced the issue before format.

Offline

#13 2025-12-15 21:13:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

Not sure what it means by other users

See the link in #11

Offline

#14 2025-12-15 21:24:51

Ateku
Member
Registered: 2025-12-14
Posts: 15

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

If I connect the headphones directly to my monitor (expect for some white noise, because it's not the best monitor), the audio works fine as the other user said.

Last edited by Ateku (2025-12-15 21:25:11)

Offline

#15 2025-12-15 21:30:08

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

Subscribe to the other thread and you should compare lspci and lsusb

Offline

#16 2025-12-15 21:32:54

Ateku
Member
Registered: 2025-12-14
Posts: 15

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

I did subscribe to the other thread.

I will post below the results:

~ > 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:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.2 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
10:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev 25)
11:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch (rev 25)
12:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 44 [Radeon RX 9060 XT] (rev c0)
12:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 HDMI/DP Audio Controller
16:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller
16:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller
16:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port
20:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Downstream Port
20:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Downstream Port
29:00.0 Network controller: MEDIATEK Corp. MT7921K (RZ608) Wi-Fi 6E 80MHz
2a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
2b:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1202 (DRAM-less) (rev 01)
30:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function (rev c9)
30:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir/Cezanne HDMI/DP Audio Controller
30:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir/Cezanne Platform Security Processor
30:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
30:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
30:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Ryzen HD Audio Controller
~ > lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 1462:7c95 Micro Star International MYSTIC LIGHT
Bus 001 Device 004: ID 0e8d:0608 MediaTek Inc. Wireless_Device
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0c76:161e JMTek, LLC. USB PnP Audio Device
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 1038:182e SteelSeries ApS SteelSeries Prime
Bus 005 Device 003: ID 09da:faa8 A4Tech Co., Ltd. USB Device
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Offline

#17 2025-12-15 21:35:25

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

The idea was to post them over there to alert the other user and invite them to post theirs wink

Offline

#18 2025-12-15 21:42:02

totally-grey
Member
Registered: 2025-12-15
Posts: 8

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

Here's my result.

lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.2 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:08.2 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 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev 25)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch (rev 25)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 44 [Radeon RX 9060 XT] (rev c0)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 HDMI/DP Audio Controller
04:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 xHCI Compliant Host Controller (rev 01)
04:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01)
04:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01)
05:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
05:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
05:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
05:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
05:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)
0b:00.0 Non-Volatile memory controller: ADATA Technology Co., Ltd. XPG GAMMIXS1 1L, XPG GAMMIX S5, LEGEND 710 / 740, SWORDFISH NVMe SSD (DRAM-less) (rev 01)
0c:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function (rev c9)
0c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir/Cezanne HDMI/DP Audio Controller
0c:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir/Cezanne Platform Security Processor
0c:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
0c:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
0c:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Ryzen HD Audio Controller
0d:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
0d:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c34b Logitech, Inc. USB Keyboard
Bus 001 Device 003: ID 3554:f57c Compx Aztec Mouse
Bus 001 Device 008: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Offline

#19 2025-12-15 21:54:28

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

Leaving the BusIDs aside

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 44 [Radeon RX 9060 XT] (rev c0)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 48 HDMI/DP Audio Controller
0c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir/Cezanne HDMI/DP Audio Controller
0c:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Ryzen HD Audio Controller

same A/V
Even
2a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 15)

One has the MTK wifi on usb, the other on PCI.

sudo journalctl -b | grep -i DMI

Offline

#20 2025-12-15 21:59:23

Ateku
Member
Registered: 2025-12-14
Posts: 15

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

Dec 15 22:26:07 archlinux kernel: DMI: Micro-Star International Co., Ltd. MS-7C95/B550M PRO-VDH WIFI (MS-7C95), BIOS 2.D0 12/12/2022
Dec 15 22:26:07 archlinux kernel: DMI: Memory slots populated: 2/4
Dec 15 22:26:07 archlinux kernel: Speculative Return Stack Overflow: WARNING: See https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation options.
Dec 15 22:26:09 archlinux kernel: amdgpu 0000:12:00.0: amdgpu: [drm] DP-HDMI FRL PCON supported
Dec 15 22:26:11 ateku kernel: input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:10:00.0/0000:11:00.0/0000:12:00.1/sound/card1/input12
Dec 15 22:26:11 ateku kernel: input: HDA ATI HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:10:00.0/0000:11:00.0/0000:12:00.1/sound/card1/input13
Dec 15 22:26:11 ateku kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:30:00.1/sound/card2/input16
Dec 15 22:26:11 ateku kernel: input: HDA ATI HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:10:00.0/0000:11:00.0/0000:12:00.1/sound/card1/input14
Dec 15 22:26:11 ateku kernel: input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:30:00.1/sound/card2/input17
Dec 15 22:26:11 ateku kernel: input: HDA ATI HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:10:00.0/0000:11:00.0/0000:12:00.1/sound/card1/input15
Dec 15 22:26:11 ateku kernel: input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:30:00.1/sound/card2/input18
Dec 15 22:26:11 ateku kernel: input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:08.1/0000:30:00.1/sound/card2/input19
Dec 15 22:26:11 ateku kernel: input: HD-Audio Generic HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:08.1/0000:30:00.1/sound/card2/input20
Dec 15 22:26:11 ateku kernel: input: HD-Audio Generic HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:08.1/0000:30:00.1/sound/card2/input21
Dec 15 22:26:25 ateku xdg-desktop-portal-hyprland[850]: [LOG] Found output name HDMI-A-1

Offline

#21 2025-12-15 22:19:09

totally-grey
Member
Registered: 2025-12-15
Posts: 8

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

ncpamixer on background don't fix the issue on my PC.

sudo journalctl -b | grep -i DMI:

Dec 15 09:11:12 archlinux kernel: DMI: BIOSTAR Group B450MH/B450MH, BIOS 5.17 04/21/2023
Dec 15 09:11:12 archlinux kernel: DMI: Memory slots populated: 2/2
Dec 15 09:11:12 archlinux kernel: Speculative Return Stack Overflow: WARNING: See https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation options.
Dec 15 09:11:14 archlinux kernel: amdgpu 0000:03:00.0: amdgpu: [drm] DP-HDMI FRL PCON supported
Dec 15 09:11:18 arch kernel: input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input17
Dec 15 09:11:18 arch kernel: input: HDA ATI HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input18
Dec 15 09:11:18 arch kernel: input: HDA ATI HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input19
Dec 15 09:11:18 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input21
Dec 15 09:11:18 arch kernel: input: HDA ATI HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input20
Dec 15 09:11:18 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input22
Dec 15 09:11:18 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input23
Dec 15 09:11:18 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input24
Dec 15 09:11:18 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input25
Dec 15 09:11:18 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input26
Dec 15 09:11:38 arch xdg-desktop-portal-hyprland[1094]: [LOG] Found output name HDMI-A-1
Dec 15 10:38:28 arch xdg-desktop-portal-hyprland[19026]: [LOG] Found output name HDMI-A-1
Dec 15 12:40:04 arch xdg-desktop-portal-hyprland[48347]: [LOG] Found output name HDMI-A-1
Dec 15 14:41:49 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:346 delay:346 target:1024 thr:1024, resync (1 suppressed)
Dec 15 14:41:55 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:1537 delay:1537 target:1024 thr:1024, resync (0 suppressed)
Dec 15 14:42:09 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:510 delay:510 target:1024 thr:1024, resync (0 suppressed)
Dec 15 14:42:12 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:170 delay:170 target:1024 thr:1024, resync (1 suppressed)
Dec 15 14:42:15 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:503 delay:503 target:1024 thr:1024, resync (2 suppressed)
Dec 15 14:42:26 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:1537 delay:1537 target:1024 thr:1024, resync (0 suppressed)
Dec 15 14:42:31 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:507 delay:507 target:1024 thr:1024, resync (0 suppressed)
Dec 15 14:42:39 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:410 delay:410 target:1024 thr:1024, resync (0 suppressed)
Dec 15 15:11:39 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:1537 delay:1537 target:1024 thr:1024, resync (0 suppressed)
Dec 15 15:12:54 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:1537 delay:1537 target:1024 thr:1024, resync (0 suppressed)
Dec 15 15:14:04 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:1538 delay:1538 target:1024 thr:1024, resync (0 suppressed)
Dec 15 15:14:58 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:502 delay:502 target:1024 thr:1024, resync (0 suppressed)
Dec 15 15:15:10 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:510 delay:510 target:1024 thr:1024, resync (0 suppressed)
Dec 15 15:15:36 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:467 delay:467 target:1024 thr:1024, resync (0 suppressed)
Dec 15 15:15:55 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:390 delay:390 target:1024 thr:1024, resync (1 suppressed)
Dec 15 15:18:37 arch pipewire[63430]: spa.alsa: hdmi:0,2p: follower avail:1009 delay:1009 target:2048 thr:2048, resync (0 suppressed)

Offline

#22 2025-12-15 22:22:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

Different boards.

If you only boot the multi-user.target (2nd link below) and from the console play "mpv thunderstruck.mp3", do you get  any artifacts (crackling)?

Offline

#23 2025-12-15 22:43:16

Ateku
Member
Registered: 2025-12-14
Posts: 15

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

I tried the commands from the 2nd link, but the GUI still launches, even when isolating graphical.target, when I login by exec Hyprland script. From `systemctl get-default` I got that it changed to multi-user.target.

Offline

#24 2025-12-15 22:46:29

totally-grey
Member
Registered: 2025-12-15
Posts: 8

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

seth wrote:

Different boards.

If you only boot the multi-user.target (2nd link below) and from the console play "mpv thunderstruck.mp3", do you get  any artifacts (crackling)?

The mpv output runs fine, without any issue.
I ran "sudo journalctl -b | grep -i DMI" again after reboot the system and the output looks the same as Ateku:

Dec 15 16:31:14 archlinux kernel: DMI: BIOSTAR Group B450MH/B450MH, BIOS 5.17 04/21/2023
Dec 15 16:31:14 archlinux kernel: DMI: Memory slots populated: 2/2
Dec 15 16:31:14 archlinux kernel: Speculative Return Stack Overflow: WARNING: See https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation options.
Dec 15 16:31:16 archlinux kernel: amdgpu 0000:03:00.0: amdgpu: [drm] DP-HDMI FRL PCON supported
Dec 15 16:31:19 arch kernel: input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input23
Dec 15 16:31:19 arch kernel: input: HDA ATI HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input24
Dec 15 16:31:19 arch kernel: input: HDA ATI HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input25
Dec 15 16:31:19 arch kernel: input: HDA ATI HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card0/input26
Dec 15 16:31:19 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input17
Dec 15 16:31:19 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input18
Dec 15 16:31:19 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input19
Dec 15 16:31:19 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input20
Dec 15 16:31:19 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input21
Dec 15 16:31:19 arch kernel: input: HD-Audio Generic HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:08.1/0000:0c:00.1/sound/card1/input22
Dec 15 16:33:40 arch xdg-desktop-portal-hyprland[1112]: [LOG] Found output name HDMI-A-1

That message probably appeared earlier today when I was changing some settings to try and fix the audio.

Offline

#25 2025-12-15 23:03:44

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,586

Re: Audio crackling after switching GPU (pipewire / pulseaudio).

The mpv output runs fine, without any issue.

But not on hyprland?
startx some xterms and try there…

@Ateku, isolating the graphical.target means to start it.
Add "systemd.unit=multi-user.target" to the kernel parameters and reboot or "systemctl isolate multi-user.target"  !!!which will probably kill your hyprland session!!!

Offline

Board footer

Powered by FluxBB