Suddenly, audio devices begin to disappear and immediately appear. The devices disappear for a few seconds and appear (I recorded a video using Spectacle and because of the dynamic frame rate it is not so noticeable). Along with this, all audio devices stop working. only a reboot helps. It happens most often when I stream in OBS and play games. What is the reason is unclear. The sound is set like this: paru -S pipewire lib32-pipewire pipewire-pulse pipewire-alsa pipewire-jack wireplumber systemctl --user enable --now pipewire pipewire-pulse wireplumber Sound Card: Creative Sound Blaster Z Operating System: Arch Linux KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.5-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 32 × Intel® Core™ i9-14900KF Memory: 62.6 ГиБ of RAM Graphics Processor: NVIDIA GeForce RTX 4080/PCIe/SSE2 Manufacturer: ASUS
Created attachment 168574 [details] vid
Also experiencing a similar problem, however I can make it occur by hovering over icons in the Icons-only task manager while OBS is accessing audio devices via Pipewire. When using the native OBS audio capture, the audio input sources will not return after this disconnect. If using the Audio Capture (Pipewire) plugin, it will be restored after the disconnect. Video attached.
Created attachment 168584 [details] Icons-only Task Manager Pipewire Crash
Might be helpful to have my system info: Operating System: EndeavourOS KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.8.6-2-cachyos (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor Memory: 62.0 GiB of RAM Graphics Processor: AMD Radeon RX 6800 Manufacturer: Gigabyte Technology Co., Ltd. Product Name: B650 GAMING X AX
I have found a solution to the problem. Please find the reason for this and fix it, because sooner or later everyone will have it if SDDM switches to wayland. And so, the description. A few years ago, I switched to GDM because it works on wayland itself and I had problems with SDDM. After the transition, audio devices began to fall off. I couldn't find the reason. Then I went back to SDDM and started it in wayland mode. In /etc/sddm.conf.d/10-wayland.conf we write: [General] DisplayServer=wayland GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell [Wayland] CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale 1 I had no idea that was the case. It's been about 3 days since I returned SDDM to x11 operation mode and there have never been any problems with audio devices during these days. Do not confuse the SDDM x11 operation mode with the x11 session. I am using SDDM in x11 operation mode, and the system is running under Wayland. The SDDM wayland operating mode and the Wayland system session are different things. All my friends say that the operation of audio devices cannot depend on SDDM or GDM. but! There has been no audio issue for almost 3 days now. Conclusion. In a Wayland session, when using GDM or SDDM Wayland mode, audio problems occur, audio devices suddenly disappear and appear (described in more detail above). But if I use SDDM in x11 mode and a Wayland system session, everything works. During the 3 days of testing, there was no problem with audio devices
I was wrong. The solution I came up with doesn't work. I have no idea what the problem is.
Created attachment 169364 [details] log I've already written wherever I can, but no one knows what the problem is. I'm attaching logs. Help me, this problem does not allow me to live normally.
See https://gitlab.freedesktop.org/pipewire/wireplumber/-/issues/628