Psychtoolbox interfaces between Matlab or Octave and the computer hardware. The PTB core routines provide high performance 2D and 3D graphics with the highest color and luminance precision, timing precision and control. This both on standard displays, as well as with special visual stimulators, and with High Dynamic Range displays, and with a wide variety of Virtual/Augmented Reality devices. They expose raw OpenGL commands, support video playback and capture, as well as low-latency precisely timed audio playback and capture. They facilitate the collection of observer responses with high timing precision via various input modalities like keyboard, mouse, game controllers, multi-touch touch screens, response boxes, gaze trackers, and digital / analog i/o equipment. Ancillary helper routines support common needs like color space transformations, calibration, and psychometric procedures like, e.g., the QUEST threshold seeking algorithm and others.

Various 3rd party frameworks and higher level toolboxes are built on top of Psychtoolbox to make implementation of research data collection especially easy in specific sub-domains of neuroscience. For beginners or certain domains there also exist user friendly 3rd party graphical user interfaces, e.g., PsyBuilder.

You can also run some of your Psychtoolbox studies online, via VPixx Labmaestro service under https://vpixx.com/products/labmaestro-packngo.

Psychtoolbox has many active users, an active forum, and is widely cited. The current version supports at least Matlab R2025b on Linux, Windows and macOS, and Octave 6 - 9 on Linux, and Octave 7.3 on Windows, and Octave 10 on macOS.

Psychtoolbox News

Psychtoolbox updated

kleinerm

Psychtoolbox 3.0.22.4 “The slog continues” was released on 2. December 2026.

You can download it as a zip file from the following link:

https://github.com/Psychtoolbox-3/Psychtoolbox-3/releases/download/3.0.22.4/3.0.22.4.zip

The complete development history can be found in our GitHub repository. The release tag is “3.0.22.4”, with the full tree and commit logs under the URL:

https://github.com/Psychtoolbox-3/Psychtoolbox-3/tree/3.0.22.4

Compatibility changes wrt. Psychtoolbox 3.0.22.3:

  • None.

  • Be reminded that macOS 26 Tahoe and macOS 27 Golden Gate are currently not recommended for use with Psychtoolbox, due to severe operating system bugs, caused by Apple and only fixable by Apple. These bugs will affect any software that tries to achieve robust, reliable, trustworthy and accurate visual stimulus presentation timing and timestamping. It causes framerates to be cut in half! Only software with broken timing support will not suffer this degradation (iow. to my knowledge all other toolkits in existence). This is the situation as of macOS 26.0 - 27.2.1, the status of later macOS 27 releases is so far unknown. There have not been any improvements of this situation in macOS 27. I have filed high quality bug reports for macOS 27.0 to Apple about ~2.5 months ago, but so far no meaningful response from them, if or when to expect any fixes or improvements.

Highlights:

  • Ubuntu 26.04-LTS officially tested and supported now on X11, including Octave mex files.

  • Some improvements to visual stimulus presentation on macOS Apple Silicon. Still with known problems caused by Apple macOS operating system bugs, including the severe performance problems (only achieving a framerate half of what should be possible on macOS 26 and 27) which can only be fixed by Apple.

  • Various improvements to our OpenXR VR driver, especially fixes for eye gaze tracking, but also hand tracking and wireless/usb PC VR streaming to mobile/standalone HMDs.

All:

  • Improvements to OpenXR handtracking for VR applications. We can now make use of the XR_FB_HAND_TRACKING_AIM extension on VR devices that support it, to detect, and report properties of, “aim” gestures made by users. This is now also supported on Matlab, not just for Octave, as in the previous release.

  • Fix OpenXR based eye gaze tracking! Invert z-axis of gaze matrix, to fix the global gazeRay vector. Now it also fully works on eyetracked non HTC VR HMDs.

    Turns out we had this wrong for the OpenXR case, or rather, we had it right for the SRanipal HTC Vive special path although I didn’t understand why that “hack” was needed, and therefore restricted it to SRanipal, when it should always apply, because it is not a hack or a workaround, but proper treatment of the data!

    Additionally switch the coordinate reference frame to a head local one, as that was also wrong!

  • OpenXR: Only require OpenXR 1.0 as minimum supported api version, as some common VR runtimes like SteamVR don’t fully support and report OpenXR 1.1 yet.

  • Remove Octave graphics_toolkit() overrides from demos and tests, for better compatibility with modern Octave plotting.

  • PsychVideoSwitcher(): Work around Octave 11 bug for “weird” empty variables.

  • KbQueueDemo: Make it cope with MacBookPro’s that have a touchbar, just like KbCheck does: Allow the key left of 1! as a ESCape surrogate for those machines.

  • Screen+PsychVulkanCore: Mark interop images as dedicated memory allocations, to allow for tiled interop for potentially higher performance on some graphics cards, e.g., AMD gpu’s.

  • Various other smaller refinements, bug fixes and documentation updates. Various internal work on the software, not obviously user visible yet.

