Page 8 of 10
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Tue Aug 10, 2010 1:25 am
by PyTom
And, I don't get this. The startup code does the same thing as I gave you above (a black-black dissolve). And yet, at one time we're getting 110fps, the next time, 8. Is something overlapping the window during startup?
(Also, can you check that transitions are turned on in preferences? They would have to be, for the 100fps reading to work - but let's be sure.)
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Tue Aug 10, 2010 1:54 am
by rinrin
I'm pretty sure nothing is overlapping the window during startup.
I also checked whether transitions are turned on in preferences - they are.
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Tue Aug 10, 2010 2:29 am
by PyTom
Hm...
Can you re-create the environment.txt file as above, and then put:
Code: Select all
label splashscreen:
scene black
with Dissolve(5.0)
return
Into the game, and check the framerate? I'm wondering when it begins to speed up.
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Tue Aug 10, 2010 2:51 am
by rinrin
PyTom wrote:Hm...
Can you re-create the environment.txt file as above, and then put:
Code: Select all
label splashscreen:
scene black
with Dissolve(5.0)
return
Into the game, and check the framerate? I'm wondering when it begins to speed up.
It's 102-101 during the dissolve.
This time, the framerate during startup was also much higher than 8:
FPS
107
97
109
110
59
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Tue Aug 10, 2010 11:42 am
by PyTom
Okay, can you try the following:
- Leave the splashscreen in.
- Delete environment.txt
- Set:
Code: Select all
# If GL is able to render FRAMES in DELAY seconds, we consider it to
# be operational, and continue in GL mode. Otherwise, we rever to
# software rendering mode.
FRAMES = 50
DELAY = 10
(This code should stay in GL mode. If it doesn't, lower FRAMES until it does.)
Basically, I want to know if it starts off at 8fps, or if it is 100 fps all the way through.
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Wed Aug 11, 2010 1:10 am
by PyTom
Any news on this? It's one of the things holding up the next release. (Although I'm not convinced it's actually a bug - if you're sometimes getting < 16fps, Ren'Py _should_ refuse to run.)
Hm... is there any sort of power-saving mode going on?
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Wed Aug 11, 2010 2:39 am
by rinrin
PyTom wrote:Any news on this? It's one of the things holding up the next release.
I just got home - I'll test it right away.
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Wed Aug 11, 2010 3:03 am
by rinrin
PyTom wrote:Okay, can you try the following:
- Leave the splashscreen in.
- Delete environment.txt
- Set:
Code: Select all
# If GL is able to render FRAMES in DELAY seconds, we consider it to
# be operational, and continue in GL mode. Otherwise, we rever to
# software rendering mode.
FRAMES = 50
DELAY = 10
(This code should stay in GL mode. If it doesn't, lower FRAMES until it does.)
Basically, I want to know if it starts off at 8fps, or if it is 100 fps all the way through.
It works - I didn't have to lower FRAMES, it stayed in GL mode. The framerate went up to 120.
PyTom wrote:Hm... is there any sort of power-saving mode going on?
No. It only gets triggered when running on batteries - and I have it constantly plugged in.
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Wed Aug 11, 2010 8:51 am
by PyTom
Okay, last thing - can you set DELAY to .5, and then lower FRAMES to figure out where the threshold for GL mode is, on your system. I want to see if there's a reasonable setting.
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Wed Aug 11, 2010 9:14 am
by rinrin
It's 4.
If the number is any higher, it refuses to go into GL mode.
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Wed Aug 11, 2010 9:24 am
by PyTom
How about when DELAY is 1.0?
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Wed Aug 11, 2010 9:45 am
by rinrin
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Wed Aug 11, 2010 10:12 am
by PyTom
I have to say, this is totally weird to me - you're getting 8fps, and then the system is deciding to change to a much higher framerate. I need to investigate more.
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Wed Aug 11, 2010 10:27 am
by rinrin
Looks pretty weird to me too.
Let me know if there's anything else I can do.
Re: Ren'Py 6.11.0 Public Pre-Release
Posted: Wed Aug 11, 2010 1:11 pm
by PyTom
Hm... I'm trying with a pause in the start sequence. Can you try this 00gltest.rpy (without the environment.txt?)