Skip to content
Snippets Groups Projects
Commit ba9fdc5a authored by Mateo de Mayo's avatar Mateo de Mayo
Browse files

Indicate to install libbsd-dev by default

parent 465dc91e
No related branches found
No related tags found
1 merge request!43Indicate to install libbsd-dev by default
Pipeline #904921 passed
...@@ -80,7 +80,7 @@ See [https://gitlab.freedesktop.org/monado/monado#getting-started](https://gitla ...@@ -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. 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. 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. 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 ...@@ -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. 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. 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.
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.
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. 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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment