fix: revert VP9 neko config to fix laggy mouse movement#185
Merged
hiroTamada merged 1 commit intomainfrom Mar 23, 2026
Merged
Conversation
The VP9 capture config added in #175 causes significant input latency in live view on 4-vCPU unikernel instances. VP9 encoding with 4 threads starves the input processing pipeline, resulting in laggy mouse movement. Reverting to Neko's default codec (VP8) restores the responsiveness seen in v34 and earlier. Made-with: Cursor
ulziibay-kernel
approved these changes
Mar 23, 2026
rgarcia
approved these changes
Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Summary
neko.yamlthat was added in [kernel-cus-78] feat: update neko config #175, reverting to Neko's default codec (VP8)Problem
The VP9 encoder config introduced in v35 (#175) causes significant input latency (laggy mouse movement) in live view on 4-vCPU unikernel instances. VP9 encoding with
threads: 4saturates all available vCPUs, starving the input processing pipeline.This was confirmed by deploying v33, v34, and v35 side-by-side on the same dev metro — v34 (pre-#175) feels responsive while v35 (post-#175) has noticeable mouse lag.
Fix
Revert to Neko's default codec (VP8), which restores the responsiveness seen in v34. VP9 tuning can be revisited later with either:
cpu-used: 8,threads: 2)Test plan
Made with Cursor
Note
Low Risk
Low risk config-only change that removes a custom VP9 encoder pipeline; primary risk is unintended codec/quality behavior changes in WebRTC clients after reverting to defaults.
Overview
Reverts the custom
capture.videoVP9 configuration inimages/chromium-headful/neko.yaml, removing the tuned GStreamervp9encpipelines and related params.Neko will fall back to its default capture/codec settings (expected to reduce CPU usage and input latency, at the cost of any VP9-specific quality/compatibility tweaks).
Written by Cursor Bugbot for commit a5d0a39. This will update automatically on new commits. Configure here.