[solved] Black screen or frozen on android after resuming from sleep or switching apps
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- 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: Black screen or frozen on android after resuming from sleep or switching apps
Actually, cancelled my order, since I was able to reproduce the problem on my phone.
It was a complicated problem where three threads interacting could cause Ren'Py to deadlock. I've rewritten the interaction such that this isn't possible. This is fixed in https://github.com/renpy/renpy/commit/5 ... 7e390b8f85 , which should be in the December 1st Ren'Py nightly build.
It was a complicated problem where three threads interacting could cause Ren'Py to deadlock. I've rewritten the interaction such that this isn't possible. This is fixed in https://github.com/renpy/renpy/commit/5 ... 7e390b8f85 , which should be in the December 1st Ren'Py nightly build.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Black screen or frozen on android after resuming from sleep or switching apps
Nice work discovering that AND patching it so quickly!
Great work Tom.
Great work Tom.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- ComputerArt.Club
- Veteran
- Posts: 427
- Joined: Mon May 22, 2017 8:12 am
- Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
- Location: Taiwan
- Contact:
Re: Black screen or frozen on android after resuming from sleep or switching apps
Wow! Thanks PyTom. I wanted to try to build an earlier version of 'The Question' on an earlier version of Renpy but I ran into technical difficulties building my own version with 6.18
I downloaded the version on the play store and was not able to replicate ut however. I them ran the new version that I built and replicated it.
That makes at least two exceptions:
The Question (Google Play store version, old)
and
Moonlit Walks (Google Play store version - also old? perhaps you remember)
Perhaps it is an issue relating to what version it was compiled with or higher resolutions? I'm just guessing, I don't have a computer science background :/.
Thank you for Renpy and your continued efforts.
Facebook:
Renpy Creators and Enthusiasts Facebook Group
My latest game:
Famous Fables: Read, Learn and Play - Android App for teaching children to read
Creative Commons stuff:
Shape transitions,
100+ 360° photos of Japan,
- ComputerArt.Club
- Veteran
- Posts: 427
- Joined: Mon May 22, 2017 8:12 am
- Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
- Location: Taiwan
- Contact:
Re: Black screen or frozen on android after resuming from sleep or switching apps
Wow!!!!!! Thanks PyTom!!!!!!!!PyTom wrote: ↑Fri Dec 01, 2017 12:06 am Actually, cancelled my order, since I was able to reproduce the problem on my phone.
It was a complicated problem where three threads interacting could cause Ren'Py to deadlock. I've rewritten the interaction such that this isn't possible. This is fixed in https://github.com/renpy/renpy/commit/5 ... 7e390b8f85 , which should be in the December 1st Ren'Py nightly build.
Facebook:
Renpy Creators and Enthusiasts Facebook Group
My latest game:
Famous Fables: Read, Learn and Play - Android App for teaching children to read
Creative Commons stuff:
Shape transitions,
100+ 360° photos of Japan,
- ComputerArt.Club
- Veteran
- Posts: 427
- Joined: Mon May 22, 2017 8:12 am
- Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
- Location: Taiwan
- Contact:
Re: Black screen or frozen on android after resuming from sleep or switching apps
Can we use this nightly build to create bug free versions of our games, or should we wait for the next official release?PyTom wrote: ↑Fri Dec 01, 2017 12:06 am This is fixed in https://github.com/renpy/renpy/commit/5 ... 7e390b8f85 , which should be in the December 1st Ren'Py nightly build.
Thanks again!
Facebook:
Renpy Creators and Enthusiasts Facebook Group
My latest game:
Famous Fables: Read, Learn and Play - Android App for teaching children to read
Creative Commons stuff:
Shape transitions,
100+ 360° photos of Japan,
- ComputerArt.Club
- Veteran
- Posts: 427
- Joined: Mon May 22, 2017 8:12 am
- Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
- Location: Taiwan
- Contact:
Re: Black screen or frozen on android after resuming from sleep or switching apps
Tested a recently released nightly build. It seems to be free from this bug.
Would it be wise or unwise for me to release my Android app with this nightly build?
Would it be wise or unwise for me to release my Android app with this nightly build?
Facebook:
Renpy Creators and Enthusiasts Facebook Group
My latest game:
Famous Fables: Read, Learn and Play - Android App for teaching children to read
Creative Commons stuff:
Shape transitions,
100+ 360° photos of Japan,
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: Black screen or frozen on android after resuming from sleep or switching apps
I'm not an expert, but nightly is used mainly for testing, not for production. Even prereleases have a big red warning about not distributing games built with them. I would advise against using the nightly in this case.ComputerArt.Club wrote: ↑Thu Dec 07, 2017 11:07 amWould it be wise or unwise for me to release my Android app with this nightly build?
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
-
- Newbie
- Posts: 15
- Joined: Thu Jan 11, 2018 10:02 am
- Contact:
Re: [solved] Black screen or frozen on android after resuming from sleep or switching apps
Does anyone know if this issue has been resolved in 6.99.14?
- ComputerArt.Club
- Veteran
- Posts: 427
- Joined: Mon May 22, 2017 8:12 am
- Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
- Location: Taiwan
- Contact:
Re: [solved] Black screen or frozen on android after resuming from sleep or switching apps
On the post for 6.14 PyTom said that the latest version incorporates this patch.cookienomnom wrote: ↑Thu Jan 11, 2018 10:06 am Does anyone know if this issue has been resolved in 6.99.14?
I am still using the nightly build however, so I haven't tried actually building an app with 6.14.
I just uploaded an app made with the nightly build though ^^: https://play.google.com/store/apps/deta ... .renpy.one
Facebook:
Renpy Creators and Enthusiasts Facebook Group
My latest game:
Famous Fables: Read, Learn and Play - Android App for teaching children to read
Creative Commons stuff:
Shape transitions,
100+ 360° photos of Japan,
-
- Newbie
- Posts: 3
- Joined: Wed Aug 29, 2018 3:43 pm
- Organization: Lucentinian Works Co Ltd
- Github: josergc
- Skype: josergc
- Location: Taiwan
- Contact:
Re: [solved] Black screen or frozen on android after resuming from sleep or switching apps
Hello!cookienomnom wrote: ↑Thu Jan 11, 2018 10:06 am Does anyone know if this issue has been resolved in 6.99.14?
I am running an small project with 6.99.14.3.3347 in the emulator of Android P x86.
The first time I launched a game I wrote with RenPy in the emulator, this problem happened, then I rebuilt the game and launched it again and now it works.
I can see when it is relaunched from the emulator that the main menu of the game appears, then it goes blank, and finally the emulator displays the main menu of the game. I don't know if this last one is expected.
Cheers!
Who is online
Users browsing this forum: Google [Bot]