I am unable to run even a simple script where I just Screen(‘OpenWindow’) and display some text. Our ptb experiments work perfectly fine on other PCs in the lab. We followed the same installation procedures that we used when installing matlab and g-streamer/psychtoolbox on other machines.
Because Matlab and the computer crashes, we are forced to do a forced reboot of the computer and thus are unable to see any error messages returned to us by matlab.
Any ideas what might be the issue?
Do any of the demos included in the Psychtoolbox distribution work? Or do all crash? If you are displaying text, PTB might need to “rebuild” the text renderer cache. Or something like this, I forget the exact terminology. This can take some time, so what looks like a crash might be that Just a guess given the information.
What happens upon the crash? Can you not just quit the Matlab process? Needing to reboot the computer seems like a big problem - not quite sure how PTB alone could possibly cause that. Seems like possibly a larger issue if a full reboot is needed.
If Matlab crashes, why is a system reboot needed?
On macOS there is a “console” program which logs processes. Not sure if there is a Windows equivalent. That could log whatever the issue is.
Basically, as it, a bit more info is probably needed.
P
Thanks for the quick reply. I only tried SimpleMovieDemo from the included PTB demos, also doesn’t work. Matlab just shows “Busy” indefinitely, and has to be force quit. It’s just strange that all of our other computers are able to run our ptb experiments except this one.
The last time we were able to retrieve and error message, this is what was returned:
Exception in thread “AWT-Event-Queue-0”: java.lang.RuntimeException: Waited 5000ms for: <3b5a1b21, 491d16b6>[count 2 [ add. 0, orig 2], qsz 0, owner , add.owner Startup Class Loader-SharedResourceRunner] -
at jogamp.common.util.locks.RecursiveLockImpl01Unfairish.lock(RecursiveLockImpl01Unfairish.java:198)
at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:199)
at com.jogamp.opengl.GLProfile.getDefaultDevice(GLProfile.java:2003)
at com.jogamp.opengl.GLCapabilities.(GLCapabilities.java:84)
at com.mathworks.hg.peer.GLCanvasPeerFactory.getCaps(GLCanvasPeerFactory.java:22)
at com.mathworks.hg.peer.GLCanvasPeerFactory.createHGCanvasPeerWithComponent(GLCanvasPeerFactory.java:88)
at com.mathworks.hg.peer.GraphicsPeerWithComponent.createJOGLCanvas(GraphicsPeerWithComponent.java:19)
at com.mathworks.hg.peer.GraphicsPeer.doCreateCanvas(GraphicsPeer.java:119)
at com.mathworks.hg.peer.GraphicsPeer.access$100(GraphicsPeer.java:16)
at com.mathworks.hg.peer.GraphicsPeer$1.run(GraphicsPeer.java:174)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Hope this helps…
Closing, as a new thread for the same topic was opened by poster.