Linux:

  • Psychtoolbox was built against Matlab R2026b and Octave 6.4 under Ubuntu 22.04.5-LTS, and also for Octave 11.1 on Ubuntu 26.04.1-LTS. It works on Ubuntu 22.04-LTS and later, and similar distributions.

  • Ubuntu 26.04.1-LTS has now been validated for research grade production use under a native X11 X-Server based desktop GUI environment. Specifically, extensive testing was conducted under the KDE Plasma desktop environment v6.6. Other X11 desktops are expected to work, but have not been tested.

    The KDE Plasma 6.6 desktop in its X11 edition can be installed on Ubuntu by installing the package “plasma-session-x11”. Also recommended is installing the “sddm” login manager, to avoid bugs with window switching (broken ALT+Tab) apparently caused by the standard “gdm3” login manager. From a terminal both can be easily installed via sudo apt install plasma-session-x11 sddm.

  • We now ship mex files for Octave 11.1, as provided by Ubuntu 26.04-LTS, in addition to the existing Matlab mex files.

  • Make license activation handling work for the corresponding matlab-psychtoolbox-3 v3.0.22.4 and later packages, once they are provided by NeuroDebian: On top of other current packaging bugs, which break almost all v3.0.22.0 - v3.0.22.3 versions of Psychtoolbox in NeuroDebian, except for the packages built for Ubuntu 26.04 LTS, the whole license activation is broken for all Matlab variants, despite multiple request for getting it fixed. I am not of great hope that it will get fixed sooner rather than later, so now a workaround is implemented: Once the user calls a PsychLicenseHandling() subfunction for license setup, the software itself will download and install a required library, after prompting the user for admin authorization. This hack will hopefully become obsolete some fine day.

  • OpenXR backend: Add optimizations for streaming of PC VR content to mobile VR HMDs via the open-source Monado-based WiVRn OpenXR runtime and server. WiVRn is another way to stream to HMDs, like the Quest 2 and 3, in addition to Valve’s SteamVR.

  • OpenXR Linux: Disable no longer needed workaround for SteamVR Linux bugs. The awful hang / crash bug is reported to be fixed since June 2025 and SteamVR runtime version 2.11.2, yay! Disable the workaround accordingly and update some other comments wrt. SteamVR bugs.

  • PsychPortAudio: Fix “No such entity” warnings on PipeWire enabled systems, like Ubuntu 24.04 and later.

  • PsychLinuxConfiguration(): Refine our workaround for Matlab’s broken libvulkan.so.1. Mathworks upped up the brokeness with R2026b: It is no longer sufficient to rename Matlab’s broken libvulkan.so.1, as that will make Psychtoolbox Vulkan backend work, but now completely break Matlabs graphics and plotting at least as testeed on AMD graphics, likely also on others. Instead we rename the broken file to disable it, as before, but then creaate a symlink to the system installed libvulkan.so.1, so both Psychtoolbox and Matlab can use it and are both happy.

  • Screen: Vsync control detection fixes for CI / gpu-less / software rasterized setups, to make testing inside CI setups more easy. Problem reported by Ian Andolina, thanks!

Windows:

  • Psychtoolbox was built against Octave 7.3 and Matlab R2026b under Windows 10.

  • OpenXR: Fix HTC Vive SRanipal eye tracking on MS-Windows on recent SteamVR runtimes v2.11 and later, released since summer 2025. We add a hack to force-enable eye tracking on SRanipal HMDs, because reporting of eye gaze tracking support on HTC VR HMDs like the Vive Pro Eye with SRanipal tracking is broken. It always reports gaze tracking as disabled, even when it is live and kicking!

