jessfraz / dockerfiles

Various Dockerfiles I use on the desktop and on servers.
https://blog.jessfraz.com/post/docker-containers-on-the-desktop/
MIT License
13.69k stars 2.55k forks source link

docker run plex-home-theater fails on libGL error #402

Open hradec opened 6 years ago

hradec commented 6 years ago

Running on Arch linux... after doing xhost +, this is the log I get:


libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
ERROR: Unable to create GUI. Exiting

What video board you use in your setup? I'm on nvidia, using the proprietary drivers, not noveau.

I have a container running foundry's Nuke on top of centos, and I had to install nvidia's GL libraries in the container as well as running the container sharing the driver devices (/dev/nvidia*), to be able to run it properly.

I'll do the same in your dockerfile to see if it fixes it. I'll get back to you if it works!

I think this may be related to the other "NES" issue reported here.

mviereck commented 6 years ago

If you don't share /dev/dri and /dev/nvidia*, it should be enough to install mesa in arch images. It will use software rendering with swrast driver that currently misses in your image. If it is not an arch image but e.g. debian, install mesa-utils.