Hi,
I downloaded PTB 1.0.40 to see whether it is useful yet.
Unfortunately, even the simplest functions contain errors.
BUG #1 -- "DescribeComputer" reports a negative amount of RAM.
My computer actually has 4 GB of RAM.
*********************** David Jones on Cascade ***********************
Dual-CPU Power Mac G5 at 2.00 GHz, Mac OS 10.3.7
Model Type "PowerMac7,2" with -2147483648.00 B RAM, bus clock 1.00 GHz
Psychtoolbox 1.0.40, 20 December 2004
MATLAB 7.0.1.24704 (R14) Service Pack 1
QuickTime 6.5.2
... under the OS9 version of PTB, I would have typed "DescribeScreen",
but it doesn't seem to exist (yet) under OSX.
Here is my graphics card: "ATY,Rocket_B"
I mention that because many of the simple tests I try to run fail:
BUG #2
PsychTestsOSX/
TestFlip.m
screenNumber=0;
Also, for this test to work properly, I added a new new line 8.
(otherwise you get a random time for the first frame duration)
Screen('Flip',w); <--- add this line to synchronize with frame refresh
GetSecs;
for i=1:numFlips
Screen('Flip',w);
t(i)=GetSecs;
end
- - - - -
BUG #3
PsychTestsOSX/
TestDrawingStuffOSX.m
checks properly for the screenNumber "s",
but then uses the constant "2" instead.
s=max(Screen('Screens'));
w=Screen('OpenWindow', 2,[],[],32,2);
After I change line 8, I can run the function, but then it never
completes.
... or more correctly, I cannot tell if it ever completes.
I guess this is GetChar at the end of the funciton failing to read
anything.
I'm looking forward to PTB becoming usable.
-- David Jones
I downloaded PTB 1.0.40 to see whether it is useful yet.
Unfortunately, even the simplest functions contain errors.
BUG #1 -- "DescribeComputer" reports a negative amount of RAM.
My computer actually has 4 GB of RAM.
*********************** David Jones on Cascade ***********************
Dual-CPU Power Mac G5 at 2.00 GHz, Mac OS 10.3.7
Model Type "PowerMac7,2" with -2147483648.00 B RAM, bus clock 1.00 GHz
Psychtoolbox 1.0.40, 20 December 2004
MATLAB 7.0.1.24704 (R14) Service Pack 1
QuickTime 6.5.2
... under the OS9 version of PTB, I would have typed "DescribeScreen",
but it doesn't seem to exist (yet) under OSX.
Here is my graphics card: "ATY,Rocket_B"
I mention that because many of the simple tests I try to run fail:
BUG #2
PsychTestsOSX/
TestFlip.m
> TestFlipOkay, so it works if I change line 6 to:
> Error in function OpenWindow: Invalid or missing Screen Number or
> Window Index
> ??? Usage:
>
> [windowPtr,rect]=Screen('OpenWindow',windowPtrOrScreenNumber [,color]
> [,rect][,pixelSize][,numberOfBuffers]);
>
> Error in ==> TestFlip at 6
> w=Screen('OpenWindow', screenNumber, [], [], [], 2);
screenNumber=0;
Also, for this test to work properly, I added a new new line 8.
(otherwise you get a random time for the first frame duration)
Screen('Flip',w); <--- add this line to synchronize with frame refresh
GetSecs;
for i=1:numFlips
Screen('Flip',w);
t(i)=GetSecs;
end
- - - - -
BUG #3
PsychTestsOSX/
TestDrawingStuffOSX.m
> TestDrawingStuffOSXOkay, a similar error here. Actually it is worse because in line 7 is
> Error in function OpenWindow: Invalid or missing Screen Number or
> Window Index
> ??? Usage:
>
> [windowPtr,rect]=Screen('OpenWindow',windowPtrOrScreenNumber [,color]
> [,rect][,pixelSize][,numberOfBuffers]);
>
> Error in ==> TestDrawingStuffOSX at 8
> w=Screen('OpenWindow', 2,[],[],32,2);
checks properly for the screenNumber "s",
but then uses the constant "2" instead.
s=max(Screen('Screens'));
w=Screen('OpenWindow', 2,[],[],32,2);
After I change line 8, I can run the function, but then it never
completes.
... or more correctly, I cannot tell if it ever completes.
I guess this is GetChar at the end of the funciton failing to read
anything.
I'm looking forward to PTB becoming usable.
-- David Jones