Could not create offscreen surface

Hi, I just joined the discussiongroup

i'm working with the toolbox since a month now, everything's o.k.,
but since a couple of days, Matlab is generating this error :

C:\Development\Dev 2.44+\src\WinSource251\PsychSourcePC\(PsychMEX)
\PsychBasic\SCREEN\SCREENOpenOffscreenWindowPC.cpp:
Could not create offscreen surface.

Error in ==> C:\matlab_sv13
\toolbox\PsychToolbox\PsychBasic\Screen.dll

Error in ==> C:\matlab_sv13\work\pts_memoire1.m

On line 143 ==> pts_mvt(j)=SCREEN(window,'OpenOffScreenWindow',fond);

It's not happening all the time, only under certain circumstances
Did this problem happen to anybody else?


Gabriel Durany
This is because the m/c is running out of memory to create offscreen windows. Try closing them at the end if each run of the loor. The command is SCREEN(WIndowptr,'Close')
 
Regards
Hari
----- Original Message -----
From: gadurrr
Sent: Sunday, February 08, 2004 1:21 PM
Subject: [psychtoolbox] Could not create offscreen surface

Hi, I just joined the discussiongroup

i'm working with the toolbox since a month now, everything's o.k.,
but since a couple of days, Matlab is generating this error :

C:\Development\Dev 2.44+\src\WinSource251\PsychSourcePC\(PsychMEX)
\PsychBasic\SCREEN\SCREENOpenOffscreenWindowPC.cpp:
Could not create offscreen surface.

Error in ==> C:\matlab_sv13
\toolbox\PsychToolbox\PsychBasic\Screen.dll

Error in ==> C:\matlab_sv13\work\pts_memoire1.m

On line 143 ==> pts_mvt(j)=SCREEN(window,'OpenOffScreenWindow',fond);

It's not happening all the time, only under certain circumstances
Did this problem happen to anybody else?


Gabriel Durany




http://psychtoolbox.org
POST a message to: psychtoolbox@yahoogroups.com
UNSUBSCRIBE by sending a blank message to:
psychtoolbox-unsubscribe@yahoogroups.com