Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Consider deprecating packetfs (pex) #410

@klange

Description

@klange

packetfs (or pex) is our very old packet-based IPC mechanism, originally developed for Yutani all the way back in 2014 to replace a system that used file descriptor sharing to connect clients with dedicated pipes. The packetfs API was built long before we had a socket layer, and it works very differently from typical sockets.

Our current users of packetfs are still the compositor, as well as the splash log daemon and the toast notification daemon.

Toast users reference it directly, but there's very few of them (the panel network widget, and some Kuroko scripts).

Splash log users also reference it directly, with startup scripts simply echoing to it.

Windowing clients all go through libtoaru_yutani, which adequately hides the interface.

All of these users would likely be sufficiently served by a local UDP service (local UDP would maintain ordering and have delivery guarantees, but lack connection state, so we'd need to handle that separately...), though implementing real Unix domain sockets may be more prudent.

Porting Yutani to a standard IPC interface would bring us one step closer to running the compositor on other OSes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions