libGL error: failed to load driver: swrast
Posted AI浩
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了libGL error: failed to load driver: swrast相关的知识,希望对你有一定的参考价值。
问题
libGL error: failed to load driver: swrast,详细问题:
Time elapsed: 5.005403280258179.
<PIL.Image.Image image mode=RGB size=730x530 at 0x7F9C52B37F40>
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\\$$ORIGIN/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
解决方法
sudo dpkg --add-architecture i386
sudo apt update
参考:
https://askubuntu.com/questions/1412683/ubuntu-20-04-libgl-error-failed-to-load-driver-swrast
以上是关于libGL error: failed to load driver: swrast的主要内容,如果未能解决你的问题,请参考以下文章
suse 编译QT出现Failed to find “GL/gl.h“ in “/usr/include/libdrm“
suse 编译QT出现Failed to find “GL/gl.h“ in “/usr/include/libdrm“
suse 编译QT出现Failed to find “GL/gl.h“ in “/usr/include/libdrm“
Git上传提示error: failed to push some refs to
Error: failed to push some refs to
安装Intel HAXM:"failed to configure driver unknown error. failed to open driver"