Forum

Author Topic: Crash when building ultra-high quality texture (>= 32K) - Metashape V2.0.0  (Read 2528 times)

AdrienChassignet

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hello,

My Agisoft Metashape Pro is constantly crashing during the texturing step if the required GPU memory is too high.

I am on Ubuntu 22.04 and, as I saw in other posts that it might be a problem of drivers, I did all the updates that I could but the problem still persists.
My Metsahape Pro version is V2.0.0 (Free trial).
My GPU: NVIDIA RTX A5000/PCIe/SSE2 / NVIDIA Corporation GA102GL [RTX A5000] with 24GB of RAM (driver NVIDIA 525.78.01).
My CPU: 12th Gen Intel® Core™ i7-12700K × 20 with 64GB of RAM.

I am facing this crash in a very large project (>3000 images) either when building texture with 32K resolution or when I try to build the mesh with the ultra-high quality for the depth maps.

Looking into the logs (a log is attached for the crash during mesh reconstruction with ultra quality for depth maps but the crash is at the exact same point when building 32K texture) it appears that the crash occurs during the Blending Textures step when there is not enough space on the VRAM of my GPU and the computation needs to be moved to the CPU (I have 64 GB of RAM).

I would really appreciate to understand how to avoid this crash, which by the way is quite brutal, sometimes my computer even gets shutdown or at best my user session gets killed. My project requires to work with really high-quality reconstruction of large objects so I need to find a fix.

Many thanks in advance for the help!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14890
    • View Profile
Hello Adrien,

Can you please check, if the problem persists when you copy the original model and decimate it to low polygon count, like 100 000 faces? If it happens, please send to us (to support@agisoft.com) the project copy with the  camera alignment and tie points only (it should reduce the project size), so that we could try to reproduce the problem on our side.

Also please check the RAM consumption during the operation - does it go up to 64 GB when the application crashes?
Best regards,
Alexey Pasumansky,
Agisoft LLC

AdrienChassignet

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hello Alexey,

Thanks a lot for the prompt answer.

I was already working with a decimated model (~200 000 faces) but I tried with even lower polygons (50 000 faces) and the problem persists.

I do not have a quick way to record my RAM usage but I checked using the top command and indeed the RAM is getting full which makes the computer crash once the limit is reached.

I reproduced the crash on a smaller project that I have, I will send it to the support contact you gave me.

Thanks a lot for your help!

AdrienChassignet

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Crash when building ultra-high quality texture (>= 32K) - Metashape V2.0.0
« Reply #3 on: February 16, 2023, 11:40:08 AM »
Hello,

I still do not have a reply from the support team... Any news for a potential fix/workaround? It is the last day of my free trial and I need to define if Metashape can fit my project needs for ultra high-quality textures before considering buying a license.

Many thanks.