Forum

Author Topic: GPU not used during processing  (Read 17813 times)

FredR

  • Guest
GPU not used during processing
« on: July 27, 2018, 04:45:35 PM »
Hello,

Although my NVIDIA GTX 1060 GPU is checked in the preferences (as well as "Use CPU when performing GPU accelerated processing" ), it is only used less than 5% according to Windows's task manager, almost 100% of the work is done by the CPU.
For instance, when building mesh, the console writes "93% done by GPU" when it never goes above 10% usage.
Same thing for aligning camera or building dense cloud.

Do you have any explanation for that ?

Thank you!
« Last Edit: July 28, 2018, 07:43:44 AM by FredR »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15276
    • View Profile
Re: GPU not used during processing
« Reply #1 on: July 27, 2018, 08:39:28 PM »
Hello FredR,

Currently the following stages support GPU-based computations:
- image matching (includes feature points detection, preselection and matching itself),
- depth maps calculation (first phase of build dense cloud and build mesh in experimental mode),
- refine mesh operation.
All other stages currently involve CPU-processing only.

So you should check GPU activity only during these stages. To do that I could suggest to use dedicated utilities, like GPU-Z for example, also you can access the current GPU load via NVIDIA SMI utility for your card.
As for Windows 10 Task Manager, I think that the may graph is showing some average percentage across different possible activities, most of which are not utilized by PhotoScan at all, so you may need to open Compute_0 or Compute_1 graph in Task Manager to see the actual activity.
Best regards,
Alexey Pasumansky,
Agisoft LLC

FredR

  • Guest
Re: GPU not used during processing
« Reply #2 on: July 28, 2018, 07:54:29 AM »
Thank you Alexey for your comprehensive answer,

As for memory, I have increased the Windows 10 Page File Size so that the committed memory  is now about twice total RAM, yet it has no effect on the "bad allocation" error. Do you have an idea why ?

It works for Pholeos8 here http://www.agisoft.com/forum/index.php?topic=8948.msg43210#msg43210