Skip to content

v0.9.21 beta 1

Pre-release
Pre-release

Choose a tag to compare

@Awakenchan Awakenchan released this 13 Oct 12:31

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.