Jump to content

Phaser/WebGL flickering on Chrome for Android v53


JoeKryog
 Share

Recommended Posts

Hi guys,

We developed a game last year with phaser 2.3.0 and webgl, it worked fine on computer browsers and mobile devices.
But since the last update of chrome for android (v53.0.2785.97), the screen is flickering until it becomes totally black, without any error or warning.

The issue is present on mobile only, it worked on chrome for android v52, but not v53.
We tried to upgrade to phaser 2.6.2, same issue on chrome for android v53.
If we use Phaser.CANVAS instead of webgl, it works fine, but we prefer using webgl for performances.

Does anyone encounter the same problem?

Thanks for your help.

Joe K.

Link to comment
Share on other sites

Does this happen if you try it with a simple project? I.e. take one of the Phaser Examples and see what happens? If it's a renderer issue, then it should manifest everywhere. Otherwise it's a combination of something in the game, so it'd be good to try and narrow down which parts.

Link to comment
Share on other sites

There is no error in the console.

We investigated the issue because we're facing the same problem on other WebGL projects not based on Phaser/PIXI.
We found out it originated from the getContext method (when specifying a WebGL canvas drawing context): setting alpha to false makes the screen flicker.
Here's a minimal fiddle that will flicker on v53 chrome mobile:
https://jsfiddle.net/69wxvmLd/7/

We reported the bug on chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=651470

Seems you were right on the money, rich.

Joe K.
kryog.net

Link to comment
Share on other sites

  • 2 weeks later...

Chrome support answered that they can't reproduce the bug on their device (Samsung galaxy S4 mini).

We have the issue on 2 devices:
- Samsung galaxy core II (SM-G355HN), Android 4.4.2, GPU Mali-400MP
- Wiko Rainbow v8, Android 4.4.2, GPU Mali-400MP2

Does any of you see a blinking black canvas after following this link on a device not listed above?
https://jsfiddle.net/69wxvmLd/7/

If so, check that you have the latest version of Chrome mobile (V53.0.2785.127) and tell us your device name so that we can add it to our list and encourage Chrome support to fix this pretty huge issue.


Thank you for your help.

Link to comment
Share on other sites

We are facing the same issue with one of our games in the following devices. But the same game works fine when rendering in Canvas Mode.

Also the issue is only with Chrome 53 (V53.0.2785.124). We had no issues in Chrome 52 , Also Play Store ( IN ) does not show any update for chrome ie. (V53.0.2785.127)

- Micromax A106 (Micromax A106 Unite 2), Android 4.4.2 , GPU Mediatek MT6582

- Lava Iris X8, Android 4.4.2 , GPU Mali 450 MP4

- MicroMax Q372 (Micromax Unite 3), Android 5.0 , GPU Mediatek MT6582M

- Samsung SM-T116NY (Samsung Tab 3V), Android 4.4.4, GPU ARM Mali-400 MP2

- Samsung SM-T561 (Samsung Tab E) , Android 4.4.4 ,GPU ARM Mali-400 MP2

Thanks,

Kanthi.

Link to comment
Share on other sites

Hi Joe,

It's not working for us. Apparently the chrome beta on play store is versioned 55 now ( v55.0.2883.18 ). Even with this version we are seeing the same issue.

below is the device we tested on

- Micromax A106 ( Micromax Unite 2 ) , GPU Mali-400 MP2

Here is a sample jsfiddle link which can be used to look into.

https://jsfiddle.net/Kanthi/p7azh80s/6/

Thanks and Regards.

Kanthi.

 

Link to comment
Share on other sites

The second JS Fiddle is using Phaser.js with WEBGL rendering. I guess issue is with Phaser ( Not sure though ) ,

as there is no flickering with PIXI.js. I still have not reported a bug yet  as I'm not sure of what's happening exactly.

 

Thanks ,

Kanthi.

Link to comment
Share on other sites

On 29/10/2016 at 4:24 PM, Kanthi said:

The second JS Fiddle is using Phaser.js with WEBGL rendering. I guess issue is with Phaser ( Not sure though ) ,

as there is no flickering with PIXI.js. I still have not reported a bug yet  as I'm not sure of what's happening exactly.

 

Thanks ,

Kanthi.

 

The 2nd fiddle is not guaranteed to be using WEBGL, it's using AUTO which is WEBGL if possible otherwise CANVAS.  A older mobile device is much more likely to fallback to CANVAS than a desktop browser.  If you're getting mixed results it may be because the device is selecting CANVAS.

Link to comment
Share on other sites

13 hours ago, stupot said:

 

The 2nd fiddle is not guaranteed to be using WEBGL, it's using AUTO which is WEBGL if possible otherwise CANVAS.  A older mobile device is much more likely to fallback to CANVAS than a desktop browser.  If you're getting mixed results it may be because the device is selecting CANVAS.

Hi,

I've checked the same on the device. It's running in WEBGL and not on CANVAS. On contrary, the CANVAS render mode has no issues on the mentioned devices.

Thanks and Regards,

Kanthi.

Link to comment
Share on other sites

7 hours ago, Kanthi said:

Hi,

I've checked the same on the device. It's running in WEBGL and not on CANVAS. On contrary, the CANVAS render mode has no issues on the mentioned devices.

Thanks and Regards,

Kanthi.

Sorry, I meant that if people were reporting no-flickering, it may have been because the browser was running in CANVAS, rather than because the browser didn't exhibit the problem in WEBGL, when trying the 2nd fiddle.

Link to comment
Share on other sites

18 minutes ago, stupot said:

Sorry, I meant that if people were reporting no-flickering, it may have been because the browser was running in CANVAS, rather than because the browser didn't exhibit the problem in WEBGL, when trying the 2nd fiddle.

I'm sorry . I did not understand your statement. I'll rephrase my statement. We are facing the issue when trying to run our application on Chrome via WEBGL.

It was working well in chrome 52 and the issue is still there in chrome 54. However the WEBGL rendering with PIXI is working well. 

So we are wondering if the issue is with our implementation or with Phaser itself.

Thanks and Regards ,

Kanthi.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...