Build 25845003

build

Battle Marine Advance! · public · first seen

PICS live
1
Branches
3
Depots changed
—
Download delta
07:06 UTC
Time · UTC
Patch notes · published by the developer

Addressing Slowdowns When Using Steam Game Recording

On Steam

We have received reports of significant game slowdowns when using Steam Game Recording.

Although we have not been able to reproduce this issue in our development environment, this patch changes the rendering behavior to address one possible cause.

If you still experience the same issue after applying this patch, please let us know in a community discussion thread or through another community channel.

Below is an explanation of the hypothesis behind this change and what the patch does.


Our hypothesis about recording overhead

We suspect that the frequency of the game's screen updates may affect the processing load during Steam Game Recording.

If each screen update also triggers work on the recording side, a 144 Hz display could trigger that work up to 144 times per second, compared with up to 60 times per second on a 60 Hz display. This is a working hypothesis for this patch; we have not verified Steam Game Recording's actual recording frame rate or internal behavior.

How BMA updates the screen

Battle Marine Advance! (BMA) runs its emulator (mGBA) at approximately 59.73 fps, updating virtual video memory (VRAM) at that rate.

Previously, the rendering thread read from virtual VRAM and updated the screen in sync with the display's refresh rate. On a 144 Hz display, for example, it updated the screen 144 times per second, even when the contents of virtual VRAM had not changed.

We suspect these redundant screen updates may increase the recording workload and overload the GPU or encoder. Encoding workload and capacity vary depending on the hardware, codec, resolution, and other factors.

In fullscreen mode, BMA scales the game texture to fill the screen without changing the display resolution. As a result, the screen being captured has the same dimensions as the display resolution.

What this patch changes

With this patch, the screen is updated only at the first rendering opportunity after the emulator thread updates virtual VRAM. Screen updates are skipped at all other rendering opportunities.

This change is intended to align the game's screen updates with the emulator's approximately 59.73 fps output and reduce unnecessary processing during recording. We have not yet verified the resulting recording frame rate or the performance improvement.

We currently do not have a high-refresh-rate monitor available for testing and have not been able to reproduce the reported issue, so we cannot yet confirm whether this patch resolves it. We will continue investigating based on your reports.

Per-depot manifest changes

Depot changes

All depots
DepotNew manifestPrevious manifest
49753715288985436336962019940461651347372752
497537284584771602643807303336200725138188903
497537338979228817662913292891745890831388077