macOS:

  • Psychtoolbox was built against Octave 10.2.0 from HomeBrew on macOS 13.7.8 Ventura final update for Intel Macs, and on macOS 15.8.2 Sequoia with Octave 11.1.0 for Apple Silicon Macs. The minimum required version of macOS for HDR support on Intel Macs, is now macOS 11.

  • Screen(‘OpenWindow’): Rewrite CAMetallayer setup and attachment code for Vulkan display. For various historical reasons and as workaround for old macOS 10/11/12 Metal bugs, creation, setup and attachment of CAMetalLayers to our onscreen window was split up into multiple separate phases, with setup spreading out time-wise from beginning of Cocoa window creation to the very end of ‘OpenWindow’ - after the sync tests and calibrations.

    These multiple phases seem to cause severe problems at least on macOS 26.6 Tahoe, possibly also earlier versions, and more minor problems on older macOS versions. Observed trouble:

    • Many vkWaitForPresentKHR timeouts.
    • Failure to display anything, or many discarded frames.
    • Failure to do timed presentation, as the presentAt: when target time is ignored.
    • Failure in timestamping - no precise and trustworthy presentedTime timestamps.
    • Early return before present completion.

    All these problems suggest some serious race condition bugs in macOS Metal + CoreAnimation setup code paths. The races get triggered by the multi-phase way in which we init CAMetalLayers.

    The rewrite seems to fix these issues on macOS 26.6 and later, while not causing new issues on macOS 13 - 15. This may now be less reliable on macOS 12 and earlier.

  • PsychVulkan[Core]/macOS: Add workaround for “more than 1 second pause” bug. If more than 1 second of time elapses between successive present requests, macOS presumably enables some kind of “graphics idle -> suspend display” optimizations, and then, after a processing a new present request, does not call the Metal drawable presented handler, causing hangs and timeouts and broken timestamping in applications that wait for and depend on that handlers proper and timely execution.

    The bug has been reported to Apple as FB 24682787 against the macOS 27.0 public release.

    Workaround inside PsychVulkanCore, if requested by PsychVulkan.m on all known affected macOS versions:

    Detect the potential for such a 1 sec idle bug during current pending present, and if this is likely to happen, immediately repeat a present of the same frame content at the next refresh cycle. This should “unjam” the stuck present handler and bring things back in order after completion of the “redundant” present. Downside: At least (=usually) one video refresh cycle delay, and a onset timestamp that might be reported 1 refresh cycle later than actual stimulus onset.

    Upside: We avoid an over 750 msecs stall/hang, broken/not trustworthy at all timestamp, error message clutter, and possible followup cascading error if the 1 sec timeout is hit again due to the stall.

    Practical results:

    macOS 15: Still not perfect, timeout hangs still happen sometimes in at least some configurations and scripts, but the frequency of failures seems to be reduced.

    macOS 26: Untested if this is effective.

    macOS 27.0: Workaround proves completely ineffective! Problem persists unmitigated.

  • Screen: Make it also work under “non-GUI” app, e.g., octave-cli.

  • Eyelink mex for IntelMacs fixed, by rebuilding it against a recent Eyelink SDK.

  • PsychHID: Adapt setup instructions for “Input monitoring” for macOS 13+. Apple has changed the GUI layout of the security settings GUI in the last years.

  • Fix macOS version support reporting for macOS 27, as Apple has changed the internal naming scheme again.

Enjoy!

Psychtoolbox updated

kleinerm

Psychtoolbox 3.0.22.3 “The most fantastic Matala” was released on 14th August 2026.

You can download it as a zip file from the following link:

https://github.com/Psychtoolbox-3/Psychtoolbox-3/releases/download/3.0.22.3/3.0.22.3.zip

The complete development history can be found in our GitHub repository. The release tag is “3.0.22.3”, with the full tree and commit logs under the URL:

https://github.com/Psychtoolbox-3/Psychtoolbox-3/tree/3.0.22.3

