Repository navigation
Releases
VFrameGen 1.0.0-beta.9
- Frame generation works with Vitrail shader packs on Vulkan (tested with Vitrail 0.13.0-beta,
Sodium 0.9.2 and Complementary Reimagined r5.10 on an RTX 4050). Joining a world no longer crashes
with "Close the existing render pass before creating a new one", mobs no longer disappear and the
held item no longer leaves artifacts. Blocks seen through water stay put between generated frames,
and moving mobs no longer drag the blocks behind them. A pack's own motion blur gets the same
warning as with Iris.
Full Changelog: v1.0.0-beta.8...v1.0.0-beta.9
VFrameGen 1.0.0-beta.8
- Sharper generated frames with the Temporal upscaler: they read its image with a sharp filter
instead of a plain blend between pixels, which made them about 5% softer than the real frames
around them (fine textures such as grass shimmered between sharp and soft while moving). Now they
match. - New experimental setting, off by default: Follow mobs turning (Mod Menu → VFrameGen →
Quality). Generated frames also turn moving mobs with their body, not only move them. Uses the
game's own body rotation, so it works with model mods such as Entity Model Features. No visible
difference in tests yet. - On OpenGL (or with the present thread off), when the GPU has no time to spare between frames
(typical on integrated graphics), generated frames reach the screen late, right before the next
real frame: motion judders, moving mobs can look torn and the screen can flicker in brightness.
Vulkan with the present thread on (the default) is not affected. VFrameGen now says so once in the
game log when it happens, and the README lists it under known issues. - Debug: with F8 captures and the frame log both on, F8 also saves the next 24 frames in a row.
- Correction to the 1.0.0-beta.7 notes: the optical-flow edge fix applies to both kinds of optical
flow (NVIDIA hardware and the shader version on other GPUs), not only NVIDIA. It was measured on
NVIDIA.
Full Changelog: v1.0.0-beta.7...v1.0.0-beta.8
VFrameGen 1.0.0-beta.7
- More real fps with frame generation on a GPU that is already busy. The auto frame cap lowered the
real frame rate whenever generated frames came out off time, and kept lowering it, down to half,
even when that didn't help (the GPU, not the cap, was the limit). It now checks each step down,
goes back up when it didn't help, and waits longer before each new try. On a Radeon 660M at 1080p
(2x) real fps went from 44 to about 52. - Motion blur is cheaper with the same look: whether a pixel is GUI or the held item is worked out
once per real frame instead of again for every blur sample on every shown frame, and short smears
take fewer samples. Together about 9 more real fps on the 660M with motion blur on. - Cleaner edges in generated frames with optical flow on (NVIDIA): the edges of nearby blocks, such
as a tree trunk you walk past, no longer bulge or leave dark streaks. Optical flow is now left out
right at the edge of a nearby block, where depth already moves it exactly; mobs keep it. No
measurable cost.
Full Changelog: v1.0.0-beta.6...v1.0.0-beta.7
VFrameGen 1.0.0-beta.6
- Fixed frame generation failing on the first generated frame (and the game then crashing) on OpenGL
without Sodium. The game's own OpenGL renderer lets a draw read only 12 textures, and a generated
frame read 14. VFrameGen now checks the limit: without enough slots, optical flow and drawing
generated frames at the render scale are left off by themselves, and a failure can no longer crash
the game afterwards. Sodium raises the limit, so nothing changes with Sodium installed, or on
Vulkan. - Fixed a crash on joining a world with the official Iris release and shaders off ("Use of a disposed
LocalRef").
Full Changelog: v1.0.0-beta.5...v1.0.0-beta.6
VFrameGen 1.0.0-beta.5
- Coming up: better compatibility with other mods will be the main focus of the next few betas,
along with smoothing out the experience on more hardware setups. - Generated frames are cheaper to make: the second real frame is only searched where it is used,
and each search stops once it has found its pixel. On a Radeon 660M at 1080p a generated frame
went from about 9 ms to about 4.3 ms of GPU time, with the same picture. - Below 100% render scale, generated frames are drawn at the render scale and upscaled like the real
frames (same upscaler, sharpening and anti-aliasing), with the GUI and held item kept at full
resolution. With the Temporal upscaler, which generated frames can't use, the new
"Generated-frame upscaler" setting picks Full resolution, Bicubic or Edge-adaptive. - Adaptive mode keeps generated frames within a share of the GPU's time. On GPUs where a generated
frame is expensive (a laptop iGPU at 1080p), asking for more of them to reach the target slowed
the real frames, which then asked for even more: real fps could fall from 60 to 15.
Full Changelog: v1.0.0-beta.4...v1.0.0-beta.5
VFrameGen 1.0.0-beta.4
- Shader optical flow ignores blocks with almost no texture (sky, fog, plain walls), where its matches were noise.
- Optical flow on every GPU (experimental where there is no optical flow hardware: AMD, Intel, or
NVIDIA on OpenGL). It is measured with shaders, as a coarse-to-fine block search in the spirit of
FSR 3's optical flow (draw passes, since the game's renderer has no compute shaders), with a
median filter against wrong matches. Its measuring resolution follows its GPU time (about 1 ms at
most), so slower GPUs measure smaller. NVIDIA RTX on Vulkan keeps using its optical flow hardware.
The setting is now "Optical flow (beta)"; its tooltip says which kind your GPU uses. - The Quality preset turns optical flow on, and the Low-end preset turns it off (its GPU time goes to
the real frames instead).
Full Changelog: v1.0.0-beta.3...v1.0.0-beta.4
VFrameGen 1.0.0-beta.3
-
Hardware optical flow on NVIDIA RTX (20 series and newer, Vulkan), in beta: the GPU's optical flow unit
measures how the picture moved between the two real frames, and generated frames follow the part
depth reprojection cannot see (mob limbs, fire, particles, water, animated textures). Camera and
whole-entity motion still come from depth; the flow is used only where both directions agree and
it differs from depth by more than a couple of pixels. On by default where supported (setting
"Hardware optical flow", greyed out on other GPUs); interpolated mode only. About 0.25 ms of
render-thread time per real frame. Beta: tested on an RTX 4050 only so far; turn it off if
generated frames look wrong. -
Screenshots (F2) with render scale below 100% (for example dynamic render scale with a shader
pack) were the small world image without the GUI. They are the full-size picture again. -
Adaptive frame generation can go up to 8x (fixed multipliers stay at 2x to 6x), for very low
real frame rates. -
Adaptive mode asks for fewer generated frames whenever some get dropped (drawn, but no swapchain
image free when due): they cost GPU time and were never shown. The ceiling moves in tenths and
recovers within seconds once drops stop. -
Fixed input lag and the game slowing down and catching up in waves with the present queue: frames
could queue two or three real frames deep. The queue is now kept about one real frame deep
(generated frames beyond that are not drawn), which also gave real frames their GPU time back. -
Generated frames no longer go missing with a GPU-heavy shader pack on Vulkan (NVIDIA): each one
now takes a swapchain image only when it is due, on a second queue of its own, instead of holding
one while it waits. Before, with the render thread a frame ahead, the swapchain ran out of images
and adaptive mode fell well short of its target (for example ~130 of 180 fps). Used only with a
plain 8-bit sRGB swapchain (not with an HDR mod) and when the GPU has a spare graphics queue;
otherwise frames go through the swapchain as before.
Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3
VFrameGen 1.0 Beta 2
- Blocks next to moving entities no longer flicker in generated frames. Only pixels an entity
actually drew move with it: the depth is kept from before entities are drawn (they get a pass of
their own), so the floor under a mob and walls beside it stay put. Works with shader packs too
(with Iris the entities are drawn just before the held item, so depth of field still focuses on
them). The padded box around each entity also no longer reaches below its feet or into blocks
beside it. - Motion blur no longer smears moving entities the camera follows: each entity's own motion since
the previous shown frame is taken out of the blur on the pixels it drew (interpolated mode).
Full Changelog: v1.0.0-beta.1...v1.0.0-beta.2
VFrameGen 1.0 Beta 1
First beta: all planned features are in.
-
Moving entities in generated frames: mobs, players, boats and minecarts now move with their own
motion between real frames instead of only the camera's (they used to jump to the next real frame's
position, a stutter). Root motion of the 32 nearest entities, from their bounding boxes, so it works
the same with model mods (EMF/ETF, Fresh Animations). -
Temporal upscaling (Upscaler: Temporal): the world renders with a sub-pixel jitter that changes
every frame, and a full-resolution history accumulates the samples (reprojected with depth, clipped
to the current frame's colours so changes don't ghost). Cleaner edges than the spatial upscalers,
and it anti-aliases (FXAA/SMAA are skipped), also at 100% render scale. The terrain sampler gets a
matching mip bias. Shaders off only for now (edge-adaptive with a pack). The Quality preset uses it. -
An unreadable config file is no longer lost: a copy (vframegen.properties.broken-) is kept
before settings are first saved over it; if the copy can't be made, that save is skipped. -
First-launch setup: on a fresh install, the first seconds in a world are measured, and a preset
and target frame rate (the display's refresh rate) are picked and announced in a toast. Existing
configs are left alone; set firstRunPending=true in the config to run it again. -
Presets (General, on the Sodium page too): Low-end, Balanced and Quality set frame generation,
render scale, upscaling and anti-aliasing together; changing any of them by hand shows Custom. -
Dynamic render scale (Upscaling, off by default): lowers the render scale (down to 50%) when real
frames are too slow for the target frame rate, and raises it again when there is room, in 5% steps
(at most 15% at a time, at most every two seconds). It shares the target frame rate with adaptive
frame generation, aiming for half of it in real frames while frame generation is on; the render
scale slider is greyed out while it is on.
Full Changelog: v0.1.0-alpha.9...v1.0.0-beta.1
VFrameGen 0.1.0-alpha.9
- Blocks seen through water no longer shake in generated frames (with or without shaders): they were moved by the
water surface's depth, too far, and snapped back at each real frame. Generated frames now use the
depth from before water and other translucents are drawn (with Iris, the pack's depthtex1 copy). - Sodium integration: a VFrameGen page in Sodium's video settings with the main options (frame generation, upscaling, anti-aliasing, motion blur), and a button to the full settings screen.
- Anti-aliasing (Quality, off by default): FXAA or SMAA (the reference SMAA by Jorge Jimenez et al., MIT) on the world, before the GUI, so the HUD stays sharp
and generated frames are built from the smoothed image. Works with or without frame generation. - With render scale and shaders off, generated frames used the low-resolution image from before the
upscaler, so they were softer than real frames: fine textures such as water flickered between
sharp and soft (very visible with the edge-adaptive upscaler). They now use the upscaled image,
and the low-resolution one only where the held item was.
Full Changelog: v0.1.0-alpha.8...v0.1.0-alpha.9