Meshroom
Meshroom copied to clipboard
[question] "invalid device symbol" error in DepthMap calculation
Describe the problem I have installed meshroom-bin from the Arch User Repository. I tried to do a photogrammetry project: I loaded some photos and, without changing anything to the default pipeline, I just clicked "Start". The DepthMap step of the pipeline however threw an error. Below is the whole log with verbosity level set to "trace".
Screenshots
Dataset
Log
[2023-09-16 13:00:25.306420] [0x00007fa2bdafb000] [trace] Embedded OCIO configuration file: '/usr/share/meshroom-bin/aliceVision/share/aliceVision/config.ocio' found.
Program called with the following parameters:
* autoAdjustSmallImage = 1
* chooseTCamsPerTile = 1
* colorOptimizationEnabled = 0
* colorOptimizationNbIterations = 100 (default)
* customPatchPatternGroupSubpartsPerLevel = 1 (default)
* customPatchPatternSubparts = Unknown Type "St6vectorIN11aliceVision8depthMap24CustomPatchPatternParams13SubpartParamsESaIS3_EE" (default)
* downscale = 4
* exportIntermediateCrossVolumes = 0
* exportIntermediateDepthSimMaps = 0
* exportIntermediateNormalMaps = 0
* exportIntermediateTopographicCutVolumes = 0
* exportIntermediateVolume9pCsv = 0
* exportIntermediateVolumes = 0
* exportTilePattern = 0
* imagesFolder = "<path>/MeshroomCache/PrepareDenseScene/0761e288f694182fdc93ff44ebf49ee6e9d83c4f"
* input = "<path>/MeshroomCache/StructureFromMotion/cd213b76f33c24e301fd719ca7e5ecb554a1287c/sfm.abc"
* maxCoresAvailable = Unknown Type "j" (default)
* maxMemoryAvailable = 18446744073709551615 (default)
* maxTCams = 10
* maxViewAngle = 70
* minViewAngle = 2
* nbGPUs = 0
* output = "<path>/MeshroomCache/DepthMap/532e498f07d42bb7dfceae920b2c7216f0af8a6c"
* rangeSize = 3
* rangeStart = 0
* refineEnabled = 0
* refineGammaC = 15.5 (default)
* refineGammaP = 8 (default)
* refineHalfNbDepths = 15 (default)
* refineInterpolateMiddleDepth = 0 (default)
* refineMaxTCamsPerTile = 4 (default)
* refineScale = 1 (default)
* refineSigma = 15 (default)
* refineStepXY = 1 (default)
* refineSubsampling = 10 (default)
* refineUseConsistentScale = 0 (default)
* refineUseCustomPatchPattern = 0
* refineWSH = 3 (default)
* sgmDepthListPerTile = 1
* sgmDepthThicknessInflate = 0
* sgmFilteringAxes = "YX"
* sgmGammaC = 5.5
* sgmGammaP = 8
* sgmMaxDepths = 1500
* sgmMaxSimilarity = 1
* sgmMaxTCamsPerTile = 4
* sgmP1 = 10
* sgmP2Weighting = 100
* sgmScale = 2
* sgmSeedsRangeInflate = 0.2
* sgmStepXY = 2
* sgmStepZ = -1
* sgmUseConsistentScale = 0
* sgmUseCustomPatchPattern = 0
* sgmUseSfmSeeds = 1
* sgmWSH = 4
* tileBufferHeight = 1024
* tileBufferWidth = 1024
* tilePadding = 64
* verboseLevel = "trace"
Hardware :
Detected core count : 4
OpenMP will use 4 cores
Detected available memory : 9656 Mo
[13:00:25.311008][info] CUDA-Enabled GPU.
Device information:
- id: 0
- name: NVIDIA GeForce GTX 650
- compute capability: 3.0
- clock frequency (kHz): 1110500
- total device memory: 1998 MB
- device memory available: 1231 MB
- per-block shared memory: 49152
- warp size: 32
- max threads per block: 1024
- max threads per SM(X): 2048
- max block sizes: {1024,1024,64}
- max grid sizes: {2147483647,65535,65535}
- max 2D array texture: {65536,65536}
- max 3D array texture: {4096,4096,4096}
- max 2D linear texture: {65000,65000,1048544}
- max 2D layered texture: {16384,16384,2048}
- number of SM(x)s: 2
- registers per SM(x): 65536
- registers per block: 65536
- concurrent kernels: yes
- mapping host memory: yes
- unified addressing: yes
- texture alignment: 512 byte
- pitch alignment: 32 byte
CUDA build version: 11.3
[13:00:25.348269][info] Supported CUDA-Enabled GPU detected.
[13:00:25.348744][debug] 0 samples found in this animated xform.
[13:00:25.348880][debug] 0 samples found in this animated xform.
[13:00:25.361862][debug] 0 samples found in this animated xform.
[13:00:25.361916][debug] 0 samples found in this animated xform.
[13:00:25.361939][debug] 0 samples found in this animated xform.
[13:00:25.558889][info] Found 1 image dimension(s):
[13:00:25.558956][info] - [4032x2268]
[13:00:25.562282][debug] Reading view 35865410 projection matrix from image metadata.
[13:00:25.562862][debug] Reading view 50787095 projection matrix from image metadata.
[13:00:25.563339][debug] Reading view 86617033 projection matrix from image metadata.
[13:00:25.563823][debug] Reading view 90106380 projection matrix from image metadata.
[13:00:25.564294][debug] Reading view 110511133 projection matrix from image metadata.
[13:00:25.564768][debug] Reading view 132698668 projection matrix from image metadata.
[13:00:25.565236][debug] Reading view 157280332 projection matrix from image metadata.
[13:00:25.565733][debug] Reading view 201333462 projection matrix from image metadata.
[13:00:25.566193][debug] Reading view 214095268 projection matrix from image metadata.
[13:00:25.566633][debug] Reading view 220995780 projection matrix from image metadata.
[13:00:25.567072][debug] Reading view 240446114 projection matrix from image metadata.
[13:00:25.567577][debug] Reading view 242026875 projection matrix from image metadata.
[13:00:25.568021][debug] Reading view 263561637 projection matrix from image metadata.
[13:00:25.568460][debug] Reading view 264173668 projection matrix from image metadata.
[13:00:25.568899][debug] Reading view 307038287 projection matrix from image metadata.
[13:00:25.569365][debug] Reading view 335680252 projection matrix from image metadata.
[13:00:25.569805][debug] Reading view 342048894 projection matrix from image metadata.
[13:00:25.570244][debug] Reading view 359347392 projection matrix from image metadata.
[13:00:25.570682][debug] Reading view 360264842 projection matrix from image metadata.
[13:00:25.571158][debug] Reading view 365440376 projection matrix from image metadata.
[13:00:25.571595][debug] Reading view 371505819 projection matrix from image metadata.
[13:00:25.572031][debug] Reading view 397279885 projection matrix from image metadata.
[13:00:25.572508][debug] Reading view 405830546 projection matrix from image metadata.
[13:00:25.572963][debug] Reading view 434946770 projection matrix from image metadata.
[13:00:25.573416][debug] Reading view 449680029 projection matrix from image metadata.
[13:00:25.573864][debug] Reading view 453361969 projection matrix from image metadata.
[13:00:25.574315][debug] Reading view 463866929 projection matrix from image metadata.
[13:00:25.574764][debug] Reading view 466373925 projection matrix from image metadata.
[13:00:25.575215][debug] Reading view 470305350 projection matrix from image metadata.
[13:00:25.575703][debug] Reading view 476929792 projection matrix from image metadata.
[13:00:25.576157][debug] Reading view 482585304 projection matrix from image metadata.
[13:00:25.576594][debug] Reading view 483836604 projection matrix from image metadata.
[13:00:25.577087][debug] Reading view 522007656 projection matrix from image metadata.
[13:00:25.577588][debug] Reading view 528896955 projection matrix from image metadata.
[13:00:25.578025][debug] Reading view 534306031 projection matrix from image metadata.
[13:00:25.578461][debug] Reading view 537279703 projection matrix from image metadata.
[13:00:25.578919][debug] Reading view 540905323 projection matrix from image metadata.
[13:00:25.579399][debug] Reading view 541718987 projection matrix from image metadata.
[13:00:25.579852][debug] Reading view 585123683 projection matrix from image metadata.
[13:00:25.580303][debug] Reading view 593776650 projection matrix from image metadata.
[13:00:25.580754][debug] Reading view 623786350 projection matrix from image metadata.
[13:00:25.581203][debug] Reading view 648169385 projection matrix from image metadata.
[13:00:25.581654][debug] Reading view 652878092 projection matrix from image metadata.
[13:00:25.582107][debug] Reading view 712949321 projection matrix from image metadata.
[13:00:25.582569][debug] Reading view 737139328 projection matrix from image metadata.
[13:00:25.583005][debug] Reading view 737241913 projection matrix from image metadata.
[13:00:25.583437][debug] Reading view 866288621 projection matrix from image metadata.
[13:00:25.583884][debug] Reading view 867719570 projection matrix from image metadata.
[13:00:25.584338][debug] Reading view 875134660 projection matrix from image metadata.
[13:00:25.584776][debug] Reading view 875875941 projection matrix from image metadata.
[13:00:25.585228][debug] Reading view 878319087 projection matrix from image metadata.
[13:00:25.585762][debug] Reading view 881932253 projection matrix from image metadata.
[13:00:25.586204][debug] Reading view 890954300 projection matrix from image metadata.
[13:00:25.586656][debug] Reading view 899563386 projection matrix from image metadata.
[13:00:25.587106][debug] Reading view 912738640 projection matrix from image metadata.
[13:00:25.587557][debug] Reading view 914491531 projection matrix from image metadata.
[13:00:25.588024][debug] Reading view 922431198 projection matrix from image metadata.
[13:00:25.588509][debug] Reading view 943041350 projection matrix from image metadata.
[13:00:25.588967][debug] Reading view 955360205 projection matrix from image metadata.
[13:00:25.589470][debug] Reading view 955638860 projection matrix from image metadata.
[13:00:25.589993][debug] Reading view 966618636 projection matrix from image metadata.
[13:00:25.590460][debug] Reading view 984606205 projection matrix from image metadata.
[13:00:25.590925][debug] Reading view 1028547707 projection matrix from image metadata.
[13:00:25.591390][debug] Reading view 1124120268 projection matrix from image metadata.
[13:00:25.591855][debug] Reading view 1125853506 projection matrix from image metadata.
[13:00:25.592326][debug] Reading view 1135761520 projection matrix from image metadata.
[13:00:25.592793][debug] Reading view 1147576106 projection matrix from image metadata.
[13:00:25.593256][debug] Reading view 1163260169 projection matrix from image metadata.
[13:00:25.593722][debug] Reading view 1169705578 projection matrix from image metadata.
[13:00:25.594187][debug] Reading view 1182276157 projection matrix from image metadata.
[13:00:25.594637][debug] Reading view 1216519690 projection matrix from image metadata.
[13:00:25.595086][debug] Reading view 1229516893 projection matrix from image metadata.
[13:00:25.595535][debug] Reading view 1245215467 projection matrix from image metadata.
[13:00:25.596027][debug] Reading view 1285643323 projection matrix from image metadata.
[13:00:25.596478][debug] Reading view 1338149789 projection matrix from image metadata.
[13:00:25.596928][debug] Reading view 1347605591 projection matrix from image metadata.
[13:00:25.597376][debug] Reading view 1354691022 projection matrix from image metadata.
[13:00:25.597841][debug] Reading view 1359663591 projection matrix from image metadata.
[13:00:25.598287][debug] Reading view 1360507202 projection matrix from image metadata.
[13:00:25.598722][debug] Reading view 1367079671 projection matrix from image metadata.
[13:00:25.599192][debug] Reading view 1370849568 projection matrix from image metadata.
[13:00:25.599701][debug] Reading view 1425669138 projection matrix from image metadata.
[13:00:25.600134][debug] Reading view 1452991908 projection matrix from image metadata.
[13:00:25.600580][debug] Reading view 1466876274 projection matrix from image metadata.
[13:00:25.601032][debug] Reading view 1488071935 projection matrix from image metadata.
[13:00:25.601540][debug] Reading view 1513643846 projection matrix from image metadata.
[13:00:25.601994][debug] Reading view 1517228706 projection matrix from image metadata.
[13:00:25.602488][debug] Reading view 1539038931 projection matrix from image metadata.
[13:00:25.602939][debug] Reading view 1557424697 projection matrix from image metadata.
[13:00:25.603388][debug] Reading view 1558595990 projection matrix from image metadata.
[13:00:25.603836][debug] Reading view 1584979347 projection matrix from image metadata.
[13:00:25.604302][debug] Reading view 1610932178 projection matrix from image metadata.
[13:00:25.604766][debug] Reading view 1653674838 projection matrix from image metadata.
[13:00:25.605215][debug] Reading view 1653718227 projection matrix from image metadata.
[13:00:25.605713][debug] Reading view 1698729515 projection matrix from image metadata.
[13:00:25.606163][debug] Reading view 1712571714 projection matrix from image metadata.
[13:00:25.606613][debug] Reading view 1730338881 projection matrix from image metadata.
[13:00:25.607140][debug] Reading view 1758735071 projection matrix from image metadata.
[13:00:25.607628][debug] Reading view 1760416248 projection matrix from image metadata.
[13:00:25.608108][debug] Reading view 1764975289 projection matrix from image metadata.
[13:00:25.608566][debug] Reading view 1768978127 projection matrix from image metadata.
[13:00:25.609061][debug] Reading view 1783487691 projection matrix from image metadata.
[13:00:25.609526][debug] Reading view 1791450318 projection matrix from image metadata.
[13:00:25.609991][debug] Reading view 1818868634 projection matrix from image metadata.
[13:00:25.610464][debug] Reading view 1825950182 projection matrix from image metadata.
[13:00:25.610927][debug] Reading view 1852945753 projection matrix from image metadata.
[13:00:25.611389][debug] Reading view 1878489562 projection matrix from image metadata.
[13:00:25.611851][debug] Reading view 1888624181 projection matrix from image metadata.
[13:00:25.612327][debug] Reading view 1923339937 projection matrix from image metadata.
[13:00:25.612787][debug] Reading view 1933570394 projection matrix from image metadata.
[13:00:25.613236][debug] Reading view 1944728417 projection matrix from image metadata.
[13:00:25.613683][debug] Reading view 1951113024 projection matrix from image metadata.
[13:00:25.614129][debug] Reading view 1957299604 projection matrix from image metadata.
[13:00:25.614575][debug] Reading view 1970320380 projection matrix from image metadata.
[13:00:25.615021][debug] Reading view 1977949333 projection matrix from image metadata.
[13:00:25.615467][debug] Reading view 1987755892 projection matrix from image metadata.
[13:00:25.615933][debug] Reading view 1990460112 projection matrix from image metadata.
[13:00:25.616377][debug] Reading view 1991009182 projection matrix from image metadata.
[13:00:25.616810][debug] Reading view 2002907093 projection matrix from image metadata.
[13:00:25.617273][debug] Reading view 2008972741 projection matrix from image metadata.
[13:00:25.617746][debug] Reading view 2024106724 projection matrix from image metadata.
[13:00:25.618182][debug] Reading view 2028095649 projection matrix from image metadata.
[13:00:25.618617][debug] Reading view 2063938833 projection matrix from image metadata.
[13:00:25.619102][debug] Reading view 2069995134 projection matrix from image metadata.
[13:00:25.619552][debug] Reading view 2077154893 projection matrix from image metadata.
[13:00:25.620001][debug] Reading view 2094935062 projection matrix from image metadata.
[13:00:25.620449][debug] Reading view 2122707442 projection matrix from image metadata.
[13:00:25.620896][debug] Reading view 2126138965 projection matrix from image metadata.
[13:00:25.620912][info] Overall maximum dimension: [4032x2268]
[13:00:25.620921][warning] Tile buffer size (width: 1024, height: 1024) is larger than the maximum image size (width: 1008, height: 567).
[13:00:25.620944][warning] Single tile computation, override SGM maximum number of T cameras per tile (before: 4, now: 10).
[13:00:25.620951][warning] Single tile computation, override Refine maximum number of T cameras per tile (before: 4, now: 10).
[13:00:25.620959][warning] Single tile computation, override SGM step XY (before: 2, now: 1).
[13:00:25.621007][info] Tiling information:
- parameters:
- buffer width: 1024 px
- buffer height: 1024 px
- padding: 64 px
- maximum downscale: 2
- maximum image width: 1008 px
- maximum image height: 567 px
[13:00:25.621042][info] Maximum image size is smaller than one tile, use only one tile.
[13:00:25.621071][info] SGM parameters:
- scale: 2
- stepXY: 1
[13:00:25.621117][info] Refine parameters:
- scale: 1
- stepXY: 1
[13:00:25.621538][debug] 1 CUDA devices found:
- Device 0: NVIDIA GeForce GTX 650
[13:00:25.621570][info] Number of GPU devices: 1, number of CPU threads: 4
[13:00:26.060402][debug] GPU 3D allocation: 512x512x1500, type size=1, pitch=512
[13:00:26.060454][debug] : 393216000, padded=393216000, wasted=0, wasted ratio=0%
[13:00:26.061064][debug] GPU 3D allocation: 512x512x1500, type size=1, pitch=512
[13:00:26.061081][debug] : 393216000, padded=393216000, wasted=0, wasted ratio=0%
[13:00:26.063087][debug] GPU 3D allocation: 1024x1024x31, type size=2, pitch=2048
[13:00:26.063105][debug] : 65011712, padded=65011712, wasted=0, wasted ratio=0%
[13:00:26.063433][info] Device memory:
- available: 984.9 MB
- requirement for the first tile: 915.815 MB
- # computation buffers per tile: 843.867 MB (Sgm: 757.867 MB, Refine: 86 MB)
- # input images (R + 10 Ts): 71.9478 MB (single mipmap image size: 6.54071 MB)
[13:00:26.063460][debug] Theoretical device memory cost for a tile without padding: 843.867 MB (Sgm: 757.867 MB, Refine: 86 MB)
[13:00:26.063471][info] Parallelization:
- # tiles per image: 1
- # simultaneous depth maps computation: 1
- # simultaneous tiles computation: 1
[13:00:26.063513][trace] Initialize device cache (device id: 0):
- # mipmap images: 11
- # cameras parameters: 22
================================================================================
====================== Command line failed with an error =======================
Failed to move Gaussian filter to symbol.: invalid device symbol
================================================================================
Desktop (please complete the following and other pertinent information): Information taken from "Help -> About":
- OS: Linux 6.5.3-arch1-1
- Python version 3.6.12
- Meshroom version: Version 2023.2.0 [from the AUR]
- Binary version (if applicable) 2023.2.0
- Commit reference (if applicable) -
Additional context Add any other context about the problem here.
I seen the same today with a slightly more powerful GPU: NVIDIA GeForce GTX 680
The log is similar to the one above, if it is of interest, I can post it too.
The version I am using is Meshroom-2023.3.0-linux.tar.gz direct from the download page on Devuan Linux.
I'm having the same error code with Quadro K4000 on Windows. I'm willing to post log if needed.
Hello,
Dose anyone got any solutions on how to fix this?