NVlabs / PoseRBPF

A Rao-Blackwellized Particle Filter for 6D Object Pose Tracking
Other
136 stars 31 forks source link

YCB-render Error with "Segmentation fault" due to "eglQueryDevicesEXT" #2

Closed greatwallet closed 3 years ago

greatwallet commented 3 years ago

Error

I have successfully build ycb_render locally. When running python ycb_renderer.py or ./build/query_devices or ./build/test_device, it bumps up with Segmentation fault (core dumped). After debugging, I found the problem to be exactly the function eglQueryDevicesEXT which raises the error.

BTW, I printed out the result of egl_error which is equal to EGL_SUCCESS and seems not the problem. I also tried to print the result of gladLoadGL(eglGetProcAddress), but the result is false, so it might have something to do with gpu stuff, I guess?

System

greatwallet commented 3 years ago

Solved by re-installing the environment

lizolson commented 3 years ago

Do you mean re-installing the pose_rbpf_env conda environment?

Also the ycb_render README says:

additionally, you need to install nvidia OpenGL drivers and make them visible

export LD_LIBRARY_PATH=/usr/lib/nvidia-:$LD_LIBRARY_PATH

What did you do for these steps? Thank you!

greatwallet commented 3 years ago

Do you mean re-installing the pose_rbpf_env conda environment?

Yeah, exactly Also the ycb_render README says:

additionally, you need to install nvidia OpenGL drivers and make them visible

export LD_LIBRARY_PATH=/usr/lib/nvidia-:$LD_LIBRARY_PATH

What did you do for these steps? Thank you!

I did exactly with the command, nothing more

Spj-Zhao commented 2 years ago

I re-install the pose_rbpf_env conda environment,but it also bumps up with Segmentation fault (core dumped).