github Awakenchan/LanternEngine v0.9.21-beta.1
v0.9.21 beta 1

latest releases: v0.9.43, v0.9.42, v0.9.41...
pre-releaseone month ago

Beta: draw recording thread work. In heavy fights the engine's draw recording thread was the frame-rate limit on mid-range CPUs; this beta cuts its work per draw by about 30% on my Ryzen 5 5600 + RTX 5060 (around 75 to 95 FPS average in the same fights, with the thread no longer the bottleneck).

  • Page write protection after uploads is applied by a thread of its own instead of on the draw recording thread
  • WriteData and DMA packets wait only for the fences they actually follow, not for every pending one
  • DMA waits only when the DMA really writes memory on the CPU; host copy waits spin briefly instead of yielding
  • A lookahead thread prefetches the data of the next draws for the draw recording thread (on with 8 or more hardware threads)

Switches if something looks wrong, as environment variables: BB_DEFER_PROTECT=0, BB_FENCE_ORDER=all, BB_DMA_WAITS=all, BB_DRAWREC_WORKERS=0 (or =1 to force the lookahead on a smaller CPU).

What to watch for: missing or stretched geometry, textures that stop updating, a hang on area load. Please report with your log.

Full package update (new engine). Settings, saves and mods are kept.

Don't miss a new LanternEngine release

NewReleases is sending notifications on new releases.