Using gpu.types.GPUOffscreen in background mode

Hi,

I am writing a bunch of scripts to render and annotate geometry in background mode.
I am running into a snag: “SystemError: GPU functions for drawing are not available in background mode”
Specifically, I am creating an empty buffer and drawing some arrows and text into that buffer and save it as a png.

This is kind of a bummer, I am drawing to an offscreen buffer, I would think this is no problem ?
Is there a workaround to initialize the gpu in background mode ?

thanks,
Sander