RobotLocomotion/LabelFusion

libGL issues with nvidia-docker 2.0

andrewqho opened this issue · 2 comments

We have been trying build the given docker image to run LabelFusion, but we've run into a slew of issues. Mainly, there seems to be an issue with getting libGL to work. We can run the alignment tool, but the scene does not show up in the GUI. We suspect that this has to do with the following issues that appear when we run the alignment tool.

libGL error: No matching fbConfigs or visuals found 
libGL error: failed to load driver: swrast

A similar error was opened a little over a year last year (link: #25) and the solution was to use nvidia-docker 1.0 instead of 2.0. Unfortunately, docker 1.0 seems to have been deprecated, and that solution doesn't work anymore.

Has your team - or anybody for that matter - been able to get the LabelFusion image to work with nvidia-docker-2.0?

Hi Andrew,

There is a pull request that adds support for nvidia-docker 2.0:

#40

You might try using that branch on @ianre657's fork in order to get nvidia-docker 2 support. I hope to land a version of that PR but I just haven't had time to work on this project lately. Good luck!

That solved it, thanks! Many thanks to Mr. Ian Chen :)