Performance Warnings - how common?

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: 15893
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:

Performance Warnings - how common?

#1 Post by PyTom » Thu Nov 29, 2012 12:36 am

Does anyone have any data or intuition as to how many Ren'Py users are getting performance warnings from the latest version of Ren'Py? Are there very many people who are using Ren'Py with the pure software driver, rather than OpenGL or ANGLE?

I'd like to get some information about this to plan out future Ren'Py development. Most notably, I'm planning to drop the software renderer entirely, and I'm wondering if I need to use Mesa to replace it, or if I can just omit pure software rendering starting sometime in 2013.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Performance Warnings - how common?

#2 Post by nyaatrap » Thu Nov 29, 2012 8:52 am

I got only one report of performance problem on my game. Though my game requires OpenGL and 1GB ram to play it - it's unusual heavy game.

I think the major problem is mainly caused by the buggy unupdated Intel driver. They can play games with the software renderer instead of updating the Intel driver which requires technical knowledge (I had a trouble on it myself T_T).

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Performance Warnings - how common?

#3 Post by jack_norton » Thu Nov 29, 2012 9:25 am

Really a few cases (I'd say 1 out of 100 support email), and most were because the user didn't know how to install proper GL/DX drivers :)
I've much more problems about people not having the right DX drivers installed but that's another story of course.
follow me on Image Image Image
computer games

User avatar
papillon
Arbiter of the Internets
Posts: 4104
Joined: Tue Aug 26, 2003 4:37 am
Completed: lots; see website!
Projects: something mysterious involving yuri, usually
Organization: Hanako Games
Tumblr: hanakogames
Contact:

Re: Performance Warnings - how common?

#4 Post by papillon » Thu Nov 29, 2012 9:35 am

I haven't been using the latest version of RenPy because of (stuff related to Spiky) - but I do get support emails from people who have to be instructed to use the software renderer. Including Steam users!

It's possible that updating their drivers in some way would also fix their problem but that's much trickier to negotiate when trying to help people over email, especially as customers are not always the most tech-savvy people in the world and do not necessarily understand complex instructions.

For that matter I'm in the middle of trying to fix someone's problem RIGHT NOW which may be a GL-related bug (although we're not sure yet; his case is weird)

It's a pretty small percentage, I suppose, but they do exist.

User avatar
Spiky Caterpillar
Veteran
Posts: 253
Joined: Fri Nov 14, 2008 7:59 pm
Completed: Lots.
Projects: Black Closet
Organization: Slipshod
Location: Behind you.
Contact:

Re: Performance Warnings - how common?

#5 Post by Spiky Caterpillar » Thu Nov 29, 2012 12:09 pm

In my experience, 3D acceleration on the Linux desktop is a buggy mess that is effectively unusable for a very large fraction of installed systems. My main devbox gives a performance warning in 6.13.8; I don't think I'd tried anything in 6.13.x on my previous devbox, but the version of Ren'Py I was using at the time triggered a memory leak somewhere in X if I used it in OpenGL mode.

The performance warning screen also, IIRC, showed up on a virginal Windows 7 install, and I've seen reports that users are somewhat befuddled by the fact that they have to update their drivers when they already have the newest version of DX(10? 11? Whichever Win7 ships with.)
Nom nom nom nom nom LEAVES.

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4067
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Performance Warnings - how common?

#6 Post by jack_norton » Thu Nov 29, 2012 12:43 pm

Yes that happens because the Angle renderer requires DX9.0c (lol) and since you can have multiple version of DX installed users gets that message. Though I think from the new DX11 that shouldn't happen anymore (not 100% sure).
follow me on Image Image Image
computer games

User avatar
VenusEclipse
Veteran
Posts: 348
Joined: Fri Mar 13, 2009 5:26 pm
Completed: Princess of Ruin, Frozen Essence, Heartstring Bugs
Organization: Unbroken Hours
Tumblr: unbrokenhours
Deviantart: venus-eclipse
Location: Canada
Contact:

Re: Performance Warnings - how common?

#7 Post by VenusEclipse » Fri Nov 30, 2012 5:45 am

I'm using the current version of Ren'Py. There's a small percentage that need to run my current game with the software renderer. Their computer is current, using Windows 7, etc. We've already tried updating their graphics drivers, and getting them up to date with Direct X. The last option was to use software renderer, and that worked.

The performance problem pop up is random. I got it once. A friend got it more randomly, and he has a more powerful computer, and a few programs running at the same time.

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Performance Warnings - how common?

#8 Post by nyaatrap » Fri Nov 30, 2012 7:04 am

BTW, I heard KK2, the most popular VN engine, has a policy of anti-GPU. I think this policy is old-fashioned and it's one of the reason I don't use KK2. But I also think at least there is a legitimate reason on this policy from their experience.

User avatar
papillon
Arbiter of the Internets
Posts: 4104
Joined: Tue Aug 26, 2003 4:37 am
Completed: lots; see website!
Projects: something mysterious involving yuri, usually
Organization: Hanako Games
Tumblr: hanakogames
Contact:

Re: Performance Warnings - how common?

#9 Post by papillon » Tue Dec 04, 2012 7:23 pm

(related - I recall we had a few users here who had to switch renderers to get all the graphics working in the Adversity Comp, and there are people with problems in the Heartstring Bugs thread as well...)

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: Performance Warnings - how common?

#10 Post by PyTom » Tue Dec 04, 2012 7:25 pm

nyaatrap wrote:BTW, I heard KK2, the most popular VN engine, has a policy of anti-GPU. I think this policy is old-fashioned and it's one of the reason I don't use KK2. But I also think at least there is a legitimate reason on this policy from their experience.
Honestly, I resisted for as long as I could. But it's hard to do an HD game without some sort of GPU helping, if you want to keep your framerate up.

Now I want to embrace something like OpenGL 2, as shaders would make a lot of what we do easier.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
LateWhiteRabbit
Eileen-Class Veteran
Posts: 1866
Joined: Sat Jan 19, 2008 2:47 pm
Projects: The Space Between
Contact:

Re: Performance Warnings - how common?

#11 Post by LateWhiteRabbit » Tue Dec 04, 2012 10:26 pm

PyTom wrote:
nyaatrap wrote:BTW, I heard KK2, the most popular VN engine, has a policy of anti-GPU. I think this policy is old-fashioned and it's one of the reason I don't use KK2. But I also think at least there is a legitimate reason on this policy from their experience.
Honestly, I resisted for as long as I could. But it's hard to do an HD game without some sort of GPU helping, if you want to keep your framerate up.

Now I want to embrace something like OpenGL 2, as shaders would make a lot of what we do easier.
This is honestly the only thing keeping me from jumping into RenPy feet first. I keep thinking I'll use it for a project (I love coding in Python), but I always run into my HD art being too heavy for solid framerates, even with me optimizing all I can. Renpy is really more ideal for the TYPE of game I'm making, but I need an engine like Unity that can use a GPU to do some heavy lifting. I keep getting surprised by how little it takes to bog the software renderer down in Renpy when it comes to HD sprites and backgrounds.

You're right - HD visual novel gaming desperately needs a Renpy with GPU support.

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Performance Warnings - how common?

#12 Post by nyaatrap » Tue Dec 04, 2012 10:46 pm

I laughed hard when I test my current developing game (all images are 1536~3840px) with the software renderer. Its animations is apparently 60 fps with GPU, but when I disable it, it's around 3 fps.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: Performance Warnings - how common?

#13 Post by PyTom » Tue Dec 04, 2012 11:02 pm

LateWhiteRabbit wrote:This is honestly the only thing keeping me from jumping into RenPy feet first. I keep thinking I'll use it for a project (I love coding in Python), but I always run into my HD art being too heavy for solid framerates, even with me optimizing all I can. Renpy is really more ideal for the TYPE of game I'm making, but I need an engine like Unity that can use a GPU to do some heavy lifting. I keep getting surprised by how little it takes to bog the software renderer down in Renpy when it comes to HD sprites and backgrounds.
I'm confused.

Ren'Py has been using the GPU for years, now - to the point where I'm trying to figure out how to get rid of the fallback, so I can add features that depend on the GPU.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
TrickWithAKnife
Eileen-Class Veteran
Posts: 1261
Joined: Fri Mar 16, 2012 11:38 am
Projects: Rika
Organization: Solo (for now)
IRC Nick: Trick
Location: Tokyo, Japan
Contact:

Re: Performance Warnings - how common?

#14 Post by TrickWithAKnife » Tue Dec 04, 2012 11:15 pm

Not a performance warning as such, but I do find trying to show an animation using large images looks very choppy.
"We must teach them through the tools with which they are comfortable."
The #renpy IRC channel is a great place to chat with other devs. Due to the nature of IRC and timezone differences, people probably won't reply right away.

If you'd like to view or use any code from my VN PM me. All code is freely available without restriction, but also without warranty or (much) support.

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Performance Warnings - how common?

#15 Post by nyaatrap » Wed Dec 05, 2012 12:08 am

If the delay is occurred when their first showing, the problem is image loading and cashing. Preloading images behind scenes solves this delay:

Code: Select all

init python:
    def load(image_list):
        for i in image_list:
            renpy.show(i, behind=["bg"])
            renpy.with_statement(Dissolve(.001))
            renpy.hide(i)
This will work on any kind of images even the case when renpy.predict() doesn't work.

Post Reply

Who is online

Users browsing this forum: No registered users