You are not logged in.
I'm running Arch on a 2008 macbook with the following graphics card:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
I need to get OpenGL 3+ working on my computer for a class, but whever I try to run a program, the linkage fails.
According to glxinfo, I have the following versions running:
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) 965GM
OpenGL version string: 2.1 Mesa 10.0.2
OpenGL shading language version string: 1.20
OpenGL extensions:
I'm trying to run a cpp program with basic headers (and simple shaders)
#include <GL/glew.h>
#include <GL/freeglut.h>
#include <glm/glm.hpp>
and get the following message with the env variable LIBGL_DEBUG=verbose:
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i965_dri.so
Shader 1 (vertex shader) compile log:
0:3(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
Shader 2 (fragment shader) compile log:
0:3(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
I have updated packages for:
local/iasl 20130823-1
Intel ACPI Source Language compiler
local/intel-dri 10.0.2-1
Mesa drivers for Intel
local/xf86-video-intel 2.99.907-2 (xorg-drivers xorg)
X.org Intel i810/i830/i915/945G/G965+ video drivers
local/glu 9.0.0-2
Mesa OpenGL Utility library
local/intel-dri 10.0.2-1
Mesa drivers for Intel
local/libtxc_dxtn 1.0.1-5
S3 Texture Compression (S3TC) library for Mesa
local/mesa 10.0.2-1
an open-source implementation of the OpenGL specification
local/mesa-demos 8.1.0-1
Mesa demos and tools
local/mesa-libgl 10.0.2-1
Mesa 3-D graphics library
How can I get OpenGL 3+ to work on my system?
According to mesa at http://www.mesa3d.org/relnotes/10.0.1.html,
Mesa 10.0.1 implements the OpenGL 3.3 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don't support all the features required in OpenGL 3.3. OpenGL 3.3 is only available if requested at context creation because compatibility contexts not supported.
But they don't explain the contect creation part any further! I don't see why the intel driver isn't working, since it apparently supports OpenGL 3+.
http://www.x.org/wiki/IntelGraphicsDriver/
Any help would be really appreciated! It's going to be a right pain in the ass to do my coursework on a different computer.
Last edited by 01 (2014-01-20 01:00:44)
Offline
According to Wikipedia your gpu only supports opengl 2.0 https://en.wikipedia.org/wiki/Intel_GMA#GMA_X3100
Offline
Well. Impossible it is, then. Thanks!
Offline