openphotogrammetry / meshroomcl

MeshroomCL: An OpenCL implementation of photogrammetry with the Meshroom interface
Other
163 stars 8 forks source link

MultiviewStereoCL FAIL #61

Open Skalpeks opened 2 months ago

Skalpeks commented 2 months ago

Hello, I had the 0.9 version and i've got an issue with the MultiviewStereoCL. I work with a GOPRO Hero 9 Black and my config is : AMD RYZEN 5 7600X AsRock B650E PG Riptide Wifi 32gb Ram Radeon RX 6800XT 16gb

There is the log because I don't understand what's wrong :

============================================================================== Image undistortion

Undistorting image [1/2] Undistorting image [2/2] Writing reconstruction... Writing configuration... Writing scripts... Elapsed time: 0.020 [minutes] Reading workspace... Reading configuration... Configuration has 2 problems...

============================================================================== Processing view 1 / 2

Reading inputs...

PatchMatch::Problem

ref_image_idx: 0 src_image_idxs: 1

PatchMatchOptions

max_image_size: 3200 gpu_index: 1 depth_min: 5.0723 depth_max: 8.7419 window_radius: 5 window_step: 1 sigma_spatial: 5 sigma_color: 0.2 num_samples: 15 ncc_sigma: 0.6 min_triangulation_angle: 1 incident_angle_sigma: 0.9 num_iterations: 5 geom_consistency: 0 geom_consistency_regularizer: 0.3 geom_consistency_max_cost: 3 filter: 1 filter_min_ncc: 0.1 filter_min_triangulation_angle: 3 filter_min_num_consistent: 1 filter_geom_consistency_max_cost: 1 write_consistency_graph: 0

PatchMatch::Run

OpenCL platform : AMD Accelerated Parallel Processing OpenCL device : gfx1030 Initialization: 0.044535s Sweep 1: 0.100875s Sweep 2: 0.011956s Sweep 3: 0.099937s Sweep 4: 0.011532s Iteration 1: 0.224392s Sweep 1: 0.098908s Sweep 2: 0.011658s Sweep 3: 0.099565s Sweep 4: 0.011405s Iteration 2: 0.221619s Sweep 1: 0.098795s Sweep 2: 0.011697s Sweep 3: 0.098452s Sweep 4: 0.0118s Iteration 3: 0.220828s Sweep 1: 0.099359s Sweep 2: 0.011415s Sweep 3: 0.099815s Sweep 4: 0.011431s Iteration 4: 0.222105s Sweep 1: 0.097349s Sweep 2: 0.011345s Sweep 3: 0.09671s Sweep 4: 0.011547s Iteration 5: 0.217021s Filtering: 0.000605s Total: 1.15116s

Writing photometric output for 1692430695.JPG

============================================================================== Processing view 2 / 2

Reading inputs...

PatchMatch::Problem

ref_image_idx: 1 src_image_idxs: 0

PatchMatchOptions

max_image_size: 3200 gpu_index: 1 depth_min: 8.69537 depth_max: 14.7693 window_radius: 5 window_step: 1 sigma_spatial: 5 sigma_color: 0.2 num_samples: 15 ncc_sigma: 0.6 min_triangulation_angle: 1 incident_angle_sigma: 0.9 num_iterations: 5 geom_consistency: 0 geom_consistency_regularizer: 0.3 geom_consistency_max_cost: 3 filter: 1 filter_min_ncc: 0.1 filter_min_triangulation_angle: 3 filter_min_num_consistent: 1 filter_geom_consistency_max_cost: 1 write_consistency_graph: 0

PatchMatch::Run

OpenCL platform : AMD Accelerated Parallel Processing OpenCL device : gfx1030 Initialization: 0.057637s Sweep 1: 0.109916s Sweep 2: 0.011743s Sweep 3: 0.10267s Sweep 4: 0.011958s Iteration 1: 0.236371s Sweep 1: 0.10338s Sweep 2: 0.011616s Sweep 3: 0.10351s Sweep 4: 0.011519s Iteration 2: 0.230121s Sweep 1: 0.101909s Sweep 2: 0.011815s Sweep 3: 0.102724s Sweep 4: 0.011534s Iteration 3: 0.228061s Sweep 1: 0.103074s Sweep 2: 0.011538s Sweep 3: 0.10163s Sweep 4: 0.011562s Iteration 4: 0.227876s Sweep 1: 0.101097s Sweep 2: 0.011651s Sweep 3: 0.100632s Sweep 4: 0.011466s Iteration 5: 0.224916s Filtering: 0.000606s Total: 1.20564s

Writing photometric output for 1584001463.JPG Elapsed time: 0.061 [minutes] Reading workspace... Reading configuration... Configuration has 2 problems...

============================================================================== Processing view 1 / 2

Reading inputs...

PatchMatch::Problem

ref_image_idx: 0 src_image_idxs: 1

PatchMatchOptions

max_image_size: 3200 gpu_index: 1 depth_min: 5.0723 depth_max: 8.7419 window_radius: 5 window_step: 1 sigma_spatial: 5 sigma_color: 0.2 num_samples: 15 ncc_sigma: 0.6 min_triangulation_angle: 1 incident_angle_sigma: 0.9 num_iterations: 5 geom_consistency: 1 geom_consistency_regularizer: 0.3 geom_consistency_max_cost: 3 filter: 1 filter_min_ncc: 0.1 filter_min_triangulation_angle: 3 filter_min_num_consistent: 1 filter_geom_consistency_max_cost: 1 write_consistency_graph: 0

