optick icon indicating copy to clipboard operation
optick copied to clipboard

GPU usage is high

Open Lectem opened this issue 6 years ago • 0 comments

On my laptop the GUI has really high GPU usage as soon as I have any interaction with it, even when the window is in the background (unless minimized). It seems something forces redraw all the time even if you do not have a trace opened.

For reference here are the specs of my laptop:

  • CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 CPUs), ~2.6GHz
  • GPU 0: Intel(R) UHD Graphics 630 -GPU 1: NVIDIA GeForce GTX 1660 Ti

Here is a PresentMon + TaskManager:

image

However I note that it's using GPU 0 (which is an Intel integrated chip) but it still quickly triggers my laptop fans :)

A few actions I can see to minimize the issue:

  • Find what forces a redraw (I have no knowledge of WPF sadly, not sure how feasible that is)
  • Make it run on discrete GPUs by default (with the usual driver hints https://github.com/bkaradzic/bgfx/blob/97005355c2278d739b04981e4810c403cfceae45/src/bgfx.cpp#L5020 )

Lectem avatar Feb 06 '20 10:02 Lectem