Repository navigation
Releases
Celtium 0.3.3
Celtium 0.3.3
The final release of the current rendering engine. The build is main 85901595 (145 commits past the v0.3.2 tag). The gate is the full gate on the landing tree, all green (1,301 tests, 0 failures / 0 errors). The jar is celtium-forge-mc1.12.2-0.3.3.jar; its SHA-256 ships alongside it in the .sha256 asset.
This release exists so that everyone still on the current engine gets the fixes that landed after 0.3.2 — above all the startup crash below. The rendering engine is being rewritten from scratch as a Vulkan-native architecture, and no further releases of this engine line are planned. Reports against 0.3.3 are still read, but fixes will land in the new engine rather than in a 0.3.4, unless a problem blocks startup entirely.
Fixes
Crash during mod loading (access violation in the NVIDIA driver)
- The loading-screen flush reuses a cached
VkRenderPassBeginInfo. That struct was allocated without being zeroed, so itspNextfield held whatever the memory previously contained, and the driver could end up reading garbage at the very first flush — an access violation insidenvoglv64.dllduring mod loading, on every launch, only with celtium present. This was reported against 0.3.2 on a GTX 1650 Ti and traced from the reporter's logs. - The cached begin info is now zero-initialised at allocation and its
pNextis written explicitly (calloc+ explicitpNext = 0). The fix is in the exact call the crash was traced to.
BSL black wedge: the pow guard is now on by default
- 0.3.2 shipped a guard for fractional-constant-exponent
pow(base, exp)in the mod GLSL conversion, off by default and unverified at the time. A verification leg on the shipped 0.3.2 jar has since measured the anti-sun cone NaN gone with the guard on and reproduced with it off, so the default is flipped: the guard is on unless-Dceltium.vulkan.fractionalPowGuard=falseis set explicitly.
The GlStub removal (GLSM migration complete)
- The OpenGL stub layer is deleted. GL state handling now lives entirely in the GLSM state machine; there is no stub path left to fall back to.
- This landed on the §6 evidence pack: same-jar A/B presentation identity, counter equivalence between the old and new paths, a real-modpack check, and the frame-time distribution shape (P50/P95/P99), on top of the full gate above.
Other
- Terrain pipelines now share one descriptor set per sampler group via dynamic offsets, removing a per-region set accumulation cliff (item 678 B3). Internal instruments, refactors and contract-check updates also landed. None of these claims a performance advantage.
Celtium 0.3.2
Celtium 0.3.2
A hotfix for 0.3.1. It is centred on crash fixes; there are no new features. The build is main 692821cd0 (69 commits past the v0.3.1 tag 33989b027). The gate is the full PC gate on the release tree, all green (1,362 tests, 0 failures / 0 errors, 1 known skip). The jar is celtium-forge-mc1.12.2-0.3.2.jar, sha256 f63ea89ccb56dc7191d0750da137b2868fcb602fb3a7e5feb17202bac71f03d3.
Fixes
Crash at the flush boundary (descriptor-set use-after-free)
- After an immediate draw group was queued, if the descriptor set for its texture was evicted from the cache (a 64-key limit), the freed set could be bound at flush time and crash inside the driver. The hole was confirmed in the Texture family by walking the code originals; the flush now checks whether the prepared set is still in the cache, and rebuilds it if not (main
8592baec4). - An audit confirmed the same hole in the three sibling families — Item, Block and Particle — and the same check-and-rebuild was applied to all three (main
d8acd0657). The Item family shares the 64-entry limit with the Texture family, so this path was reachable in ordinary use. - Honest caveat: this fix has not been demonstrated on a live leg in the form "the eviction happened and the rebuild counter fired". In the verification leg the eviction interleave never occurred and the counter stayed at 0. The basis for the fix is the code-level proof of the hole, the contract tests (EvictedDescriptorRebuildTest 3/3, SiblingEvictedDescriptorRebuildTest 4/4), and the all-green full gate on the integrated tree. It is not claimed that the crash was reproduced under the failing conditions and then plugged.
Loading-splash misalignment (window problem 2)
- Right after launch, the loading screen was drawn frozen at the requested size (1280x720) instead of the window's real size — clipped on the right — and corrected itself partway through loading.
presentLoadingProgressnow aligns the layout dimensions to the swapchain's real extent (mainde6375a54). - Caveat: the targeted tests are all green, but no live verification leg has been run yet. The landing alone is not claimed to make the problem disappear.
A pow guard for the BSL black wedge (default off)
- As a countermeasure for the black wedge that appears on the anti-sun side with the BSL shader pack, a guard for fractional-constant-exponent
pow(base, exp)was added to the mod GLSL conversion (main529ccc3da). The root cause has been pinned down this far: NaNs arising inside the pack's volumetric-light path are converted to black. - This guard is off by default, and is enabled only with
-Dceltium.vulkan.fractionalPowGuard. - It is not written that BSL is fixed. The verification leg that measures whether the NaNs inside the cone disappear has not been run yet, and whether this resolves the wedge remains unconfirmed.
Twilight Forest shader link failures
- Twilight Forest shaders were failing to link because of
gl_NormalScale(7 of the 8 failures had this cause). The mod GLSL conversion now lowers it to aceltium_NormalScaleuniform (main96e8ee123). - Caveat: the acceptance leg (re-measuring the compile census) has not been run yet.
Other
- Bloom chain routing fix (main
e6da4ad83): the routing of terrain passes to the bound target was confirmed to fire, but the halo band still does not reach the presented image, and bloom is not claimed to be fixed. The problem lies further downstream and is still under investigation. - Also included: landings of internal instruments, refactors and performance experiments (the explicit-allocation experiment, which measured no difference; removal of the C1 ±Y shelves; the TickTimings latch fix; removal of dead declaration fields, and others). None of these claims a performance advantage.
Known residuals (not fixed in this release)
- Item 699: a path remains where
IndirectImmediateRunsholds a descriptor across rebuilds of subsequent groups within the same flush. It is outside the scope of the flush fix above and remains unfixed, as an existing residual common to all four families. - The BSL black wedge itself (as above: the guard is default-off and unverified).
- VUID-09600 is not resolved (it remains, as before).
Celtium 0.3.1
Celtium 0.3.1
A maintenance release for 0.3.0, cut the same day. It fixes two crashes and the Demonica menu corruption, and carries the performance work that landed after 0.3.0. The combined full gate for this release is common 119 / celtium-vulkan 1,108 / forge122 50 — 1,277 tests, zero failures and zero errors (one known skip).
What you will notice
- Menus render correctly with Demonica again. With celtium 0.3.0 + Demonica, the GUI was corrupted — text as white blocks, a black menu background, missing textures. All three causes are fixed (below); proof runs show the title menu, logo, buttons and the options screen rendering correctly with Demonica present.
- Placing an enchanting table no longer crashes the game. The same crash hit every tile-entity special renderer whose display list replays through the compatibility path — the enchanting-table book, chests, beds, banners, skulls.
- Alt-tabbing, minimising or resizing no longer crashes. A window surface that briefly reports a 0x0 size is now treated as something to wait out, not as a fatal swapchain failure.
Demonica GUI corruption: three stacked causes
The corruption was not one bug. Three separate defects stacked on the same GUI path, all where Demonica's bundled GLSM layer sits between the game and celtium:
- (a) Untextured batches were discarded. When GLSM's textured fixed-function program was bound and a position-only batch arrived, the attribute mapping failed and the batch was refused. Texture-disabled batches now take the built-in pipeline under a bound textured program instead of being thrown away.
- (b) Textured GUI draws never arrived. GLSM cancels BufferBuilder draws and reroutes them through its own renderer as VAO-described indexed draws; celtium's stub could not read that layout, so the textured draws (the menu background, the logo, the buttons) never reached the backend. The stub now decodes the VAO-described layout and serves those draws. In the proof runs the draw census matches the call census exactly, with zero refusals.
- (c) A line-width answer armed a program that could never link. The stub answered a line-width range that contradicted the real device, which made GLSM enable its geometry-stage wide-line emulation; the resulting program cannot link through celtium's two-stage lowering, and the client crashed in-world. The stub now answers the device's real maximum line width, so the emulation is never armed.
Also in: when Demonica's OpenGL profile resolves to a compatibility context — which latches celtium's honest GL 3.0.0 floor and stops Demonica — the log now prints a hint naming the setting to change (advanced.opengl_profile = CORE in config/demonica-options.json).
Crashes fixed
- TESR MemoryStack exhaustion (a 0.3.0 regression). The immediate flush held a single MemoryStack frame for the whole flush while per-group temporary allocations accumulated without bound, so placing enough tile entities — an enchanting table was enough — exhausted the stack and crashed. The per-group stack scope is restored (the stack cost is now constant in the number of groups, not a bigger stack), and the contract check that guards it is wired back into CI; it had been deleted when the regression was introduced.
- Swapchain 0x0 crash. When the window surface pinned a 0x0 extent (minimised, mid-resize, alt-tabbed), swapchain creation was refused, retried, and escalated to a fatal crash after about two seconds. A pinned 0x0 extent is now classified as awaiting a surface size: the client waits for a real size instead of escalating. Structural refusals (no usable format, no transfer/composite support) still refuse as before.
- Also in: pack terrain executions are now bracketed by a host-side state snapshot/restore guard, so a pack program cannot leak GL state into the passes that follow it.
Performance
- Region offsets through a binding-5 SSBO. Terrain region offsets are delivered through a shader storage buffer indexed by
firstInstance, replacing per-draw descriptor work — one descriptor bind per pass. On the landing measurement (agera steady window), the record-bind cost fell by about a quarter. - Global vertex/index arenas. Terrain geometry now goes into shared global arenas with indirect draw chaining inside a pass, instead of per-section buffers. On the landing measurement the per-frame draw-recording cost fell by roughly an order of magnitude on the flight scene.
- Graphics pipelines are no longer re-created every execution. Under shader packs, the pipeline cache key included a blend-state object whose hash code changed on every construction, so the cache missed forever and
vkCreateGraphicsPipelinesran on every execution. The blend state now has content-based equality. Measured on the Complementary pillar scene (PC, RX 6400): pipeline creations fell from 390 per leg (≈4.48 per frame) to 6 per leg.
No general performance-superiority claim is made for this release; the remaining gap on the integrated-graphics flight scene is still being worked on.
Known issues — stated plainly
- The BSL black wedge is not fixed in this release. With a shadow-capable BSL pipeline constructed, an unwritten cone can appear in the presented frame. Every celtium-side observation point has been compared between the broken and healthy configurations and is identical; the remaining locus is driver-side execution, and the investigation is continuing with GPU frame captures. It is not written as fixed.
- VUID-09600 is not resolved. A residual of 10 instances still appears in Complementary runs, as in 0.3.0.
- The Xaero minimap report from the same reporter is still being reproduced and triaged; nothing about it is claimed here either way.
Thanks
Most of this release exists because of reports from biyu_bu (밥다섯) — the Demonica GUI corruption, the swapchain crash, and the log returns that pinned them down. Thank you. (He is also credited in the README's new Special thanks section.)
Celtium 0.3.0
Celtium 0.3.0
387 commits (172 landings), 380 files, +34,356 / −8,455 lines since 0.2.5. The bulk is three waves of GL decoupling from Celeritas (PRs #426–#428), the 2026-11-21 all-out campaign (every one of the ~87 findings from a ten-lane code audit was triaged and disposed of), the shader-pack route on the in-core pipeline, and work driven by reporter issues. Two headlines. First, shader-pack terrain now reaches the presented image with its color intact — see "Shadows and shader packs". Second, the dynamic-lighting gain is measured. What is not established is stated plainly under "Known issues / not established". The test suite grew to common 119 / celtium-vulkan 1,078 / forge122 50 (combined full gate, zero failures and errors).
Shadows and shader packs: terrain color now reaches presentation
The gbuffers terrain programs of shader packs (Complementary Shaders / BSL) are translated and drawn on celtium's in-core pipeline, without going through the GL stub. This release removes the loss that happened after the draw: the color was drawn, but it never reached the presented image.
- What changed, measured. Complementary was run on the PC (RX 6400) in a rebuilt pristine pillar scene (five stone pillars and a floor). Before the fix, the presented image showed the pillars and floor only as untextured dark silhouettes in fog. After the fix, the presented image carries the stone texture on the pillars with per-face directional shading, the patterned floor running to the horizon, and the pack's clouds in the sky. The terrain color and shading the pack draws now survive to presentation.
- Root cause. The deferred output was being stolen by the water pass (gbuffers_water) behind it. The depth-less deferred1 publication could not be reused by the depth-carrying water pass, which claimed its own pair, overwrote the publication, and erased the deferred output in the per-frame clear — even when the water pass drew no geometry. A second defect sat in the color handoff that guards against this: when its source was chosen too broadly, it copied the previous frame's final image into the terrain pair and blew the frame out to white.
- The fix. Passes with no geometry return early so they cannot break the publication; MRT windows with depth use a depth-preserving render-pass variant; and the handoff source is confined to pairs actually written in the current frame. The fix's full gate passed all 1,235 tests (zero failures, zero errors).
- Also in: the fix for the presented image collapsing to a single-color void (a pre-transform wrongly applied to mod programs) and the terrain color publication fixes. The COLOR-form validation errors 00344 / 00900 measured 20 → 0. The DEPTH form of 09600 is disposed of, but 10 instances of VUID-09600 remained in the Complementary run above (this is not written as resolved).
- Updated after release (proof leg on the shipped jar). Cast-shadow shapes are now confirmed for Complementary: at pinned world time 1000 (~15° sun) a soft-edged dark wedge extends anti-sun from a pillar's base across the floor, and the same band is the brightest segment at noon — time-dependent and anchored, i.e. a real cast shadow. BSL v10.1.8 has now been run against this fix: it presents (the right ~42% is a real textured scene), but 57.8% of the frame on the left is pure black (mean exactly 0.0, stable, curved boundary) and no cast shadows are discernible — a separate BSL black-wedge defect remains. The wedge's root cause has since been identified (a NaN produced inside the pack's volumetric-light path) and a guarded fix has landed on main; it is not in v0.3.0 or v0.3.1, and a verification leg is still pending, so no fix is claimed yet. VUID-09600 remains at 10 instances, unchanged by the fix.
Dynamic lights (item 430): gain measured
- Fixed the root cause of dynamic lights not affecting terrain: the camera subtraction was applied twice (u_RegionOffset passed origin − camera while the shader subtracted the camera again), inflating distances so the light raise was identically zero.
- The gain is measured. In a dark scene (koenigsegg-agera, Intel HD Graphics 620, a torch item exposed in a fixture scene, one run each of OFF and ON), mean luminance of the floor-centre region rose from OFF 28.62 to ON 52.28 (+23.65). Control regions were essentially unchanged (sky +0.06, stone top +0.31, floor left edge +2.31), and the full-frame mean went 29.99 → 35.52. Only the floor near the light source rises; the distance does not — the correct falloff shape. In the instrumentation, ON fired the funnel's first raise at the moment the light source appeared; OFF recorded zero hits and zero raises.
- These are functional-run numbers on HD 620, not a performance yardstick on RX 6400.
- The funnel census (FUNNEL_SUMMARY) is now also printed at world exit. It previously had no call sites at all and depended on a JVM shutdown hook, so it never reached the harness log.
Reporter issues
- #422 (Karnatour, RX 7900 XTX): desk-side root causes for all four symptoms are fixed and ship in this release. (1) The purple tiles on the loading screen point to an RDNA3 surface-compression (DCC) inconsistency; the present path now defaults to transfer-only and its barriers were completed. (2) The world drawn offset by +y200 and leaves hanging in the air were caused by a single terrain uniform buffer being overwritten by in-flight writes; uniforms are now split into a per-slot ring. (3) Black water and missing leaves: the reporter's own log showed the terrain frame budget cap (4M vertices) being reached with batches dropped, so the default cap is removed (an explicit setting is still honoured). The full gate is green. Confirmation on the reporter's RX 7900 XTX is still outstanding — this is not written as verified fixed on that hardware. A retest on 0.3.0 is requested.
- #423 (밥다섯, GTX 1650 Ti, native crash in nvoglv64 on world creation): the fix itself shipped in 0.2.5; the reporter's real-hardware re-confirmation is still outstanding.
- #424 (yakan12, batched entity models render nothing with Efficient Entities): the original mechanism was addressed in 0.2.5. The residual fix — removal of the mapping re-read lifetime cap (64) — ships for the first time in this release. A retest on 0.3.0 is requested; this is not written as fixed.
- #425 (밥다섯, device lost during renderer reload teardown crashes the client): triage still waits on the reporter's logs, but defensive hardening ships in this release: the SimpleWorldRenderer rebuild destroy no longer aborts on exception, and the GPU backend's delete releases settled resources in stages and always detaches its registration even when a stage fails.
- Item 529 (밥다섯, vkCreateDevice fails with VkResult -3 after a renderer reload and the client fails hard): a graphics-device creation failure now bundles the result code, device name, enabled extensions and features, and the previous in-process device-loss record into the error. The fail-hard path was hardened, and attribution instruments for deferred-batch device losses (I1–I7) are in.
Fixed (crashes, hangs, lifetime)
- An exception in the render-section occlusion search could leave the inFlight flag set and freeze the frame every frame.
- RenderListManager inFlight leaks, and the teardown retryability contract (shutdown as a no-op contract, destroy in separate stages).
- The swapchain outOfDate verdict had no consumer and could hang acquisition; repeated acquire failures now raise the failure upward.
- If swapchain creation keeps failing, the client now escalates to a crash report at a cap instead of hanging on a silent black screen.
- Retire-queue entries could destroy resources of a previous device; entries are now tagged by owning device, deferred cleanup destroyers can no longer run on a successor device, and the device-lost exits of VulkanContext.delete now also drop the pipeline cache and retirements.
- GPU resources owned by a retired device could be released twice after device loss, a native-crash path; double destruction of a Vulkan context that never owned a device is also fixed.
- Command-buffer release now defers fences that still point at live submissions; repeated waits on the same fence under queue contention could stall progress.
- Deferred texture batches are submitted before the staging ring is reused, the image is recreated, or delete() runs.
- Deferred lifecycle accounting on the upload path (on failure and at teardown) and an arena growth guard.
- A failing teardown during renderer reload (resource reload) is now recorded and the new renderer is still created, instead of the teardown failure turning into a crash (hardening from the #425 report).
- A config file that is empty, whitespace or
null— or aqualityof null — no longer freezes the settings into read-only defaults that cannot be saved. - The rebuild dedup set in SimpleWorldRenderer is confined to the render thread.
Fixed (rendering and display)
- A LightCache key-packing collision that could swap upper/lower brightness at negative z (keys now use the vanilla BlockPos.toLong layout).
- Chain-pair color attachments lost their layout publication, producing validation errors 00344 / 00900 (measured 20 → 0). The validation error when a depth texture was used as a color target (the DEPTH form of VUID-09600) is also disposed of.
- Distant leaves rendered see-through (the leaves quality setting never reached the translucency path).
- Vertex normals were always bypassed due to reading the wrong settings class.
- The green component of the fog color was missing from the fog computation.
- Cloud color and brightness were always white because the cloud color publication was missing.
- The font atlas reused names across generations, a source of garbled text.
- The spawn-portal animation did not take its proper purple color.
- On integrated GPUs, draw-range vertex indices were not widened to 32 bits and rendering broke....
v0.3.0-422diag.1 — diagnostic build for #422 (a)
Diagnostic build for issue #422 (a) — the purple tiles on the loading screen (reported by Karnatour, RX 7900 XTX / AMD proprietary driver).
This is not a fix. The desk analysis of the reporter's screenshots showed the purple is one exact colour — RGB(170,85,255) — arranged in 16×16 screen tiles, and it does not sit inside the dirt texture itself: it appears somewhere between the finished frame and the screen. None of the fixes merged so far cover it. This build exists to pin down where the purple first appears.
Base: main 9488eaa68 + diagnostic branch issue422-diag-dump @ afc1c0d58.
What it adds (both switches default off; with them off, behaviour is identical to the base build):
-Dceltium.issue422.diagDump=true— for the first 40 presents (the loading-screen window), saves a pair of images per present into aceltium-422diagfolder in the game directory: the engine frame right before it is copied to the screen (-pre-*.png) and the swapchain image right after (-post-*.png), and logs oneCELTIUM_DIAG422line per present with the exact-purple pixel count for both sides. Comparing the two counts shows which side of the copy the purple is on.-Dceltium.issue422.transferOnlyPresent=true— A/B variant: swapchain images are created withoutCOLOR_ATTACHMENTusage, using only the transfer bits the surface offers. Tests whether the swapchain allocation is part of the problem. The active usage is logged at startup asCELTIUM_DIAG422_AB.
Gate: PC full build + full test suite — BUILD SUCCESSFUL; 871 tests, 0 failures, 0 errors, 1 skipped (168 suites). Jar: celtium-forge-mc1.12.2-0.2.2.jar, 18,996,293 bytes, sha256 1461b428d0ae9fefce19182f7f98e0fa88a21c1bf5f128a0ff3260d526724759.
If you are not helping diagnose #422 (a), you do not need this build.
Diagnostic build for #422 — v0.2.6-422probe.1 (instrumented, not a fix)
Diagnostic build for issue #422. This is not a fix and not a release. It is the current main (07e9d1c, the development state after v0.2.5) with one instrumentation probe added, and nothing else changed.
The probe watches the CPU-side chunk mesh upload path (mesh build output -> arena allocation -> storage rows) and logs lines tagged CELTIUM_C4PROBE when something does not add up: vertex/index offsets in the storage rows, range counts, segment overlaps, re-upload drift, arena resizes. It is off by default and does nothing unless the flag below is set.
To run it:
- Replace the celtium jar in your mods folder with the attached jar.
celtium-forge-mc1.12.2-0.2.2.jar- sha256:
e8cfc262a3fa676123a50810b249e757e4d28aed8c1c8952906fa26c81f31423
- Add this JVM argument:
-Dceltium.issue422.c4probe=true - Play with a large render distance so many chunks stream in, and note the time when the purple squares or the displaced geometry appear.
What to send back:
- Every line containing
CELTIUM_C4PROBEfromlatest.log(especiallyANOMALY,REUPLOAD-DRIFT,RESIZEandSUMMARYlines). - The log context (a few dozen lines) around the time the symptoms appeared.
How to read the result: if ANOMALY lines appear, their type says where in the CPU-side upload path the data broke. If nothing appears, that only means the CPU-side path was clean — this probe does not read back the transfer into GPU memory itself, so a clean run does not fully rule out upload corruption further down.
Source: branch issue422-c4probe (commit 9b889ef).
Celtium 0.2.5
Celtium 0.2.5
The stable release collecting everything since 0.2.4. The main points: terrain draws in the shadow pass now land in the shadow target for Demonica (an Iris-style shader-pipeline mod); the crash fix for creating a new world (#423) and the device-loss hardening ship in a stable release; and swapchain-image initialization was reworked into a form that is clean under Vulkan validation. Also included: multi-render-target (MRT) support, dynamic lights, and terrain performance work.
Shadow-pass terrain draws now land in the shadow target
- This closes the limit rc2 stated — the shadow pass's terrain draws still landed in the frame target. A terrain pass now draws into the depth-sharing chain pair of the bound target (item 332), and the shadow gate is wired to a live signal that reflects whether a shader pack is in use (item 419). Candidates that point at the main depth are refused as main-depth.
- Measured on the validation fixture (AMD Radeon RX 6400, Demonica 0.9.1 + Complementary Reimagined r5.9.3, a local build with the guard removed): after the pack loads, the shadow pass activates and terrain draws into the 2048×2048 shadow target (ROUTED / DRAW) were observed. In the same leg, the presented frame passed its health check (presented verdict PASSED, no single-colour collapse).
- Shadow loading itself has run on the native path since rc2 (native depth copies served 8 or more times, refused 0).
Fixed
- Crash on creating a new world (#423, NVIDIA): the fix from rc2 ships in this stable release. On the path where another mod creates a framebuffer in the middle of a frame, Celtium's framebuffer cache could hand back an entry built for a frame target that no longer existed. Each cache entry now records what it was built over — the colour and depth views and the extent — and an entry that no longer matches is retired and rebuilt. If a frame target cannot be recreated to completion, the old target keeps being used, and at world teardown, cache entries keyed by the render passes that were just destroyed are always cleared. Stated plainly, as in rc2: the fix is verified by a code audit, unit tests, and the CI test suite, but the reporting environment — a GTX 1650 Ti with a large modpack — is not available locally, so the reporter's real-hardware check remains the deciding test.
- Swapchain-image initialization reworked (item 515): the creation-time bulk initialization that rc1 introduced was itself a spec violation — it transitioned images that had not been acquired yet (7 Vulkan validation errors). Initialization now happens inside the present path, after the image is acquired, and the validation legs (AMD Radeon RX 6400 / Intel UHD 630) report zero validation messages. This initialization path is the one #422's purple tiles (RX 7900 XTX, on joining a world) were attributed to. The reporter told us on 2026-11-20 that the rc2 form did not resolve it on his machine; this release changes the initialization path itself, but we do not claim #422 is fixed — the retest on the reporter's real hardware is the deciding check.
- Hardened against device loss (#425 family, item 416): if the GPU device is already lost during renderer reload teardown and similar paths, the client now records the failure and fails closed instead of crashing outright. Crash breadcrumbs were also expanded and exempted from the log limiter (item 415).
- Translucent sorting hang (#424, item 424): quads with non-finite coordinates could make translucent sorting never terminate.
- More: fog attribute restore on attrib pop (item 420); the sprite pixel loop now carries booleans instead of the transparency enum (item 425); the lattice no longer throws on tall worlds and shadow search roots are remapped on window moves (items 493, 491); the trailing NUL Iris appends to shader sources is tolerated (item 371); fixed-function program attributes are read from the batch (item 374); batch-cache staleness fixes and retiring a stale batch before rebuilding it (items 391, 398).
Performance
- Draw-list retention (D25): terrain batch assembly is retained across frames; on the validation fixture the terrain batch time went from 0.312 to 0.228 ms/frame standing still, and from 0.497 to 0.213 ms/frame while moving (measurements reported in rc2).
- Compact vertices (D23): the default vertex format is 24 bytes, reducing vertex memory by 25% per vertex.
- Geometry arena elements are aligned to whole primitives (item 421), and BoxFinder sorts its keys without boxing (item 489, with an equivalence test).
- The FPS KPI against Celeritas was again not re-measured (the real-pack measurement setup does not exist yet), and no performance superiority is claimed.
Compatibility and other changes
- Multi-render-target (MRT): advertises
GL_MAX_DRAW_BUFFERS/GL_MAX_COLOR_ATTACHMENTS= 8, lowersgl_FragDatato per-location outputs, and supports draws into multi-colour chain pairs — the foundation for mod shader programs. - Dynamic lights (D13): terrain shading reflects dynamic lights such as a held torch (since rc2; an A/B on the validation fixture confirmed the pixels around a light source brighten).
- Startup refusals: OptiFine, Vintagium and Relictium are refused at startup (item 311).
- The frame render pass is parameterised by colour format class (item 404); an idle/unfocused frame cap exists but is off by default (item 388); settled CPU texture data is released after load, with a census (item 387); the survival layer adds stage gates, post-chain self-quarantine, and safe-config migration (item 327).
- Release pipeline: SPIR-V re-validation from the shipped jar (item 353) plus the patch ledger and gate (item 356) — process changes, no behaviour change.
Continuing limits
- A stock Demonica jar still will not enable shaders against Celtium, because Demonica's own QuarantineGuard pins the Celeritas jar's hash — as described in rc1.
- #422 and #423 both still await the reporters' real-hardware confirmation as the deciding test (above).
- Real-hardware rendering on Windows and macOS remains unverified, as in 0.2.4 (the CI test suite runs on all three OSes).
Celtium 0.2.5-rc2
Celtium 0.2.5-rc2
A release candidate on top of 0.2.5-rc1: a fix for the crash on creating a new world (issue #423), shadow loading moved onto the native path, dynamic lights, and terrain-draw performance work. This is an RC, published so the fixes can be verified on real hardware; it is not a final release.
Fix: crash on creating a new world (issue #423, NVIDIA)
- This fixes the crash reported on 0.2.4, where the game died inside the NVIDIA driver (nvoglv64.dll) while a world was being created. On the path where another mod creates a framebuffer in the middle of a frame, Celtium's framebuffer cache could hand back a framebuffer that had been built for a frame target that no longer existed. Each cache entry now records what it was built over — the colour and depth views and the extent — and an entry that no longer matches is retired and rebuilt instead of being reused.
- Two related fixes ride along. If a frame target cannot be recreated to completion, the old target keeps being used (previously the recreation went ahead anyway and could leave references to destroyed views behind). And at world teardown, cache entries keyed by the render passes that were just destroyed are now always cleared.
- Stated plainly: the fix is verified by a code audit, unit tests, and the full module test suite in CI, but the reporting environment — a GTX 1650 Ti with a large modpack — is not available locally, so the final check has not been done on real hardware. Whether it is fixed on the reporter's machine is the deciding test; please report results on #423.
Shadow loading now runs on the native path
- The shadow-pass loading that rc1 described as "not yet on the native path" now runs on Celtium's native path (measured on the validation fixture, AMD Radeon RX 6400: native depth copies served 8 or more times, refused 0).
- One limit remains: shadows do not visibly darken the scene yet. The shadow pass's terrain draws still land in the frame target instead of the shadow target. That is the next main item of work.
Dynamic lights (at terrain shading time)
- VulkanMod-Next's D13 was taken in: terrain shading now reflects dynamic lights (a held torch and similar) inside Celtium itself, recorded in the "Built into Celtium" section of docs/mod-compatibility.md. An A/B on the validation fixture confirms the pixels around a light source actually brighten.
Performance work
- Draw-list retention (D25): terrain batch assembly is retained across frames; on the validation fixture the terrain batch time went from 0.312 to 0.228 ms/frame standing still, and from 0.497 to 0.213 ms/frame while moving.
- Compact vertices (D23): the default vertex format is now 24 bytes, reducing vertex memory by 25% per vertex.
- The FPS KPI against Celeritas was again not re-measured (the real-pack measurement setup does not exist yet), and no performance superiority is claimed.
Other fixes
- Shader program translation now assigns locations to modern in/out declarations, so programs that previously failed translation now go through.
- The release pipeline now re-validates the SPIR-V inside the shipped jar (a process change; no behaviour change).
Continuing limits
- A stock Demonica jar still will not enable shaders against Celtium as-is, because Demonica's own QuarantineGuard pins the Celeritas jar's hash — as described in rc1.
- Visible shadow completion and the KPI re-measurement are the next main items of work.
Celtium 0.2.5-rc1
Celtium 0.2.5-rc1
A release candidate on top of 0.2.4: terrain rendering for the Demonica shader pipeline, and a fix for the present-path defects reported on an RX 7900 XTX. This is an RC, published so the fixes can be verified on real hardware; it is not a final release.
Demonica (shader pack) progress
Verified on the validation fixture (AMD Radeon RX 6400) with a locally built, guard-removed Demonica 0.9.1 and ComplementaryReimagined r5.9.3: shader pipeline creation now passes and terrain renders on Celtium's native Vulkan path (presented-image gate PASSED). Foundations that landed for this:
- Image units:
GL_ARB_shader_image_load_storeadvertised honestly, as far as the device backs it (32 per program) - Multiple render targets: draw buffers / color attachments up to 8 (previously 1)
- Texture-unit answers corrected: 32 per stage, 64 combined, including the pname LWJGL2 actually asks for the combined value
- Demonica's 44-byte extended terrain vertex format (ExtendedChunkVertexType) implemented; all three terrain passes (solid / cutout_mipped / translucent) create pipelines and render
Limits, stated plainly:
- Shadows are not complete yet. Shadow loading does not yet run on the native path, so with a shader pack enabled the world renders without shadows. This is the next main item of work.
- Some FFP emulation programs are still refused when their uniform block exceeds the device's push-constant limit.
- A stock Demonica jar will not enable shaders against Celtium as-is: Demonica's own QuarantineGuard pins the Celeritas jar's hash and disables shaders on a mismatch. The progress above was verified with a locally rebuilt, guard-removed jar.
Fix: purple squares on world join and present initialization (issue #422)
- Swapchain images are now initialized (cleared to opaque black) at creation. Previously a freshly created image's content was undefined, and the rebuild that happens when joining a world could present undefined regions; on AMD this was reported as purple squares on the loading screen (RX 7900 XTX, VSync enabled).
- The other half of the same report — in-world flickering with VSync on — did not reproduce on local hardware, and auditing the present path found no code defect. It is recorded on issue #422 as an environment/driver-side suspicion. How this RC behaves on the reporter's machine is the final check; please report results on #422.
Other fixes
- A terrain pipeline creation failure no longer crashes the game through a bug in the failure handler that hid the real reason. Failures are recorded with the pass name and only that pass is skipped.
- The mod compatibility document (docs/mod-compatibility.md) now lists the mods refused at startup as renderer competitors (Gnetum, Custom Loading Screen, SmoothFont, Nothirium, Naughthirium) with the reason for each.
Measurements
The FPS KPI against Celeritas was not re-measured for this RC, and no performance claim is made over 0.2.4.
Celtium 0.2.4
Celtium 0.2.4 — パフォーマンスリリース
Released 2026-11-17 · tag v0.2.4 · previous v0.2.3
本リリースの中心は、Vulkan・common・forge122 のホットパス全体にわたる最適化(PR #421)である。実機
(AMD Radeon RX 6400、RADV)での測定で、validation レグの world FPS が 62.82 → 70.52(+12.3%)、
shipping レグが 212.10 → 237.58(+12.0%)になった。併せて、GL-less パスで起動そのものが落ちる
再帰バグの修正と、Demonica(Iris 系シェーダーパイプライン mod)との互換に向けた基盤一式を含む。
Performance
測定はすべて AMD Radeon RX 6400(RADV NAVI24、Mesa 26.2.6-1、1280×720)の実機レグで、変更前後の
両方を同じ手順で取っている。
- validation レグ: world FPS 62.82 → 70.52(+12.3%)、
batchTimingsの総コスト −13.3% / offer、
prepare ステージ −20.8% - shipping レグ: world FPS 212.10 → 237.58(+12.0%)、
VulkanArenaのuploadPhaseMicros[reserve]
16,002 µs → 4,996 µs(−68.8%)
内訳は、GLSL 変換の正規表現事前コンパイル化と primitive map 化、アリーナのフリーリスト化とアップロード
のバッチ化、テクスチャアップロードのストリーミング化(4K アトラスで 69 MiB の中間配列を除去)、
uniform 書き込みのゼロアロケーション化など。画質・描画内容の変更はない。
Fixed
- caps probe の相互再帰で GL30 が毒入りし、バニラの validation レグが起動できない問題を修正。
CeltiumGllessHintの capability probe がGLContext.getCapabilities()の遅延構築と再入し、
StackOverflow でクラスが恒久的に壊れていた。再入ガードと完了フラグで対策した。 - Demonica 互換の基盤: コンテキスト生成条件に結びついた GL バージョン条項(core 指定時のみ 3.3 を広告)、
SplashProgress の変換アンカー互換、フレームターゲットの遅延生成、テクスチャユニット数の是正
(per-stage 32 / combined 64)、image unit の実装と台帳の拡張(8 → 32)。 - Demonica 互換サーフェスの機械検証: 出荷 jar のバイトコードから抽出した 125 クラス / 186 メソッド /
53 フィールドのマニフェストを CI で照合する(Tier A)。ChunkBufferBuilder等の欠けていた受け口を
celtium 側の実装として追加した(Tier B)。
Known limits
- Demonica のシェーダーはまだ描画されない。 互換レグ(RX 6400、Demonica 0.9.1 + Complementary
Reimagined r5.9.3)ではパイプライン生成が image unit の割り当てを通過するところまで進んだが、
draw buffer 数(現在 1 と広告)の壁で停止し、シェーダーは無効化される。影の描画も未検証。
対応は継続中で、本リリースはその途中経過を含む。 - FPS KPI(対 Celeritas)の再測定は本リリースには含まない。上記の +12% は celtium 自身の前後比較である。
- Windows・macOS での実機描画確認は 0.2.3 から引き続き未実施(CI のテストスイートは 3 OS で実行される)。