Comments (9)
In my environment, I solved the problem by adding --privileged
. documentation has been updated.
from stella_vslam.
from stella_vslam.
- Is a nvidia GPU installed?
- Does glxgears work properly? (In host, In container)
- Does the same thing happen if you run docker with
--cap-add IPC_OWNER
? - Does the same thing happen if you run docker with
--ipc host
? - Does the same thing happen if you run docker with
--privileged
? - Does the same thing happen if you run
export LIBGL_ALWAYS_SOFTWARE=1
before running stella_vslam?
from stella_vslam.
-
Is a nvidia GPU installed?
- yes, a 2080
-
Does glxgears work properly?
- yes, on the host machine it runs fine
I added those arguments like so, without it fixing the issue:
sudo docker run -it --rm --cap-add IPC_OWNER --ipc host --privileged -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix:ro stella_vslam-desktop
- yes, on the host machine it runs fine
Finally, I ensured that export LIBGL_ALWAYS_SOFTWARE=1
was run before running the basic tutorial command:
./run_video_slam -v ./orb_vocab.fbow -m ./aist_living_lab_1/video.mp4 -c ../example/aist/equirectangular.yaml --frame-skip 3 --no-sleep --map-db-out map.msg
, of course after downloading the vocab and materials listed in the tutorial.
As a workaround, I'm using the server/socket to run and display right now.
from stella_vslam.
Do not use sudo
to do docker run
. See https://docs.docker.com/engine/install/linux-postinstall/
from stella_vslam.
yes, on the host machine it runs fine
What about when run inside a container?
from stella_vslam.
Can I visualize without gpu? I have just Cpu
from stella_vslam.
This is a problem related to OpenGL and docker. The solution depends on the environment. If you are willing to help us, please provide the following information
- Is a nvidia GPU installed?
- host OS version
- container OS version
- Does glxgears work properly? (In host)
- Does glxgears work properly? (In container)
- Does the same thing happen if you run docker with
--cap-add IPC_OWNER
? - Does the same thing happen if you run docker with
--ipc host
? - Does the same thing happen if you run docker with
--privileged
? - Does the same thing happen if you run
export LIBGL_ALWAYS_SOFTWARE=1
before running stella_vslam?
from stella_vslam.
Can I visualize without gpu? I have just Cpu
It worked without GPU on Ubuntu 18.04. I think it will work on Ubuntu 20.04 or later, but it doesn't seem to work in some environments.
from stella_vslam.
Related Issues (20)
- Keypoint and Keyframe
- Docker Error - CMake 3.14 or higher is required. HOT 4
- can't open /orb _vocab.fbow HOT 3
- Cannnot run Stereo SLAM -> Invalid setup type: Stereo HOT 3
- fighting
- Error run RealSense D435I HOT 3
- Error run project with Intel Realsense D435i
- Error when build Dockerfile.desktop
- Compilation error: โnumber_tโ does not name a type HOT 6
- SuperPoint + SuperGlue feature for outdoor navigation HOT 17
- Optional Mapping configuration
- CPU Usage using stella_vslam system HOT 3
- Multiple stella_vslam components deacrease performance HOT 5
- error: XDG_RUNTIME_DIR not set in the environment
- Small bug with request_reset() HOT 2
- Add feedback during monocular initialisation to diagnose initialisation status HOT 1
- Build fails on M1 Mac | Cannot find OpenMP
- Visualize Landmark pointclouds in RVIZ
- Problem with building the docker HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stella_vslam.