colmap icon indicating copy to clipboard operation
colmap copied to clipboard

WSL 2 Installation Failure

Open ZZWang21 opened this issue 3 years ago • 3 comments

Describe the bug I installed Colmap on WSL Ubuntu. It worked but it needs CUDA when making dense reconstruction. So I tried to install CUDA, and upgrade the WSL to WSL2. But then, the Colmap can not be launched. With error: "QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-walter'
*** Aborted at 1652036191 (unix time) try "date -d @1652036191" if you are using GNU date *** PC: @ 0x561c93a72258 (unknown)
*** SIGSEGV (@0xd8) received by PID 4065 (TID 0x7fe111e07900) from PID 216; stack trace: ***
@ 0x7fe110e1e980 (unknown)
@ 0x561c93a72258 (unknown)
@ 0x7fe10f10c5ed (unknown)
@ 0x7fe10f10cc62 QOpenGLWidget::resizeEvent()
@ 0x7fe10f0ecbe2 QWidget::event()
@ 0x7fe10f0ad83c QApplicationPrivate::notify_helper()
@ 0x7fe10f0b5104 QApplication::notify()
@ 0x7fe10e32f8a8 QCoreApplication::notifyInternal2()
@ 0x7fe10f0e50eb QWidgetPrivate::sendPendingMoveAndResizeEvents()
@ 0x7fe10f0e8ec3 QWidgetPrivate::show_helper()
@ 0x7fe10f0ebbdb QWidget::setVisible()
@ 0x7fe10f0e8e30 QWidgetPrivate::showChildren()
@ 0x7fe10f0e8edf QWidgetPrivate::show_helper()
@ 0x7fe10f0ebbdb QWidget::setVisible()
@ 0x561c9379be95 (unknown)
@ 0x561c9378260b (unknown)
@ 0x7fe10cc2fc87 __libc_start_main
@ 0x561c937863fa (unknown) "

my system: Windows 10, 21H2. WSL2: Ubuntu 18.04. Colmap 3.8. gcc 11. currently, no CUDA is installed.

Thank you very much.

ZZWang21 avatar May 08 '22 19:05 ZZWang21

Could any expert help? Thank you.

ZZWang21 avatar May 10 '22 22:05 ZZWang21

NVCC 10.1 . Eigen3.3.7. Anything wrong? @ahojnnes if possible, please help me out. Thank you. @UncleGene

ZZWang21 avatar May 11 '22 08:05 ZZWang21

You'll need Windows 11 and wslg to have native GPU support inside WSL.

ahojnnes avatar May 12 '22 19:05 ahojnnes