-
Notifications
You must be signed in to change notification settings - Fork 625
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
Meshroom 2023.3.0 fails at DepthMap stage #79
Comments
I get a different error this time
However FeatureExtraction can be done on the CPU, and with a powerful system speed is not much of an issue. The real blocker is the DepthMap node, which has to use CUDA. |
just tried it out and I have the exact same problem, also with a 6800XT :( |
It looks like a function cudaMemcpyToSymbol() is used here. Obviously it isn't supported. As a solution I can suggest making a patch to substitute the function with cudaMemcpy(), which is similar according to this. Actually, there is a problem, we don't have a clear API compatibility paper, so we cannot say if some function is supported or not. P.S. I don't know even basic cuda, so I may be wrong sometimes, feel free to correct me. |
I can reproduce the issue using an Radeon RX 7700 xt (+ AMD Ryzen 7600 on Fedora Linux 39) I also noticed that the first warning is slightly different for me:
EDIT: The final error message is different as well, I get an |
I've started making a troubleshooting info: AMD_LOG_LEVEL=3
ltracelog was too long for github, check it here So we get a bunch of 500 (CUDA_ERROR_NOT_FOUND) errors from cuGetProcAddress(). I would like to know what does that mean in this context. Maybe @vosen as a mantainer can help? P.S. I've used monstree-mini6 dataset to test it. |
It's not int the logs, but I infer that ZLUDA fails to compile a PTX module at startup, which usually is not hard to fix. I'll have a look |
I was wrong, this was suffering. Meshroom seems to work now. Since it is a rather big change and I don't really know how to use Meshroom I'd like someone who is interested in this issue to give it a try:
I can provide the binaries, but I'd prefer if someone built from scratch to double check everything. If you have questions please ask. |
It would be great if you could share the binaries for testing :) |
ZLUDA: https://files.catbox.moe/pba9kq.zip |
I I've tried running the full and mini6 image set from https://github.com/alicevision/dataset_monstree, using the binaries shared by Natowi at alicevision/Meshroom#595, but when it gets to the DepthMap scene, it fails, with nothing in the log. I've tried with the log verbosity set to various levels. WARNING:root:Downgrade status on node "DepthMapFilter_1(0)" from Status.SUBMITTED to Status.NONE I'm running an AMD Ryzen 5 3600, with an RX 5700XT, on Windows 11 23H2, with Adrenalin 24.4.1 edit: Feature extraction using sift, and unticking force cpu works fine |
I did everything @gerberger did, and it still fails with the same error. Also this error pops up |
I can confirm this is still happening although I do not get that popup. Same output, no logs... This is with a scene using my own images, likely not to be producing useful model, but not the known image set mentioned above. The full, mini3 and mini6 monster scene fails in the same way at the same point Adrenalin 24.6.1, RX 6750 XT Tried to run the same command directly under zluda, but no dice Would like to know if there are more logs or any other way I can get more info out |
Can you please clarify what is the ROCm issue? I wonder if it is possible to run Meshroom + ZLUDA on linux. |
@dngulin for some reason AMD enabled support for mipmapped arrays (textures) on Windows ROCm, but not on Linux ROCm. Meshroom relies on this functionality |
But why is this happening on windows for me? Or is this a different issue?
|
Hello, does this method still work? I tried to use Meshroom with my RX 5500 XT using Zluda, I get an error when I get to Depthmap, it seems that Meshroom doesn't even detect the GPU, only the CPU. I installed the CUDA toolkit but it didn't work, I even tried to install the Nvidia graphics driver, but obviously it didn't work. |
@aesxsc @bonnyr-f5 I guess your error probably comes from DepthMap using CUDA Runtime, but not bundling it with the app. Extracting it from CUDA installer and dropping it in a path where DepthMap looks for .dll would make the error go away Edit: Sorry, I got this wrong way around. It's Linux ROCm that is broken, not Windows one |
Relevant line of code: https://github.com/alicevision/AliceVision/blob/develop/src/aliceVision/depthMap/cuda/host/memory.hpp
The text was updated successfully, but these errors were encountered: