据我了解,大多数 Intel GPU 在 Linux 上由两个不同的组件支持:i965(Mesa/OpenGL 部分,支持所有最新的 Intel GPU)和 i915(内核部分,同样支持所有最新的 Intel GPU)。
两者之间的关系在我发现的任何地方都没有非常清楚地解释,特别是现在像 iHD(用于 VAAPI)或 Iris(较新的芯片)这样的名称混合在一起,但基本上我明白 i965 使用 i915 从内核公开的功能( syscalls/ioctls?) 向应用程序公开 OpenGL API。
为什么英特尔高清显卡驱动程序称为 i915?回答了有关内核部分的问题,为什么要为支持所有 Intel GPU 的 Mesa 组件使用相似但不同的产品名称?这背后有什么原因吗,或者只是历史?
我的显卡驱动程序需要支持 OpenGL 4.5,据我所知,Mesa 实际上能够运行它。
glxinfo
给我这个:
$ glxinfo | grep "OpenGL"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6
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 13.0.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions: …
Run Code Online (Sandbox Code Playgroud)