Compatibility changes wrt. Psychtoolbox 3.0.22.2:

  • Be reminded that macOS 26 Tahoe is currently not recommended for use with Psychtoolbox, due to severe Tahoe operating system performance bugs, caused by Apple and only fixable by Apple. These bugs will affect any software that tries to achieve robust, reliable, trustworthy and accurate visual stimulus presentation timing and timestamping. It causes framerates to be cut in half! Only software with broken timing support will not suffer this degradation, iow. to my knowledge all other toolkits in existence. This is the situation as of macOS 26.0 - 26.2, the status of current macOS 26 and later is unknown to myself. The same applies to upcoming macOS 27 Golden Gate.

Highlights:

  • None. Mostly lots of bug fixes and smaller feature work and refinements. Most of the work done in the last months is “behind the scenes” work, preparing for the future, but not yet visible to users in the form of new features or obvious improvements, beyond what is listed here.

All:

  • Improvements to OpenXR handtracking for VR applications. We can now make use of the XR_FB_HAND_TRACKING_AIM extension on VR devices that support it, to detect, and report properties of, “aim” gestures made by users.

  • Procedural noise: Update (classic) Perlin noise to latest version. The functionality is demonstrated by ProceduralNoiseDemo(), now better!

    There were some changes in the upstream shaders circa 2021 that appear to visibly improve randomness/reduce banding artifacts. There may also be a minor performance improvement because some math was simplified, but may be system-dependent (I only saw 10s of microseconds changes). Contributed by Alex Forrence.

  • GetGITInfo: Make simpler and more robust. Contributed by Alex Forrence.

  • VBLSyncTest: Suppress beamposition plots on beamposition-less systems harder.

  • Some improvements to the PsychColorimetric functions by David Brainard, as usually poorly documented in his non-conformant commit messages, so I won’t give details. Except: “Added CarrollNeitzNomogram and test.” and “Moved in routines from BrainardLabToolbox.” Other new functions seem to be TransmissionToOD, ODToTransmission (OD ~ Optical density?), “StockmanRiderNomogram” and “StockmanRiderNomogramDemo”, and “PhotopigmentNomogramDemo”.

  • Various other smaller refinements, bug fixes and documentation updates. Various internal work in the software, not obviously user visible yet.

Linux:

  • Psychtoolbox was built against Matlab R2026a and Octave 6.4 under Ubuntu 22.04.5-LTS. It only works on Ubuntu 22.04-LTS and later.

  • RaspberryPi OS 13 is now usable with Psychtoolbox again, after my bug fixes for graphics driver bugs were accepted and integrated into it. RaspberryPi OS 12 suffered the same severe performance bugs, but the bug fixes were not applied to it, as the RaspberryPi foundation considers OS version 12 end-of-life. This leaves OS 11 and 13 as the supported versions for Psychtoolbox, but I will probably soon remove support for OS 11 as well. So upgrading to RaspberryPi OS 13 is recommended.

  • Add a hack to allow basic HDR-10 mode on RaspberryPi 4 and later, with a very custom software stack: Mesa zink OpenGL driver from Mesa 25.1 or earlier, e.g., Mesa 25.0.7 from RPi OS 13, combined with a Mesa v3dv Vulkan driver from Mesa 25.3.0 or later. Also supports very slow HDR movie playback at ~5 fps for 4k HDR-10 content. Given the complexity of the setup needed, this is more of a “can pigs fly?” proof of concept at the moment, not something that just works out of the box plug & play.

  • PsychOpenHMDVR: Fix it by fixing abuse of ‘clear Screen’ with a new method. Turns out this was broken quite a while. The fact I didn’t notice earlier, and nobody else complained, suggests there aren’t any users of this driver. Not surprising, given the auto-selected default driver is OpenXR, which is superior in almost any sense. We should probably just retire this driver.

  • MultiWindowVulkanTest: Refine further for more stress testing.

Windows:

  • Psychtoolbox was built against Octave 7.3 under Windows 10.

  • Due to a lapse in our Matlab licenses, the mex files have only been updated for Octave, whereas the files for Matlab stay the same as in Psychtoolbox 3.0.22.2.

  • PsychStartup: Fix GStreamer SDK root definition on MS-Windows better. Use fullfile() for building final path to GStreamer bin directory, based on sdkroot.

    Apparently, for unknown reasons, on some MS-Windows systems, the getenv() call returns a sdkroot without a trailing path separator backslash, whereas on most systems it does. Go figure! Lacking a trailing backslash caused the naive [sdkroot ‘bin’] concatenation to generate an invalid path. fullfile() deals with this quirk.

    Root of the problem found out, and fix proposed, by our GitHub user @HuwSwan in GitHub issue #669 , thanks!

