【发布时间】:2020-06-26 07:35:13
【问题描述】:
我有一个带有 Mesa3D 和 llvmpipe 软件驱动程序的 Linux 系统。
glxinfo 报告
Extended renderer info (GLX_MESA_query_renderer):
Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 9.0, 128 bits) (0xffffffff)
Version: 19.2.8
Accelerated: no
Video memory: 65482MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
如果我正确阅读了此信息,则核心配置文件必须支持 OpenGL 3.3。不幸的是,任何 OpenGL 程序都只能在 OpenGL 3.1 模式(兼容性配置文件)下启动。例如,
~$ xvfb-run glxgears -info
GL_RENDERER = llvmpipe (LLVM 9.0, 128 bits)
GL_VERSION = 3.1 Mesa 19.2.8
GL_VENDOR = VMware, Inc.
...
有没有办法使用核心 3.3 配置文件启动 OpenGL 程序?
【问题讨论】:
标签: linux opengl virtual renderer mesa