Bug 2227341

Summary: audio distortion after pipewire update
Product: Red Hat Enterprise Linux 9 Reporter: Tuomo Soini <tis>
Component: pipewireAssignee: Wim Taymans <wtaymans>
Status: NEW --- QA Contact: Tomas Pelka <tpelka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, desktop-qa-list, jwboyer, kaloyan_petrov
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tuomo Soini 2023-07-28 18:37:35 UTC
Description of problem:

After pipewire was updated to 0.3.67 there has been audio distortion.

This happens once in few days. And every time if you change from laptop speakers to bluetooth audio or other way around, distrortion vanishes.

Verified that distortion completely vanishes when pipewire\* are downgraded to previous versions of packages (0.3.47-3.el9_2).

This problem was identified on Lenovo Thinkpad Carbon X1 gen 9.

Comment 1 Kaloyan Petrov 2023-08-02 13:25:49 UTC
I have a similar distortion issue, which happens when starting a new audio stream. Either through VLC (online radio), or in browser at Spotify.
Sometimes it works fine for hours, sometimes it breaks every 3-4th song.

Once audio got distorted, when I closed the audio mixer.
Seems to me, its happening 

The solution is to change the audio profile from Audio Mixer->Configuration->Profile. I change from 'Play HiFi quality Music' to 'Pro Audio' or 'Off', and back to 'Play HiFi quality Music'. Sometimes I have to do it twice to fix audio.

Fedora 38/XFCE with Pipewire 0.3.76, on Lenovo Thnikpad T15 Gen2 (i7-1165G7).

Comment 2 Kaloyan Petrov 2023-08-03 08:31:00 UTC
Distortion appears almost every time, if I seek forward multiple times.
For example in a YouTube video, with the arrow keys.