Agisoft Metashape

Agisoft Metashape => Bug Reports => Topic started by: geolyg on February 26, 2023, 10:06:16 PM

Title: Crashing while building dense cloud
Post by: geolyg on February 26, 2023, 10:06:16 PM
Hello everyone,

I have a crash problem when conducting dense cloud. I searched this issue here and tried some steps suggested but nothing happened. Here is the report message if anyone can help me about it

ARB_texture_non_power_of_two: Yes
ARB_vertex_buffer_object: Yes
Backtrace_11188: Kernel warpDepthMapAnyToAny: clWaitForEvents(1, &ev) at line 457
CPU: AMD Ryzen 7 5800H with Radeon Graphics
OpenGLMaxTextureSize: 32768
OpenGLRenderer: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2
OpenGLStereo: No
OpenGLVendor: NVIDIA Corporation
OpenGLVersion: 4.6.0 NVIDIA 528.49
ProductName: Metashape Pro
System: Windows 64bit
SystemMemory: 15.3 GB
Throttleable: 1
URL:
Vendor: Agisoft
Version: 1.6.2.10247
XLog: Agisoft Metashape Professional Version: 1.6.2 build 10247 (64 bit)
Platform: Windows
CPU: AMD Ryzen 7 5800H with Radeon Graphics
CPU family: 25 model: 80 signature: A50F00h
RAM: 15.3 GB
OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2
OpenGL Version: 4.6.0 NVIDIA 528.49
Maximum Texture Size: 32768
Quad Buffered Stereo: not enabled
ARB_vertex_buffer_object: supported
ARB_texture_non_power_of_two: supported
Using simple console. Rich console can be enabled in Preferences dialog.
LoadProject: path = C:/Users/giorg/Desktop/CarModel/modelcar.psx
Loading project...
loaded project in 0.01 sec
Finished processing in 0.011 sec (exit code 1)
AlignPhotos: accuracy = High, preselection = generic, keypoint limit = 40000, tiepoint limit = 4000, apply masks = 0, filter tie points = 0, adaptive fitting = 0
Matching photos...
Warning: Can't resume matching without keypoints
Estimating camera locations...
Estimating camera locations...
processing block: 56 photos
adding 21 points, 0 far (10 threshold), 0 inaccurate, 2 invisible, 12 weak
3 sigma filtering...
adjusting: xxxxxx- 2.64384 -> 2.62636
point variance: 0.201762 threshold: 0.605287
adding 0 points, 7 far (0.605287 threshold), 0 inaccurate, 0 invisible, 0 weak
adjusting: xx- 0.237827 -> 0.237827
point variance: 0.161006 threshold: 0.483018
adding 0 points, 0 far (0.483018 threshold), 0 inaccurate, 0 invisible, 0 weak
adjusting: - 0.237827 -> 0.237827
point variance: 0.161006 threshold: 0.483018
adding 0 points, 0 far (0.483018 threshold), 0 inaccurate, 0 invisible, 0 weak
adjusting: - 0.237827 -> 0.237827
point variance: 0.161006 threshold: 0.483018
adding 0 points, 0 far (0.483018 threshold), 0 inaccurate, 0 invisible, 0 weak
adjusting: - 0.237827 -> 0.237827
point variance: 0.161006 threshold: 0.483018
adding 0 points, 0 far (0.483018 threshold), 0 inaccurate, 0 invisible, 0 weak
optimized in 0.012 seconds
f 4156.01, cx 21.491, cy 42.1844, k1 -0.121246, k2 0.0722289, k3 0.00266936
finished sfm in 0.018 seconds
coordinates applied in 0 sec
Finished processing in 0.035 sec (exit code 1)
SaveProject: path = C:/Users/giorg/Desktop/CarModel/modelcar.psx
Saving project...
saved project in 0.034 sec
Finished processing in 0.034 sec (exit code 1)
BuildDenseCloud: quality = Medium, depth filtering = Mild, point colors = 1
Generating depth maps...
Initializing...
sorting point cloud... done in 0.003 sec
processing matches... done in 0.001 sec
initializing...
selected 35 cameras from 41 in 0.015 sec
groups: 17 18
35 of 35 used (100%)
scheduled 2 depth map groups
saved depth map partition in 0.002 sec
loaded depth map partition in 0.193 sec
Initializing...
AMD Radeon(TM) Graphics (gfx90c): no SPIR support
Microsoft Basic Render Driver: no SPIR support
AMD Radeon(TM) Graphics: no SPIR support
Found 4 GPUs in 0.312 sec (CUDA: 0.031 sec, OpenCL: 0.281 sec)
Using device: AMD Radeon(TM) Graphics, 1 compute units, 7857 MB global memory, OpenCL 1.2
  driver version: 1.1.0, platform version: OpenCL 1.2 D3D12 Implementation
  max work group size 1024
  max work item sizes [1024, 1024, 64]
  max mem alloc size 1024 MB
