电子产业一站式赋能平台

PCB联盟网

搜索
查看: 2934|回复: 6
收起左侧

关于Psychtoolbox的ScreenTest报错问题

[复制链接]

591

主题

1772

帖子

5770

积分

四级会员

Rank: 4

积分
5770
发表于 2022-7-31 08:41:46 | 显示全部楼层 |阅读模式
装了一个Psychtoolbox,Screen正常,但是ScreenTest虽然有闪屏和PTB的欢迎界面,但是最后报错了
这是安好还是没安好啊,求指点!!

>> ScreenTest

***** ScreenTest: Testing Screen 0 *****


PTB-INFO: This is Psychtoolbox-3 for Microsoft Windows, under Matlab 64-Bit (Version 3.0.11 - Build date: Apr  6 2014).
PTB-INFO: Type *PsychtoolboxVersion* for more detailed version information.
PTB-INFO: Most parts of the Psychtoolbox distribution are licensed to you under terms of the MIT License, with
PTB-INFO: some restrictions. See file *License.txt* in the Psychtoolbox root folder for the exact licensing conditions.

PTB-INFO: Will disable DWM because a regular fullscreen onscreen window is opened -> We want best timing and performance.
PTB-INFO: The detected endline of the vertical blank interval is equal or lower than the startline. This indicates
PTB-INFO: that i couldn*t detect the duration of the vertical blank interval and won*t be able to correct timestamps
PTB-INFO: for it. This will introduce a very small and constant offset (typically << 1 msec). Read *help BeampositionQueries*
PTB-INFO: for how to correct this, should you really require that last few microseconds of precision.
PTB-INFO: Btw. this can also mean that your systems beamposition queries are slightly broken. It may help timing precision to
PTB-INFO: enable the beamposition workaround, as explained in *help ConserveVRAM*, section *kPsychUseBeampositionQueryWorkaround*.


PTB-INFO: OpenGL-Renderer is NVIDIA Corporation :: GeForce 610M/PCIe/SSE2 :: 4.3.0
PTB-INFO: VBL startline = 768 , VBL Endline = 768
PTB-INFO: Measured monitor refresh interval from beamposition = 16.691103 ms [59.912157 Hz].
PTB-INFO: Will use beamposition query for accurate Flip time stamping.
PTB-INFO: Measured monitor refresh interval from VBLsync = 16.679823 ms [59.952675 Hz]. (298 valid samples taken, stddev=0.236648 ms.)
PTB-INFO: Reported monitor refresh interval from operating system = 16.666667 ms [60.000000 Hz].
PTB-INFO: Small deviations between reported values are normal and no reason to worry.

WARNING: Couldn*t compute a reliable estimate of monitor refresh interval! Trouble with VBL syncing?!?


----- ! PTB - ERROR: SYNCHRONIZATION FAILURE ! ----

One or more internal checks (see Warnings above) indicate that synchronization
of Psychtoolbox to the vertical retrace (VBL) is not working on your setup.

This will seriously impair proper stimulus presentation and stimulus presentation timing!
Please read *help SyncTrouble* for information about how to solve or work-around the problem.
You can force Psychtoolbox to continue, despite the severe problems, by adding the command
Screen(*Preference*, *SkipSyncTests*, 1); at the top of your script, if you really know what you are doing.


Error using Screen
See error message printed above.


Error in ScreenTest (line 15)
    w = Screen(*OpenWindow*,screen);


这是报错的脚本
% ScreenTest
%
% Test hardware/software configuration for performance.
%
% 10/14/06  dhb  Wrote stub version.


% Get all screens
screens = Screen(*Screens*);


% Test each screen
for screen = screens
      fprintf(*\n***** ScreenTest: Testing Screen %d *****\n*,screen);

      % Open window.  Prints some diagnostics all on its own.
      w = Screen(*OpenWindow*,screen);

      % Close window
      Screen(*Close*,w);

      fprintf(*\n***** ScreenTest: Done With Screen %d *****\n*,screen);

end
回复

使用道具 举报

585

主题

910

帖子

4977

积分

四级会员

Rank: 4

积分
4977
发表于 2022-7-31 08:43:06 | 显示全部楼层
楼主,我现在安装也出现了这种问题,两台笔记本都是这个问题,不知道您当时是怎样解决的,跪求指教啊
关于Psychtoolbox的ScreenTest报错问题-1.jpg
回复 支持 反对

使用道具 举报

604

主题

947

帖子

5151

积分

四级会员

Rank: 4

积分
5151
发表于 2022-7-31 08:43:14 | 显示全部楼层
仔细看报错信息,就知道解决办法了 :在 ScreenTest.m 文件中加入Screen('Preference', 'SkipSyncTests', 1);就不会报错了!我刚才也遇到这个问题,用这个就解决了
回复 支持 反对

使用道具 举报

579

主题

911

帖子

5007

积分

四级会员

Rank: 4

积分
5007
发表于 2022-7-31 08:44:09 | 显示全部楼层
请问问题解决了吗?我的电脑也这样
回复 支持 反对

使用道具 举报

600

主题

954

帖子

5061

积分

四级会员

Rank: 4

积分
5061
发表于 2022-7-31 08:44:39 | 显示全部楼层
请问问题解决了吗?我也这个问题
回复 支持 反对

使用道具 举报

600

主题

954

帖子

5061

积分

四级会员

Rank: 4

积分
5061
发表于 2022-7-31 08:45:38 | 显示全部楼层
同问
回复 支持 反对

使用道具 举报

604

主题

947

帖子

5151

积分

四级会员

Rank: 4

积分
5151
发表于 2022-7-31 08:45:53 | 显示全部楼层
Psychtoolbox 3 精确时间控制(1)_dujiahei的博客-CSDN博客
回复 支持 反对

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


联系客服 关注微信 下载APP 返回顶部 返回列表