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 #841 from Psychtoolbox-3/master #272

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

kleinerm
Copy link
Owner

@kleinerm kleinerm commented Jun 5, 2024

Sync with Psychtoolbox 3.0.19.12 release.

Compatibility changes wrt. Psychtoolbox 3.0.19.11:

  • None.

Highlights:

  • None. Just some small fixups for improved Ubuntu 24.04-LTS and Matlab R2024a compatibility.

All:

Linux:

  • Psychtoolbox was built and tested against Matlab R2024a.

  • PsychLinuxConfiguration: Quote paths, to improve MLTBX compatibility.

  • PsychLinuxConfiguration(): Add users also to 'gamemode' group. This provides additional permissions to the gamemoded running on behalf of the user, to execute additional performance optimizations as part of Priority(n) with n > 0. Needed on at least Ubuntu 24.04-LTS and later.

  • Screen('OpenMovie'): On Linux, use pipewiresink as audio sink if available. Should fix the following issue on Ubuntu 24.04-LTS and later, and other distributions that use Pipewire as desktop sound server and have an outdated buggy Pulseaudio 16 installation, instead of the more recent Pulseaudio 17. The bug can't be fixed on Ubuntu 22.04-LTS without manual user workarounds. See following issue for this bug, which is likely not encountered often:

    Lag in second frame of movie on Linux system Psychtoolbox-3/Psychtoolbox-3#814

    On unfixed affected systems (mostly Ubuntu 22.04-LTS), if there is a notable time delay between Screen('OpenMovie') and start of video+audio playback via Screen('PlayMovie'), then the movie playback will freeze after displaying the 1st video frame for the duration of that delay between OpenMovie and PlayMovie, then continue. Problem didn't exist in earler Linux distributions like Ubuntu 20.04-LTS and is fixed by this bug fix for later distros like Ubuntu 24.04-LTS from April 2024.

Windows:

  • Psychtoolbox was built and lightly tested against Matlab R2023b.

macOS:

  • Psychtoolbox was built against Matlab R2023b and tested against Matlab R2024a and Octave 8.4 from HomeBrew. It also works on the new Octave 9.1 from HomeBrew

  • SetupPsychtoolbox: Quote paths, to improve MLTBX compatibility.

  • TextInOffscreenWindowTest.m: Fix it for Retina displays on macOS. Also cleanup.

  • BitsPlusPlus: Handle Apple macOS Retina displays properly for imaging pipeline validation runs.

  • ImagingStereoDemo: Handle Apple Retina displays properly during movie writing.

  • TwoStateQuery(): Add workaround for broken Matlab R2024a on macOS.

Pull for Psychtoolbox 3.0.19.12 release.

### Compatibility changes wrt. Psychtoolbox 3.0.19.11:

- None.

### Highlights:

- None. Just some small fixups for improved Ubuntu 24.04-LTS and Matlab R2024a
  compatibility.

### All:

### Linux:

- Psychtoolbox was built and tested against Matlab R2024a.

- PsychLinuxConfiguration: Quote paths, to improve MLTBX compatibility.

- PsychLinuxConfiguration(): Add users also to 'gamemode' group.
  This provides additional permissions to the gamemoded running on behalf
  of the user, to execute additional performance optimizations as part
  of Priority(n) with n > 0. Needed on at least Ubuntu 24.04-LTS and later.

- ``Screen('OpenMovie')``: On Linux, use pipewiresink as audio sink if
  available. Should fix the following issue on Ubuntu 24.04-LTS and later,
  and other distributions that use Pipewire as desktop sound server and
  have an outdated buggy Pulseaudio 16 installation, instead of the more
  recent Pulseaudio 17. The bug can't be fixed on Ubuntu 22.04-LTS without
  manual user workarounds. See following issue for this bug, which is
  likely not encountered often:

  <#814>

  On unfixed affected systems (mostly Ubuntu 22.04-LTS), if there is
  a notable time delay between ``Screen('OpenMovie')`` and start of
  video+audio playback via ``Screen('PlayMovie')``, then the movie
  playback will freeze after displaying the 1st video frame for the
  duration of that delay between OpenMovie and PlayMovie, then
  continue. Problem didn't exist in earler Linux distributions like
  Ubuntu 20.04-LTS and is fixed by this bug fix for later distros like
  Ubuntu 24.04-LTS from April 2024.

### Windows:

- Psychtoolbox was built and lightly tested against Matlab R2023b.

### macOS:

- Psychtoolbox was built against Matlab R2023b and tested against
  Matlab R2024a and Octave 8.4 from HomeBrew. It also works on the
  new Octave 9.1 from HomeBrew

- SetupPsychtoolbox: Quote paths, to improve MLTBX compatibility.

- TextInOffscreenWindowTest.m: Fix it for Retina displays on macOS. Also cleanup.

- BitsPlusPlus: Handle Apple macOS Retina displays properly for imaging pipeline validation runs.

- ImagingStereoDemo: Handle Apple Retina displays properly during movie writing.

- TwoStateQuery(): Add workaround for broken Matlab R2024a on macOS.
@kleinerm kleinerm merged commit d08a572 into kleinerm:master Jun 5, 2024
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