Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge pull request #856 from Psychtoolbox-3/master #283

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

kleinerm
Copy link
Owner

PTB beta update Psychtoolbox 3.0.20.1 "Appletizer SP1"

Compatibility changes wrt. Psychtoolbox 3.0.20.0:

  • None

Highlights:

  • None

macOS:

  • Psychtoolbox was built and tested against native Matlab R2024b and against native Octave 9.3 from HomeBrew, on macOS 13.7.1 Ventura for Intel Macs, and on macOS 14.5 Sonoma for Apple Silicon Macs.

  • Try to execute same code path on Apple Silicon macOS, regardless if running under native Matlab/Octave for Apple Silicon ARM, or running under Intel Matlab/Octave via Rosetta2 emulation. Our license management aggregate stats tell us that a non-trivial fraction of users still use Matlab for Intel Macs via Rosetta2 emulation on Apple Silicon, instead of the recommended native Matlab/Octave for Apple Silicon. This would cause PTB to misbehave, as it would think it runs on an Intel Mac and acts accordingly, instead of adapting to the special snowflake that is macOS on Apple Silicon. This will especially cause trouble with visual stimulation timing and some visual stimulus presentation. Note that this fix tries to fix this, but Psychtoolbox is not and will not be tested for proper compatibility and quality when running under Matlab/Octave for Intel via Rosetta2 on Apple Silicon! Switching to native Matlab/Octave for Apple Silicon / ARM is strongly recommended.

  • Audio demos and tests: Request standard latency instead of larger latency on Apple Silicon. The lose latency requirement was only meant to accomodate RaspberryPi's, not Apple Silicon.

PTB beta update Psychtoolbox 3.0.20.1 "Appletizer SP1"

### Compatibility changes wrt. Psychtoolbox 3.0.20.0:

- None

### Highlights:

- None

## macOS:

- Psychtoolbox was built and tested against native Matlab R2024b and against native
  Octave 9.3 from HomeBrew, on macOS 13.7.1 Ventura for Intel Macs, and on macOS 14.5
  Sonoma for Apple Silicon Macs.

- Try to execute same code path on Apple Silicon macOS, regardless if running under native
  Matlab/Octave for Apple Silicon ARM, or running under Intel Matlab/Octave via Rosetta2
  emulation. Our license management aggregate stats tell us that a non-trivial fraction of users
  still use Matlab for Intel Macs via Rosetta2 emulation on Apple Silicon, instead of the recommended
  native Matlab/Octave for Apple Silicon. This would cause PTB to misbehave, as it would think it runs
  on an Intel Mac and acts accordingly, instead of adapting to the special snowflake that is macOS on
  Apple Silicon. This will especially cause trouble with visual stimulation timing and some visual stimulus
  presentation. Note that this fix tries to fix this, but Psychtoolbox is not and will not be tested for proper
  compatibility and quality when running under Matlab/Octave for Intel via Rosetta2 on Apple Silicon!
  Switching to native Matlab/Octave for Apple Silicon / ARM is strongly recommended.

- Audio demos and tests: Request standard latency instead of larger latency on Apple Silicon.
  The lose latency requirement was only meant to accomodate RaspberryPi's, not Apple Silicon.
@kleinerm kleinerm merged commit e7b4267 into kleinerm:master Jan 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant