raisimTech / raisimLib

Visit www.raisim.com
http://www.raisim.com
Other
338 stars 91 forks source link

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

Open mengxinwangchenyang opened 7 months ago

mengxinwangchenyang commented 7 months ago

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 commented 7 months ago

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

MattiP99 commented 6 months ago

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 commented 6 months ago

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

MattiP99 commented 6 months ago

Could it be the issue for the docker container also?

jhwangbo commented 6 months ago

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

MattiP99 commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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

MattiP99 commented 6 months ago

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 commented 6 months ago

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

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

MattiP99 commented 6 months ago

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