I have installed GStreamer (the correct variant) and Psychtoolbox per the instructions specified on the ptb site. GStreamer was installed BEFORE Psychtoolbox, as instructed. When trying to launch our experiment, we only go as far as seeing the purple PTB logo/loading screen, before Matlab crashes entirely and has to be forcefully terminated.
It is very strange because the same experiments work perfectly fine on our other PC, which is the exact same model and specs as the one that is having issues. Matlab version is 2024b, running on Windows 11 Pro, 64-bit, 13th gen Intel Core processor i7-13700, Intel UHD graphics 770.
The last time we were able to recover an error message from Matlab, it showed:
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)
Anybody have any insight into what might be the issue here?
On the purple welcome screen you must have read that professional advice requires a paid support membership, and so far I don’t see a paid support authentication token for up to 30 minutes of my work time, so I’ll only answer with a brief hunch. Given that I am about to suspend delivery of any paid support for the remainder of this year until after the christmas and new year break, I don’t know if buying one right now would still help you this year.
Using diary on or PsychDebugWindowConfiguration for a half-transparent onscreen window sometimes helps to log what’s going on in more detail.
That said: We explicitely state on our website that use of Intel graphics on Microsoft Windows is not recommended at all, and not supported in case of trouble, as there are known unfixable bugs in Intel graphics drivers for MS-Windows for most, or possibly all Intel gpu’s. Upgrading to a AMD gpu or NVidia gpu for use on Windows is the 2nd best choice. Or switching to Linux as operating system, e.g., as a dual-boot, as the best choice, if you want reliable Intel graphics.
Usually visual presentation timing and timestamping is badly broken with Intel gpu’s on MS-Windows and not trustworthy at all. One additional indicator on Windows for such brokeness is that the welcome screen wiggles quickly during its display as an visual indicator of the specific type of unfixable brokenness.
That is a low-level Opengl graphics error in Matlabs graphics and plotting backend. Unrelated to Psychtoolbox, but also hinting at some issues with the Intel graphics drivers.
Your best shot would probably be reinstalling the Intel graphics and display drivers from scratch. You’d still have the likely broken presentation timing though unless switching to an AMD or NVidia graphics card, or switching to Linux as operating system.