Revision [1779]
Last edited on 2012-01-31 11:47:18 by MarioKleiner [Update about timing tests on Vista/7.]Additions:
**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. Visual stimulus presentation timestamping has been verified to work well on Vista and Windows-7, as well as on Windows 2000 or XP, ie., the timestamps returned for true stimulus onset are trustworthy and accurate. Visual stimulus onset timing precision (ie., how reliably requested stimulus onset presentation deadlines are actually met by the system) seems to be less robust at least on Windows-7, more prone to glitches even under light system load. Audio presentation timing and timestamping is comparable to Windows 2000/XP, ie., good with ASIO enabled sound cards, rubbish with other sound cards.
Testing on three setups (2 Windows-7 and 1 Windows-Vista) in November 2009 and around October 2010 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).
~- 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. Current 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:
Testing on three setups (2 Windows-7 and 1 Windows-Vista) in November 2009 and around October 2010 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).
~- 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. Current 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:
Deletions:
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).
~- 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:
Additions:
=== [[http://psychtoolbox.org/wikka.php?wakka=PsychtoolboxFaq FAQ]] - Issues related to Windows Vista and Windows-7 and how to resolve them ===
**Q:** Are there any known issues with Psychtoolbox-3 on Microsoft Windows Vista/7? How can i work-around them?
**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:
~- 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:
~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.
**Q:** Are there any known issues with Psychtoolbox-3 on Microsoft Windows Vista/7? How can i work-around them?
**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:
~- 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:
~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.
Deletions:
**Q:** Are there any known issues with Psychtoolbox-3 on Microsoft Windows Vista? How can i work-around them?
**A:** Our download logs suggest that at least 150 PTB-3 installations are running under Vista, and most of them seem to work well enough that we don't here complaints.
However, Psychtoolbox-3 has not been rigorously tested by the developers for compatibility with Vista at all, 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, so if you need very accurate timing, you better get yourself some measurement equipment and verify this for yourself.
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:
~- To improve visual stimulus onset timing and timestamping it may be neccessary to disable the //Aero desktop compositor// -- 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 Matlab. The following instructions which were not tested by us, but taken from the [[http://lifehacker.com/345959/disable-vistas-aero-effects-for-certain-programs Life Hacker website]], should hopefully do this:
~3. Next time you start Matlab by double-clicking on that shortcut, the desktop compositor should be shut down and free up valuabe graphics ressources and possibly reduce interference on display timing and timestamping.
Revision [1406]
Edited on 2008-07-19 13:19:31 by MarioKleiner [Tips on how to shut down desktop compositor.]Additions:
~- To improve visual stimulus onset timing and timestamping it may be neccessary to disable the //Aero desktop compositor// -- 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 Matlab. The following instructions which were not tested by us, but 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 valuabe graphics ressources and possibly reduce interference on display timing and timestamping.
~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 valuabe graphics ressources and possibly reduce interference on display timing and timestamping.
Revision [1405]
Edited on 2008-07-19 13:01:16 by MarioKleiner [Tips on how to shut down desktop compositor.]Additions:
~- 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.]]
~- 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.]]
Deletions:
~- Use of special parallel port drivers may require some tricks or tweaks to bypass the UAC //User account control// mechanism introduced in Vista. See for more details.
Revision [1404]
Edited on 2008-07-19 12:58:30 by MarioKleiner [Tips on how to shut down desktop compositor.]Additions:
=== [[http://psychtoolbox.org/wikka.php?wakka=PsychtoolboxFaq FAQ]] - Issues related to Windows Vista and how to resolve them ===
**Q:** Are there any known issues with Psychtoolbox-3 on Microsoft Windows Vista? How can i work-around them?
**A:** Our download logs suggest that at least 150 PTB-3 installations are running under Vista, and most of them seem to work well enough that we don't here complaints.
However, Psychtoolbox-3 has not been rigorously tested by the developers for compatibility with Vista at all, 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, so if you need very accurate timing, you better get yourself some measurement equipment and verify this for yourself.
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 for more details.
**Q:** Are there any known issues with Psychtoolbox-3 on Microsoft Windows Vista? How can i work-around them?
**A:** Our download logs suggest that at least 150 PTB-3 installations are running under Vista, and most of them seem to work well enough that we don't here complaints.
However, Psychtoolbox-3 has not been rigorously tested by the developers for compatibility with Vista at all, 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, so if you need very accurate timing, you better get yourself some measurement equipment and verify this for yourself.
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 for more details.