-
-
Notifications
You must be signed in to change notification settings - Fork 915
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
Ubuntu 24.04 DensifyPoincloud Buffer overflow #1176
Comments
pls build and run in debug mode |
Hello cdcseacave Here the Files debug_DensPointCloud_cuda_0.txt |
Hello cdcseacave greetings |
the cmake config and build look fine, but there is a runtime error in cuda, some cuda call fails, but the output does not say which function; this seems a problem that can be reproduced only on your machine, so if you can, pls do a bit of debugging, put a breakpoint in the function that reports the error and see from where is called |
Hello Greetings DensifyPointCloud-2410081213508B54CB.log |
in order to get any meaningful debug info from gdb you need to build the project in Debug or RelWithDebInfo |
ok, I got these files with with debug build and no other additional settings. |
A weekend later with testing I had some news. The buffer overflow is gone since I use don't use any power strip. Connecting to the wall solve it. Maybe there are additional dependencies under Ubuntu 24.04 nessassary. sorry about my english it's a lot of years ago I learned and I wasn't good at school greetings Joerg |
pls try the latest develop branch, I fixed there a string print problem on gcc |
Hello Now its back and I start with a new installation of Ubuntu 24.04. So when installing the additional software is there something I had to look for? and at least a Question from a really beginner: How can I download the develop version? Lot of Questions but I think to find the problem I need the same software base to search the Problems.
Greetings Joerg |
No special installs, any gcc and cuda version |
Hello Yesterday i got a step forward. I found my 2 years old batchfile based on Peter Falkinghams example (on my Mac). He used InterfaceVisualSFM. so I removed the "colmap image_undistorter " part and reactivate the Interface VisualSFM in openmvs. It runs perfect (build Debug). So, I think its a problem with the data comming from colmap to openMVS. My about 460 images have a size of 5148x3888 pixel. So, I set in colmap image_undistorter --max_image_size=2000 and everything works perfect. a second test run with --max_image_size=4000 runs also perfect. Now i have the following question. Is the colmap setting of --max_image_size in a combination with the amount of images and the image size? Thanks a lot joerg |
Hello Tested with Colmap example person_hall Thanks Joerg |
the colmap scene you are trying to import seems invalid |
ok, reinstalled colmap and checked batchfile. ASSERTION FAILED: (ISEQUAL(norm(normalMap0(nx)), 1.f)) Norm = 1 after "Selecting images ... completed" on DensifyPointCloud. |
Build in release mode |
Hello first - it works. build version 2.3 develop Release works but DensifyPointCloud is not so easy to handle. With a smaller range of images, here Colmaps South Park, it runs perfect. running DPC with --cuda-device 0 it crashed with Cuda Error build RelWithDepInfo to get gdb and Terminal output crashed without error message so I tested these settings in Debug mode to see why it breaks at this poing. I had to set explicit 2--cuda-device -2" to get it working. All parts of openMVS working without Cuda when cuda-device option is not used. The problem is that DPC without "--cuda-device" settings uses cuda in the first parts include "estimated depth-maps" and it looks this crashed with the Cuda Error. You can see it monitoring with nvtop. |
After some additional test now some results. Tested under Ubuntu 24.04 with RTX 4060 TI. Using CUDA 12.4.0, 12.5.x and 12.6.x DensifyPointCloud has a Problem with running out of memory. With CUDA 12.4.1 its much more stable running with --cuda-device -1. Installed Ubuntu without addditional drivers. installed the nvidia-driver-550, the dependenciies and the CUDA 12.4.1 deb local. The results are not the same as I get under Ubuntu 22.04 but thats another Thing greetings Joerg |
Have a new PC with Ubuntu 24.04, more RAM and the RTX 4060 TI.
after building openMVS 2.3 and testing with the South Park example files i get a Bufffer overflow.
It doesnt matter using --cuda-device 0,-1 or -2. After camera model loaded and loading the images there is an error (line 66 in DensifyPointtCloud_Cuda_0_log.txt or line 60 in DensifyPointtCloud_Cuda_-2_log.txt) These files are terminal output with "-v 4"
[App ] error: does not seem to be a tower: X(0.08), Y(66.69), Z(630.57)
After that it runs until "selecting images and then crashed with Buffer overflow in "cuda-device -2" or no output when using "cuda-device -1" or "cuda-device 0".
So I don't know is it a Problem with Interface COLMAP i build openMVS 2.3 with InterfaceVisualSFM. Now I get a Buffer overflow at while running InterfaceVisualSFM.
With Ubuntu 22.04 everything running well.
Have somebody build openMVS 2.3 under Ubuntu 24.04 without problems? What are the settings building it?
I tried to build version 2.2 and 2.1 but that doesn't work (compile errors)
greetings
joerg
DensifyPointtCloud_Cuda_0_log.txt
DensifyPointtCloud_Cuda_-2_log.txt
The text was updated successfully, but these errors were encountered: