Hi Folks,
Sorry for the long post.... but colmap crash and I try it to heal since 2 days without success.
I have Ubuntu 18.04.3 LTS, up to date.
$ uname -a
Linux alexw540 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I have compiled Colmap successfully (cmake log at down below) and executed a several times (it was working well). Afterward, I wanted to compile VisualFSM also and started to download/install all the componenents needed. I was stuck somwhere halfway, when I have figured out, that I can install it using snap too.
So I did:
$ snap search visualsfm
Name Version Publisher Notes Summary
visualsfm-mardy 0.5.26-2 mardy - A Visual Structure from Motion System
$ snap install visualsfm-mardy
I also did:
$ snap search colmap
Name Version Publisher Notes Summary
colmap-mardy 2.1-2 mardy - Structure-From-Motion and Multi-View Stereo
$ snap install colmap-mardy
I checked visualsfm-mardy but its quality was not as good as colmap produced at very first, after the first runs, so I decided to remove.
The one installed by snap was always crashed, I thought I need to remove the snap version installed and it will be good.
The bad news is that, now the original COLMAP is also crash with the error in log windows: siftgpu not fully supported
On the console however, I always receive the following: (it is so long repeating...)
------CUT------CUT------CUT------CUT
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
terminate called after throwing an instance of 'std::system_error'
what(): Erőforrás átmenetileg nem érhető el
*** Aborted at 1580032059 (unix time) try "date -d @1580032059" if you are using GNU date ***
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
------CUT------CUT------CUT------CUT
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
CheckCudaDevice: unknown error
PC: @ 0x7f3feb3e8e97 gsignal
*** SIGABRT (@0x3e800006c32) received by PID 27698 (TID 0x7f3fbe00f700) from PID 27698; stack trace: ***
@ 0x7f3fec727890 (unknown)
@ 0x7f3feb3e8e97 gsignal
@ 0x7f3feb3ea801 abort
@ 0x7f3fec00c957 (unknown)
@ 0x7f3fec012ab6 (unknown)
@ 0x7f3fec012af1 std::terminate()
@ 0x7f3fec012d24 __cxa_throw
@ 0x7f3fec00ea19 (unknown)
@ 0x7f3fec03d939 std::thread::_M_start_thread()
@ 0x55d1bc4f57b3 colmap::Thread::Start()
@ 0x55d1bc38d021 colmap::SiftFeatureMatcher::Setup()
@ 0x55d1bc393534 colmap::ExhaustiveFeatureMatcher::Run()
@ 0x55d1bc4f5eec colmap::Thread::RunFunc()
@ 0x7f3fec03d66f (unknown)
@ 0x7f3fec71c6db start_thread
@ 0x7f3feb4cb88f clone
Félbeszakítva (core készült)
I have Lenovo W540 with GPU installed, that was working previously. CUDA in installed.
$nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Nov__3_21:07:56_CDT_2017
Cuda compilation tools, release 9.1, V9.1.85
$ nvidia-smi
Sun Jan 26 11:27:45 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.116 Driver Version: 390.116 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro K2100M Off | 00000000:01:00.0 Off | N/A |
| N/A 42C P8 N/A / N/A | 289MiB / 1999MiB | 2% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1606 G /usr/lib/xorg/Xorg 159MiB |
| 0 2708 G /usr/bin/kwin_x11 12MiB |
| 0 2713 G /usr/bin/krunner 1MiB |
| 0 2715 G /usr/bin/plasmashell 57MiB |
| 0 2814 G /usr/bin/krusader 2MiB |
| 0 3135 G /usr/lib/firefox/firefox 20MiB |
| 0 3174 G /usr/lib/firefox/firefox 20MiB |
| 0 4410 G ...ype text/html
https://colmap.github.io/ 8MiB |
+-----------------------------------------------------------------------------+
and
$ prime-select query
nvidia
$ cmake ..
-- Found required Ceres dependency: Eigen version 3.3.4 in /usr/include/eigen3
-- Found required Ceres dependency: glog
-- Found required Ceres dependency: gflags
-- Found Ceres version: 2.0.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SuiteSparse, CXSparse, SchurSpecializations]
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- program_options
-- filesystem
-- graph
-- regex
-- system
-- unit_test_framework
-- Found Eigen
-- Includes : /usr/include/eigen3
-- Found FreeImage
-- Includes : /usr/include
-- Libraries : /usr/lib/x86_64-linux-gnu/libfreeimage.so
-- Found Glog
-- Includes : /usr/include
-- Libraries : /usr/lib/x86_64-linux-gnu/libglog.so
-- Found Glew
-- Includes : /usr/include
-- Libraries : /usr/lib/x86_64-linux-gnu/libGLEW.so
-- Found Qt
-- Module : /usr/lib/x86_64-linux-gnu/cmake/Qt5Core
-- Module : /usr/lib/x86_64-linux-gnu/cmake/Qt5OpenGL
-- Module : /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets
-- Found CGAL
-- Includes : /usr//include
-- Libraries : /usr/lib/x86_64-linux-gnu/libCGAL.so.13.0.1
-- Build type not specified, using Release
-- Enabling SIMD support
-- Enabling OpenMP support
-- Disabling interprocedural optimization
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;7.0;7.0+PTX
-- Enabling CUDA support (version: 9.1, archs: sm_30 sm_35 sm_50 sm_52 sm_60 sm_61 sm_70 compute_70)
-- Enabling OpenGL support
-- Disabling profiling support
-- Enabling CGAL support
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alex/projects/colmap/src/colmap-3.6-dev.3/build
What should I adjust to get colmap working again???
Sándor