mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
## Description Oops.. another massive PR 🥲 This PR contains multiple improvements and changes. Firstly, thanks gst-wayland-display's PR [here](https://github.com/games-on-whales/gst-wayland-display/pull/20). NVIDIA path is now way more efficient than before. Secondly, adding controller support was a massive hurdle, requiring me to start another project [vimputti](https://github.com/DatCaptainHorse/vimputti) - which allows simple virtual controller inputs in isolated containers. Well, it's not simple, it includes LD_PRELOAD shims and other craziness, but the library API is simple to use.. Thirdly, split runner image into 3 separate stages, base + build + runtime, should help keep things in check in future, also added GitHub Actions CI builds for v2 to v4 builds (hopefully they pass..). Fourth, replaced the runner's runtime Steam patching with better and simpler bubblewrap patch, massive thanks to `games-on-whales` to figuring it out better! Fifth, relay for once needed some changes, the new changes are still mostly WIP, but I'll deal with them next time I have energy.. I'm spent now. Needed to include these changes as relay needed a minor change to allow rumble events to flow back to client peer. Sixth.. tons of package updates, minor code improvements and the usual. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * End-to-end gamepad/controller support (attach/detach, buttons, sticks, triggers, rumble) with client/server integration and virtual controller plumbing. * Optional Prometheus metrics endpoint and WebTransport support. * Background vimputti manager process added for controller handling. * **Improvements** * Multi-variant container image builds and streamlined runtime images. * Zero-copy video pipeline and encoder improvements for lower latency. * Updated Steam compat mapping and dependency/toolchain refreshes. * **Bug Fixes** * More robust GPU detection, input/fullscreen lifecycle, startup/entrypoint, and container runtime fixes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
61 lines
2.1 KiB
TypeScript
61 lines
2.1 KiB
TypeScript
// @generated by protoc-gen-es v2.9.0 with parameter "target=ts"
|
|
// @generated from file latency_tracker.proto (package proto, syntax proto3)
|
|
/* eslint-disable */
|
|
|
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
import type { Message } from "@bufbuild/protobuf";
|
|
|
|
/**
|
|
* Describes the file latency_tracker.proto.
|
|
*/
|
|
export const file_latency_tracker: GenFile = /*@__PURE__*/
|
|
fileDesc("ChVsYXRlbmN5X3RyYWNrZXIucHJvdG8SBXByb3RvIk4KE1Byb3RvVGltZXN0YW1wRW50cnkSDQoFc3RhZ2UYASABKAkSKAoEdGltZRgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiWgoTUHJvdG9MYXRlbmN5VHJhY2tlchITCgtzZXF1ZW5jZV9pZBgBIAEoCRIuCgp0aW1lc3RhbXBzGAIgAygLMhoucHJvdG8uUHJvdG9UaW1lc3RhbXBFbnRyeUIWWhRyZWxheS9pbnRlcm5hbC9wcm90b2IGcHJvdG8z", [file_google_protobuf_timestamp]);
|
|
|
|
/**
|
|
* @generated from message proto.ProtoTimestampEntry
|
|
*/
|
|
export type ProtoTimestampEntry = Message<"proto.ProtoTimestampEntry"> & {
|
|
/**
|
|
* @generated from field: string stage = 1;
|
|
*/
|
|
stage: string;
|
|
|
|
/**
|
|
* @generated from field: google.protobuf.Timestamp time = 2;
|
|
*/
|
|
time?: Timestamp;
|
|
};
|
|
|
|
/**
|
|
* Describes the message proto.ProtoTimestampEntry.
|
|
* Use `create(ProtoTimestampEntrySchema)` to create a new message.
|
|
*/
|
|
export const ProtoTimestampEntrySchema: GenMessage<ProtoTimestampEntry> = /*@__PURE__*/
|
|
messageDesc(file_latency_tracker, 0);
|
|
|
|
/**
|
|
* @generated from message proto.ProtoLatencyTracker
|
|
*/
|
|
export type ProtoLatencyTracker = Message<"proto.ProtoLatencyTracker"> & {
|
|
/**
|
|
* @generated from field: string sequence_id = 1;
|
|
*/
|
|
sequenceId: string;
|
|
|
|
/**
|
|
* @generated from field: repeated proto.ProtoTimestampEntry timestamps = 2;
|
|
*/
|
|
timestamps: ProtoTimestampEntry[];
|
|
};
|
|
|
|
/**
|
|
* Describes the message proto.ProtoLatencyTracker.
|
|
* Use `create(ProtoLatencyTrackerSchema)` to create a new message.
|
|
*/
|
|
export const ProtoLatencyTrackerSchema: GenMessage<ProtoLatencyTracker> = /*@__PURE__*/
|
|
messageDesc(file_latency_tracker, 1);
|
|
|