github Nonary/vibeshine 2.23.5
Vibeshine 2.23.5 (Nightly)

pre-release2 hours ago

This is a nightly release of Vibeshine 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.

Commit log

Source: decfe8b7a9a7

Since the preceding successfully published nightly 2.23.0: compare exact sources.

39ff03ae4795

fix(linux): Hold KMS capture through brief framebuffer gaps (#441)

* fix(linux): Hold KMS capture through brief framebuffer gaps

A modeset can clear the captured plane's framebuffer for a few frames,
for example when the compositor reconfigures outputs or a display wakes.
Capture returned reinit on the first such frame. The new generation then
ran while the output was still reconfiguring, found no plane with a
framebuffer, and the stream froze or ended.

Hold the last frame while the plane has no framebuffer, and reinitialize
only when the gap lasts 5 seconds, so an output that is off or moved to
another plane still recovers. Log once when a gap starts and once when
the framebuffer returns, not at the frame rate. The policy lives in
framebuffer_gap_t, which the new KmsFramebufferGap tests cover.

A reenumeration during the gap found no active planes and published an
empty monitor map. The configured output name then no longer resolved,
so capture did not reattach until a new session. Keep the previous map
when an enumeration finds no active monitor, and return before the
desktop size is reset, because a display created from the kept map
copies that size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(linux): Keep KMS framebuffer gaps in the running capture

Review of the previous commit found three problems.

Managed KMS capture still reinitialized on the first empty export:
capture_presentation_events() returned reinit before refresh() reached
the gap timer. Apply the same grace period to confirmed empty exports.
Hold the last frame through the existing push callback, and let the
idle presentation wait pace the next export. Ordinary presentation idle
does not change.

The first framebuffer after a gap could belong to another output. The
plane could move to another CRTC, or another connector could take over
the captured CRTC, and a frame of the same size passed the dimensions
check. Before capture accepts that framebuffer, it now rereads the
plane's CRTC and the selected connector's binding, and reinitializes if
either one changed.

Keeping the previous monitor map when an enumeration found no active
monitor let cached names stand in for a current framebuffer in the
guard that retires the previous scanout. Return only the current
enumeration. The capture worker already reenumerates on every retry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(linux): Reinitialize KMS capture when a framebuffer gap ends

A second review of the gap handling found four problems.

The running generation accepted the first framebuffer after a gap when
the connector and plane CRTC IDs and the framebuffer size were the
same. That did not show that the output was unchanged. The modeset
could have moved the CRTC origin or changed the compositor's output
placement or scale, which init() cached. On a shared-CRTC clone,
connector_id names the last connector on the CRTC, not the selected
one, so the check could read a clone that stayed while the selected
output moved. A failed framebuffer lookup also cleared the gap before
the check ran, so the next frame skipped it.

Hold the last frame during the gap as before, but end the generation
when a framebuffer returns. init() then rebuilds the plane, connector,
and geometry from the live state. Only a framebuffer that capture read
ends the gap. During a gap, a failed lookup continues the gap and
counts toward the limit. Outside a gap, it skips the frame as before.
The ID checks are no longer needed, so they are removed.

The driver can report a completed disable as an empty frame while a
later commit stays pending. The pending timer starts first, and both
timers last five seconds, so the pending check ended capture with a
terminal error before the gap expired. A commit that stays pending
through a framebuffer gap now reinitializes capture, which the capture
worker retries. Outside a gap, a pending commit still ends capture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

4ce64fb92f97

fix(pyrowave): preserve fine detail in discarded blocks

Apply the wavelet band distortion weight when considering full block removal. This avoids undervaluing fine detail and improves image fidelity at a fixed bitrate. Include the regenerated shader and a static-detail regression test.

Co-authored-by: Codex <noreply@openai.com>

3695c91043dc

fix(pyrowave): improve rate allocation and update codec

Price each wavelet transition by its incremental distortion to preserve more detail within the frame budget. Update the vendored codec and Granite to the frozen v1 bitstream while keeping the existing GameStream compatibility identifier and integration patches.

Co-authored-by: Codex <noreply@openai.com>

15d41f3484ca

Merge remote-tracking branch 'origin/canary' into canary

32a76865b666

fix(pyrowave): Reserve only feasible critical parity per frame

Small frames could lose image quality to a parity reserve larger than the sender could use. Match the wire budget to the protected packet count and document the resulting Moonlight rates.

Co-authored-by: Codex <noreply@openai.com>

decfe8b7a9a7

fix(linux): Reopen KMS capture when the active output changes

Hold the last frame through a brief modeset. Reopen capture when the
selected connector disconnects or moves, a replacement plane becomes
readable, or the managed DRM device or capture helper disappears. Keep
malformed presentation replies fatal.

Read the physical framebuffer before staging HDR changes so a single
reinitialization picks up the new geometry and color metadata together.
Track the requested connector when outputs share a CRTC.

Exercise the production wait and export paths with simulated DRM replies,
cover a real helper socket disconnect, and expire the pending-commit test
after its first hold without relying on scheduler timing.

Co-authored-by: Codex <noreply@openai.com>

Don't miss a new vibeshine release

NewReleases is sending notifications on new releases.