From ba9fdc5adbf6c6afd78466ff1c603e433e94a7fc Mon Sep 17 00:00:00 2001 From: Mateo de Mayo <mateo.demayo@collabora.com> Date: Fri, 9 Jun 2023 10:52:52 -0300 Subject: [PATCH] Indicate to install libbsd-dev by default --- getting-started.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/getting-started.md b/getting-started.md index 1f6c4e7..10cfa73 100644 --- a/getting-started.md +++ b/getting-started.md @@ -80,7 +80,7 @@ See [https://gitlab.freedesktop.org/monado/monado#getting-started](https://gitla This command will install required and some optional dependencies that will enable most of the commonly used functionality of monado on Debian/Ubuntu. Some features and drivers are only compiled with additional dependencies like libsurvive or librealsense. - apt install build-essential git wget unzip cmake ninja-build libeigen3-dev curl patch python3 pkg-config libx11-dev libx11-xcb-dev libxxf86vm-dev libxrandr-dev libxcb-randr0-dev libvulkan-dev glslang-tools libglvnd-dev libgl1-mesa-dev ca-certificates libusb-1.0-0-dev libudev-dev libhidapi-dev libwayland-dev libuvc-dev libavcodec-dev libopencv-dev libv4l-dev libcjson-dev libsdl2-dev libegl1-mesa-dev + apt install build-essential git wget unzip cmake ninja-build libeigen3-dev curl patch python3 pkg-config libx11-dev libx11-xcb-dev libxxf86vm-dev libxrandr-dev libxcb-randr0-dev libvulkan-dev glslang-tools libglvnd-dev libgl1-mesa-dev ca-certificates libusb-1.0-0-dev libudev-dev libhidapi-dev libwayland-dev libuvc-dev libavcodec-dev libopencv-dev libv4l-dev libcjson-dev libsdl2-dev libegl1-mesa-dev libbsd-dev then compile and install Monado. Monado can be built with either cmake or meson. @@ -103,9 +103,7 @@ When monado is built with `monado-service`, Monado's compositor and drivers run Most monado developers and users who want exact control over when Monado is running are expected to run `monado-service` manually. -A manually started `monado-service` is cleanly shut down by simply pressing enter in the terminal it was started in. - -An unclean shutdown (ctrl+c, crash) will leave a socket file `/run/user/1007/monado_comp_ipc`. If Monado's build configuration includes the `libbsd` library, this unused socket file will be automatically cleaned up by the next monado run. If Monado was built without support for `libbsd`, the Monado compositor will refuse to start if this file is found an error message. It safe to simply delete this file, as long as `monado-service` is not running - it holds no information, it is only used for live communication between monado-service and OpenXR applications. +A manually started `monado-service` is cleanly shut down by simply pressing enter in the terminal it was started in. An unclean shutdown (ctrl+c, crash) will leave a socket file `/run/user/1007/monado_comp_ipc` that gets deleted when Monado starts again. If systemd is available (and it's not configured to disable this), a monado.socket and monado.service user unit files are installed in /usr/lib/systemd/user or similar. `systemctl --user enable monado.socket` will have systemd open the domain socket at login. Running an OpenXR application will spin up the service, while `systemctl --user stop monado.service` will stop it. This is expected to mainly be used by end users installing a package. -- GitLab