Skip to content

AceForge 0.6.15

Choose a tag to compare

@DjagbleyEmmanuel DjagbleyEmmanuel released this 19 Oct 05:01
· 8 commits to main since this release

Fixes the resource meters reading undefined, adds GPU utilisation

The meters showed "undefined MiB / undefin...". The backend serialises
camelCase and the hand-written TypeScript interface read snake_case, so every
figure came back undefined. TypeScript was happy: both sides were internally
consistent and nothing compared them.

The backend now asserts its own serialised field names. That is the only place
this class of bug can be caught.

RAM was also wrong by a factor of 1024, hidden behind the undefined VRAM figure.
/proc/meminfo reports kibibytes and the fields say MiB, so it read "5198 GB of
23895 GB".

New: GPU utilisation, which is a different measurement from VRAM and worth
having beside it. A render can hold two gigabytes and be stalled waiting on the
CPU -- high memory, low utilisation. Together they say whether the GPU is the
bottleneck. A driver reporting "N/A" costs that one meter rather than the card.

244 tests.