macOS:

  • Psychtoolbox was built against Octave 10.2.0 from HomeBrew on macOS 13.7.8 Ventura final update for Intel Macs, and on macOS 15.7.7 Sequoia with Octave 11.1.0 for Apple Silicon Macs. The minimum required version of macOS for use of the Vulkan display backend, ie. for HDR support on Intel Macs, is now macOS 11.

  • Due to a lapse in our Matlab licenses, the mex files have only been updated for Octave, whereas the files for Matlab stay the same as in Psychtoolbox 3.0.22.2.

  • Eyelink mex for 64-Bit Octave on macOS for IntelMacs fixed, and reverted to a over 18 months older version for Matlab. Turns out that Eyelink support was broken since over 1.5 years on macOS for IntelMacs without anybody noticing or complaining! The brokeness was due to IntelMac compatibility bugs in SR-Researchs older Eyelink SDK versions used for building the mex file. The bug is fixed in recent SDK’s.

    This gives an indication about how few users with demanding use cases are left on Intel based Macs. Our statistics suggest that less than 7% of all paying macOS users are still using IntelMacs. Both the drastically reduced number of users, and the increasing difficulty in maintaining macOS Intel versions, with all software vendors reducing or cancelling support, means that the days of Psychtoolbox on Apple IntelMacs will probably be limited. Apple’s next macOS 27 will no longer support IntelMacs, Matlab R2026a and later don’t support them, and Homebrew as provider of Octave also is announcing a phase out likely towards end of this year.

Enjoy!

Psychtoolbox updated

kleinerm

Psychtoolbox 3.0.22.2 “The long long slog” was released on 2nd March 2026.

You can download it as a zip file from the following link:

https://github.com/Psychtoolbox-3/Psychtoolbox-3/releases/download/3.0.22.2/3.0.22.2.zip

The complete development history can be found in our GitHub repository. The release tag is “3.0.22.2”, with the full tree and commit logs under the URL:

https://github.com/Psychtoolbox-3/Psychtoolbox-3/tree/3.0.22.2

Compatibility changes wrt. Psychtoolbox 3.0.22.1:

  • Now requires Octave 10 or later on macOS. Octave 9 and earlier will no longer work on macOS.

  • HDR support on Intel Macs (via Vulkan display mode) now requires at least macOS 11, ideally at least macOS 13 is recommended for better results.

  • Be reminded that macOS 26 Tahoe is currently not recommended for use with Psychtoolbox, due to severe Tahoe operating system performance bugs, caused by Apple and only fixable by Apple. These bugs will affect any software that tries to achieve robust, reliable, trustworthy and accurate visual stimulus presentation timing and timestamping. It causes framerates to be cut in half! Only software with broken timing support will not suffer this degradation, iow. to my knowledge all other toolkits in existence. This is the situation as of macOS 26.0 - 26.2, the status of macOS 26.3 and later is unknown to myself.

Highlights:

  • None. Mostly lots of bug fixes and smaller feature work and refinements. Most of the work done in the last six months is “behind the scenes” work, preparing for the future, but not yet visible to users in the form of new features or obvious improvements, beyond what is listed here.

