Forum

Author Topic: Processing anything from Depth Maps results in CL_OUT_HOST_MEMORY  (Read 6596 times)

wizprod

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Dronographica
Hi,

I have a reproducible problem, whenever I use depth-maps for anything (DEM, MESH, Ortho etc) processing.

I get the attached error, saying ciErrNum: CL_OUT_OF_HOST_MEMORY (-6) at line 207

I have 2 GPU's:
AMD Radeon R9 Nano with 4 GB VRAM
AMD Radeon VII with 16 GB of VRAM


System has 32 GB of RAM.

Any hints to what goes wrong and how to fix it ?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15159
    • View Profile
Re: Processing anything from Depth Maps results in CL_OUT_HOST_MEMORY
« Reply #1 on: November 21, 2020, 10:38:13 PM »
Hello wizprod,

Please provide the complete log from the Console pane related to the failed operation and specify the OS version that you are using and AMD GPU driver version installed.

Also please specify if the problem occurs only when certain one GPU is enabled, or it doesn't matter which GPU is turned on in the Preferences window of Metashape?
Best regards,
Alexey Pasumansky,
Agisoft LLC

wizprod

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Dronographica
Re: Processing anything from Depth Maps results in CL_OUT_HOST_MEMORY
« Reply #2 on: November 22, 2020, 01:16:06 PM »
Thanks for the reply. Further testing revealed that this is only happening when the Radeon VII is included in the processing.

Radeon Software Version:
20.9.1 (recommeded driver from AMD)

OS Version:
Windows 10 2004

Log attached is first with the R9 Nano, which processes fine, and then with the Radeon VII that fails.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15159
    • View Profile
Re: Processing anything from Depth Maps results in CL_OUT_HOST_MEMORY
« Reply #3 on: November 23, 2020, 02:25:56 PM »
Hello wizprod,

Thank you for additional information.

Can you please also confirm that image matching and depth maps generation operations can be properly completed using Radeon VII only? If so, can you please provide the complete processing log related to the depth maps based mesh generation (from the beginning till the unexpected termination), when only Radeon VII is utilized?
Best regards,
Alexey Pasumansky,
Agisoft LLC

wizprod

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Dronographica
Re: Processing anything from Depth Maps results in CL_OUT_HOST_MEMORY
« Reply #4 on: November 23, 2020, 04:12:34 PM »
This also fails now, after messing around with enabling the different GPU....

wizprod

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Dronographica
Re: Processing anything from Depth Maps results in CL_OUT_HOST_MEMORY
« Reply #5 on: November 27, 2020, 06:54:12 PM »
Any progress on this one?
More troubleshooting I can do to help ?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15159
    • View Profile
Re: Processing anything from Depth Maps results in CL_OUT_HOST_MEMORY
« Reply #6 on: November 27, 2020, 07:01:51 PM »
Hello wizprod,


I would suggest to check, if 20.11.2 drivers make any difference for separate GPU runs.

For testing please use align photos and build mesh (from depth maps), as they include different algorithms for GPU-based computations.
Best regards,
Alexey Pasumansky,
Agisoft LLC

wizprod

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Dronographica
Re: Processing anything from Depth Maps results in CL_OUT_HOST_MEMORY
« Reply #7 on: November 29, 2020, 12:55:54 AM »
Updated to 20.11.2.

Alignment works with both GPU's.
Making the mesh from depthmaps does not. Same error message.


Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15159
    • View Profile
Re: Processing anything from Depth Maps results in CL_OUT_HOST_MEMORY
« Reply #8 on: November 30, 2020, 06:48:37 PM »
Hello wizprod,

Can you please share the full log related to the depth maps mesh generation procedure with only single GPU used at a time?
Best regards,
Alexey Pasumansky,
Agisoft LLC