Ubuntu 24.04虚拟机运行glxinfo时出现MESA与glx错误的解决求助
Ubuntu 24.04虚拟机运行glxinfo时出现MESA与glx错误的解决求助
大家好,我在Oracle VM虚拟机里运行Ubuntu 24.04时碰到了OpenGL相关的错误,想请各位帮忙看看怎么解决。
我的系统环境如下:
- Windows 10 主机
- Ubuntu 24.04 运行在Oracle VM虚拟机中
- 虚拟机显示设置为VMSVGA
当我在Ubuntu终端执行这条命令时:
glxinfo | grep OpenGL
收到了包含错误信息的输出:
MESA: error: ZINK: failed to choose pdev glx: failed to create drisw screen OpenGL vendor string: Mesa OpenGL renderer string: llvmpipe (LLVM 17.0.6, 256 bits) OpenGL core profile version string: 4.5 (Core Profile) Mesa 24.0.5-1ubuntu1 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.5 (Compatibility Profile) Mesa 24.0.5-1ubuntu1 OpenGL shading language version string: 4.50 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.0.5-1ubuntu1 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions:
现在虽然能看到OpenGL的版本信息,但前面的错误提示让我担心会影响后续图形程序的正常运行,请问有没有办法解决这些错误呢?
备注:内容来源于stack exchange,提问作者Mike




