Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Estimate DepthMap #1397

Closed
ThorsPanzer opened this issue Apr 23, 2021 · 16 comments
Closed

Error Estimate DepthMap #1397

ThorsPanzer opened this issue Apr 23, 2021 · 16 comments
Labels
bug for actual bugs (unsure? use type:question) stale for issues that becomes stale (no solution)

Comments

@ThorsPanzer
Copy link

ThorsPanzer commented Apr 23, 2021

Hello

I am doing my first scan and I am stuck with the DepthMap node giving me red errors.
I have also changed the TdrDelay value to 60, so this shouldn't be the problem.

I shot a very simple rock for training purposes, 30 images so nothing too hard. Everything works fine until the DepthMap node. On my other attempt it was also the DepthMap which gave me the same problem. I tried every possible setting on "Downscale" but nothing is working for me.

So I sent all my data to a friend of mine who tried to create the depth maps and it worked perfectly for him! So something must be wrong on my side. But what can it be?

Edit: - Computing the same photos with 2018 version seems to be working.

@ThorsPanzer ThorsPanzer added the bug for actual bugs (unsure? use type:question) label Apr 23, 2021
@adam-bielanski
Copy link

Hi @ThorsPanzer ,
Maybe an awkward hint, but sometimes Antivirus softwares block nodes of Meshroom. Check AV blocked list...

@ThorsPanzer
Copy link
Author

Windows Defender doesnt show any activity. Tried disableing it (I hope I disabled everything?) and it still didn't work

@adam-bielanski
Copy link

Sometimes depthmap stops when can't match sufficient number of cameras, did you try to reduce it from 10 to, say, 5?

@ThorsPanzer
Copy link
Author

If you mean the option SGM: Nb Neighbour Cameras, then changing it didn't do a difference.
Tested values: 5, 2 and 1

@adam-bielanski
Copy link

There are two parameters there SGM: Nb Neighbour Cameras and Refine: Nb Neighbour Cameras. In my models both of them sometimes stopped computing.

@nanuklost
Copy link

hey guys!
I have a similar problem. I am trying to run a solve with 233 photos from an iPhone (I know not ideal, but the best cam is the one you have with you ;)) They where shot raw and imported into MR. All icons green. The point cloud scene looks promising, but the DepthMap shows red bars pretty quick after starting processing the data.

this is the log from Chunk0:
Program called with the following parameters:

  • downscale = 2
  • exportIntermediateResults = 0
  • imagesFolder = "d:/_Projects/20210422_rockFace/002_scene/Meshroom/MeshroomCache/PrepareDenseScene/0bf30f82ac12fff8c8f05ef8a12fe7dc6c23a421"
  • input = "d:/_Projects/20210422_rockFace/002_scene/Meshroom/MeshroomCache/StructureFromMotion/e749d43a245585724083fd5783b8f54d0e574f2e/sfm.abc"
  • maxViewAngle = 70
  • minViewAngle = 4
  • nbGPUs = 0
  • output = "d:/_Projects/20210422_rockFace/002_scene/Meshroom/MeshroomCache/DepthMap/d96f7a35b6a1735b347f2325148e7d3c11373145"
  • rangeSize = 3
  • rangeStart = 0
  • refineGammaC = 15.5
  • refineGammaP = 8
  • refineMaxTCams = 6
  • refineNDepthsToRefine = 31
  • refineNSamplesHalf = 150
  • refineNiters = 100
  • refineSigma = 15
  • refineUseTcOrRcPixSize = 0
  • refineWSH = 3
  • sgmGammaC = 5.5
  • sgmGammaP = 8
  • sgmMaxTCams = 10
  • sgmWSH = 4
  • verboseLevel = "info"

[23:12:33.798269][info] CUDA-Enabled GPU.
Device information:
- id: 0
- name: GeForce RTX 2060 SUPER
- compute capability: 7.5
- total device memory: 8192 MB
- device memory available: 7173 MB
- per-block shared memory: 49152
- warp size: 32
- max threads per block: 1024
- max threads per SM(X): 1024
- max block sizes: {1024,1024,64}
- max grid sizes: {2147483647,65535,65535}
- max 2D array texture: {131072,65536}
- max 3D array texture: {16384,16384,16384}
- max 2D linear texture: {131072,65000,2097120}
- max 2D layered texture: {32768,32768,2048}
- number of SM(x)s: 34
- 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
[23:12:33.953696][info] Supported CUDA-Enabled GPU detected.
[23:12:35.242496][info] Found 1 image dimension(s):
[23:12:35.242496][info] - [3024x4032]
What am I doing wrong?
TdrDelay is 60
Cheers,
Nanuk Lost

@ChemicalXandco
Copy link
Contributor

The latest windows update has broken nvidia gpus for some people. Try rolling back Windows 10 Update KB5000842.

@adam-bielanski
Copy link

It happened a couple of times in the past, blocking normal operation of all software that uses GPU (like Revit). In my case reinstallation of Nvidia driver with option "clean installation" was sufficient.

@nanuklost
Copy link

I am using NVIDIA Studio Driver Version 462.31

@nanuklost
Copy link

It happened a couple of times in the past, blocking normal operation of all software that uses GPU (like Revit). In my case reinstallation of Nvidia driver with option "clean installation" was sufficient.

did you use Geforce Experience to do the reinstall?

@nanuklost
Copy link

ok, it is crunching numbers now! I did 2 things:
1 installing the driver mentioned above
2 converting my .dngs to .png (16bit)

@adam-bielanski
Copy link

It happened a couple of times in the past, blocking normal operation of all software that uses GPU (like Revit). In my case reinstallation of Nvidia driver with option "clean installation" was sufficient.

did you use Geforce Experience to do the reinstall?

No, I don't game on my machine, so basic driver is sufficient for me.

@adam-bielanski
Copy link

I am using NVIDIA Studio Driver Version 462.31

@nanuklost - in fact it doesn't matter which version of the Nvidia software you have, the latest or the old one. The "Windows-Nvidia" problem appears on Windows updates, when some Nvidia drivers are replaced by Windows ones without warning. And then... some software crashes "with no reason", as they try to reach specific Nvidia files in vain.

@ThorsPanzer
Copy link
Author

I cannot roll back from KB5000842. It doesn't show in the "deinstall updates". So how could I resolve the problem?

Btw I tried to downscale to 16 and set all the other options to the lowest and this works. The results are garbage tho

@stale
Copy link

stale bot commented Sep 6, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale for issues that becomes stale (no solution) label Sep 6, 2021
@stale
Copy link

stale bot commented Sep 21, 2021

This issue is closed due to inactivity. Feel free to re-open if new information is available.

@stale stale bot closed this as completed Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug for actual bugs (unsure? use type:question) stale for issues that becomes stale (no solution)
Projects
None yet
Development

No branches or pull requests

4 participants