When the HUD is enabled to display, for example, the current FPS in the <config> node of an 3D app
<env key="GALLIUM_HUD" value="fps"/>
it leads to a memory leak of 64 Byte per frame on GEN8 GPUs (Broadwell) only. Since the HUD is meant for debugging/analyzing, one fix is to remove the GALLIUM_HUD from the application. The leak is caused in the function iris_create_surface (src/gallium/drivers/iris/iris_state.c of our Mesa 21.0.0 port) which calls
When the HUD is enabled to display, for example, the current FPS in the
<config>
node of an 3D app<env key="GALLIUM_HUD" value="fps"/>
it leads to a memory leak of 64 Byte per frame on GEN8 GPUs (Broadwell) only. Since the HUD is meant for debugging/analyzing, one fix is to remove the
GALLIUM_HUD
from the application. The leak is caused in the functioniris_create_surface
(src/gallium/drivers/iris/iris_state.c of our Mesa 21.0.0 port) which callswhich is not freed later on.