This is a nightly release of Vibepollo and contains several bug fixes and may contain new features. Check the commit log for more information.
Windows installer · Linux (Arch x86_64)
Nightly Windows installers are unsigned and include self-signed gamepad components. They may cause false-positive antivirus alerts.
Source: 30ba947e6992
Since the preceding successfully published nightly Commit log
2.20.1: compare exact sources.
fix(crypto): build against OpenSSL 4
OpenSSL 4 makes ASN1_STRING opaque and returns a certificate's subject
name as const, so crypto.cpp and two test fixtures stopped compiling
once Homebrew linked openssl@4. Read the signature through
ASN1_STRING_get0_data and ASN1_STRING_get_length (ASN1_STRING_length is
deprecated in 4.1), and build the self-signed certificate's name with
X509_NAME_new before setting it as subject and issuer. Both paths still
build against OpenSSL 3.
merge: bring macos up to date with upstream canary
Merge Nonary/Vibepollo canary at 4cf32b237 (2.2.0-77-g4cf32b237).
fix(macos): give function, arrow, and keypad keys their own flags
Key events were posted with only the held modifiers as flags. On a real keyboard, function, arrow, and navigation keys also carry the secondary-function flag (and arrows and the keypad the numeric-pad flag), and system shortcuts are stored with it: Control-F2, Control-F3, and Control-Up didn't fire from a client's keyboard.
feat(nvhttp): report the host's platform in serverinfo
Add HostPlatform (windows, linux, or macos) so a client can offer controls that fit the host, such as keys for its system shortcuts. Clients that don't know the field ignore it.
feat(macos): add a native touchscreen for macOS 27 through a signed helper
On macOS 27, fingers from a client reach the Mac as a real HID
touchscreen on the streamed display, so taps, drags, and pinches are
direct touches instead of emulated clicks and scrolls. The pen keeps its
tablet events.
A virtual HID device needs com.apple.developer.hid.virtual.device, which
Apple grants without review only for development signing. So the host
stays unentitled and a small helper app in Contents/Helpers owns the
IOHIDUserDevice:
- The host checks the helper bundle on disk (valid signature, fixed
identifier, the host's own team, and the HID entitlement) before it
spawns it, then checks the running process by pid before sending it
anything. The build signs the helper without the entitlement, so
release builds never start it and keep the emulation;
scripts/macos_sign_touch_helper.sh signs it with a development profile.
- They talk over an anonymous socket pair on fd 3. The helper checks
that the peer is its parent and is the host signed by its team, takes
no arguments, and exits when the host does.
- Each display gets its own touchscreen, chosen with pointer_display()
and bound with the displayUUID property that SkyLight reads. It is made
when a client connects and left alone for 300 ms, because macOS drops
reports that arrive before it has attached a new digitizer; touches
queue meanwhile. It is cancelled, waiting for the cancel, when the last
stream on its display ends.
- Every report names all ten contact ids in fixed places. Ids are reused
lowest first, under BackBoard's limit of 30, every contact reports
Touch Valid, and a lift clears In Range (leaving it set is a hover).
Unsent updates merge only when they hold the same touching fingers, so
a landing or a lift is never skipped.
- CANCEL_ALL only lifts fingers and never starts the helper. A missing,
unsigned, or dead helper falls back to the emulation, logged once and
retried after 30 seconds.
macOS 27.2 has no touch gesture for a hidden Dock or menu bar and no
larger layout for touch; docs/macos_touch.md covers that, the setup, and
what happens without the helper.
merge: bring macos up to date with upstream canary
fix(macos): use the numeric version in the touch helper's Info.plist
The app's Info.plist now takes PROJECT_VERSION_NUMERIC, because a bundle version must be numeric and a prerelease suffix isn't. Give the touch helper the same, so the two bundles agree.
fix(macos): capture the shutdown flag explicitly
(cherry picked from commit d044f74c05dfc6c066756e9c086f20116da094cf)
fix(macos): stop waiting without limit for send buffer space
When a client drops off the network, macOS keeps the UDP socket
flow-controlled and never reports it writable again. platf::send then sat
in poll() with no timeout, so the video and audio broadcast threads never
returned, the session that owned them could not end, and the RTSP handler
blocked in end_broadcast. The host kept answering launch and resume but no
stream could start until it was restarted.
A packet now waits at most 50 ms for room, checking the caller's
cancellation in between, and is dropped after that; it would be late for a
live stream anyway. The drop is logged at most once every five seconds.
fix(macos): keep a slow or stuck touch helper from holding up the host
- Check the helper's signature and spawn it on a launcher thread. It ran
on the input thread when a touch started the helper, and again every 30
seconds on builds whose helper has no entitlement. A gesture that
arrives meanwhile is emulated, so one is never held for a helper that
turns out to be unusable.
- Stop a helper that doesn't answer a create within five seconds, and
end one that doesn't exit within two seconds of being told to, so touch
falls back to the emulation and closing a stream never waits on it.
The helper bounds its own wait for a cancelled device the same way.
- Mark both ends of the socket pair close-on-exec, so no other process
the host starts can hold the connection open after the helper exits.
- Never drop the newest contact state when the outgoing queue is full; a
dropped last lift left the finger down.
- Hand out device ids in turn, so a reply about a device that was just
removed is not taken for one about the device made right after it.
- Set the device's cancel handler before activating it, as the header's
example does.
- Stop an idle helper whose streams all ended while it was starting, and
say which signal ended a helper that died before it was ready.
docs(macos): point native_pen_touch at the direct touch page
The setting still said macOS has no way to inject multi-touch, and nothing
linked to docs/macos_touch.md.
fix(macos): restart without closing guarded descriptors
restart_on_exit closed every descriptor before re-executing. System
frameworks guard some of theirs, and closing a guarded descriptor ends the
process with EXC_GUARD, so each restart crashed and was only brought back
by launchd. The descriptors are now marked close-on-exec instead, which
closes them when the new image starts.
fix(macos): list a display that has no screen yet by its number
A display can be active before it has an NSScreen, or after its screen is
gone, as a virtual display is while it is made or removed. Its name was
then nil, and putting nil in the dictionary threw and aborted the host.
fix(macos): don't wait again on a display that just sent no image
An encoder probe tries a display once per encoder and codec, and a failed
probe is repeated while clients ask the host for its status. Each try on
a display that sends nothing, such as a built-in panel that is off, waited
the full three seconds, so a status request took about twelve and clients
saw the host as offline.
A display that sent no image is now taken to still send none for fifteen
seconds, and then gets a real try again. A status request waits at most
once in that time.
fix(linux): request the non-LP VA-API entrypoint when no LP entrypoint exists (#419)
The VAAPI encoder options always request `low_power=1`. `init_codec_options()`
selects the real entrypoint, but only touched `low_power` in the LP case. On
drivers that expose only `VAEntrypointEncSlice` (radeonsi on RDNA 4, for
example), FFmpeg therefore failed the first open of every encoder with
"No usable encoding entrypoint found" and the stream only started through the
fallback retry.
Set `low_power=0` when the selected entrypoint is not `EncSliceLP`, so the
first attempt matches what the driver offers. Drivers with an LP entrypoint
are unchanged.
Related to Nonary/Vibepollo#707.
Claude-Session: https://claude.ai/code/session_01WKZ7bicazGTG9obHcNDmuv
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
(cherry picked from commit 5a90e9f009f3af633032422cbde73b575da77800)
fix(linux): Apply captured output LUT in VA-API conversion
KMS frames carry the scanout gamma LUT, but the VA-API converter
left the shader LUT at identity. Apply the captured LUT before
color conversion so the shader receives the intended curve.
Exercise LUT changes, resets, and a missing-upload control.
Refs Nonary/Vibepollo#707
Supersedes Nonary/vibeshine#409
Co-authored-by: Codex <noreply@openai.com>
(cherry picked from commit 0d5c634a438d9584aa77de0570bf741fa4e020a3)
fix(linux): Enable wide color gamut on managed HDR outputs
KWin can enable PQ independently of wide color gamut. Activate and
verify both on managed HDR outputs so capture uses the BT.2020
container expected by the encoder. Restore the saved gamut setting
through the same bounded desktop transaction.
Refs Nonary/Vibepollo#707
Co-authored-by: Codex <noreply@openai.com>
(cherry picked from commit 32a6672b1923fc3c3025d066c58776d0903ad98d)
test(ci): exercise current driver publisher trust guard
Execute the actual publisher conditional across parent-install, daily unsigned
and certificate-present cases. Verify certificate and signer arguments rather
than requiring the old conditional spelling; retain all security safeguards.
Give the thread-name fixture unique OS seams so host pthread declarations
remain intact, and exercise exact 15/16-byte truncation boundaries.
(cherry picked from commit 27ade6d14bd8874b8e074cc1293f7fb7046ea779)
fix(web): Correct minimum FPS help in every locale
Translated help still described zero as half the stream FPS after the
base English help was fixed. Explain the 20 FPS default and the
path-specific zero behavior in both web interfaces.
Refs #415
Co-authored-by: Codex <noreply@openai.com>
(cherry picked from commit 3abeaa28a801fd664db858c6844cf3c509bdd979)
fix(display): Honor explicit virtual display layouts
Extended + Primary left the virtual monitor secondary when Verify Only
reached the display helper. Apply the chosen layout when display automation
is enabled and let explicit app or client virtual overrides apply it even
with automation disabled. Carry the override through resume and recovery
while preserving physical display preparation on fallback.
Addresses Nonary/vibeshine#390
Co-authored-by: Codex <noreply@openai.com>
(cherry picked from commit 3897378f2b827eca7a630d06fd0aa1611850b005)
test(display): Exercise effective virtual layout preparation
The display helper now skips topology preparation when the effective
policy is disabled. Enable preparation in the HDR and topology fixtures
and verify both enabled and disabled requests in the affected suites.
Co-authored-by: Codex <noreply@openai.com>
(cherry picked from commit ab4cace403a9fa6dd476f4a830092d7ef63ac502)
test(rtsp): Exercise pending Remote Monitor retirement
Run the real retirement, pending-hold release and finalization paths for early startup rejection. Verify that rejected monitors can retry immediately, their display identity reaches cleanup, and late exceptions keep the pending transport.
(cherry picked from commit 0777128b958efa4c04d31fddc94453377a355444)
Co-authored-by: Codex <noreply@openai.com>
fix(webrtc): Preserve Linux legacy display routing
Keep the browser launch fields tied to virtual-screen. Treating the older virtual-display flag as an explicit browser request makes physical Hyprland streams fail before capture. Check that the flag retains its downstream RTSP meaning without changing browser routing.
Co-authored-by: Codex <noreply@openai.com>
merge: bring macos up to date with upstream canary
Merge Nonary/Vibepollo canary at 2b0608e24 (2.20.0).
docs(macos): say up front what direct touch needs
Direct touch only works on a build the user signs with Apple's HID
Virtual Device (development) capability, and only with a Moonlight
client that sends native touch. Say both at the top of the page and in
the native_pen_touch entry, so nobody expects it from a release build.
Also correct the note on interface size: a Mac with a built-in
touchscreen enlarges window buttons and menus under a finger, and that
does not happen with the virtual touchscreen.
feat(steam): Add opt-in Big Picture for streamed games
Offer a controller-friendly overlay for Steam-mediated library launches.
Request Big Picture before launch and leave it at terminal app teardown,
including when it was already open. Keep resumable disconnects and
failed optional commands from interrupting the game.
Co-authored-by: Codex <noreply@openai.com>
(cherry picked from commit c6190e04963284131a0e0b60c4a287c60ac76d71)
fix(steam): Keep Big Picture teardown from starting Steam
Direct Linux close requests to the running client so an app ending after
Steam already exited cannot cold-start it. Retain URI activation for
portable opening, where starting Steam is expected.
Co-authored-by: Codex <noreply@openai.com>
(cherry picked from commit a80e02cc3d2af2bf38090b2cfa5fc7e7fa0008bc)
fix(stream): Report socket errors when video sends fail
Frame-abort warnings omitted the socket error, and separate socket
warnings could be throttled. Record batch and datagram errors on the
failed frame, and report the first failure promptly for each session
before summarizing repeated failures.
Refs: #772
Co-authored-by: Codex <noreply@openai.com>
merge: bring macos up to date with upstream canary
Merge Nonary/Vibepollo canary at d7186e107.
Upstream now reports the socket error from a failed send. In the macOS
send, keep the bounded wait for buffer space and report EAGAIN when a
packet is dropped for it.
Merge pull request #775 from benjweaver/macos
feat(macos): add a native touchscreen for macOS 27 and fix host hangs and restart crashes
fix(tests): Keep the WGC RTP send replay in sync
The Arch package check replays production send accounting, which now
includes socket diagnostics in the frame-abort exception. Extract the
production exception type and supply the modeled send inputs so the
replay still checks partial sends without changing runtime behavior.
Co-authored-by: Codex <noreply@openai.com>