-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Windows7: Meshroom got stuck in FeatureExtraction #216
Comments
Yes, this problem seems to be present only on Windows 7. |
Maybe this has something to do with the Windows permission management? At least to my understanding there are stange things happening when I change the execute permissions:
Hope you understand my point or at least what I'm trying to describe 😁 I think the 2. point is showing the problem why it isn't working on Win 7 - some of the AliceVision executables didn't close properly. |
I limped it through on Win 7 by changing the status files up to the depthMap node, but that is just too much work for the 33 status files. It appears as you said.. AliceVision is not exiting properly. The GPU/CPU go idle, but the executable remains an active but idle process. The logs say it completed. If you kill the process, you can go back and edit the status file from error to success, and continue, but that's A LOT of babysitting. |
I know. I did this once just to prove that it is working then.. |
I'm hitting this too, both in feature extraction and now in structure from motion. Interestingly, stopping and restarting the run via the UI seems to successfully resume at the point where it got wedged for the feature extraction, but it causes the StructureFromMotion step to crash when you resume. I have a VS2015 install, so I'd be happy to help debug if someone can provide the appropriate PDB files. Attaching to the stuck process and pausing leaves me somewhere in |
Same problem for me. The workaround I've found is (same workaround as @sirwillard actually link#1 and link#2 on an other thread) :
I have to repeat this process like 7-8 times, for StructureFromMotion, DepthMap, PrepareDenseScene, Meshing and MeshinFiltering. At the end, the results are great for the examples I've tested. An other workaround is to do it from console, I will test it later. |
@fake-name When you say, it is stuck somewhere in OpenImageIO: Is it on the FeatureExtraction or on the StructureFromMotion step? Or both? |
@fake-name Thanks for debugging and finding this. |
@fabiencastan - both. @yann-lty - Interesting. |
Can someone try to set |
No change for me :/ |
Thanks for testing it so quickly! ;) Could you try to launch the aliceVision command line directly? |
If I launch the command line in a terminal, the process never ends (it shows the same |
The only work around I can find was in the comments for the OIIO bug. They built with OIIO 1.7.17 for win7, and the recent build for win10. |
I have found another workaround by accident. I tried to find information about the processes that are not ending with |
This may also be a sign that the issue is not even originated in the OIIO code but in some windows lib or even a compiler bug. Because viewing properties of a exe shouldn't affect any code in the running application 🤔 |
Here's a script I wrote for sort of working around this issue. It requires cygwin64 and I ran it under windoze 7 64. File uploading to attach didn't work, so I made a gist. It's a complete hack, but it eliminates much of the manual work needed to use meshroom if you are seeing these errors. The script runs an infinite loop, looking for status files that have ended with a result of ERROR and a resultCode of 15. It then fixes those files and sleeps a few seconds before it looks again. Run the script in a cygwin64 terminal in your MeshroomCache directory. Run meshroom and click the stop and start buttons. Just wait for the current "hung" step to turn green between clicks. Type CTRL-C in the cygwin64 window to terminate the script when you're done with meshroom. |
The workaround more or less worked for me, but my resultCode was never 15. Usually it's 255. Does that affect anything or make a difference in what the bug could be? |
Any chance someone could bake a release with AcademySoftwareFoundation/OpenImageIO#2013 merged into the OIIO dependency? |
We will try it in 2 or 3 weeks and upload new binaries if if it fixes the problem. |
I also could never get it to create the mesh. Using the workaround, I'd get to the final node, and it would change to green, but the .obj never shows up in the correct folder, and I can't ever load a model in the UI, although I can see the point cloud. |
I have a project where I'd really like to see if I can use photogrammetry to avoid a bunch of messy measuring, but I have no windows 10 machines whatsoever (bc W10 is a privacy shitshow). I looked at building it myself, but the dependencies are so complex it'd probably take a full day or so to get everything together. |
It does, in fact, get stuck at FeatureExtraction on Windows 7. Fix it, please. |
AcademySoftwareFoundation/OpenImageIO#1795 claims it has resolved this issue. Any chance of someone with the whole build toolchain doing a release? |
Yes, we managed to fix it and it is now included the latest oiio release. |
A new download option for Windows 7 is now available on the release page, please see #183 (comment) for additional details. |
I have just confirmed that this is working! Threads now close properly across all nodes in win7. |
Thanks for the feedback! |
Can report that it works for me, too. |
Still getting stuck for me on the DepthMap node. Any ideas, or how can I figure out why it's getting stuck there? It's not the CUDA problem, I don't think, I have a GeForce GTX Titan X |
@hyperfx - Are you using the windows-7 specific build? What's the log output? |
Where do I find the log output? |
Oh I see, in the panel at bottom left. It says I need a CUDA enabled GPUwith at least compute capability 2.0 |
I believe my card has compute capability 6.1 |
The new build is working for me too! |
Meshroom always gets stuck in the FeatureExtraction node while the log shows that AliceVision actually succesfully finished.
Doing the workaround described in #183 "solves" the problem and Meshroom continues then.
Im running Windows 7 64bit with CUDA 9.2
Log file (presumably not important):
To me it seems as if many people got the same issue also at other nodes..
The text was updated successfully, but these errors were encountered: