Working with the command line interface on a server without a monitor

926 views
Skip to first unread message

arno.kn...@gmail.com

unread,
Dec 6, 2016, 5:54:37 PM12/6/16
to COLMAP
Hello Johannes


I am trying to use COLMAP using the command line interface on a server without a monitor. When I execute ./feature_extractor I get the error: "QXcbConnection: Could not connect to display"
Is there any way to work without having a monitor?

thanks in advance
greetings
Arno


 

Johannes Schönberger

unread,
Dec 6, 2016, 6:03:08 PM12/6/16
to COLMAP
Hi,

If you don't have a display attached to the server, then you have to use the CPU feature extractor. Please, checkout the available options with ``./feature_extractor --help``.

Let me know if you have other questions.

Cheers,
Johannes

arno.kn...@gmail.com

unread,
Dec 6, 2016, 8:10:37 PM12/6/16
to COLMAP

Thanks for the quick reply. I compiled it with CUDA disabled, so I didn't pay attention to the "--use_gpu" argument anymore, now disabled, it works.

Cheers
Arno

arno.kn...@gmail.com

unread,
Dec 6, 2016, 10:16:05 PM12/6/16
to COLMAP, arno.kn...@gmail.com
However, when I do "./exhaustive_matcher --no_opengl 1 --General.database_path $PROJECT_PATH/database.db" I get the error:

QObject::connect: Cannot connect (null)::destroyed(QObject*) to QOffscreenSurface::screenDestroyed(QObject*)
F1206 19:03:55.497287 24082 opengl_utils.cc:29] Check failed: 'QCoreApplication::instance()' Must be non NULL

I already set the "--no_opengl" argument but no luck, can you also help me with that?
thanks in advance
Arno

Johannes Schönberger

unread,
Dec 7, 2016, 5:18:20 AM12/7/16
to col...@googlegroups.com
You either need a CUDA GPU or a display for matching. There is currently no CPU matcher, but I plan to add one in the future.
> --
> You received this message because you are subscribed to the Google Groups "COLMAP" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to colmap+un...@googlegroups.com.
> To post to this group, send email to col...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/colmap/0a5fd78d-4e24-43af-99ae-eb5c9f8bd447%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Johannes Schönberger

unread,
Jan 3, 2017, 11:32:02 AM1/3/17
to COLMAP
FYI. The matcher now supports CPU-based matching.
Reply all
Reply to author
Forward
0 new messages