Forum

Author Topic: Failure at ...hierarchical_stereo.cpp  (Read 3931 times)

lefsky

  • Guest
Failure at ...hierarchical_stereo.cpp
« on: April 22, 2019, 09:43:00 PM »
When building dense could, I get the following error multiple times:

Error: Failure at C:\Users\buildserver\buildbot\slave\win64\build\sources\libs\libstereo\gpu\hierarchical_stereo.cpp:161

Tried reinstalling driver but the error persists.

This error started appearing about a month ago and looks to me like either a hardware problem or one introduced by a windows update.

Has anyone else seen this problem?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Failure at ...hierarchical_stereo.cpp
« Reply #1 on: April 22, 2019, 10:21:01 PM »
Hello lefsky,

Can you please provide more detailed log, starting from the beginning of the processing stage (where the task parameters are specified) and also the copy of the Console pane starting lines that are shown right after the application is started.

Additionally please specify the OS version, Metashape/PhotoScan version, GPU model and GPU driver version.
Best regards,
Alexey Pasumansky,
Agisoft LLC

lefsky

  • Guest
Re: Failure at ...hierarchical_stereo.cpp
« Reply #2 on: April 23, 2019, 01:24:24 AM »
I am using  1.5.0 build 7336 on Windows 10. My GPU is NVIDIA GeForct GTX 780 Ti with driver version 24.21.13.9924. Windows reports that it is the most up to date version

I've attached the log file. Here is the output of the build dense cloud command:

