Page 3 of 3

Re: Black screen or frozen on android after resuming from sleep or switching apps

Posted: Fri Dec 01, 2017 12:06 am
by PyTom
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.

Re: Black screen or frozen on android after resuming from sleep or switching apps

Posted: Fri Dec 01, 2017 12:11 am
by Imperf3kt
Nice work discovering that AND patching it so quickly!
Great work Tom.

Re: Black screen or frozen on android after resuming from sleep or switching apps

Posted: Fri Dec 01, 2017 10:55 am
by ComputerArt.Club
PyTom wrote: Thu Nov 30, 2017 8:55 pm Okay, just ordered an LG G4 to see if I can repeat it on that. It should arrive Saturdayish.
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.

Re: Black screen or frozen on android after resuming from sleep or switching apps

Posted: Fri Dec 01, 2017 10:56 am
by ComputerArt.Club
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.
Wow!!!!!! Thanks PyTom!!!!!!!!

Re: Black screen or frozen on android after resuming from sleep or switching apps

Posted: Sat Dec 02, 2017 5:55 am
by ComputerArt.Club
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.
Can we use this nightly build to create bug free versions of our games, or should we wait for the next official release?

Thanks again!

Re: Black screen or frozen on android after resuming from sleep or switching apps

Posted: Thu Dec 07, 2017 11:07 am
by ComputerArt.Club
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?

Re: Black screen or frozen on android after resuming from sleep or switching apps

Posted: Thu Dec 07, 2017 2:22 pm
by xavimat
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?
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.

Re: [solved] Black screen or frozen on android after resuming from sleep or switching apps

Posted: Thu Jan 11, 2018 10:06 am
by cookienomnom
Does anyone know if this issue has been resolved in 6.99.14?

Re: [solved] Black screen or frozen on android after resuming from sleep or switching apps

Posted: Fri Jan 12, 2018 11:10 am
by ComputerArt.Club
cookienomnom wrote: Thu Jan 11, 2018 10:06 am Does anyone know if this issue has been resolved in 6.99.14?
On the post for 6.14 PyTom said that the latest version incorporates this patch.
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

Re: [solved] Black screen or frozen on android after resuming from sleep or switching apps

Posted: Wed Aug 29, 2018 3:52 pm
by josergc
cookienomnom wrote: Thu Jan 11, 2018 10:06 am Does anyone know if this issue has been resolved in 6.99.14?
Hello!

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!