You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My task is an interactive game with about 100 elements on the screen (see image below). I'm using a gaze contingent display, so I call flip on every frame. I'm getting about 12 frames per second on average, which makes animations look terrible, produces noticeable lag between input and response, and leads to frequent missed click events.
I did some profiling and almost all the run time is spent in Color.__deepcopy__. Maybe I'm naive, but it seems like rendering a red circle shouldn't take so much CPU time.
Is there anything to be done here? Or should I assume that psychopy isn't meant to handle complex graphics and switch to pure pygame?
I appreciate any help anyone can provide here!
Expected Behaviour
Frame rates of at least 30Hz, ideally 60.
Steps to Reproduce
I can try to produce a minimal example if there's actually interest in working on this.
Additional context
No response
The text was updated successfully, but these errors were encountered:
PsychoPy Version
2024.1.0
What OS are your PsychoPy running on?
macOS Intel
Bug Description
My task is an interactive game with about 100 elements on the screen (see image below). I'm using a gaze contingent display, so I call flip on every frame. I'm getting about 12 frames per second on average, which makes animations look terrible, produces noticeable lag between input and response, and leads to frequent missed click events.
I did some profiling and almost all the run time is spent in
Color.__deepcopy__
. Maybe I'm naive, but it seems like rendering a red circle shouldn't take so much CPU time.Is there anything to be done here? Or should I assume that psychopy isn't meant to handle complex graphics and switch to pure pygame?
I appreciate any help anyone can provide here!
Expected Behaviour
Frame rates of at least 30Hz, ideally 60.
Steps to Reproduce
I can try to produce a minimal example if there's actually interest in working on this.
Additional context
No response
The text was updated successfully, but these errors were encountered: