You are not logged in.

#51 2026-06-25 06:13:38

Enrico1989
Member
Registered: 2018-07-05
Posts: 382

Re: Audio breaks after every suspend/change of VT

I referred to https://pipewire.pages.freedesktop.org/ … -migration and eventually came up with this

monitor.alsa.rules = [
  {
    matches = [
      {
        # Matches all sources
        node.name = "~alsa_input.*"
      },
      {
        # Matches all sinks
        node.name = "~alsa_output.*"
      }
    ],
    actions = {
      update-props = {
        device.profile-set = "analog-only.conf"
      }
    }
  }
]

and then run

$ # as non-root
$ systemctl --user restart pipewire.service 
$ systemctl --user restart wireplumber.service

and then moved to other VT and back, and the audio is gone, as "usual". (Much easy to recover after some earlier cleanup steps + using wiremix.)

I should probably try with `profile` instead of `profile-set`. I kept `profile-set` because the migration guide I linked turns

["device.profile"] = "pro-audio",

into

device.profile = "pro-audio"

and since the first link has

["device.profile-set"] = "analog-only.conf",

I kept the `-set`.

Offline

Board footer

Powered by FluxBB