Ryan Pavlik
83cace51d4
ipc: Add error message on bind failure.
2020-05-07 17:00:25 -05:00
Ryan Pavlik
c4f8c7fdf7
ipc: Unlink on exit, not before start.
2020-05-07 16:55:10 -05:00
Ryan Pavlik
5935fad73b
ipc: Add ability for service to be launched by systemd socket activation.
2020-05-07 16:54:11 -05:00
Ryan Pavlik
d7e84cf5b5
build: Fix include directories for IPC server module
2020-05-07 15:46:29 -05:00
Jakob Bornecrantz
d8428b2544
ipc/client: Don't assert on devices with no output
2020-05-01 19:20:03 +01:00
Christoph Haag
7ab1ca727f
ipc: Make send_and_get_reply thread safe
...
When multiple threads call OpenXR functions, make sure one thread
can not read the reply meant for another thread.
Unfortunately this also blocks other OpenXR functions from being
called while xrWaitFrame() is blocking.
2020-05-01 16:11:26 +02:00
Christoph Haag
d491f59b55
ipc: Log unexpected messaging events as errors
...
Any of these unexpected events will likely lead to more errors down the line.
Always printing them as errors will make it easier to diagnose the ipc.
2020-05-01 16:11:00 +02:00
Christoph Haag
a195f22bc3
ipc: disconnect client on xrDestroyInstance()
...
The service considers clients to be connected as long as the fd is not closed.
After destroying an XrInstance this prevents the client from creating a subsequent XrInstance.
2020-05-01 02:49:44 +02:00
Jakob Bornecrantz
a4dcdf1f0b
ipc/server: Improve error messages
2020-04-30 20:45:34 +01:00
Jakob Bornecrantz
6d770336b7
ipc/server: Pass in MSG_NOSIGNAL to not get SIGPIPEd
2020-04-30 20:44:35 +01:00
Jakob Bornecrantz
a02293e8dd
ipc: Improve swapchain handling a tiny bit
2020-04-30 20:44:35 +01:00
Jakob Bornecrantz
11539e28b7
ipc/server: Fix swapchain being swapped left and right
2020-04-30 14:00:27 +01:00
Jakob Bornecrantz
7c8a8a3f87
ipc: Add code to enable a service process
...
This enables out of process compositing.
2020-04-29 14:58:24 +01:00