2019-04-22 15:34:51 BuildDenseCloud: quality = Ultra high, depth filtering = Disabled, point colors = 0
2019-04-22 15:34:51 Generating depth maps...
2019-04-22 15:34:51 Initializing...
2019-04-22 15:34:51 sorting point cloud... done in 0.001 sec
2019-04-22 15:34:51 processing matches... done in 0.001 sec
2019-04-22 15:34:51 initializing...
2019-04-22 15:34:51 selected 3 cameras from 3 in 0.067 sec
2019-04-22 15:34:51 groups: 3
2019-04-22 15:34:51 3 of 3 used (100%)
2019-04-22 15:34:51 scheduled 1 depth map groups
2019-04-22 15:34:51 saved depth map partition in 0.011 sec
2019-04-22 15:34:51 loaded depth map partition in 0 sec
2019-04-22 15:34:51 Initializing...
2019-04-22 15:34:51 Using device: GeForce GTX 780 Ti, 15 compute units, 3072 MB global memory, compute capability 3.5
2019-04-22 15:34:51   driver version: 9020, runtime version: 5050
2019-04-22 15:34:51   max work group size 1024
2019-04-22 15:34:51   max work item sizes [1024, 1024, 64]
2019-04-22 15:34:51 Loading photos...
2019-04-22 15:34:55 loaded photos in 3.857 seconds
2019-04-22 15:34:55 Generating depth maps...
2019-04-22 15:35:03 [GPU] estimating 10399x12658x416 disparity using 372x256x16u tiles
2019-04-22 15:35:05 [CPU] estimating 14756x15954x384 disparity using 1054x998x16u tiles
2019-04-22 15:36:52 timings: rectify: 7.051 disparity: 100.869 borders: 3.508 filter: 1.295 fill: 0
2019-04-22 15:36:58 Error: Failure at C:\Users\buildserver\buildbot\slave\win64\build\sources\libs\libstereo\gpu\hierarchical_stereo.cpp:161
2019-04-22 15:36:58 GPU processing failed, switching to CPU mode
2019-04-22 15:36:58 [CPU] estimating 13916x16695x384 disparity using 994x1044x16u tiles
2019-04-22 15:40:42 timings: rectify: 9.613 disparity: 328.376 borders: 5.349 filter: 3.449 fill: 0
2019-04-22 15:40:47 [CPU] estimating 10399x12658x416 disparity using 1040x1055x16u tiles
2019-04-22 15:42:48 timings: rectify: 6.037 disparity: 342.834 borders: 4.153 filter: 2.399 fill: 0
2019-04-22 15:43:14 Error: Failure at C:\Users\buildserver\buildbot\slave\win64\build\sources\libs\libstereo\gpu\hierarchical_stereo.cpp:161
2019-04-22 15:43:14 GPU processing failed, switching to CPU mode
2019-04-22 15:43:14 [CPU] estimating 14755x15954x384 disparity using 1054x998x16u tiles
2019-04-22 15:44:47 timings: rectify: 4.602 disparity: 233.49 borders: 4.172 filter: 1.968 fill: 0
2019-04-22 15:48:28 timings: rectify: 7.388 disparity: 307.596 borders: 4.083 filter: 2.212 fill: 0
2019-04-22 15:48:35 Error: Failure at C:\Users\buildserver\buildbot\slave\win64\build\sources\libs\libstereo\gpu\hierarchical_stereo.cpp:161
2019-04-22 15:48:35 GPU processing failed, switching to CPU mode
2019-04-22 15:48:35 [CPU] estimating 13916x16695x384 disparity using 994x1044x16u tiles
2019-04-22 15:53:01 timings: rectify: 6.286 disparity: 258.938 borders: 4.218 filter: 2.39 fill: 0
2019-04-22 15:53:19
2019-04-22 15:53:19 Depth reconstruction devices performance:
2019-04-22 15:53:19  - 34%    done by CPU
2019-04-22 15:53:19  - 66%    done by GeForce GTX 780 Ti
2019-04-22 15:53:19 Total time: 1103.54 seconds
2019-04-22 15:53:19 CPU fallbacks: 3
2019-04-22 15:53:19
2019-04-22 15:53:19 3 depth maps generated in 1107.4 sec
2019-04-22 15:53:19 saved depth maps block in 0.181 sec
2019-04-22 15:53:20 loaded depth map partition in 0 sec
2019-04-22 15:53:20 Generating dense point cloud...
2019-04-22 15:53:20 Generating dense point cloud...
2019-04-22 15:53:20 initializing...
2019-04-22 15:53:22 selected 3 cameras in 2.397 sec
2019-04-22 15:53:22 working volume: 19676x14898x2946
2019-04-22 15:53:22 tiles: 1x1x1
2019-04-22 15:53:22 saved dense cloud data in 0.011 sec
2019-04-22 15:53:22 saved regions in 0.009 sec
2019-04-22 15:53:22 saved camera partition in 0.008 sec
2019-04-22 15:53:22 scheduled 1 depth filtering groups
2019-04-22 15:53:22 scheduled 1 dense cloud regions
2019-04-22 15:53:22 loaded camera partition in 0.001 sec
2019-04-22 15:53:22 loaded dense cloud data in 0 sec
2019-04-22 15:53:22 preloading data... done in 19.416 sec
2019-04-22 15:53:42 filtering depth maps... done in 11.362 sec
2019-04-22 15:53:53 saved depth maps block in 0.141 sec
2019-04-22 15:53:54 loaded regions in 0 sec
2019-04-22 15:53:54 loaded camera partition in 0.001 sec
2019-04-22 15:53:54 loaded dense cloud data in 0 sec
2019-04-22 15:53:54 selected 3 cameras in 0 sec
2019-04-22 15:53:54 preloading data... done in 1.175 sec
2019-04-22 15:53:55 preprocessing images... done in 0 sec
2019-04-22 15:54:07 working volume: 19676x14898x2946
2019-04-22 15:54:07 tiles: 5x4x1
2019-04-22 15:54:07 accumulating data... done in 0.39 sec
2019-04-22 15:54:07 building point cloud... done in 0.013 sec
2019-04-22 15:54:07 accumulating data... done in 0.384 sec
2019-04-22 15:54:07 building point cloud... done in 0.013 sec
2019-04-22 15:54:07 accumulating data... done in 0.384 sec
2019-04-22 15:54:08 building point cloud... done in 0.014 sec
2019-04-22 15:54:08 accumulating data... done in 0.509 sec
2019-04-22 15:54:08 building point cloud... done in 0.015 sec
2019-04-22 15:54:08 accumulating data... done in 0.476 sec
2019-04-22 15:54:09 building point cloud... done in 0.015 sec
2019-04-22 15:54:09 accumulating data... done in 0.429 sec
2019-04-22 15:54:09 building point cloud... done in 0.013 sec
2019-04-22 15:54:09 accumulating data... done in 0.92 sec
2019-04-22 15:54:11 building point cloud... done in 0.362 sec
2019-04-22 15:54:11 accumulating data... done in 0.649 sec
2019-04-22 15:54:12 building point cloud... done in 0.303 sec
2019-04-22 15:54:13 accumulating data... done in 0.395 sec
2019-04-22 15:54:13 building point cloud... done in 0.013 sec
2019-04-22 15:54:13 accumulating data... done in 0.403 sec
2019-04-22 15:54:14 building point cloud... done in 0.012 sec
2019-04-22 15:54:14 accumulating data... done in 0.393 sec
2019-04-22 15:54:14 building point cloud... done in 0.012 sec
2019-04-22 15:54:14 accumulating data... done in 3.655 sec
2019-04-22 15:54:22 building point cloud... done in 1.839 sec
2019-04-22 15:54:24 accumulating data... done in 2.092 sec
2019-04-22 15:54:28 building point cloud... done in 1.489 sec
2019-04-22 15:54:30 accumulating data... done in 0.403 sec
2019-04-22 15:54:30 building point cloud... done in 0.018 sec
2019-04-22 15:54:30 accumulating data... done in 0.441 sec
2019-04-22 15:54:31 building point cloud... done in 0.016 sec
2019-04-22 15:54:31 accumulating data... done in 0.388 sec
2019-04-22 15:54:31 building point cloud... done in 0.012 sec
2019-04-22 15:54:31 accumulating data... done in 0.741 sec
2019-04-22 15:54:32 building point cloud... done in 1.011 sec
2019-04-22 15:54:33 accumulating data... done in 0.922 sec
2019-04-22 15:54:35 building point cloud... done in 0.929 sec
2019-04-22 15:54:36 accumulating data... done in 0.39 sec
2019-04-22 15:54:36 building point cloud... done in 0.013 sec
2019-04-22 15:54:36 accumulating data... done in 0.393 sec
2019-04-22 15:54:36 building point cloud... done in 0.013 sec
2019-04-22 15:54:37 37527180 points extracted in 41.756 sec
2019-04-22 15:54:38 saved dense cloud in 1.281 sec
2019-04-22 15:54:38 loaded regions in 0 sec
2019-04-22 15:54:38 loaded dense cloud data in 0 sec
2019-04-22 15:54:38 joining 1 dense point clouds
2019-04-22 15:54:40 dense clouds joined in 1.63 sec
2019-04-22 15:54:41 loaded camera partition in 0.001 sec
2019-04-22 15:54:41 loaded regions in 0 sec
2019-04-22 15:54:41 Finished processing in 1190.11 sec (exit code 1)
2019-04-22 15:58:13 BuildDenseCloud: quality = Ultra high, depth filtering = Disabled, point colors = 0
2019-04-22 15:58:13 Generating depth maps...
2019-04-22 15:58:13 Initializing...
2019-04-22 15:58:13 sorting point cloud... done in 0 sec
2019-04-22 15:58:13 processing matches... done in 0.001 sec
2019-04-22 15:58:13 initializing...
2019-04-22 15:58:13 selected 3 cameras from 3 in 0.076 sec
2019-04-22 15:58:13 groups: 3
2019-04-22 15:58:13 3 of 3 used (100%)
2019-04-22 15:58:13 scheduled 1 depth map groups
2019-04-22 15:58:13 saved depth map partition in 0.016 sec
2019-04-22 15:58:13 loaded depth map partition in 0.001 sec
2019-04-22 15:58:13 Initializing...
2019-04-22 15:58:13 Using device: GeForce GTX 780 Ti, 15 compute units, 3072 MB global memory, compute capability 3.5
2019-04-22 15:58:13   driver version: 9020, runtime version: 5050
2019-04-22 15:58:13   max work group size 1024
2019-04-22 15:58:13   max work item sizes [1024, 1024, 64]
2019-04-22 15:58:13 Loading photos...
2019-04-22 15:58:18 loaded photos in 4.183 seconds
2019-04-22 15:58:18 Generating depth maps...
2019-04-22 15:58:25 [CPU] estimating 10399x12658x416 disparity using 1040x1055x16u tiles
2019-04-22 15:58:28 Error: Failure at C:\Users\buildserver\buildbot\slave\win64\build\sources\libs\libstereo\gpu\hierarchical_stereo.cpp:161
2019-04-22 15:58:28 GPU processing failed, switching to CPU mode
2019-04-22 15:58:28 [CPU] estimating 14756x15954x384 disparity using 1054x998x16u tiles
2019-04-22 16:01:49 timings: rectify: 6.943 disparity: 199.974 borders: 2.808 filter: 1.517 fill: 0
2019-04-22 16:01:56 [CPU] estimating 13916x16695x384 disparity using 994x1044x16u tiles
2019-04-22 16:04:52 timings: rectify: 9.977 disparity: 378.029 borders: 4.095 filter: 2.084 fill: 0
2019-04-22 16:04:56 [GPU] estimating 10399x12658x416 disparity using 372x256x16u tiles
2019-04-22 16:06:47 timings: rectify: 3.452 disparity: 101.031 borders: 5.626 filter: 1.535 fill: 0
2019-04-22 16:07:18 Error: Failure at C:\Users\buildserver\buildbot\slave\win64\build\sources\libs\libstereo\gpu\hierarchical_stereo.cpp:161
2019-04-22 16:07:18 GPU processing failed, switching to CPU mode
2019-04-22 16:07:18 [CPU] estimating 14755x15954x384 disparity using 1054x998x16u tiles
2019-04-22 16:07:45 timings: rectify: 6.214 disparity: 340.361 borders: 5.414 filter: 3.549 fill: 0
2019-04-22 16:12:05 timings: rectify: 7.733 disparity: 279.995 borders: 3.985 filter: 2.184 fill: 0
2019-04-22 16:12:11 Error: Failure at C:\Users\buildserver\buildbot\slave\win64\build\sources\libs\libstereo\gpu\hierarchical_stereo.cpp:161
2019-04-22 16:12:11 GPU processing failed, switching to CPU mode
2019-04-22 16:12:11 [CPU] estimating 13916x16695x384 disparity using 994x1044x16u tiles
2019-04-22 16:16:35 timings: rectify: 6.263 disparity: 257.105 borders: 4.139 filter: 2.445 fill: 0
2019-04-22 16:16:53
2019-04-22 16:16:53 Depth reconstruction devices performance:
2019-04-22 16:16:53  - 33%    done by CPU
2019-04-22 16:16:53  - 67%    done by GeForce GTX 780 Ti
2019-04-22 16:16:53 Total time: 1115.86 seconds
2019-04-22 16:16:53 CPU fallbacks: 3
2019-04-22 16:16:53
2019-04-22 16:16:53 3 depth maps generated in 1120.04 sec
2019-04-22 16:16:54 saved depth maps block in 0.21 sec
2019-04-22 16:16:54 loaded depth map partition in 0 sec
2019-04-22 16:16:54 Generating dense point cloud...
2019-04-22 16:16:54 Generating dense point cloud...
2019-04-22 16:16:54 initializing...
2019-04-22 16:16:57 selected 3 cameras in 2.45 sec
2019-04-22 16:16:57 working volume: 19670x14894x2945
2019-04-22 16:16:57 tiles: 1x1x1
2019-04-22 16:16:57 saved dense cloud data in 0.012 sec
2019-04-22 16:16:57 saved regions in 0.014 sec
2019-04-22 16:16:57 saved camera partition in 0.01 sec
2019-04-22 16:16:57 scheduled 1 depth filtering groups
2019-04-22 16:16:57 scheduled 1 dense cloud regions
2019-04-22 16:16:57 loaded camera partition in 0 sec
2019-04-22 16:16:57 loaded dense cloud data in 0 sec
2019-04-22 16:16:57 preloading data... done in 19.355 sec
2019-04-22 16:17:16 filtering depth maps... done in 11.36 sec
2019-04-22 16:17:28 saved depth maps block in 0.134 sec
2019-04-22 16:17:28 loaded regions in 0 sec
2019-04-22 16:17:28 loaded camera partition in 0 sec
2019-04-22 16:17:28 loaded dense cloud data in 0 sec
2019-04-22 16:17:28 selected 3 cameras in 0 sec
2019-04-22 16:17:28 preloading data... done in 1.208 sec
2019-04-22 16:17:30 preprocessing images... done in 0 sec
2019-04-22 16:17:42 working volume: 19670x14894x2945
2019-04-22 16:17:42 tiles: 5x4x1
2019-04-22 16:17:42 accumulating data... done in 0.524 sec
2019-04-22 16:17:42 building point cloud... done in 0.013 sec
2019-04-22 16:17:42 accumulating data... done in 0.484 sec
2019-04-22 16:17:43 building point cloud... done in 0.014 sec
2019-04-22 16:17:43 accumulating data... done in 0.601 sec
2019-04-22 16:17:43 building point cloud... done in 0.018 sec
2019-04-22 16:17:43 accumulating data... done in 0.398 sec
2019-04-22 16:17:44 building point cloud... done in 0.013 sec
2019-04-22 16:17:44 accumulating data... done in 0.402 sec
2019-04-22 16:17:44 building point cloud... done in 0.012 sec
2019-04-22 16:17:44 accumulating data... done in 0.522 sec
2019-04-22 16:17:45 building point cloud... done in 0.016 sec
2019-04-22 16:17:45 accumulating data... done in 0.982 sec
2019-04-22 16:17:46 building point cloud... done in 0.358 sec
2019-04-22 16:17:47 accumulating data... done in 0.791 sec
2019-04-22 16:17:48 building point cloud... done in 0.308 sec
2019-04-22 16:17:48 accumulating data... done in 0.388 sec
2019-04-22 16:17:49 building point cloud... done in 0.013 sec
2019-04-22 16:17:49 accumulating data... done in 0.41 sec
2019-04-22 16:17:49 building point cloud... done in 0.015 sec
2019-04-22 16:17:49 accumulating data... done in 0.399 sec
2019-04-22 16:17:50 building point cloud... done in 0.015 sec
2019-04-22 16:17:50 accumulating data... done in 3.657 sec
2019-04-22 16:17:57 building point cloud... done in 1.804 sec
2019-04-22 16:17:59 accumulating data... done in 2.128 sec
2019-04-22 16:18:04 building point cloud... done in 1.559 sec
2019-04-22 16:18:05 accumulating data... done in 0.435 sec
2019-04-22 16:18:06 building point cloud... done in 0.014 sec
2019-04-22 16:18:06 accumulating data... done in 0.41 sec
2019-04-22 16:18:06 building point cloud... done in 0.013 sec
2019-04-22 16:18:06 accumulating data... done in 0.413 sec
2019-04-22 16:18:07 building point cloud... done in 0.013 sec
2019-04-22 16:18:07 accumulating data... done in 0.866 sec
2019-04-22 16:18:08 building point cloud... done in 1.035 sec
2019-04-22 16:18:09 accumulating data... done in 1.014 sec
2019-04-22 16:18:10 building point cloud... done in 0.874 sec
2019-04-22 16:18:11 accumulating data... done in 0.407 sec
2019-04-22 16:18:12 building point cloud... done in 0.013 sec
2019-04-22 16:18:12 accumulating data... done in 0.474 sec
2019-04-22 16:18:12 building point cloud... done in 0.012 sec
2019-04-22 16:18:13 37506775 points extracted in 42.814 sec
2019-04-22 16:18:14 saved dense cloud in 1.324 sec
2019-04-22 16:18:14 loaded regions in 0 sec
2019-04-22 16:18:14 loaded dense cloud data in 0 sec
2019-04-22 16:18:14 joining 1 dense point clouds
2019-04-22 16:18:16 dense clouds joined in 1.982 sec
2019-04-22 16:18:17 loaded camera partition in 0.001 sec
2019-04-22 16:18:17 loaded regions in 0 sec
2019-04-22 16:18:17 Finished processing in 1203.75 sec (exit code 1)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Failure at ...hierarchical_stereo.cpp
« Reply #3 on: April 23, 2019, 01:19:06 PM »
Hello lefsky,

