• d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    12
    ·
    10 months ago

    Does restarting PipeWire fix it?

    systemctl --user restart pipewire.service

    or

    systemctl --user restart wireplumber pipewire pipewire-pulse

    If that works, you could create a systemd unit file to automatically run that after resume.

    [Unit]
    Description=Restart Pipewire after resume
    After=suspend.target
    
    [Service]
    Type=simple
    ExecStart=/usr/bin/systemctl --user restart pipewire.service
    
    [Install]
    WantedBy=suspend.target
    
    • azvasKvklenko@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      How would a client (like running game) reconnect to a restarted PW server? That would require a game restart for its sound to work if I get it right