PatchMatch::Run

OpenCL platform : AMD Accelerated Parallel Processing OpenCL device : gfx1030 Initialization: 0.038267s Sweep 1: 0.069732s Sweep 2: 0.010622s Sweep 3: 0.069733s Sweep 4: 0.010197s Iteration 1: 0.16035s Sweep 1: 0.069789s Sweep 2: 0.010271s Sweep 3: 0.070682s Sweep 4: 0.010292s Iteration 2: 0.161105s Sweep 1: 0.07061s Sweep 2: 0.0103s Sweep 3: 0.069674s Sweep 4: 0.010251s Iteration 3: 0.1609s Sweep 1: 0.069974s Sweep 2: 0.010299s Sweep 3: 0.070567s Sweep 4: 0.010268s Iteration 4: 0.161185s Sweep 1: 0.070196s Sweep 2: 0.01027s Sweep 3: 0.070102s Sweep 4: 0.010213s Iteration 5: 0.160857s Filtering: 0.000635s Total: 0.843354s

Writing geometric output for 1692430695.JPG

============================================================================== Processing view 2 / 2

Reading inputs...

PatchMatch::Problem

ref_image_idx: 1 src_image_idxs: 0

PatchMatchOptions

max_image_size: 3200 gpu_index: 1 depth_min: 8.69537 depth_max: 14.7693 window_radius: 5 window_step: 1 sigma_spatial: 5 sigma_color: 0.2 num_samples: 15 ncc_sigma: 0.6 min_triangulation_angle: 1 incident_angle_sigma: 0.9 num_iterations: 5 geom_consistency: 1 geom_consistency_regularizer: 0.3 geom_consistency_max_cost: 3 filter: 1 filter_min_ncc: 0.1 filter_min_triangulation_angle: 3 filter_min_num_consistent: 1 filter_geom_consistency_max_cost: 1 write_consistency_graph: 0

PatchMatch::Run

OpenCL platform : AMD Accelerated Parallel Processing OpenCL device : gfx1030 Initialization: 0.037893s Sweep 1: 0.070231s Sweep 2: 0.010674s Sweep 3: 0.070328s Sweep 4: 0.010616s Iteration 1: 0.161929s Sweep 1: 0.070354s Sweep 2: 0.010284s Sweep 3: 0.070556s Sweep 4: 0.010236s Iteration 2: 0.161501s Sweep 1: 0.070158s Sweep 2: 0.010547s Sweep 3: 0.070723s Sweep 4: 0.010174s Iteration 3: 0.16168s Sweep 1: 0.070736s Sweep 2: 0.010378s Sweep 3: 0.070282s Sweep 4: 0.010565s Iteration 4: 0.162039s Sweep 1: 0.069926s Sweep 2: 0.010249s Sweep 3: 0.071361s Sweep 4: 0.010335s Iteration 5: 0.161954s Filtering: 0.000638s Total: 0.847692s

Writing geometric output for 1584001463.JPG Elapsed time: 0.051 [minutes]

StereoFusion::Options

max_image_size: 3200 min_num_pixels: 5 max_num_pixels: 10000 max_traversal_depth: 100 max_reproj_error: 2 max_depth_error: 0.01 max_normal_error: 10 check_num_images: 50 cache_size: 32

Reading workspace... Reading configuration... Fusing image [1/2] in 0.026s (0 points) Fusing image [2/2] in 0.026s (0 points) WARNING: Could not fuse any points. This is likely caused by incorrect settings - filtering must be enabled for the last call to patch match stereo. Number of fused points: 0 Elapsed time: 0.002 [minutes] Writing output: C:/Users/jacob/Desktop/Bondoufle/MeshroomCache/MultiviewStereoCL/4ad3e37860b855515e63529708b82e92552b0eda\fused.ply Triangulating points... Triangulation has 0 using 0 points. Initializing ray tracer... F0409 10:08:25.169317 97036 math.h:233] Check failed: !elems.empty() Check failure stack trace: @ 00007FFE3AB65FCB public: void cdecl google::LogMessage::Flush(void) ptr64 @ 00007FFE3AB64B29 public: cdecl google::LogMessageFatal::~LogMessageFatal(void) ptr64 @ 00007FF731F5D401 (unknown) @ 00007FF731F72EA2 (unknown) @ 00007FF731F7B72E (unknown) @ 00007FF731F7CFBC (unknown) @ 00007FF731E3F849 (unknown) @ 00007FF731E317A6 (unknown) @ 00007FF731E741BF (unknown) @ 00007FF73238EAD4 (unknown) @ 00007FFEEA29257D BaseThreadInitThunk @ 00007FFEEABEAA48 RtlUserThreadStart

Thanks for any answers

AaronThriemer commented 2 months ago

I have the same problem. Even tried on another PC, still same issue.

Dexord commented 2 weeks ago

A reddit user pointed out this can be a driver version issue.

https://www.reddit.com/r/photogrammetry/comments/15v3haf/comment/kje4ukd/