OpenGL &Ubuntu 12.04 下 HD Graphics 4000 上的 GLSL 3.3 [英] OpenGL & GLSL 3.3 on an HD Graphics 4000 under Ubuntu 12.04

查看:43
本文介绍了OpenGL &Ubuntu 12.04 下 HD Graphics 4000 上的 GLSL 3.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行该配置:

  • Ubuntu 12.04
  • 英特尔高清显卡 4000

glxinfo 给我那个参数:

OpenGL renderer string: Mesa X11
OpenGL version string: 2.1 Mesa 8.0.4
OpenGL shading language version string: 1.20
OpenGL extensions:

我的目标是运行 OpenGL 3.3(以及 GLSL 3.3).如果我很容易解决开发问题,那么我就会迷失在硬件和驱动程序中,那么有人知道通过我的配置实现这一目标的方法吗?

My goal was to run OpenGL 3.3 (and so GLSL 3.3). If I'm easy with development issues, I'm lost in hardware and drivers, so does someone knows a way to achieve that with my configuration?

推荐答案

不幸的是,目前看来这是不可能的,因为英特尔提供的开源驱动程序是唯一可用的.有一个比您的版本更新的版本(Mesa 9.0.1),但它仍然支持 OpenGL 3.0 和 GLSL 1.30,您可以在 英特尔开源网站.

Unfortunally at this moment it looks like this is not possible, since the open source drivers provided by Intel are the only available. There is a version newer than yours (Mesa 9.0.1) but it still supports OpenGL 3.0 and GLSL 1.30, as you can read in the release notes at the Intel Open Source website.

问题是开源驱动卡住了 Mesa,目前它只支持 GLSL 1.40,你可以在这里看到:http://www.mesa3d.org/shading.html#support

The problem is that open source drivers are stuck with Mesa, which at this moment only supports GLSL 1.40, as you can see here: http://www.mesa3d.org/shading.html#support

恐怕如果您需要使用 OpenGL 3.3 环境,您将需要获得具有可用二进制驱动程序(nvidia 或 ati 卡)的专用 GPU.

I'm afraid that if you need to use an OpenGL 3.3 environment, you'll need to get a dedicated GPU with binary drivers available (nvidia or ati cards).

这篇关于OpenGL &Ubuntu 12.04 下 HD Graphics 4000 上的 GLSL 3.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