More specific software and hardware requirements are applied by Psychtoolbox. These may depend on the functionality you need. For more information see psychtoolbox.org/requirements.
If you see problems like failing to open or close the experiment window (especially on Mac, sometimes on Windows), you may want to use pb_prefs → screen → disable Psychtoolbox sync tests and/or enable system compositor
(or on MATLAB versions earlier than R2021a: add lines <cd>screen.doSyncTests = -1; screen.useCompositor = true;<cd> to the script pb_prefs opens). Note this generally reduces timing precision, but Psychtoolbox recommends not running precise timing experiments on such systems anyway. You can still develop and test precise timing experiments and/or run experiments that don't need precise timing. For more information from Psychtoolbox, see SyncTrouble.