DeepMimic: freeglut (foo): ERROR: Internal error in function fgOpenWindow
My system enviroment
python:anaconda3
bullet3: 2.87
The bullet was installed use two different mehods:
method 1:
cmake .
make
sudo make install
method 2:
./build_cmake_pybullet_double.sh
And the pybullet and Bullet/example/examplebrowser could be opened without problem.
Build process
My directory variable set as:
EIGEN_DIR = /data/program/eigen-eigen-b3f3d4950030
BULLET_INC_DIR = /data/program/bullet3-2.87/src
PYTHON_INC = /home/forrest/anaconda3/include/python3.6m
PYTHON_LIB = /home/forrest/anaconda3/lib -lpython3.6m
When I build DeepMimic, after entering make python,the build process stop with the output as follows:
17 warnings generated.
clang++ -shared -std=c++11 -O3 -Wall -fPIC objs/Main.o objs/DeepMimicCore.o objs/util/Annealer.o objs/util/ArgParser.o objs/util/BVHReader.o objs/util/FileUtil.o objs/util/IndexManager.o objs/util/JsonUtil.o objs/util/MathUtil.o objs/util/Rand.o objs/util/Timer.o objs/util/Trajectory.o objs/util/json/json_reader.o objs/util/json/json_value.o objs/util/json/json_writer.o objs/anim/Character.o objs/anim/KinCharacter.o objs/anim/KinTree.o objs/anim/Motion.o objs/anim/Shape.o objs/sim/AgentRegistry.o objs/sim/CharController.o objs/sim/ContactManager.o objs/sim/Controller.o objs/sim/CtController.o objs/sim/CtCtrlUtil.o objs/sim/CtPDController.o objs/sim/CtrlBuilder.o objs/sim/CtVelController.o objs/sim/DeepMimicCharController.o objs/sim/ExpPDController.o objs/sim/GroundBuilder.o objs/sim/Ground.o objs/sim/GroundPlane.o objs/sim/ImpPDController.o objs/sim/MultiBody.o objs/sim/ObjTracer.o objs/sim/PDController.o objs/sim/Perturb.o objs/sim/PerturbManager.o objs/sim/RBDModel.o objs/sim/RBDUtil.o objs/sim/SimBodyJoint.o objs/sim/SimBodyLink.o objs/sim/SimBox.o objs/sim/SimCapsule.o objs/sim/SimCharacter.o objs/sim/SimCharBuilder.o objs/sim/SimCharGeneral.o objs/sim/SimCylinder.o objs/sim/SimJoint.o objs/sim/SimObj.o objs/sim/SimPlane.o objs/sim/SimRigidBody.o objs/sim/SimSphere.o objs/sim/SpAlg.o objs/sim/World.o objs/render/Camera.o objs/render/DrawCharacter.o objs/render/DrawGround.o objs/render/DrawKinTree.o objs/render/DrawMesh.o objs/render/DrawObj.o objs/render/DrawPerturb.o objs/render/DrawSimCharacter.o objs/render/DrawUtil.o objs/render/DrawWorld.o objs/render/GraphUtil.o objs/render/IBuffer.o objs/render/MatrixStack.o objs/render/MeshUtil.o objs/render/Shader.o objs/render/ShadowMap.o objs/render/TextureDesc.o objs/render/TextureUtil.o objs/render/VertexBuffer.o objs/render/lodepng/lodepng.o objs/render/lodepng/lodepng_util.o objs/scenes/DrawRLScene.o objs/scenes/DrawScene.o objs/scenes/DrawSceneImitate.o objs/scenes/DrawSceneKinChar.o objs/scenes/DrawSceneSimChar.o objs/scenes/RLScene.o objs/scenes/RLSceneSimChar.o objs/scenes/SceneBuilder.o objs/scenes/Scene.o objs/scenes/SceneImitate.o objs/scenes/SceneKinChar.o objs/scenes/SceneSimChar.o -lGLEW -lGL -lGLU -lglut -lBulletDynamics -lBulletCollision -lLinearMath DeepMimicCore_wrap.o -o _DeepMimicCore.so -L/home/forrest/anaconda3/lib -lpython3.6m
issue
At the time, I thought the build process finished, but when I run
python DeepMimic.py --arg_file args/run_humanoid3d_spinkick_args.txt
I get a Error about freeglut. But I test freeglut with other script, it’s works.
forrest@cyborg:/data/Documents/DeepMimic$ python DeepMimic.py --arg_file args/run_humanoid3d_spinkick_args.txt
/home/forrest/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
freeglut (foo): ERROR: Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow
And glxinfo | grep OpenGL output as follows:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: TITAN X (Pascal)/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 384.111
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 384.111
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
I googled this problem, but did not find a solution. Could you give me some tips to fix this problem? Thanks!
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (4 by maintainers)
cool, glad to hear that worked out!
#10 I solved this problem,just comment the line:
Haven’t seen that error before. You shouldn’t be commenting out RLWorld. Maybe try commenting out the three lines here: https://github.com/xbpeng/DeepMimic/blob/20f524cc4e2b45aed19c8d7097d3982e908060c4/DeepMimic.py#L269
and see if that makes any difference.