Using device: AMD Radeon(TM) Graphics (gfx90c), 8 compute units, free memory: 6144/6212 MB, OpenCL 2.0
  driver version: 3444.0 (PAL,HSAIL), platform version: OpenCL 2.1 AMD-APP (3444.0)
  max work group size 256
  max work item sizes [1024, 1024, 1024]
  max mem alloc size 4845 MB
  wavefront width 64
Using device: Microsoft Basic Render Driver, 1 compute units, 7857 MB global memory, OpenCL 1.2
  driver version: 1.1.0, platform version: OpenCL 1.2 D3D12 Implementation
  max work group size 1024
  max work item sizes [1024, 1024, 64]
  max mem alloc size 1024 MB
Using device: NVIDIA GeForce RTX 3050 Ti Laptop GPU, 20 compute units, free memory: 3200/4095 MB, compute capability 8.6
  driver/runtime CUDA: 12000/8000
  max work group size 1024
  max work item sizes [1024, 1024, 64]
Loading photos...
loaded photos in 0.683 seconds
Generating depth maps...
Loading kernels for AMD Radeon(TM) Graphics (gfx90c)...
Kernel loaded in 0.037 seconds
Building kernels for Microsoft Basic Render Driver...
[GPU] estimating 743x1116x128 disparity using 743x1120x8u tiles
[GPU] estimating 1073x1089x160 disparity using 1073x1120x8u tiles
timings: rectify: 0.216 disparity: 0.127 borders: 0.045 filter: 0.033 fill: 0
[GPU] estimating 267x81x96 disparity using 267x88x8u tiles
timings: rectify: 0.006 disparity: 0.006 borders: 0.001 filter: 0.001 fill: 0
[GPU] estimating 870x586x192 disparity using 870x592x8u tiles
timings: rectify: 0.021 disparity: 0.051 borders: 0.014 filter: 0.015 fill: 0
[GPU] estimating 1314x975x512 disparity using 1314x992x8u tiles
timings: rectify: 0.148 disparity: 0.543 borders: 0.006 filter: 0.018 fill: 0
timings: rectify: 0.031 disparity: 0.097 borders: 0.032 filter: 0.036 fill: 0
[GPU] estimating 1145x932x480 disparity using 1145x960x8u tiles
[GPU] estimating 1233x900x256 disparity using 1233x928x8u tiles
timings: rectify: 0.028 disparity: 0.102 borders: 0.03 filter: 0.035 fill: 0
[GPU] estimating 1367x377x128 disparity using 1367x384x8u tiles
timings: rectify: 0.014 disparity: 0.048 borders: 0.012 filter: 0.015 fill: 0
[GPU] estimating 885x1388x192 disparity using 885x1408x8u tiles
timings: rectify: 0.032 disparity: 0.436 borders: 0.009 filter: 0.025 fill: 0
timings: rectify: 0.029 disparity: 0.109 borders: 0.031 filter: 0.042 fill: 0
[GPU] estimating 391x212x96 disparity using 391x216x8u tiles
[GPU] estimating 267x81x96 disparity using 267x88x8u tiles
timings: rectify: 0.003 disparity: 0.007 borders: 0.001 filter: 0.001 fill: 0
[GPU] estimating 455x372x192 disparity using 455x376x8u tiles
timings: rectify: 0.009 disparity: 0.017 borders: 0.005 filter: 0.005 fill: 0
timings: rectify: 0.009 disparity: 0.108 borders: 0.002 filter: 0.004 fill: 0
[GPU] estimating 171x411x96 disparity using 171x416x8u tiles
[GPU] estimating 591x1583x384 disparity using 591x800x8u tiles
timings: rectify: 0.007 disparity: 0.037 borders: 0.003 filter: 0.002 fill: 0
[GPU] estimating 752x1068x160 disparity using 752x1088x8u tiles
timings: rectify: 0.023 disparity: 0.098 borders: 0.023 filter: 0.031 fill: 0
[GPU] estimating 870x586x192 disparity using 870x592x8u tiles
timings: rectify: 0.014 disparity: 0.051 borders: 0.015 filter: 0.016 fill: 0
[GPU] estimating 391x212x96 disparity using 391x216x8u tiles
timings: rectify: 0.006 disparity: 0.009 borders: 0.003 filter: 0.003 fill: 0
[GPU] estimating 245x77x96 disparity using 245x80x8u tiles
timings: rectify: 0.006 disparity: 0.003 borders: 0.001 filter: 0 fill: 0
[GPU] estimating 1318x1486x416 disparity using 1318x1504x8u tiles
timings: rectify: 0.022 disparity: 0.286 borders: 0.007 filter: 0.025 fill: 0
[GPU] estimating 262x497x192 disparity using 262x504x8u tiles
timings: rectify: 0.043 disparity: 0.191 borders: 0.048 filter: 0.06 fill: 0
[GPU] estimating 527x908x160 disparity using 527x912x8u tiles
timings: rectify: 0.013 disparity: 0.083 borders: 0.003 filter: 0.004 fill: 0
[GPU] estimating 465x257x128 disparity using 465x264x8u tiles
timings: rectify: 0.014 disparity: 0.045 borders: 0.011 filter: 0.017 fill: 0
timings: rectify: 0.007 disparity: 0.049 borders: 0.002 filter: 0.005 fill: 0
[GPU] estimating 487x2221x96 disparity using 487x1152x8u tiles
timings: rectify: 0.025 disparity: 0.12 borders: 0.025 filter: 0.038 fill: 0
[GPU] estimating 1073x1089x160 disparity using 1073x1120x8u tiles
[GPU] estimating 1233x900x256 disparity using 1233x928x8u tiles
timings: rectify: 0.025 disparity: 0.106 borders: 0.028 filter: 0.034 fill: 0
[GPU] estimating 1440x843x480 disparity using 1440x864x8u tiles
timings: rectify: 0.027 disparity: 0.106 borders: 0.033 filter: 0.038 fill: 0
[GPU] estimating 741x2064x288 disparity using 741x1088x8u tiles
timings: rectify: 0.067 disparity: 0.437 borders: 0.012 filter: 0.026 fill: 0
[GPU] estimating 927x559x160 disparity using 927x560x8u tiles
timings: rectify: 0.035 disparity: 0.155 borders: 0.035 filter: 0.05 fill: 0
[GPU] estimating 951x796x192 disparity using 951x800x8u tiles
timings: rectify: 0.016 disparity: 0.201 borders: 0.006 filter: 0.011 fill: 0
[GPU] estimating 262x497x192 disparity using 262x504x8u tiles
timings: rectify: 0.008 disparity: 0.051 borders: 0.004 filter: 0.003 fill: 0
timings: rectify: 0.019 disparity: 0.063 borders: 0.018 filter: 0.026 fill: 0
[GPU] estimating 592x1583x384 disparity using 592x800x8u tiles
[GPU] estimating 662x894x352 disparity using 662x896x8u tiles
timings: rectify: 0.014 disparity: 0.054 borders: 0.015 filter: 0.02 fill: 0
[GPU] estimating 155x463x96 disparity using 155x464x8u tiles
timings: rectify: 0.005 disparity: 0.009 borders: 0.001 filter: 0.004 fill: 0
[GPU] estimating 689x787x352 disparity using 689x800x8u tiles
timings: rectify: 0.014 disparity: 0.043 borders: 0.015 filter: 0.017 fill: 0
[GPU] estimating 884x1388x192 disparity using 884x1408x8u tiles
timings: rectify: 0.028 disparity: 0.477 borders: 0.008 filter: 0.018 fill: 0
timings: rectify: 0.03 disparity: 0.117 borders: 0.032 filter: 0.041 fill: 0
[GPU] estimating 943x798x128 disparity using 943x800x8u tiles
[GPU] estimating 1368x377x128 disparity using 1368x384x8u tiles
timings: rectify: 0.018 disparity: 0.068 borders: 0.021 filter: 0.027 fill: 0
[GPU] estimating 741x2064x288 disparity using 741x1088x8u tiles
timings: rectify: 0.033 disparity: 0.321 borders: 0.005 filter: 0.014 fill: 0
[GPU] estimating 513x1065x160 disparity using 513x1088x8u tiles
timings: rectify: 0.033 disparity: 0.155 borders: 0.036 filter: 0.043 fill: 0
[GPU] estimating 861x734x128 disparity using 861x736x8u tiles
timings: rectify: 0.016 disparity: 0.053 borders: 0.016 filter: 0.023 fill: 0
[GPU] estimating 951x796x192 disparity using 951x800x8u tiles
timings: rectify: 0.019 disparity: 0.23 borders: 0.005 filter: 0.014 fill: 0


This report also contains technical information about the state of the application when it crashed.
Title: Re: Crashing while building dense cloud
Post by: Alexey Pasumansky on February 26, 2023, 11:53:03 PM
Hello geolyg,

Please disable everything but NVIDIA GeForce RTX 3050 Ti in Metashape Preferences and check, if it works normally afterwards.
Title: Re: Crashing while building dense cloud
Post by: geolyg on February 27, 2023, 11:13:12 AM
Thank you very much. That was the problem.  The computations are done now !!