xvfb 应该让我在无头环境中运行 X 程序。但是当我跑步时xvfb-run glxgears
,我得到:
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
Error: couldn't get an RGB, Double-buffered visual
当我跑步时LIBGL_DEBUG=verbose xvfb-run glxgears
,我得到:
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
libGL error: failed to load driver: swrast
Error: couldn't get an RGB, Double-buffered visual
我正在运行带有 Intel Ivy Bridge 集成显卡的 Lubuntu 13.10 x64。 libgl1-mesa-dri 已安装并且 /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so 存在。以 root 身份运行没有帮助。
出了什么问题?