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

MIT-SHM Error #182

Closed
SikandAlex opened this issue Aug 24, 2021 · 1 comment
Closed

MIT-SHM Error #182

SikandAlex opened this issue Aug 24, 2021 · 1 comment
Labels
third party Issues from third-party dependencies

Comments

@SikandAlex
Copy link

SikandAlex commented Aug 24, 2021

Current Behavior

Running app.py with -g (--gui) flag causes MIT-SHM error.

Even after (xhost local:root) command

This is a separate error that I have experienced with the image than the one mentioned here. #104 (comment)

I previously had thought this issue was resolved by (xhost local:root) or (xhost +) but both of those failed for me.

It looks like this is an ongoing issue here but I can't find a way to resolve it.
jessfraz/dockerfiles#359

Your Environment

  • Desktop
    • Operating System and version: Ubuntu 20.10
    • NVIDIA Driver version: 465.19.01
    • Used the docker image? Yes

Resolution

No matter what I did, following @jessfraz instructions for resolving errors related to containerized GUI applications as recommended by @GeekAlexis , I could not get the app to run. This is strange because I was previously running the application several weeks ago and don't remember needing to make this change. I wonder if I changed drivers or something in between?

If it did run without the -g option, but with an -o output file option, the resulting video was blank (black screen) despite correctly detecting the objects in the video.

I had to resolve this issue by enabling --ipc=host which isn't the proper way to do this since it breaks isolation of the dockerized application but as soon as I did this, my issues were resolved.

I will continue trying to get FastMOT working on my machine. I wonder if this is a driver, GPU, or OS error? I can't understand why it doesn't have permission. Is there a library I should reinstall?

@GeekAlexis
Copy link
Owner

GeekAlexis commented Aug 24, 2021

This is a known issue using X11 inside docker: https://stackoverflow.com/questions/38907708/docker-ipc-host-and-security

—ipc=host seems to be the easiest workaround despite the security risk.

@GeekAlexis GeekAlexis added the third party Issues from third-party dependencies label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
third party Issues from third-party dependencies
Projects
None yet
Development

No branches or pull requests

2 participants