Fedora 20、HD4400 OpenGL 版本

Fedora 20, HD4400 OpenGL version

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

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

旧版本的 glxinfo 根本不知道核心配置文件,并且仅限于 compatibility/legacy 上下文。 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: