我正在尝试将我的OpenGL驱动程序更新为最新版本。我尝试过以下的ppas:
ppa:oibaf/graphics-drivers
ppa:eek:ibaf/graphics-drivers
ppa:ubuntu-x-swat/updates
到目前为止什么都不起作用。有什么解决办法吗?
glxinfo grep OpenGL的输出
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 405 (Braswell)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.0-devel - padoka PPA
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.2.0-devel - padoka PPA
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.2.0-devel - padoka PPA
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
发布于 2021-02-26 14:41:59
我拥有一台带有英特尔(R) HD Graphics 520 (Skylake GT2)的笔记本电脑。我遇到了同样的问题,无法用给定的solution.So来解决,我试着做了下面的事情,这是有帮助的。
在运行命令时:
glxinfo|grep OpenGL
您将得到core profile version string
输出,这将决定您可以最大限度地钳制您的版本的opengl。对于我来说,它是4.5,所以接下来我运行以下命令:
export MESA_GL_VERSION_OVERRIDE=4.5
您可以在可用范围内编写所需的版本。发布此命令,您可以使用以下命令检查更新的版本:
glxinfo | grep "OpenGL version"
一旦您看到您的版本已经更改,就可以使用以下命令在bashrc中导出它:
echo 'export MESA_GL_VERSION_OVERRIDE=4.5' >> ~/.bashrc
发布于 2020-10-21 23:14:04
老掉牙的问题,但如果有人发现了这个问题就会回答。
我使用了内核4.4的Ubuntu16.04。我遇到了glxinfo显示错误版本的问题。大多数情况下,OpenGL版本显示为3.3。我不得不将内核更新为4.15,问题得到了解决。我运行了以下命令:
sudo apt-get install --install-recommends linux-generic-hwe-16.04
重新启动系统,现在我有了OpenGL 4.5:
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
Max core profile version: 4.5
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.5
OpenGL core profile shading language version string: 4.50
OpenGL version string: 3.0 Mesa 18.0.5
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
https://askubuntu.com/questions/928538
复制相似问题