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

segmentation fault:[UnityMemory] Configuration Parameters - Can be set up in boot.config #544

Open
mengxinwangchenyang opened this issue Jan 25, 2024 · 11 comments

Comments

@mengxinwangchenyang
Copy link

Dear professor
Sorry to bother you!When I run the program, I get the following reported error:
image
I am sure I have installed the required dependencies including eigen , minizip (1.1), ffmpeg (4.4.2), Vulkan (1.3.204).
The environment is ubantu linux 22.04 running on a VM.

@stevenwman
Copy link

same, I'm running on wsl with the same issue

@MattiP99
Copy link

I'm facing the same problem both with the VM and with a docker container where there is the Ubuntu 20.04 version. I didn´t encounter the problem in Ubuntu 22 (I won´t need that but I wanted to try) where the environment is is shown but the python examples don't make anything appear in the environment raisimUnity

@jhwangbo
Copy link
Contributor

Does your VM support GPU? That seg fault is about the GPU driver

@MattiP99
Copy link

Could it be the issue for the docker container also?

@jhwangbo
Copy link
Contributor

I think the Docker issue is about X11 forwarding. You will have the same issue for any application that opens an window.

@MattiP99
Copy link

okay. But that option is available just when you do docker run for the first time...... If I want to start the container I'm working on, where I've my raisim licence and the built repository there is just docker exec where I can't put those additional parameters concerning visualization. Perhaps the answer is trivial but searching on the web I was not able to find a solution of this approach that maybe could be completely wrong.

@MattiP99
Copy link

So, it could be irrelevant but the docker image that I've pulled is the one of ros1 noetic within which I've installed the raisim simulator and the licence.
Lauching rviz makes the environment appearing in the screen so I don't know the reason for which I can't display the raisimSim environment too. Do you think it is a lack or some drivers or some dependence ? I've also ran GLMARK(to test if is it possible to display inside the docker) and it properly works

@jhwangbo
Copy link
Contributor

You need vulkan to run the normal raisimUnity. Try the opengl version

@MattiP99
Copy link

Thanks. I managed to make raisimUnity work in my docker container thanks to your suggestion and to some debugging. But, I don´t understand why I have troubles with the path of raisimPy. In VS the import of that library is not found but I exported the PATH in my bashrc (last time I had solved the problem changing python environment and the python path (not in docker)). Since there are few versions can you confirm what is the right path to give to Python in the bashrc file?
Otherwise do you know what could be correlated the issue with?
Thanks in advance again for the support

@jhwangbo
Copy link
Contributor

Did you follow this?: https://raisim.com/sections/Installation.html#raisim-install

You should add the lib directory (in linux) to PYTHONPATH

@MattiP99
Copy link

Last time I used this: https://github.com/christsa/dgrasp/blob/main/docs/INSTALLATION.md. But I cloned what it is said in the original guide that you mentioned.

Anyway I've done that but since there are different specified paths between the two versions I was wondering why?
I'll try just with the official one right now and I'll tell if there are any changes

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

4 participants