CUDA Projects and OpenGL on Older MacBook Problem

Hi,

I’m new to CUDA. I have limited access to a desktop machine containing a GTX280 however the plan is to do most of my developing on a MacBook (2007) running 10.5.4 in emulation mode. The MacBook has an Intel GMA 950 integrated graphics card.

I’ve downloaded and installed the Mac CUDA Toolkit and SDK, and I’ve been able to build and run some of the sample applications. However, I’m getting errors with some of the OpenGL sample applications. Although I can run “FluidsGL”, when I run other OpenGL samples such as simpleGL or oceanFFT I get an error:

ERROR: Support for necessary OpenGL extensions missing.

For example, if I try the following:

./boxFilter
Loaded ‘./…/…/…/projects/boxFilter/data/lena.ppm’, 512 x 512 pixels
Error: failed to get minimal extensions for demo
This sample requires:
OpenGL version 1.5
GL_ARB_vertex_buffer_object
GL_ARB_pixel_buffer_object

What I don’t get is that OpenGL Extensions Viewer says that I have these extensions (see below).

Any idea what’s going on here?

Cheers,

Chris

Here’s the report from OpenGL Extensions Viewer:

Renderer: Intel GMA 950 OpenGL Engine

Vendor: Intel Inc.

Memory: 64 MB

Version: 1.2 APPLE-1.5.28

Shading language version: 1.20

Max number of light sources: 8

Max viewport size: 2048 x 2048

Max texture size: 2048 x 2048

Max anisotropy: 4

Max samples: 0

Max draw buffers: 0

Max texture coordinates: 8

Max vertex texture image units: 16




Extensions: 77


GL_APPLE_aux_depth_stencil
GL_APPLE_client_storageâ€
¨GL_APPLE_element_array
GL_APPLE_fence
GL_APPLE_flush_buf
fer_range
GL_APPLE_flush_render
GL_APPLE_object_purgeable

GL_APPLE_packed_pixels
GL_APPLE_pixel_buffer
GL_APPLE_
specular_vector
GL_APPLE_texture_range
GL_APPLE_transform
hint
GL_APPLE_vertex_array_object
GL_APPLE_vertex_array
range
GL_APPLE_vertex_program_evaluators
GL_APPLE_ycbcr_4
22
GL_ARB_depth_texture
GL_ARB_fragment_program
GL_ARB_
fragment_program_shadow
GL_ARB_fragment_shader
GL_ARB_mul
titexture
GL_ARB_pixel_buffer_object
GL_ARB_point_spriteâ
۬GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_AR
B_shadow
GL_ARB_texture_border_clamp
GL_ARB_texture_compr
ession
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
G
L_ARB_texture_env_combine
GL_ARB_texture_env_dot3
GL_ARB_
texture_mirrored_repeat
GL_ARB_texture_non_power_of_two
G
L_ARB_texture_rectangle
GL_ARB_transpose_matrix
GL_ARB_ve
rtex_blend
GL_ARB_vertex_buffer_object
GL_ARB_vertex_prog
ram
GL_ARB_vertex_shader
GL_ARB_window_pos
GL_ATI_textu
re_env_combine3
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_co
lor
GL_EXT_blend_equation_separate
GL_EXT_blend_func_sepa
rate
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_c
lip_volume_hint
GL_EXT_draw_range_elements
GL_EXT_fog_coo
rd
GL_EXT_framebuffer_object
GL_EXT_geometry_shader4
GL
EXT_gpu_program_parameters
GL_EXT_multi_draw_arrays
GL_E
XT_packed_depth_stencil
GL_EXT_rescale_normal
GL_EXT_seco
ndary_color
GL_EXT_separate_specular_color
GL_EXT_shadow

funcs
GL_EXT_stencil_two_side
GL_EXT_stencil_wrap
GL_EX
T_texture_compression_dxt1
GL_EXT_texture_compression_s3tcâ
€¨GL_EXT_texture_env_add
GL_EXT_texture_filter_anisotropicâ
۬GL_EXT_texture_lod_bias
GL_EXT_texture_rectangle
GL_EXT
_transform_feedback
GL_IBM_rasterpos_clip
GL_NV_blend_squ
are
GL_NV_light_max_exponent
GL_NV_texgen_reflection
GL
SGIS_generate_mipmap
GL_SGIS_texture_edge_clamp
GL_SGIS
texture_lod

Core features
v1.1 (100 % - 7/7)
v1.2 (100 % - 8/8)
v1.3 (88 % - 8/9)
v1.4 (86 % - 13/15)
v1.5 (66 % - 2/3)
v2.0 (90 % - 9/10)
v2.1 (66 % - 2/3)
v3.0 (23 % - 5/21)

OpenGL driver version check (Current: 1.2 APPLE-1.5.28, Latest known: 1.2 APPLE-1.5.28):
Latest version of display drivers found
According the database, you are running the latest display drivers for your video card.

No compiled vertex array support
This may cause performance loss in some applications.

Multitexture support
This feature accelerates complex rendering such as lightmaps or environment mapping.

Secondary color support
This feature provides an alternate method of coloring specular highlights on polygons.

S3TC compression support
This feature improves texture mapping performance in some applications by using lossy compression.

Vertex array range support
This feature improves performance in some applications by using AGP for dynamic vertex transformation.

Texture edge clamp support
This feature improves texturing quality by adding clamping control to edge texel filtering.

Vertex program support
This feature enables a wide variety of effects via flexible vertex programming (equivalent to DX8 Vertex Shader.)

Fragment program support
This feature enables a wide variety of effects via per pixel programming (equivalent to DX9 Pixel Shader.)

Texture anisotropic filtering support
This feature improves the quality of texture mapping on oblique surfaces.

Point sprite support
This feature improves performance in some particle systems.

OpenGL Shading Language support
This feature enables high level shading language for shaders.

Frame buffer object support
This feature enables render to texture functionality.

Extension verification: