Hello,
We have implemented a generic experiment infrastructure. This was done to simplify the development process. The infrastructure was working well, even with our eye-tracking tool. However, we recently needed to display a 120 Hz refresh-rate stimuli, so we updated our graphics card. Since than, Psychtoolbox gets stuck on the Screen('OpenWindow')'s opening display (see attached image). It does not happen every n-th time, nor does it happen every time I interrupted the previous run via keyboard (with Ctrl+C).
I am a psychology student with 5 year experience as a programmer. English is not my native language, so I'm sorry for any grammatical mistakes and for not finding a good synonym for the word "stuck".
Thank you very much,
Shachaf
Specifications:
OS: Windows 7 Enterprise, Service Pack 1
old graphics card: Nvidia quadro k620
new graphics card: Nvidia GT730 2GB
Psychtoolbox version: 3.0.13, beta
Attachments:
testing_graphics_card.png - image of the stuck-ed screen
Envieonment.m - The environment module in our infrastructure. This is where we call Screen('OpenWindow') among other functionalities.
And the code with which we open a window:
%% opening a window
function open_window(obj, width, height)
if nargin < 3
height = obj.HEIGHT;
end
if nargin < 2
width = obj.WIDTH;
end
width = obj.convert_cm_to_pixels(width);
height = obj.convert_cm_to_pixels(height);
screens=Screen('Screens');
screenNumber=max(screens);
[obj.window, obj.rectangular_size] = Screen('OpenWindow', screenNumber, 0, [0, 0, width, height]);
obj.is_window_open = 1;
end