Bug 457483 - Screeching noise comes out of HDMI monitor when clicking the volume icon in system tray
Summary: Screeching noise comes out of HDMI monitor when clicking the volume icon in s...
Status: VERIFIED UPSTREAM
Alias: None
Product: plasma-pa
Classification: Unmaintained
Component: applet (other bugs)
Version First Reported In: 5.25.4
Platform: Other Linux
: NOR grave
Target Milestone: ---
Assignee: Mircea Kitsune
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-04 14:05 UTC by Mircea Kitsune
Modified: 2023-05-11 12:53 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Capture (3.85 MB, video/mp4)
2022-08-04 23:52 UTC, Mircea Kitsune
Details
Output of: aplay -l (917 bytes, text/plain)
2022-08-11 17:32 UTC, Mircea Kitsune
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea Kitsune 2022-08-04 14:05:30 UTC
SUMMARY
Whenever I click on the volume icon in the system tray, a screeching that literally sounds like a FNAF jumpscare sound comes out of my monitor for roughly 3 seconds then stops. This happens the first time after booting then every few hours, I can keep opening the audio volume applet and it won't occur any more except rarely after some time. Audio appears to work fine on all devices otherwise including the affected monitor.

This started happening once I upgraded to Plasma 5.25.3: In 5.24.6 or earlier I don't believe I ever got the issue.

STEPS TO REPRODUCE
Make sure you have a monitor connected via HDMI and with audio enabled. Just click on the volume icon in the system tray every now and then. If the system contains affected configurations it should eventually happen.

OBSERVED RESULT
At some point you'll hear loud audio glitching that sounds like fast-forwarding a cassette tape.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.19.0-2-MANJARO (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Comment 1 Nate Graham 2022-08-04 19:20:08 UTC
wtf
Comment 2 ratijas 2022-08-04 21:55:02 UTC
Probably an upstream (kernel?) audio driver issue. My sound card, for example, emits high-pitch noise on a mini-Jack line out — but only after sleep/wake and only when in use (i.e. it stays completely silent when idle / saving power) — and opening an applet naturally can trigger the noise, since it brings outputs from an idle state.

If an applet can do that to you, then there are probably other reproducible ways as well. How have you been using your hardware? Can you 100% confirm this was not present in earlier Plasma versions? Maybe kernel upgrades?
Comment 3 Mircea Kitsune 2022-08-04 23:52:40 UTC
Created attachment 151122 [details]
Capture

I'll try with tools like Pavucontrol and similar later to give it time. I find it odd if were something else as this happened just as I updated Plasma, IIRC few other packages were updated in that run but at the same time I can't rule out the possibility.

For now here's a short capture just so others can see and hear what's happening. Keep in mind the noise is always different and usually sounds more high pitch.
Comment 4 Mircea Kitsune 2022-08-11 17:32:06 UTC
Created attachment 151258 [details]
Output of: aplay -l

Today I opened an RPG Maker game in WINE: That caused the exact screeching effect from the monitor as the volume icon. So I can confirm a few other things may trigger this as well.

As I forgot this rather important step, here's also my devices as listed by "aplay -l". In case any of them is recognized to have a recent issue or anything else out of the ordinary is spotted there.
Comment 5 Nate Graham 2022-08-11 21:13:19 UTC
If 3rd-party software can trigger it as well, it's an upstream elsewhere in the audio stack. I would recommend filing a bug report with pulseaudio or pipewire.
Comment 6 Samantha 2022-12-07 19:56:56 UTC
It's still present in Plasma 5.25.5. .This is new.
Comment 7 Samantha 2022-12-07 20:06:18 UTC
This bug has been verified. 

See here: https://1drv.ms/u/s!AloS9Q7GBPCbgvt1AovbZLsGz4BY_A?e=w21rjt