Something kills wireplumber, so no sound devices

I made two posts about the issue. No sound devices and no audio on KDE desktop on any kernel and right out of the box (fresh install).
Here goes my journal.log.
Something kills wireplumber.
Maybe somebody can help?

systemctl status --user wireplumber

This looks unusual:

  1. 1. сен 24 23:59:23 cos alsactl[614]: alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2

An ACPI BIOS Error (bug) is displayed, which is certainly negligible, but it can’t hurt to update the BIOS if updates are available.
Version number and date: inxi -M

I found a comment about this in the Arch linux forum:

There’s no problem (determined by those ACPI errors) - they’re super common because your board/bios vendor (and everyone’s else) implements ACPI by poking around until Windows boots.

❯ systemctl status --user wireplumber
× wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: failed (Result: signal) since Wed 2024-09-25 10:28:31 MSK; 2min 42s ago
Duration: 527ms
Invocation: f346532942a545af8dc7f14158c117d8
Process: 1533 ExecStart=/usr/bin/wireplumber (code=killed, signal=KILL)
Main PID: 1533 (code=killed, signal=KILL)

сен 25 10:28:30 cos systemd[809]: wireplumber.service: Failed with result ‘signal’.
сен 25 10:28:31 cos systemd[809]: wireplumber.service: Scheduled restart job, restart counter is at 5.
сен 25 10:28:31 cos systemd[809]: wireplumber.service: Start request repeated too quickly.
сен 25 10:28:31 cos systemd[809]: wireplumber.service: Failed with result ‘signal’.
сен 25 10:28:31 cos systemd[809]: Failed to start Multimedia Service Session Manager.

I published all the logs here:

Sorry, it seems to be the wrong place.

mv ~/.local/state/wireplumber ~.local/state/wireplumber.old
WIREPLUMBER_DEBUG=D wireplumber | paste-cachyos

please run these commands to get debugging logs for wireplumber.

Edit:

Do you have any files under .config/wireplumber?

Here goes the result of debug wireplumber command:
I have no idea why the link is empty. The copy goes hereinafter.

The copy is here:

I have neither folder, nor file wireplumber in the ./config folder

Недопустимый аргумент means invalid argument

Here is my journal log

I downloaded a fresh iso (the same as the previous of 20240818), checked sha256. Live USB flash drive now sees all audio devices.
I installed CachyOS.
The issue is still here!
Sometimes I can see audio devices, but mostly not. KDE Wayland, X11. Default kernel. So what? It seems it is a bug! :sob:

I have sound in current session. The logs are as follows:

systemctl status --user wireplumber
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Wed 2024-09-25 20:37:28 MSK; 1min 49s ago
Invocation: d034421944d649e3afd75adb9eff3fd0
Main PID: 1520 (wireplumber)
Tasks: 6 (limit: 28470)
Memory: 13.1M (peak: 13.6M)
CPU: 949ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
└─1520 /usr/bin/wireplumber

сен 25 20:37:28 cos systemd[812]: wireplumber.service: Scheduled restart job, restart counter is at 4.
сен 25 20:37:28 cos systemd[812]: Started Multimedia Service Session Manager.
сен 25 20:37:28 cos wireplumber[1520]: wp-internal-comp-loader: Loading profile ‘main’
сен 25 20:37:29 cos wireplumber[1520]: spa.bluez5: BlueZ system service is not available
сен 25 20:37:29 cos wireplumber[1520]: wp-device: SPA handle ‘api.libcamera.enum.manager’ could not be loaded>
сен 25 20:37:29 cos wireplumber[1520]: s-monitors-libcamera: PipeWire’s libcamera SPA plugin is missing or br>
lines 1-17/17 (END)

I don’t really know what might be wrong here. Comparing the logs between the failed one and the current working one, the failed one fails to find the necessary format for your specific system. We do not touch anything related to audio so I’m not too sure if it is a CachyOS bug in the first place.

For reference, this is what I have installed

❯ pacman -Qs pipewire && pacman -Qs pulse && pacman -Qs alsa
https://paste.cachyos.org/p/661e812.txt
  1. I just reinstalled CachyOS with Gnome desktop. No problems, no issues, sound is here, music is playing, everything works with no lags out-of-the-box.
  2. EnvevourOS is installed on the second HDD on the same PC with KDE desktop and works smoothly, no issues, sound is up and running out of the box, no lags.
  3. One more point. Live USB with CachyOS ISO file on board runs under KDE Plasma. And right after start it DOES NOT see audio devices. (No output or input devices found). EndeavourOS Live USB sees audio devices.
    So my guess is something is wrong with KDE+Pipewire. It’s not my PC, it’s yours files.

Interesting.

Did you check if both LiveCDs are running on Wayland or X11?

You could also try with the testing ISO: Nginx Directory

NO, I didn’t check if LiveUSB run Wayland or X11. My knowledge is too weak to do this. I have no idea how to do this.
Does CachiOS testing ISO means the same as Debian or Manjaro Testing? Just with new options? If yes, I will download it and try.

(Not complete) changelog for the testing iso:

# 24.09

**Features:**
- Packages: Optimized a bunch of packages with PGO, like LLVM, Clang, svt-av1 and nodejs. This yielded for example 10% faster Clang compiler
- Repository: The repository is now more often synced and updated, this means there will be even less delay. The sync has been decreased from every 3 hours to every hour.
- zlib-ng: is now used as replacement for zlib
- sddm: On the KDE Installation sddm will now default to wayland as compositor. # Provide Migration changes in release post
- cachyos-settings: Networkmanager uses now the systemd-resolved as backend, this helps with DNS Caching
- gcc: Added fixes for the tuning of znver5
- gcc: Cherry picked patches and flags from clearlinux
- glibc: Added "evex" patches as well as cherry picks from clearlinux
- wiki: The Wiki got many new additions and reworks
- chwd: Simplified Device Handling
- chwd: All profiles are now specifically designed for PCI devices

**Bug Fixes:**
- Launch-Installer: Added fixes to sync the hardware clock before starting the installation
- keyring: Cleanup the keyring and recreate it before starting installation, this fixes rare keyring issues
- sysctl: Coredumps has been enabled again
- chwd: Removed `libva-nvidia-driver` from the PRIME profile to prevent potential conflicts and improve compatibility with software like Spectacle
- cachyos-settings: Added workaround for Gnome Wayland crashes

Not that much changes so don’t really expect it to behave differently but atleast you can test.

Thanks for your help!
I installed testing ISO - KDE Wayland. NO sound. Still no sound devices found (untill I remove wireplumber). KDE Desktop works really bad on CachyOS.

LiveCD is running under X11.

I removed Wireplumber and installed Pipewire Session Manager. Sound is IN, desktop lags are Out! Miracle! Still keeping my fingers crossed.
THANK YOU ALL FOR THE HELP AND SUPPORT! :heart_eyes:

Hi naim!
I reconfigured my hard drives, so I reinstalled CachyOS.
No sound/sound devices out-of-the-box as usual.
This time I did the following, using info from the following page:

I installed pipewire-alsa-git with paru. Just intuitively. Sound/sound devices emerged immediately! Maybe it’s just a random effect, we shall see…
Yes, it has a temporary effect. It’s not a solution. (