xbpeng / DeepMimic

Motion imitation with deep reinforcement learning.
https://xbpeng.github.io/projects/DeepMimic/index.html
MIT License
2.3k stars 486 forks source link

Segmentation fault (11) #139

Open lisa676 opened 3 years ago

lisa676 commented 3 years ago

As many other issues ( #10 #29 #88 #114 ) have been reported on same problem and suggested solution not working.

In some suggestion NVIDIA <=390 is mentioned. In my case I have 418 and suggested solution in #10 is not working for me.

How to solve this problem?

I request to author that kindly have a look on this problem. I gave a try in Ubuntu 16 and 18 with Python 3.6 and 3.7 respectively.

If we install it in Windows then kindly tell me that which driver, cuda, python and Visual Studio version should be installed?

EricVoll commented 3 years ago

Hi @lisa676

I had the same error and managed to fix it. I'm working on ubuntu 18.04.

The terminal output was:

[pc:31430] *** Process received signal ***
[pc:31430] Signal: Segmentation fault (11)
[pc:31430] Signal code: Address not mapped (1)
[pc:31430] Failing at address: 0x10
+ some stack trace

I traced it back to line 14 in DeepMimicCore.py. What fixed it for me was the following: When installing bullet make sure to:

chenzhike110 commented 2 years ago

check your OpenGL version, for those whose OpenGL version is less than 3.2, comment DeepMimicCore/render/ShadowMap.cpp line39 glFramebufferTexture, as it is only available for version 3.2 or more