OSX: black screen?

hi all

i must be doing something dumb, but i can't seem to get anything other than a black screen. the following complete program runs to completion, but the window is initially blue, and then black the whole time. it ought to be white for at least 1 second.

i'm running MATLAB 7.2.0.283 (R2006a) under Mac OS X 10.4.8 on an iBook. I think i've got the latest "beta" of the Psychtoolbox (updated today), but it might be "stable", since i don't remember any way to find that out. PsychtoolboxVersion returns an empty string.

any advice?

best

denis

t=GetSecs;
window = Screen('OpenWindow',0);
fprintf('%.0f s. window is open\n',GetSecs-t);
Screen('FillRect',window,0);
pause(1);
Screen('FillRect',window,255);
pause(1);
Screen('CloseAll');
fprintf('%.0f s. window is closed\n',GetSecs-t);


PTB-INFO: This is the OpenGL-Psychtoolbox version 3.0.8. Type 'PsychtoolboxVersion' for more detailed version information.
PTB-INFO: Psychtoolbox is licensed to you under terms of the GNU General Public License (GPL). See file 'License.txt' in the
PTB-INFO: Psychtoolbox root folder for a copy of the GPL license.



OpenGL-Extensions are: GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_shading_language_100 GL_ARB_imaging GL_ARB_point_parameters GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_shadow GL_ARB_depth_texture GL_ARB_shadow_ambient GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_occlusion_query GL_ARB_point_sprite GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_EXT_compiled_vertex_array GL_EXT_framebuffer_object GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_separate_specular_color GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_shadow_funcs GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_blend_equation_separate GL_EXT_texture_mirror_clamp GL_APPLE_ycbcr_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_float_pixels GL_ATI_texture_float GL_APPLE_pixel_buffer GL_NV_blend_square GL_NV_fog_distance GL_ATI_texture_mirror_once GL_ATI_text_fragment_shader GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGI_color_matrix



PTB-INFO: OpenGL-Renderer is ATI Technologies Inc. :: ATI Radeon 9600 XT OpenGL Engine :: 1.5 ATI-1.4.18
PTB-INFO: Renderer has 32 MB of VRAM and a maximum 28 MB of texture memory.
PTB-Info: VBL startline = 768 , VBL Endline = 805
PTB-Info: Measured monitor refresh interval from beamposition = 16.601601 ms [60.235156 Hz].
PTB-Info: Measured monitor refresh interval from VBLsync = 16.601128 ms [60.236872 Hz]. (50 valid samples taken, stddev=0.044597 ms.)
PTB-Info: Small deviations between reported values are normal and no reason to worry.
3 s. window is open
5 s. window is closed
>>

Denis Pelli
Professor of Psychology and Neural Science