-2

我的问题是更新核心和 GLSL 版本的 OpenGL。我为我的 HD 4400 安装了最新的英特尔驱动程序,但仍然获得了 GLSL 1.30。问题是,这个 GPU 应该支持 OpenGL/GLSL 4.0。无论我做什么,似乎都无法升级,glxinfo 仍然显示 1.30 GLSL。有类似问题的任何人对此有何帮助?

4

1 回答 1

1

glxinfo报告 GL 3.0/GLSL1.30 对这个 GPU 来说很好。您正在使用Mesa3D开源 OpenGL 实现。这目前支持 OpenGL 到 3.3 版。但是,它只支持核心配置文件的现代 GL的现代 GL (这是他们需要提供的唯一配置文件,如规范)。在兼容模式下,它仅限于 GL 3.0 / GLSL 1.30 - 这就是您在此处看到的。

旧版本glxinfo根本不了解核心配置文件,并且仅限于兼容性/旧版上下文。最新版本的glxinfo将报告两者。因此,对于 Linux 上的 Intel HDxxxx GPU,您将获得类似于

$ glxinfo | grep -i opengl
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.0.1
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 10.0.1
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
于 2015-02-18T18:56:03.430 回答