即使我在 Ubuntu 16.10 上使用 Mesa 12.0.3,OpenGL 核心配置文件版本也是 3.3。我尝试过 Padoka 和 Oibaf PPA,但它不会改变核心配置文件版本。我需要至少 4.1 才能玩一些游戏。
$ lspci -nn |删除 VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5730 / 6570M] [1002:68c0]
$ glxinfo | grep "OpenGL"
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD REDWOOD (DRM 2.46.0 / 4.8.0-27-generic, LLVM 3.8.1)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 12.0.3
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 12.0.3
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 12.0.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
来自 glxinfo:
Extended renderer info (GLX_MESA_query_renderer):
Vendor: X.Org (0x1002)
Device: AMD REDWOOD (DRM 2.46.0 / 4.8.0-27-generic, LLVM 3.8.1) (0x68c0)
Version: 12.0.3
Accelerated: yes
Video memory: 1024MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
答案1
我在这里找到了答案:https://www.x.org/wiki/RadeonFeature/#note_19
OpenGL 4.1 is currently only supported on CYPRESS, CAYMAN and ARUBA. All other chips are currently limited to OpenGL 3.3