Revision Last edited on 2012-09-17 18:53:32 by MarioKleiner [Update for "Broken Windows" release.]
This means that Psychtoolbox won't work with Matlab version R2010b or later on the Apple system, as R2010b on Mac OS doesn't support any 32-Bit toolboxes anymore. However, installation of a 32-Bit Matlab version in parallel to a 64-Bit version is easy, so this should be more of an inconvenience to you than a major showstopper. Please see Mathworks support site for instructions if the procedure isn't apparent to you.
For Windows (Vista/7) too, one can install a 32bit and a 64bit version of MATLAB alongside each other on the 64bit versions of the OS. Both are included on the Windows DVD. To choose yourself which version to install, instead of using the autorun menu, navigate on the DVD to \bin\win32 or \bin\win64 and run the setup.exe there. You can install both and the order in which you do does not matter. However, install the one you want to use by default to open your MATLAB files last, or you will have to manually correct your file preferences.
Revision Edited on 2011-01-01 01:04:30 by DiederickN [note about installing 32bit MATLAB on windows 64bi]
Revision Edited on 2010-12-27 21:37:33 by MarioKleiner [FAQ about 64-Bit support or the lack thereof.]
**A:** Yes, quite a few! Our download logs suggest that at least 1200 PTB-3 installations are running under Vista or later, and oddly, most of them seem to work well enough for their respective users that we don't hear complaints.
However, Psychtoolbox-3 has only been tested by the developers for basic compatibility with Vista and Win-7, so if you need very high precision, you should perform extensive tests yourself and provide feedback on the forum. E.g., the high precision timestamping and stimulus onset timing mechanisms for visual stimuli and sound have been carefully tested and verified to work very well on Windows 2000 and Windows XP with different Graphics and sound cards, but not at all on Vista et al., so if you need very accurate timing, you better get yourself some measurement equipment and verify this for yourself. Preliminary testing on three setups (2 Windows-7 and 1 Windows-Vista) in November 2009 with the latest display drivers showed that dual-display stimulus presentation, e.g., stereo displays, doesn't work well. One of both displays may exhibit tearing artifacts and timing glitches if used for dual display stimulus presentation. Generally, dual-display setups, even if only used for displaying single-display stimuli, are fragile. If one display is showing visual stimuli while the other displays shows the regular Matlab and operating system GUI, any kind of user interaction with the GUI may break proper stimulus onset timing on the stimulus display, including the appearance of visual tearing artifacts. This breakage sometimes happens spontaneously under high cpu load, even without any user interaction. Extensive reading of technical documentation and extensive testing leads us to believe that this is not a Psychtoolbox bug, but a design limitation of the new Microsoft Windows Vista / Windows-7 Direct-X graphics kernel subsystem which will affect any psychophysics toolkit. In other words: It's not our fault and we won't be able to fix it for you anytime soon - or not at all, so good luck if you depend on such configurations. It may help to assign the stimulus display monitor as //primary display device// in the Windows display settings panel - The //primary display// seems to be treated better than the other display(s).
The //""GetChar, CharAvail, FlushEvents and ListenChar""// functions don't work on Vista and Windows-7 due to incompatibilities with Vista et al's display model. We may or may not be able to solve this issue in future Psychtoolbox releases by a complete redesign of those functions, but this isn't a top priority on our todo list.
Additionally, a few people had very odd issues with their machines, which most of the time could be worked around by applying some equally odd measures. The cause of any of these problems is unknown so far:
~- On systems with ATI graphics cards, some versions of Matlab seem to interfere with some ATI graphics drivers: Symptoms are failure of Screen to work at all, or crashes when trying to use 3D graphics stimuli via the Matlab OpenGL wrapper, or problems with the timestamping mechanisms ("Synchronization failures and other warnings/errors when opening a window"). The odd solution is to first open a Matlab figure plotting window, e.g., by typing //plot(sin(0:0.1:3.14))//. After the window appeared, Psychtoolbox commands seem to work properly.
~- Some Laptops with NVidia graphics have a broken beamposition query mechanism, causing the high precision timestamping of visual stimuli to get disabled. There is no solution or workaround for that. Psychtoolbox will continue to work with the less accurate and robust standard timestamping mechanism. On such systems you can execute //""Screen('Preference', 'SkipSyncTests', 2)""// before any other //Screen// commands to disable the mechanism in the beginning -- that way you get at least rid of the warnings.
~- Use of special parallel port drivers may require some tricks or tweaks to bypass the UAC //User account control// mechanism introduced in Vista. See [[FaqTTLTrigger FAQ TTL Trigger for more details.]]
~- To provide at least somewhat reliable visual stimulus onset timing and timestamping it is crucial to disable the //Aero desktop compositor, aka DWM// -- the new feature that eats lots of system ressources for the benefit of half-transparent window borders and drop shadows -- and go back to a Windows XP look while running Psychtoolbox scripts. The most recent versions of Psychtoolbox will automatically shut down the DWM as soon as the first onscreen window is opened. For older Psychtoolbox versions, disabling the DWM must be done manually. The following instructions, taken from the [[http://lifehacker.com/345959/disable-vistas-aero-effects-for-certain-programs Life Hacker website]], should hopefully do this:
~1. Create an application shortcut to Matlab. E.g., an icon on your desktop which you can double-click to start Matlab. Of course you can use the shortcut to Matlab which is already there after installation of Matlab, if you want.
~2. Then //right-click// on the shortcut and choose //Properties//, and then the //Compatibility tab// ... Now on the //Settings block// check the box for //"Disable desktop composition"// in order to disable Aero the next time you use the shortcut.
~3. Next time you start Matlab by double-clicking on that shortcut, the desktop compositor should be shut down and free up valuable graphics ressources and reduce interference on display timing and timestamping.