All:

  • Eyelink: Fix for use with external display backends, most importantly the Vulkan display backed used for macOS on Apple Silicon Macs. This by rewriting PsychEyelinkDispatchCallback.m to abstain from using nested helper functions, and also some refactoring. Nested helper functions don’t play well with the Psychtoolbox imaging pipeline - which is always active on Apple Silicon macOS - due to some insane limitation that Matlab imposes onto the parent function of nested functions. Long story short: Avoid nested functions whenever possible for a happier life, and especially don’t use them in functions calling Screen('Flip')!

    Other parts of Eyelink toolbox and its demos have been refactored to remove use of nested functions in various demos.

  • VideoCaptureDemo: Increase windowed size for modern cameras. For a better non-fullscreen viewing experience.

  • VBLSyncTest: Add optional measurement of OpenGL gpu processing time. Calling VBLSyncTest([],[],[],[],[],[],[],[],[],1); will plot OpenGL per-frame processing time, excluding potential further processing by display backends like Vulkan, VR, etc.

  • Vulkan backend: Improved debug output and other help messages. Various bug fixes and refinements. Some important bug fixes.

  • HDR support: Skip initial HDR meta data setup during startup when not needed. On a conformant Vulkan driver, it should not ever be needed. Therefore only set it if native display HDR static metadata is available, as queried from Vulkan driver or OS, or if it is needed to workaround bugs in the Vulkan ICD. Currently the only driver known to require this to get HDR mode and HDR signalling going is AMD’s proprietary AMDVLK-Pro driver on Windows, and their now deprecated AMDVLK open-source driver for Linux. For these AMD provided ICD’s, we call the function always, but on these drivers we should get valid native display HDR metadata, so it should be fine.

  • PredictVisualOnsetForTime(): Only query what you need. To avoid some warning message clutter on some system configurations with old graphics hardware.

  • PsychLicenseHandling(): Refine some user messages and help text wrt. offline activation.

  • Various other smaller refinements, bug fixes and documentation updates.

Linux:

  • Psychtoolbox was built against Matlab R2025b and Octave 6.4 under Ubuntu 22.04.5-LTS. It only works on Ubuntu 22.04-LTS and later.

  • Upgraded / Rebuilt the mex files for 32-Bit Octave on RaspberryPi OS 11 for 32-Bit ARM RaspberryPi machines. Those were left at v3.0.20, and are now also at v3.0.22. Other minor fixes for RaspberryPi. Should work on RaspberryPi OS 11 and 12. In principle, it also works on the latest RaspberryPi OS 13 based on Debian GNU Linux 13 “Trixie”, but in practice I strongly recommend against using it on RaspberryPi OS 13, as the graphics drivers in that OS version seem to have serious performance problems, leading to much lower framerates for stimulus presentation!

  • Screen(): Improve troubleshooting help for Matlab library compatibility problems.

  • PsychVulkanCore: Now allow use of Mesa version 25.3 and later Vulkan drivers for deep color modes on AMD gpu’s, 10 bpc, fp16 (~11 bpc) and 16 bpc (= At most 12 bpc on current AMD graphics cards in reality) modes. So far this required the now deprecated / unmaintainted AMDVLK driver to be manually downloaded and installed. This only works for single-display stimulation with Vulkan so far. For multi-display you’d still need AMD’s deprecated AMDVLK driver.

  • PlayMoviesDemo: Use auto-selected pixelFormat on 64-bit ARM Linux.

  • PsychLinuxConfiguration: Fix fallback symlinking to libglut.so.3.12 on Ubuntu 24.04-LTS. If users did not install sudo apt build-dep psychtoolbox-3, then this did not work. Reported by Github user @qx1147, thanks!

Windows:

  • Psychtoolbox was built against Matlab R2025b and Octave 7.3 under Windows 10.

  • Mark Windows 10 and Windows 11 as supported, all older versions as unsupported. This was quite outdated and slipped through the cracks. Note that development and testing still happens almost only on Windows 10, as my only Windows 11 machine is unsuitable for proper testing of visual stimulation, because it uses a known to be broken Intel integrated graphics chip with totally broken visual stimulation timing. Light testing of other features than visual stimulus presentation timing didn’t show apparent signs of trouble.

    My current Windows 10 machine can’t be upgraded to Windows 11, because Microsoft doesn’t allow it, and I don’t have the financial resources atm. to buy a suitable machine for Windows 11 testing. However, over 75% of all paying users of Psychtoolbox 3.0.20 and later already use Windows 11, less than 25% still use Windows 10, and one single machine still uses Windows 7! The lack of user feedback about problems with Windows 11 suggests that current Psychtoolbox should work fine, or at least as well as on Windows 10, on Windows 11 with suitable hardware and especially graphics hardware + drivers.

  • Implement workarounds against the latest bugs in NVidia’s recent Vulkan drivers, which caused the Vulkan stimulus window to be hidden behind a static Psychtoolbox welcome screen, making it unusable, or at least neccessary for users to manually ALT+TAB the stimulus window into the foreground.

    Yet another NVidia problem: HDR doesn’t work by default anymore. One now needs to change some display driver setting in the NVidia control panels “Manage 3D settings” section. Specifically, the “Vulkan/OpenGL present method” must be set to “Prefer layered on DXGI Swapchain”, as the “Automatic” setting is now broken.

    This restores HDR on NVidia - ofc. only until the next time they break it with a new set of bugs… Also, as a new side-effect, it may break OpenGL based stimulus presentation timestamping, the other settings work better for OpenGL. This problem was observed on Windows 10 22H2 with a NVidia GeForce GTX 1650 Turing family gpu and NVidia driver version WHQL 591.74, Vulkan driver version 591.296.0.

