Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SolarXR IPC Socket #1247

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

SolarXR IPC Socket #1247

wants to merge 2 commits into from

Conversation

rcelyte
Copy link
Contributor

@rcelyte rcelyte commented Nov 21, 2024

This patch introduces an IPC interface for communicating with the server via SolarXR ー exposing bone data not available through the existing Protobuf API while remaining more reliable and performant compared to the WebSocket API. Monado will require this interface to implement XR_FB_body_tracking while maintaining latency parity with the OpenVR driver (see https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2253).

It also fixes a one line bug in the WebSocket API where messages got clobbered on send, resulting in all but the first SolarXR connection receiving mangled data.

@github-actions github-actions bot added Area: SteamVR Driver Related to the SteamVR Driver Area: Server Related to the server labels Nov 21, 2024
@rcelyte
Copy link
Contributor Author

rcelyte commented Nov 21, 2024

Marked as draft since I'm not sure I have try blocks in all the right places

@Eirenliel
Copy link
Member

This looks fine, i think it should be ready for review and rebased. The details like try/catch could be found on review and testing.

@rcelyte rcelyte marked this pull request as ready for review December 12, 2024 04:26
@rcelyte
Copy link
Contributor Author

rcelyte commented Dec 12, 2024

alright

Copy link
Member

@ButterscotchV ButterscotchV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine

@rcelyte rcelyte force-pushed the solarxr-ipc branch 2 times, most recently from ef8ff74 to cf6aac9 Compare January 3, 2025 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Server Related to the server Area: SteamVR Driver Related to the SteamVR Driver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants