Ren'Py 6.11.0 Public Pre-Release

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Message
Author
User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#106 Post 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.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#107 Post 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.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#108 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#109 Post 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

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#110 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#111 Post 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?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#112 Post 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.

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#113 Post 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.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#114 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#115 Post by rinrin »

It's 4.

Code: Select all

        FRAMES = 4
        DELAY = 0.5
If the number is any higher, it refuses to go into GL mode.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#116 Post by PyTom »

How about when DELAY is 1.0?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#117 Post by rinrin »

Code: Select all

        FRAMES = 8
        DELAY = 1.0

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#118 Post 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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
rinrin
Veteran
Posts: 211
Joined: Thu Apr 16, 2009 9:18 am
Completed: Several.
Projects: Several.
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#119 Post by rinrin »

Looks pretty weird to me too.
Let me know if there's anything else I can do.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 6.11.0 Public Pre-Release

#120 Post by PyTom »

Hm... I'm trying with a pause in the start sequence. Can you try this 00gltest.rpy (without the environment.txt?)
Attachments
00gltest.rpy
(2.33 KiB) Downloaded 54 times
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users