Skip to content
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

error: XDG_RUNTIME_DIR not set in the environment. #3

Open
juseonghan opened this issue Nov 16, 2022 · 9 comments
Open

error: XDG_RUNTIME_DIR not set in the environment. #3

juseonghan opened this issue Nov 16, 2022 · 9 comments

Comments

@juseonghan
Copy link

Sorry again - when I run
python demo.py --imagedir=movies/IMG_0494.MOV --calib=calib/iphone.txt --stride=5 --viz

It gives me the following error:

Running with config...
BUFFER_SIZE: 2048
GRADIENT_BIAS: False
KEYFRAME_INDEX: 4
KEYFRAME_THRESH: 15.0
MIXED_PRECISION: True
MOTION_DAMPING: 0.5
MOTION_MODEL: DAMPED_LINEAR
OPTIMIZATION_WINDOW: 10
PATCHES_PER_FRAME: 96
PATCH_LIFETIME: 13
REMOVAL_WINDOW: 22
error: XDG_RUNTIME_DIR not set in the environment.
Segmentation fault (core dumped)

Any idea how to resolve this issue?

@lahavlipson
Copy link
Contributor

Can you re-create the container using 11.7.1 and see if it works? I admittedly hadn't tested CUDA 11.8.0

@juseonghan
Copy link
Author

Hey, so I tried running it with 11.7.1 (ie sudo ./build_container.sh 11.7.1) but I'm getting the same error. I'm on Ubuntu 20.04. I'll keep looking around for solutions too.

@dflkasjfh
Copy link

I meet the same problem. I have tried my best to solve it, but no solution worked. Feel so sad!

@jinyummiao
Copy link

I also meet the same problem, the CUDA I used is 11.4.1, but the demo can run properly.

@Lanzo98
Copy link

Lanzo98 commented Mar 27, 2023

I have the same problem with CUDA 11.4.1.

(dpvo) root@davide-ThinkPad-P1-Gen-4i:/DPVO# python demo.py --imagedir=movies/IMG_0494.MOV --calib=calib/iphone.txt --stride=5 --viz 
Running with config...
BUFFER_SIZE: 2048
GRADIENT_BIAS: False
KEYFRAME_INDEX: 4
KEYFRAME_THRESH: 15.0
MIXED_PRECISION: True
MOTION_DAMPING: 0.5
MOTION_MODEL: DAMPED_LINEAR
OPTIMIZATION_WINDOW: 10
PATCHES_PER_FRAME: 96
PATCH_LIFETIME: 13
REMOVAL_WINDOW: 22
error: XDG_RUNTIME_DIR not set in the environment.
Segmentation fault (core dumped)

@wtchengcv
Copy link

facing the same issue with ubuntu 20.04 and cuda 11.7.1

@MarkChenYutian
Copy link

If using docker + WSLg, then running

$ export XDG_RUNTIME_DIR="/mnt/wslg/runtime-dir"

can fix the problem of XDG_RUNTIME_DIR. However, the segmentation fault problem is not resolved by this.

@Launch-on-Titania
Copy link

facing the same issue with ubuntu 20.04 and cuda 11.3.1

@amin-abouee
Copy link

There is a solution for the Segmentation fault problem that you find it here princeton-vl/DPVO#9
or princeton-vl/DPVO@5f17684

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants