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

Couldn't measure a consistent frame rate #5274

Open
oliviamborges opened this issue Jan 4, 2023 · 3 comments
Open

Couldn't measure a consistent frame rate #5274

oliviamborges opened this issue Jan 4, 2023 · 3 comments

Comments

@oliviamborges
Copy link

oliviamborges commented Jan 4, 2023

WARNING     Couldn't measure a consistent frame rate!
  - Is your graphics card set to sync to vertical blank?
  - Are you running other processes on your computer?

I have this issue with version 2022.2.1 to 2022.2.5. I granted PsychoPy permission to access input monitoring and accessibility. This problem occurs even when a simple task with just a text component is executed. The only method I've discovered to prevent this issue on my Apple M1 computer (Ventura 13.1; Python 3.9.12) is to deactivate vertical sync, which is inconvenient.

Do you have any recommendations concerning potential solutions for this?
Thank you!

@peircej
Copy link
Member

peircej commented Jan 9, 2023

Depending what level of temporal precision you need, I don't really recommend using a Mac for genuine data collection because the timing is less good than windows and linux (see our paper, the Timing megastudy for details)

In your case working out how bad the frame-by-frame inconsistency is by running the demo called time-by-frames in the Coder view

@peircej
Copy link
Member

peircej commented Jan 16, 2023

I'm not convinced this is a bug at PsychoPy end, versus just a performance issue on this machine. So I'm closing, but re-open if there's any further evidence of a bug

@glupyan
Copy link
Contributor

glupyan commented Sep 13, 2023

This seems to be a MacOS ventura issue with OpenGL https://discussions.apple.com/thread/254744079

...am teaching using psychopy now and code that worked fine a year ago with win.flip() waiting for a frame before existing, now exits immediately, requiring manual core.waits() :(

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

No branches or pull requests

3 participants