Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pipewire
pipewire
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 183
    • Issues 183
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PipeWire
  • pipewirepipewire
  • Issues
  • #500

Closed
Open
Opened Dec 22, 2020 by Bob Funk@0XBF

Pipewire does not exit when the session dbus is terminated

Greetings,

I am currently testing using pipewire as a replacement for pulseaudio and jack on a linux system that does not use the systemd init system.

As I understand from reading the pipewire documentation, pipewire is designed to be started and managed as a "user target" daemon in the systemd ecosphere. However, this functionality is systemd specific so the problem becomes how to manage pipewire in the absence of systemd.

So far I have just been starting pipewire either manually after a user's dbus session is registered, or with scripts like those in ~/.config/autostart or ~/.xinitrc. This works to start pipewire fine and I can go about using it in audio applications in X or wayland. However, if I logout and terminate the dbus session, the pipewire daemon just gets re-parented to pid-1, with the old dbus address. Starting a new dbus session gets a new address, and that re-parented pipewire isn't reachable and has to be killed manually.

So shouldn't pipewire exit if the dbus no longer exists? Would adding that functionality impact how the pipewire daemon functions in a systemd system? Or, would any of the devs have some other insight on how to properly use pipewire in a non systemd environment?

Thanks,

Bob Funk

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: pipewire/pipewire#500