Cannot use GPU. Reason: VK Error : VkResult is "ERROR_TOO_MANY_OBJECTS" at line 12Performing blending on CPU...
Hello JM,Can you please share the log from the beginning of Build Tiled Model task (or at least its texturing phase) and also the starting lines of Metashape from the Console pane?
2023-01-10 18:31:26 Agisoft Metashape Professional Version: 2.0.0 build 15597 (64 bit)2023-01-10 18:31:26 Platform: Windows2023-01-10 18:31:26 CPU: AMD Ryzen 9 5900X 12-Core Processor2023-01-10 18:31:26 CPU family: 25 model: 33 signature: A20F10h2023-01-10 18:31:26 RAM: 63.9 GB2023-01-10 18:31:26 OpenGL Vendor: ATI Technologies Inc.2023-01-10 18:31:26 OpenGL Renderer: AMD Radeon RX 7900 XTX2023-01-10 18:31:26 OpenGL Version: 4.6.0 Compatibility Profile Context 22.12.2.2212162023-01-10 18:31:26 Maximum Texture Size: 163842023-01-10 18:31:26 Quad Buffered Stereo: not enabled2023-01-10 18:31:26 ARB_vertex_buffer_object: supported2023-01-10 18:31:26 ARB_texture_non_power_of_two: supported2023-01-10 18:31:26 Using simple console. Rich console can be enabled in Preferences dialog.
2023-01-10 18:32:00 BuildTiledModel: source data = Depth maps, pixel size = 0.00375611, tile size = 256, face count = High, ghosting filter = 1, quality = Low, depth filtering = Moderate, PM version2023-01-10 18:32:00 Generating depth maps...2023-01-10 18:32:00 Preparing 1666 cameras info...2023-01-10 18:32:00 cameras data loaded in 0.44 s2023-01-10 18:32:01 cameras graph built in 0.726 s2023-01-10 18:32:01 filtering neighbors with too low common points, threshold=50...2023-01-10 18:32:01 avg neighbors before -> after filtering: 166.956 -> 21.4004 (87% filtered out)2023-01-10 18:32:01 limiting neighbors to 16 best...2023-01-10 18:32:02 avg neighbors before -> after filtering: 21.4004 -> 8.46098 (39% filtered out)2023-01-10 18:32:02 neighbors number min/1%/10%/median/90%/99%/max: 1, 3, 7, median=16, 16, 16, 162023-01-10 18:32:02 cameras info prepared in 2.754 s2023-01-10 18:32:03 saved cameras info in 0.0232023-01-10 18:32:03 Partitioning 1666 cameras...2023-01-10 18:32:03 number of mini clusters: 342023-01-10 18:32:03 34 groups: avg_ref=49 avg_neighb=43.5 total_io=189%2023-01-10 18:32:03 max_ref=50 max_neighb=108 max_total=1582023-01-10 18:32:03 cameras partitioned in 0.023 s2023-01-10 18:32:03 saved depth map partition in 0.002 sec2023-01-10 18:32:03 loaded cameras info in 0.0552023-01-10 18:32:03 loaded depth map partition in 0 sec2023-01-10 18:32:03 already partitioned (50<=50 ref cameras, 23<=200 neighb cameras)2023-01-10 18:32:03 group 1/1: preparing 73 cameras images...2023-01-10 18:32:03 tie points loaded in 0.007 s2023-01-10 18:32:04 AMD Radeon RX 7900 XTX (gfx1100): no SPIR support2023-01-10 18:32:04 Found 1 GPUs in 0.034 sec (CUDA: 0.024 sec, OpenCL: 0.01 sec)2023-01-10 18:32:04 Using device: AMD Radeon RX 7900 XTX (gfx1100), 48 compute units, free memory: 24557/24560 MB, OpenCL 2.02023-01-10 18:32:04 driver version: 3504.0 (PAL,LC), platform version: OpenCL 2.1 AMD-APP (3504.0)2023-01-10 18:32:04 max work group size 2562023-01-10 18:32:04 max work item sizes [1024, 1024, 1024]2023-01-10 18:32:04 max mem alloc size 20876 MB2023-01-10 18:32:04 wavefront width 322023-01-10 18:32:04 Using device: CPU AMD Ryzen 9 5900X 12-Core Processor (using 19/24)2023-01-10 18:32:04 Loading kernels for AMD Radeon RX 7900 XTX (gfx1100)... 2023-01-10 18:32:04 Kernel loaded in 0.002 seconds2023-01-10 18:32:13 group 1/1: cameras images prepared in 10.566 s2023-01-10 18:32:13 group 1/1: 73 x frame2023-01-10 18:32:13 group 1/1: 73 x uint82023-01-10 18:32:13 group 1/1: expected peak VRAM usage: 123 MB (64 MB max alloc, 1368x1368 mipmap texture, 16 max neighbors)2023-01-10 18:32:13 AMD Radeon RX 7900 XTX (gfx1100): no SPIR support2023-01-10 18:32:13 Found 1 GPUs in 0 sec (CUDA: 0 sec, OpenCL: 0 sec)2023-01-10 18:32:13 Using device: AMD Radeon RX 7900 XTX (gfx1100), 48 compute units, free memory: 24557/24560 MB, OpenCL 2.02023-01-10 18:32:13 driver version: 3504.0 (PAL,LC), platform version: OpenCL 2.1 AMD-APP (3504.0)2023-01-10 18:32:13 max work group size 2562023-01-10 18:32:13 max work item sizes [1024, 1024, 1024]2023-01-10 18:32:13 max mem alloc size 20876 MB2023-01-10 18:32:13 wavefront width 32
2023-01-10 20:35:16 Avg camera fetch time: 0.431827 sec2023-01-10 20:35:16 Total stalled time: 47.913 sec2023-01-10 20:35:16 Avg camera processing time: 0.0130877 sec2023-01-10 20:35:18 Cannot use GPU. Reason: VK Error : VkResult is "ERROR_TOO_MANY_OBJECTS" at line 122023-01-10 20:35:18 Performing blending on CPU...2023-01-10 20:35:18 rendering 5149 pages2023-01-10 20:35:22 calculating mesh connectivity... done in 0.029 sec2023-01-10 20:35:22 detecting outliers...
[GPU 1] Using device: AMD Radeon RX 7900 XTX (gfx1100), 48 compute units, free memory: 24557/24560 MB, OpenCL 2.0
Hello JM,Thank you for additional information regarding the texturing issue, we will try to reproduce it on our side on a similar configuration and analyze the problem.As for your question about GPU initialization line output, for OpenCL devices Metashape gets the "compute units" number from the driver reply upon CL_DEVICE_MAX_COMPUTE_UNITS call. It seems that for modern ADM graphic cards with RDNA architecture the command returns number of WGP (so-called "workgroup processors") which are actually dual compute units.Additional information on this matter can be found here:https://www.amd.com/system/files/documents/rdna-whitepaper.pdfhttps://en.wikipedia.org/wiki/RDNA_(microarchitecture)#Differences_between_GCN_and_RDNAHowever, Metashape is not relying on this output, the task of parallel computations on all available compute units is performed by GPU driver. You can check GPU load using dedicated utilities, such as GPU-Z, for example.