nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

qt.qpa.screen: QXcbConnection: Could not connect to display

Open 2feet6inches opened this issue 1 year ago โ€ข 4 comments

$ ns-process-data --data room.mov --output-dir data/

Number of frames in video: 1616
[07:47:09] ๐ŸŽ‰ Done converting video to images.                                                       process_data.py:433
[07:47:21] ๐ŸŽ‰ Done downscaling images.                                                               process_data.py:451
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  ๐Ÿ’€ ๐Ÿ’€ ๐Ÿ’€ ERROR ๐Ÿ’€ ๐Ÿ’€ ๐Ÿ’€  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Error running command: colmap feature_extractor --database_path data/colmap/database.db --image_path data/images
--ImageReader.single_camera 1 --ImageReader.camera_model OPENCV --SiftExtraction.use_gpu 1
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.

2feet6inches avatar Oct 06 '22 07:10 2feet6inches

Probably the same issue as this. I was able to run it by adding the --no-gpu flag. https://github.com/colmap/colmap/issues/18

2feet6inches avatar Oct 06 '22 07:10 2feet6inches

ๅบ”่ฏฅๆ˜ฏๅ’Œ่ฟ™ไธชไธ€ๆ ท็š„้—ฎ้ข˜ใ€‚ๆˆ‘ๅฏไปฅ้€š่ฟ‡ๆทปๅŠ  --no-gpu ๆ ‡ๅฟ—ๆฅ่ฟ่กŒๅฎƒใ€‚ colmap/colmap#18 This is fine, but the preprocessing time is too long without gpu acceleration. Is there another solution: use gpu acceleration without opening the colmap graphics window.

Wushuangpin avatar Oct 11 '22 13:10 Wushuangpin

Hi @Wushuangpin do you know if the solution of using GPU without opening graphics window is possible as the quoted message notes? How can be done? Thanks in advance!

paudom avatar Oct 21 '22 10:10 paudom

This issue (re)occured a few days ago to me in some testing environment which is most likely to changes in the dev branch of colmap. You should always use defined versions, optimally a release like 3.7 and you should be fine again. See Colmap v3.7

Can you please try this and give information about the colmap version you're using?

Zunhammer avatar Nov 19 '22 11:11 Zunhammer

Closing as it appears to be stale. Feel free to reopen if needed.

tancik avatar Feb 22 '23 18:02 tancik

Since sudo apt install colmap usually installs without CUDA๏ผŒconda install -c conda-forge colmap work for me.

pengc02 avatar May 10 '23 13:05 pengc02