Forum

Author Topic: Metashape Freezes - Kubuntu  (Read 488 times)

luisSeyfer

  • Newbie
  • *
  • Posts: 11
    • View Profile
Metashape Freezes - Kubuntu
« on: May 06, 2024, 05:44:50 PM »
Hello,
as titel describes Meteshape from time to time freezes my whole system.
It happens on heavy tasks, e.g. aligning 7 chunks with total 2500 images. (On the other hand what isn`t heavy in photogrammetry?)
After hard restart the system same task runs through without any trouble.

Are there any suggestions how to fix that?

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 6.5.0-28-lowlatency (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 47,0 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2
+ eGPU (GTX 3060 Ti)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14965
    • View Profile
Re: Metashape Freezes - Kubuntu
« Reply #1 on: May 07, 2024, 12:47:01 PM »
Hello luisSeyfer,

Does it help to avoid such issues, if you save the project in PSX format before running any major processing stages?

Have you also checked the memory consumption graph during the processing and GPU load via resource monitor before the operation freezes?
Best regards,
Alexey Pasumansky,
Agisoft LLC

luisSeyfer

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Metashape Freezes - Kubuntu
« Reply #2 on: May 09, 2024, 11:09:20 AM »
Thanks so far. I did not have freezes since my posting. I will report if I encounter the problem again.

luisSeyfer

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Metashape Freezes - Kubuntu
« Reply #3 on: May 31, 2024, 05:37:15 PM »
I had a freeze during Chunk Alignment. Unfortunately I didn't record memory.
I forced a reboot and restarted the process.

mem-log:
Code: [Select]
free -m -s 5 >> ~/APPS/AgisoftMetashape/LOGs/mem-Log.txt
...
Mem:           48106       47291         341          24         472         243
Swap:          28609       25804        2805

               total        used        free      shared  buff/cache   available
Mem:           48106       47375         274          24         457         157
Swap:          28609       26243        2366

               total        used        free      shared  buff/cache   available
Mem:           48106       46360        1292          24         453        1174
Swap:          28609       27413        1196

               total        used        free      shared  buff/cache   available
Mem:           48106       36655       11069          24         381       10906
Swap:          28609       27722         887

               total        used        free      shared  buff/cache   available
Mem:           48106         624       47098           0         383       46947
Swap:          28609         772       27837

               total        used        free      shared  buff/cache   available
Mem:           48106         625       47116           0         364       46945
Swap:          28609         772       27837

               total        used        free      shared  buff/cache   available
Mem:           48106         625       47115           0         365       46944
Swap:          28609         772       27837

               total        used        free      shared  buff/cache   available
Mem:           48106         639       47043           0         423       46902
Swap:          28609         769       27840

ms-log:
Code: [Select]
...
2024-05-31 13:36:18 Found 2 GPUs in 0.03963 sec (CUDA: 0.013697 sec, OpenCL: 0.023094 sec)
2024-05-31 13:36:18 Using device: NVIDIA GeForce GTX 1070, 16 compute units, free memory: 7694/8105 MB, compute capability 6.1
2024-05-31 13:36:18   driver/runtime CUDA: 12020/10010
2024-05-31 13:36:18   max work group size 1024
2024-05-31 13:36:18   max work item sizes [1024, 1024, 64]
2024-05-31 13:36:18 Using device: NVIDIA GeForce RTX 3060 Ti, 38 compute units, free memory: 7828/7973 MB, compute capability 8.6
2024-05-31 13:36:18   driver/runtime CUDA: 12020/10010
2024-05-31 13:36:18   max work group size 1024
2024-05-31 13:36:18   max work item sizes [1024, 1024, 64]
2024-05-31 16:16:24 91686496 matches found in 9606.23 sec
2024-05-31 16:16:42 matches combined in 17.7954 sec
2024-05-31 16:16:52 finished matching in 12672 sec
2024-05-31 16:16:52 setting point indices... 22576847 done in 9.19846 sec
2024-05-31 16:17:49 generated 22576847 tie points, 4.14873 average projections
2024-05-31 16:17:58 removed 29953116 multiple indices
2024-05-31 16:17:58 removed 16331 tracks
2024-05-31 16:18:17 adding 182429 points, 0 far, 39640 inaccurate, 14353 invisible, 22824 weak
2024-05-31 16:18:31 adding 250573 points, 0 far, 40605 inaccurate, 13907 invisible, 20595 weak
2024-05-31 16:18:32 Aligning groups by 29946 points
2024-05-31 16:18:32 iteration 0: 1113 points, 0.0464765 error
2024-05-31 16:18:32 iteration 1: 1089 points, 0.0453177 error
2024-05-31 16:18:32 iteration 2: 1082 points, 0.0448873 error
2024-05-31 16:18:32 iteration 3: 1079 points, 0.0448005 error
2024-05-31 16:18:32 iteration 4: 1079 points, 0.0448005 error

I can send a longer ms-log via eMail if needed.