CachyOS / CachyOS/distribution
[Bug]: System-wide audio corruption triggered by WebAssembly emulator
- Dominant language
- No language data
- Stars
- 27
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
### Kernel
7.0.1-1-cachyos
### Desktop Environment / Window Manager
KDE Plasma
### CPU
CPU: AMD Athlon 3000G (4) @ 3.50 GHz
### GPU / Driver
GPU: AMD Radeon Vega 3 Graphics [Integrated]
### Description
After loading a WebAssembly ZX Spectrum emulator page in Firefox 150.0 (64-bit), all system audio becomes distorted and remains corrupted across all applications.
### Steps to Reproduce
1. Begin with normal system audio playback (e.g., a media player outputting clean sound).
2. Open the following URL in a web browser: https://www.esp32rainbow.com/emulator?file=%2Fproxy%3Furl%3Dhttps%253A%252F%252Fspectrumcomputing.co.uk%252Fpub%252Fsinclair%252Fgames%252Fm%252FMarsport.tzx.zip&title=Marsport&machine=48k
3. Click on `Start Marsport`
4. Observe audio output after the page loads.
### Expected Behavior
I was expecting system audio to be unaffected after visiting a website.
### Actual Behavior
System-wide audio corruption.
### Logs / Error Messages
https://paste.cachyos.org/p/c9f93e0.log
### Additional Context
```
May 04 01:54:25 cachyos-x8664 wireplumber[1097]: wp-event-dispatcher: failed: link failed: 1 of 1 PipeWire links failed to activate
May 04 02:18:22 cachyos-x8664 wireplumber[1097]: wp-event-dispatcher: failed: link failed: 1 of 1 PipeWire links failed to activate
May 04 02:22:42 cachyos-x8664 systemd[942]: Stopping Multimedia Service Session Manager...
May 04 02:22:42 cachyos-x8664 wireplumber[1097]: pw.core: 0x560a447ae480: leaked proxy 0x560a447ec120 id:3
May 04 02:22:42 cachyos-x8664 wireplumber[1097]: pw.core: 0x560a447ae480: leaked proxy 0x560a447eccc0 id:4
May 04 02:22:42 cachyos-x8664 wireplumber[1097]: pw.core: 0x560a447ae480: leaked proxy 0x560a44a1ffe0 id:6
May 04 02:22:42 cachyos-x8664 systemd[942]: Stopped Multimedia Service Session Manager.
May 04 02:22:42 cachyos-x8664 systemd[942]: wireplumber.service: Consumed 2min 40.608s CPU time over 3d 53min 17.933s wall clock time, 18.3M memory peak, 7.9M memory swap peak.
May 04 02:22:42 cachyos-x8664 systemd[942]: Started Multimedia Service Session Manager.
May 04 02:22:42 cachyos-x8664 wireplumber[324924]: mod.rt: could not set nice-level to -11: Permission denied
May 04 02:22:43 cachyos-x8664 wireplumber[324924]: spa.bluez5: BlueZ system service is not available
May 04 02:22:43 cachyos-x8664 wireplumber[324924]: wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
May 04 02:22:43 cachyos-x8664 wireplumber[324924]: s-monitors-libcamera: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.
-- Boot 69c03ec6cc7340a6a7d8aaaeba4b0dd8 --
May 04 13:08:52 cachyos-x8664 systemd[793]: Started PipeWire Multimedia Service.
May 04 13:08:52 cachyos-x8664 systemd[793]: Started Multimedia Service Session Manager.
May 04 13:08:52 cachyos-x8664 pipewire[944]: mod.rt: could not set nice-level to -11: Permission denied
May 04 13:08:52 cachyos-x8664 wireplumber[946]: mod.rt: could not set nice-level to -11: Permission denied
May 04 13:08:52 cachyos-x8664 wireplumber[946]: default: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
May 04 13:08:52 cachyos-x8664 wireplumber[946]: spa.bluez5: BlueZ system service is not available
May 04 13:08:52 cachyos-x8664 wireplumber[946]: wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
May 04 13:08:52 cachyos-x8664 wireplumber[946]: s-monitors-libcamera: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.
```
Running the command `systemctl --user restart wireplumber` or closing the tab solves the issue. But if the tab that triggered the problem becomes active again, the problem comes back.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.