52 Commits
Author SHA1 Message Date
Guillaume Meunier 26d271b907 Rework the wizard APK downloading, install directly instead of telling the user to use ADB. Add setting to choose which game to start automatically. 2024-10-10 23:26:09 +02:00
Patrick Nicolas 5f59dfb589 More reliable mechanism to pass monado socket
Using systemd's socket activation path fails in case file descriptor is
not 3. Use a global variable instead.
2024-10-08 23:03:03 +02:00
Patrick Nicolas 554c0f7ad6 Fix --no-fork parameter 2024-10-05 15:33:39 +02:00
Patrick Nicolas 3c09db939f Add --no-fork option for easier debugging 2024-10-05 09:51:59 +02:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
Guillaume Meunier b0a14033b6 Fix warning in server/main.cpp 2024-10-01 23:04:19 +02:00
Guillaume Meunier 674343c74f Use cmakedefine01 instead of cmakedefine 2024-10-01 21:46:41 +02:00
Guillaume Meunier 2a6000a6e1 Create the socket directory in the non-systemd case 2024-09-29 10:50:46 +02:00
Guillaume Meunier b6a09ea11a Change the default socket location, create the parent directory 2024-09-27 19:25:57 +02:00
Guillaume Meunier 9774d8c1d1 Define enum for exit codes 2024-09-27 19:25:57 +02:00
Guillaume Meunier d0850e819c Add dbus server 2024-09-27 19:25:57 +02:00
Guillaume Meunier b93a937ae1 Refactor the main loop to use glib 2024-09-27 19:25:57 +02:00
Patrick Nicolas 50747d8fd4 Use proper mipmaps for distortion shader 2024-09-11 23:41:10 +02:00
Patrick Nicolas 531b2a0e29 Add --no-instructions to disable message on start 2024-09-06 20:14:14 +02:00
Guillaume Meunier faca68844a Merge branch 'feat/flatpak' 2024-08-31 13:39:24 +02:00
Patrick Nicolas 9231a83ada Don't override AMD_DEBUG variable if set 2024-08-30 19:29:24 +02:00
Guillaume Meunier 5446847ed4 Display the correct steam command when installed as a system flatpak 2024-08-24 18:15:56 +02:00
Patrick Nicolas 3d4690cb0c Cleanup socket on exit 2024-08-18 14:24:49 +02:00
Patrick Nicolas cb644eea07 Enable AMD low latency encoding by default 2024-08-18 14:00:29 +02:00
Patrick Nicolas 9be5440d88 Add instructions for Steam on start 2024-08-13 18:15:07 +02:00
SanyaNya 142d453c98 Assert must check use_systemd arg 2024-07-16 12:26:30 +02:00
Patrick Nicolas 1a04104cff Add --systemd command line option
When enabled, will start a new service for client application instead of
forking.
2024-06-27 10:44:02 +02:00
Gavin John ffade1e48a Add systemd hardening options 2024-06-27 10:44:02 +02:00
Patrick Nicolas 8a96729983 Basic support for setting configuration file 2024-06-14 10:22:33 +02:00
Patrick Nicolas 64244980af Fix waiting on client application 2024-06-14 09:57:45 +02:00
Patrick Nicolas b454868221 Set default scale percentage to 100 2024-06-14 09:46:36 +02:00
Patrick Nicolas e5d831a526 Move accepting connection to separate file 2024-06-03 20:58:24 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Guillaume Meunier 9efe3852f4 Set the current active runtime when a headset connects 2024-02-19 23:36:28 +01:00
Patrick Nicolas 0bc8380abb Force compute compositor pipeline
Synchronization seems to fail with graphics pipeline
2024-02-18 16:15:55 +01:00
Guillaume Meunier d84095e1ea Basic GUI 2024-01-28 11:33:35 +01:00
Patrick Nicolas b9d72facb0 Sync cmake config for systemd between monado and wivrn 2024-01-03 10:42:04 +01:00
Guillaume Meunier 4bbe9952cc Avoid using std::format for github CI 2023-12-16 14:16:48 +01:00
Guillaume Meunier 59ebc4b87e Publish server and protocol version on avahi 2023-12-16 14:16:48 +01:00
Patrick Nicolas 10fa78c21c Make encoder options explicit in cmake 2023-11-25 14:37:36 +01:00
Patrick Nicolas 38fcf7dc00 Rework stream socket
Stream socket on server now uses the same port as the control socket.
Client does not assign a port to its stream socket, instead it sends a
handshake packet at the beginning, the server reads the remote port from
it.
2023-11-08 19:15:59 +01:00
Patrick Nicolas 003f4ed830 clang-format 2023-10-17 11:17:47 +02:00
Patrick Nicolas 210baa258f Exit cleanly on avahi error 2023-10-17 11:17:47 +02:00
Patrick Nicolas c0e8a030ca Don't abort for exception in main 2023-10-17 11:17:47 +02:00
Patrick Nicolas 59ccf9582e remove obsolete oxr_sdl2_* functions 2023-10-03 09:21:28 +02:00
Guillaume Meunier 8de6b2283d Fix build error when building from a tarball instead of a git clone 2023-07-29 17:50:51 +02:00
Guillaume Meunier 52b26250d3 Fix warning on write() 2023-07-29 12:21:27 +02:00
Guillaume Meunier d8857672dd Fix server compilation with Ubuntu 22.04 2023-07-29 12:17:36 +02:00
Patrick Nicolas 18f5b3a719 kill server on ctrl-c 2023-06-29 18:59:13 +02:00
Patrick Nicolas 98df3a2ed8 Fix build with assertions 2023-06-28 18:33:24 +02:00
PLYSHKA 972de69031 Removed unnecessary systemd import in main 2023-05-29 15:35:35 +05:00
Guillaume Meunier 425f7b16e4 Quit the server correctly and kill the client if it does not exit 2022-12-17 20:15:44 +01:00
Guillaume Meunier d9ac2b84b5 Start a client when a headset connects 2022-12-17 20:12:47 +01:00
Guillaume Meunier fb8de394c3 Pretend monado is started by systemd 2022-12-17 20:12:47 +01:00
Guillaume Meunier 0b99099527 Cleanup when the server process exits 2022-12-17 20:12:47 +01:00