CAPTURE → DISPLAY LATENCY
36.0 → 9.2 msp95 from 40.4 to 10.7 ms
Captures fall from 363.5 to 59.8 per second and the media server from 5.69 to 1.01 CPU cores. A 9-line fix in txproto.
Method in txproto #2Very-low-latency remote control.
Twelve pull requests, with evidence.
THE PROJECT / KYBER
Kyber controls remote machines, from desktops to robots, with the lowest possible latency. It is built on FFmpeg, VLC and QUIC and split across several repositories: the client, the media server, the controller, the txproto capture library and the documentation.
0cf0d039THE MEASURED RESULTS
On a virtual X server (Xvfb, Xvnc, the dummy driver, common on remote machines), a display mode without timings disabled the capture rate limit: 364 captures per second for 60 useful ones. Ten interleaved pairs on a quiet machine, with a shared lock and foreign CPU sampled.
CAPTURE → DISPLAY LATENCY
36.0 → 9.2 msCaptures fall from 363.5 to 59.8 per second and the media server from 5.69 to 1.01 CPU cores. A 9-line fix in txproto.
Method in txproto #2HOST WITHOUT PULSEAUDIO
0 → 2,072Without a PulseAudio server the whole session stopped, video included, and the capture library aborted. Video now runs on its own; with PulseAudio, nothing changes.
End-to-end check in kymedia #3Real 60 Hz displays are not affected by the capture fix: the gain is for virtual X servers only.
THE PULL REQUESTS
Each PR is independent unless stated, with its tests and validation. They are open for review on the GitHub mirrors before any proposal to Kyber.
| Contribution | What changed | PR | Status |
|---|---|---|---|
Capture rate on virtual X | A mode without timings keeps the default 60 fps instead of removing the capture limit. | txproto #2 | In review |
PulseAudio connection failure | The media server aborted when no PulseAudio server was reachable; it now reports a clean error. Same code in the original cyanreg/txproto. | txproto #1 | In review |
Video without an audio server | Video no longer depends on a PulseAudio server; with one, audio works as before. | kymedia #3 | In review |
Configuration examples | Every configuration example used section names the server does not read; one TOML block was invalid. Each snippet was loaded by the real binary. | docs #1 | In review |
Linux runtime guide | About 20 missing libraries and glibc 2.39 listed; patchelf replaces an ld.so.conf.d step that made the whole system load Kyber’s libraries. Commands run as written on Ubuntu 24.04. | docs #2 | In review |
Disabled auth backends | A disabled backend whose key file was missing stopped the controller at startup; disabled backends are no longer built. | kyctl #3 | In review |
Client bitrate shortcuts | With --bitrate 2M, the “lower” shortcut sent −3,000,000 to the encoder; shortcuts now saturate. | desktop #1 | In review |
Controller bitrate split | The per-stream share saturates instead of wrapping to a negative value. | kyctl #2 | In review |
Runtime minimum bitrate | minimum_bitrate now applies to bitrate changes during a session; whether that is intended is left to the maintainers. | kymedia #2 | In review |
Unknown keys, media server | A misspelled section or key was silently ignored; it now produces a warning. No false positive on the shipped configuration. | kymedia #1 | In review |
Unknown keys, controller | The same warning on the controller side. | kyctl #1 | In review |
Build script options | Removes the documented but nonexistent -n/-f options; an unknown option is now an error. CI options unchanged. | desktop #2 | In review |
Status snapshot: 2026-12-05 UTC. “In review” means open on a personal mirror; nothing has been merged into Kyber.
THE TOOLS / WHAT THEY ACTUALLY DID
The tools supplied the environments and the measurements; the patches came from reading the code.
The runtime requirements were established across 25 distroproof VMs, then the guide’s commands were run as written in an Ubuntu 24.04 VM with the noble package: the three services start.
omn diff located the CPU saved by the capture fix in swscale. A faster fast_bilinear colour conversion was measured over 8 pairs and rejected: −6% CPU, but luminance degraded (PSNR Y −0.48 dB) and latency +2%.
VALIDATION & LIMITS
Builds and end-to-end streams ran in Debian Trixie and Ubuntu noble containers and VMs. What was not available is stated rather than assumed.
REVIEW
Each PR describes the problem, the change, the commands run and the limits of its validation.
THE GITHUB MIRRORS