lima job timeout
I am experiencing a freeze of OpenGL application (XCSoar) when running on lima opengl driver on Allwinner A20. The freeze is quite rare and very difficult to reproduce (I haven't found any reliable way to reproduce it - happens unpredictably). When it happens, graphics on the screen appears to flip between 2 consecutive frames when the app tries flip frames. Application itself seem to react to the keyboard input, but doesn't draw anything on the screen (except those 2 frames).
Basically application becomes unusable unless killed. After restarting the app, it works again. Application runs in KMS/DRM mode (no X11 or wayland).
When this happens, these 3 lines appear in the system logs:
[ 327.396723] [drm:lima_sched_timedout_job [lima]] *ERROR* lima job timeout
[ 327.405494] lima 1c40000.gpu: pp task error 0 int_state=0 status=0
[ 327.411791] lima 1c40000.gpu: pp task error 1 int_state=0 status=0
Version info: linux kernel 5.7, Mesa: 20.1.0.
Is there a way to gather more information about this issue?