I can suggest to update to Metashape 1.5.2 and also check for the latest drivers on NVIDIA web-site:
https://www.nvidia.com/Download/driverResults.aspx/145872/en-us

However, the issues that you are observing seem to be related to insufficient VRAM on some stage and in such case the processing is performed on CPU. Do you have any other applications running in parallel, that utilize GPU intensively? Also is that correct, that you are processing only a few images, but of the large resolution (probably scanned historic aerial images)?
Best regards,
Alexey Pasumansky,
Agisoft LLC

fmassara

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Failure at ...hierarchical_stereo.cpp
« Reply #4 on: April 25, 2019, 09:27:31 PM »
Hi lefsky,
having the same error here on ubuntu 16.04, but in line 171
unfortunately nothing helped for me, drivers update/check, change of OS (Windows, that I don't love, but same behaviour on the very same operations as linux ones)
probably is due to some memory card allocation issues, mine was GTX 1050
switched to GTX 1070 8GB and solved the situation, being in a hurry and in need to respect my incoming timeline
sorry but not solving anything, only feeding more memory to the hungry beast
best,
f.


cschreiner

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Failure at ...hierarchical_stereo.cpp
« Reply #5 on: October 02, 2020, 10:02:32 AM »
Got the same Problem here:
"Error: Failure at hierarchical_stereo.cpp:165".
Metashape Version 1.6.3 b10732 x64
Images are 150 Megapixel 8Bit per Channel JPEGs (5005x11814x1216 disparity using 1001x985x8u tiles).
Card is a RTX 2080 SUPER

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Failure at ...hierarchical_stereo.cpp
« Reply #6 on: October 02, 2020, 12:29:15 PM »
Hello cschreiner,

Which NVIDIA driver version you have installed?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Dannosuke

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Failure at ...hierarchical_stereo.cpp
« Reply #7 on: January 19, 2021, 05:07:57 AM »
I'm having the same issue metashape says there is 0 VRAM, but the VRAM utilization is only at 18% of 8GB

My console readout is below. I have a threadripper 1920x so it's still going relatively fast on CPU anyway.

Saving project...
saved project in 1.35 sec
BuildDenseCloud: quality = High, depth filtering = Mild, reuse depth maps, point colors = 1
Generating dense point cloud...
Generating dense point cloud...
initializing...
selected 67 cameras in 0.784 sec
working volume: 2451x2164x699
tiles: 1x1x1
saved dense cloud data in 0.006 sec
saved regions in 0.007 sec
saved camera partition in 0.006 sec
scheduled 4 depth filtering groups
scheduled 1 dense cloud regions
loaded camera partition in 0 sec
loaded dense cloud data in 0.001 sec
filtering 16 depth maps...
using 67 depth maps including neighbors (2.40073 GB)
preloading data... done in 2.919 sec
filtering IMG_6950 using 66 neighbors... done in 5.881 sec (load: 0.86, render: 0.821 filter: 4.2)
filtering IMG_6951 using 66 neighbors... done in 5.128 sec (load: 0.347, render: 0.762 filter: 4.019)
filtering IMG_6952 using 66 neighbors... done in 5.037 sec (load: 0.353, render: 0.749 filter: 3.935)
filtering IMG_6953 using 66 neighbors... done in 5.133 sec (load: 0.316, render: 0.754 filter: 4.063)
filtering IMG_6954 using 66 neighbors... done in 5.164 sec (load: 0.366, render: 0.774 filter: 4.024)
filtering IMG_6955 using 66 neighbors... done in 5.248 sec (load: 0.336, render: 0.768 filter: 4.144)
filtering IMG_7007 using 66 neighbors... done in 5.189 sec (load: 0.325, render: 0.77 filter: 4.094)
filtering IMG_7008 using 66 neighbors... done in 5.13 sec (load: 0.324, render: 0.781 filter: 4.025)
filtering IMG_7009 using 66 neighbors... done in 5.167 sec (load: 0.335, render: 0.767 filter: 4.065)
filtering IMG_7010 using 66 neighbors... done in 5.377 sec (load: 0.333, render: 0.784 filter: 4.26)
filtering IMG_7011 using 66 neighbors... done in 5.476 sec (load: 0.323, render: 0.788 filter: 4.365)
filtering IMG_7012 using 66 neighbors... done in 5.649 sec (load: 0.361, render: 0.87 filter: 4.418)
filtering IMG_7013 using 66 neighbors... done in 5.681 sec (load: 0.389, render: 0.856 filter: 4.436)
filtering IMG_7014 using 66 neighbors... done in 5.259 sec (load: 0.338, render: 0.8 filter: 4.121)
filtering IMG_7015 using 66 neighbors... done in 5.2 sec (load: 0.327, render: 0.796 filter: 4.077)
filtering IMG_7016 using 66 neighbors... done in 5.207 sec (load: 0.332, render: 0.778 filter: 4.097)
filtered 16 depth maps in 89.095 sec
saved depth maps block in 0.039 sec
loaded camera partition in 0.001 sec
loaded dense cloud data in 0.001 sec
filtering 17 depth maps...
using 67 depth maps including neighbors (2.40073 GB)
preloading data... done in 2.709 sec

...
...

3935979 points extracted in 19.944 sec
saved dense cloud in 0.281 sec
loaded regions in 0 sec
loaded dense cloud data in 0.001 sec
joining 1 dense point clouds
dense clouds joined in 0.222 sec
loaded camera partition in 0 sec
loaded regions in 0 sec
Finished processing in 338.911 sec
Saving project...
saved project in 0.17 sec
BuildDenseCloud: quality = High, depth filtering = Mild, reuse depth maps, point colors = 1
Generating depth maps...
Initializing...
sorting point cloud... done in 0.015 sec
processing matches... done in 0.008 sec
initializing...
selected 57 cameras from 57 in 0.081 sec
groups: 19 19 19
160 of 57 used (280.702%)
scheduled 3 depth map groups
saved depth map partition in 0.006 sec
loaded depth map partition in 0.002 sec
Initializing...
Radeon RX Vega (gfx900): no SPIR support
Found 1 GPUs in 0 sec (CUDA: 0 sec, OpenCL: 0 sec)
Using device: Radeon RX Vega (gfx900), 56 compute units, free memory: 0/8176 MB, OpenCL 2.0
  driver version: 3188.4 (PAL,HSAIL), platform version: OpenCL 2.1 AMD-APP (3188.4)
  max work group size 256
  max work item sizes [1024, 1024, 1024]
  max mem alloc size 6732 MB
  wavefront width 64
Using OpenCL device 'Radeon RX Vega (gfx900)' in concurrent. (2 times)
Loading photos...
loaded photos in 3.735 seconds
Generating depth maps...
Free VRAM: 0 MB, maximum allocation required: 3 MB, memory required: 14 MB
Error: Failure at hierarchical_stereo.cpp:165
GPU processing failed, switching to CPU mode
[CPU] estimating 1838x758x128 disparity using 919x758x8u tiles
Free VRAM: 0 MB, maximum allocation required: 3 MB, memory required: 14 MB
Error: Failure at hierarchical_stereo.cpp:165
GPU processing failed, switching to CPU mode
[CPU] estimating 1801x761x192 disparity using 901x761x8u tiles
timings: rectify: 0.102 disparity: 3.614 borders: 0.019 filter: 0.058 fill: 0
Free VRAM: 0 MB, maximum allocation required: 3 MB, memory required: 14 MB
Error: Failure at hierarchical_stereo.cpp:165
GPU processing failed, switching to CPU mode
[CPU] estimating 1751x754x224 disparity using 876x754x8u tiles
timings: rectify: 0.168 disparity: 3.656 borders: 0.028 filter: 0.07 fill: 0
Free VRAM: 0 MB, maximum allocation required: 3 MB, memory required: 13 MB
Error: Failure at hierarchical_stereo.cpp:165
GPU processing failed, switching to CPU mode
[CPU] estimating 1716x744x288 disparity using 858x744x8u tiles
timings: rectify: 0.027 disparity: 3.566 borders: 0.02 filter: 0.135 fill: 0
Free VRAM: 0 MB, maximum allocation required: 1 MB, memory required: 7 MB

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14846
    • View Profile
Re: Failure at ...hierarchical_stereo.cpp
« Reply #8 on: January 19, 2021, 03:14:57 PM »
Hello Dannosuke,

Which OS version you are using and which AMD driver version is installed?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Dannosuke

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Failure at ...hierarchical_stereo.cpp
« Reply #9 on: January 24, 2021, 12:53:59 AM »
I'm on the latest Windows 10 Pro 20H2 and the 20.12.1 AMD Drivers. I just updated to the latest drivers I'll let you know if the problem persists.