| Reference | Downloads | Github

How to set "useFBO" to solve the problem of very slow program running

If this template helps then use it. If not then just delete and start from scratch.

OS: win 10
PsychoPy version : 2020.2.8 (latest version)
Standard Standalone? (y/n) : yes
What are you trying to achieve?:
Hi everyone,
My attention task uses several video and audio feedback, this task used to work well, but after I did not use the program for a few days, suddenly the speed of the program slowed down sharply and now no simple experiment it does not run fast and the program runs very slowly.

What did you try to make it work?:
I searched for similar problems and came across the following cases which say that this problem can be solved by setting up “useFBO=False” .
Sudden extreme slowing (freezing) in Windows64 (standalone install)
Divide by zero in double_scalars; display lag of 8 seconds!

What specifically went wrong when you tried that?:
I set up “useFBO=False” through “Compile to script” in Builder, but by saving the code and running again, I encountered the same problem of very slow running!

This is the error message that showed me at Runner:
pygame 1.9.6
Hello from the pygame community.
105.4415 WARNING t of last frame was 4316.38ms (=1/0)
109.7396 WARNING t of last frame was 4298.01ms (=1/0)
114.0400 WARNING t of last frame was 4300.50ms (=1/0)
118.3381 WARNING t of last frame was 4298.02ms (=1/0)
122.6411 WARNING Multiple dropped frames have occurred - I’ll stop bothering you about them!
527.5920 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?
    Include pasted full error message if possible. “That didn’t work” is not enough information.

And here is more information about my system:
Intel® Core™ i7-3520M, Intel® HD Graphics 4000

Any help would be appreciated. Thanks in advance.