ID 508345 - GPU utilisation remains high when the cursor is outside the Canvas and 'Pause Canvas Rendering' is enabled

Follow

Problem summary
GPU utilisation remains high when the cursor is outside the Canvas and 'Pause Canvas Rendering' is enabled
 
This issue appears to be affected by Vsync - It does not occur when Vsync is switched on.
 
Customer reported version
Mari 4.8v2
 
Customer reported platform
Windows 10
 
Steps to reproduce
 
1) Set a MARI_VSYNC=0 environment variable
 
2) Launch Mari and open an Example Material Design Project

3) Open Preferences and ensure that GPU > Canvas > Pause Canvas Rendering checkbox is ticked
 
On Windows:
4) Open Windows Task Manager and add a GPU column to the Processes overview (right-click column headers and tick GPU)
 
5) Inspect Mari's GPU usage while moving the cursor in and out of the Canvas
 
On Linux (NVidia GPUs only):
4) Open a terminal and run the following command:
nvidia-smi -l 1
 
5) Inspect the GPU usage percentage under 'GPU-Util' in the nvidia-smi terminal output while moving the cursor in and out of the Canvas in Mari
 
Expected behaviour
Mari's GPU usage should drop closer to 0% when the cursor is not over the Canvas:
 
4.7v7 - Cursor on Canvas:
 

 
4.7v7 - Cursor outside Canvas:
 

 
Actual behaviour
The GPU usage remains high compared to Mari 4.7:
 
4.8v2 - Cursor on Canvas:
lOsFzp53z1K82rgUspqfJGFCg (973×265)
 
4.8v2 - Cursor outside Canvas:
 
 
 
Workaround
Unknown.
 
Reproduced by support
This bug has been reproduced in:
Mari 5.0v2 - Windows 10 - CentOS 7.9
Mari 4.8v2 - Windows 10
Mari 4.8v1 - Windows 10 - CentOS 7.9 - regression
 
Unable to reproduce bug in:
Mari 4.7v7 - Windows 10 - CentOS 7.9
 
Earliest version tested
Mari 4.7v7 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why