xbpeng / DeepMimic

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

libGL error: No matching fbConfigs #165

Open dataplayer12 opened 3 years ago

dataplayer12 commented 3 years ago

Ho @xbpeng This project has been a bit of a nightmare to build but I finally built all the required packages in a docker container. While running, I get this error and there seem to be no solid clues on the internet about how to solve it.

root@trantor:/workspace/DeepMimic# DISPLAY=:0 python DeepMimic.py --arg_file args/run_humanoid3d_spinkick_args.txt
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
  * https://github.com/tensorflow/addons
  * https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

freeglut (foo): Unable to create OpenGL 1.0 context (flags 0, profile 0)
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  32
  Current serial number in output stream:  33

Could you provide some clues to solve this issue? Also, please consider providing a docker container to run this because a lot of the packages mentioned in the readme are getting old and building the project is quite difficult. Thanks for the great work! I'm looking forward to trying out AMPs.

xbpeng commented 3 years ago

Sorry about the inconvenience, this project is rather hard to build. I will look into including a docker image in the future.

The error looks like it might be a driver issue. Not sure what the cause is, but a quick google search seems to show some relevant posts: https://stackoverflow.com/questions/40644455/x-error-of-failed-request-badvalue-integer-parameter-out-of-range-for-operatio