macOS:

  • Psychtoolbox was built and tested against Matlab R2025b and Octave 10.2.0 from HomeBrew on macOS 13.7.8 Ventura final update for Intel Macs, and on macOS 15.5 Sequoia with R2025b and Octave 10.3.0 for Apple Silicon Macs. The minimum required version of macOS for use of the Vulkan display backend, ie. for HDR support on Intel Macs, is now macOS 11.

    macOS 15 is now marked as somewhat supported and tested, at least on Apple Silicon. Current state of things:

    macOS 13 Ventura: Tested on Intel MacBookPro 2017 with Ventura 13.7.8 final update. No other macOS versions can be tested anymore on Intel Macs in the future.

    macOS 14 Sonoma: Tested on Silicon MacBookPro 2023 with M2 Pro once. No further testing will be done with macOS 14 in the future.

    macOS 15 Sequoia: Tested on Silicon MacBookAir 2020 with M1 once, and ongoing testing with MacBookPro 2023 with M2 Pro.

    The only actively tested macOS versions are now macOS 13 Ventura for Intel Macs, and macOS 15 Sequoia for Apple Silicon Macs. I strongly recommend not upgrading to macOS 26 Tahoe at this point, as there are known substantial performance regressions for visual stimulus presentation, due to severe macOS Tahoe operating system flaws which are not fixed by Apple at least as of macOS 26.2. The status on 26.3 and later is unknown at this point.

  • Eyelink: Fix for use with macOS on Apple Silicon Macs.

  • Switch Vulkan display backend from MoltenVK 1.2 to latest upstream MoltenVK 1.4.2 with some additional fixes by myself. While I hoped this would fix performance problems with macOS 26 Tahoe by increasing efficieny, those hopes were in vain for Apple Silicon Macs. It was worth a shot though. This raises the minimum required macOS version for use of the Vulkan backend to macOS 11, iow. no change for Apple Silicon, higher requirement for Intel Macs, but there it only affects HDR display support.

    Also add some tweaks to improve stability / reduce hangs. This is especially important on Apple Silicon Macs. The reliability of stimulus presentation still isn’t on par with Intel Macs yet. Substantially more work is needed. Right now, any Screen('Flip', win, twhen) with tWhen more than 1 second into the future, or in general pauses between flips of more than 1 second still cause stutter or timeout warnings.

  • Screen: Fix “keypress makes annoying beep” suppression for fullscreen windows on the secondary (screen number > 0) screen on multi-display setups with Matlab R2025a and later on Intel Macs, and with all Matlab and Octave versions in terminal only mode. This beep suppression already worked on single display Intel Macs, or for use of screen 0 (the main screen) on multi-display setups, but failed on other screens of a multi-display Intel Mac.

  • Fix SetMouse() and RemapMouse() on Retina displays in Retina compatibility mode.

  • Fix panel fitter (e.g., PanelFitterDemo.m) on Apple Silicon Macs with Retina display. It is still somewhat broken on Intel Macs, except if opting to use the Vulkan display backend. Ie. the default high timing precision opaque fullscreen window display mode has somewhat broken panel fitting by default, e.g., in PanelFitterDemo.m. The problem is structural and unlikely to get fixed in the remaining lifetime of Psychtoolbox for Intel Macs. A way to use the panel fitter on such Retina Intel Macs is to manually specify the optional ‘fbOverrideRect’ parameter to PsychImaging(‘OpenWindow’, …) to be a rectangle the true size/resolution of the Retina display panel, to help Screen.

Enjoy!

News Archive