[imx8mp][android] WebGL Aquarium rendering issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[imx8mp][android] WebGL Aquarium rendering issue

Jump to solution
1,577 Views
jason9816
Contributor I

As the title says, we encountered flickering and graphical issues when running the WebGL Aquarium demo on our NXP i.MX8MP SoC custom board with Android 12-15. I also tested it on an NXP i.MX8MP EVK board with the 15.0.0_1.0.0_DEMO_8MP Android prebuilt images, and the issue remains.

Previously, we tested the same setup on our NXP i.MX8MP SoC custom board running Android 12-14 about a year ago, and it was working fine at that time. However, the issue seems to have appeared this year.

We have attached a recording from our NXP i.MX8MP SoC custom board running Android 15 to showing the issue.

IMX8MPLUS 

0 Kudos
Reply
1 Solution
1,511 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Correct! is a known issue on Android devices.

Regards

 

View solution in original post

0 Kudos
Reply
3 Replies
1,550 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Weston is one process using GPU. It's able to see chromium-bin in the process list of gputop also. When browsering "webglsamples.org/aquarium/aquarium.html", we can see GPU usage going high.

If chromium runs with "chromium --no-sandbox --disable-gpu", we can observe chromium-bin is not in GPU process list and usage is null. Also the web shows empty with "webglsamples.org/aquarium/aquarium.html". That proves GPU is enabled without "--disable-gpu".

 

regards

0 Kudos
Reply
1,535 Views
jason9816
Contributor I

Hello,

Yes, I have tested it on our Yocto 5.0 OS, and it worked fine. The flickering issue seems to occur only on Android. Is this a known issue on Android?

 

regards

0 Kudos
Reply
1,512 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Correct! is a known issue on Android devices.

Regards

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2064430%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%5Bimx8mp%5D%5Bandroid%5D%20WebGL%20Aquarium%20rendering%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2064430%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAs%20the%20title%20says%2C%20we%20encountered%20flickering%20and%20graphical%20issues%20when%20running%20the%20WebGL%20Aquarium%20demo%20on%20our%20NXP%20i.MX8MP%20SoC%20custom%20board%20with%20Android%2012-15.%20I%20also%20tested%20it%20on%20an%20NXP%20i.MX8MP%20EVK%20board%20with%20the%2015.0.0_1.0.0_DEMO_8MP%20Android%20prebuilt%20images%2C%20and%20the%20issue%20remains.%3C%2FP%3E%3CP%3EPreviously%2C%20we%20tested%20the%20same%20setup%20on%20our%20NXP%20i.MX8MP%20SoC%20custom%20board%20running%20Android%2012-14%20about%20a%20year%20ago%2C%20and%20it%20was%20working%20fine%20at%20that%20time.%20However%2C%20the%20issue%20seems%20to%20have%20appeared%20this%20year.%3C%2FP%3E%3CP%3EWe%20have%20attached%20a%20recording%20from%20our%20NXP%20i.MX8MP%20SoC%20custom%20board%20running%20Android%2015%20to%20showing%20the%20issue.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FIMX8MPLUS%2Fpd-p%2FIMX8MPLUS%22%20class%3D%22lia-product-mention%22%20data-product%3D%2221-1%22%20target%3D%22_blank%22%3EIMX8MPLUS%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2066368%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%5Bimx8mp%5D%5Bandroid%5D%20WebGL%20Aquarium%20rendering%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2066368%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ECorrect!%20is%20a%20known%20issue%20on%20Android%20devices.%3C%2FP%3E%0A%3CP%3ERegards%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2065984%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%5Bimx8mp%5D%5Bandroid%5D%20WebGL%20Aquarium%20rendering%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2065984%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EYes%2C%20I%20have%20tested%20it%20on%20our%20Yocto%205.0%20OS%2C%20and%20it%20worked%20fine.%20The%20flickering%20issue%20seems%20to%20occur%20only%20on%20Android.%20Is%20this%20a%20known%20issue%20on%20Android%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Eregards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2065616%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%5Bimx8mp%5D%5Bandroid%5D%20WebGL%20Aquarium%20rendering%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2065616%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EWeston%20is%20one%20process%20using%20GPU.%20It's%20able%20to%20see%20chromium-bin%20in%20the%20process%20list%20of%20gputop%20also.%20When%20browsering%20%22webglsamples.org%2Faquarium%2Faquarium.html%22%2C%20we%20can%20see%20GPU%20usage%20going%20high.%3C%2FP%3E%0A%3CP%3EIf%20chromium%20runs%20with%20%22chromium%20--no-sandbox%20--disable-gpu%22%2C%20we%20can%20observe%20chromium-bin%20is%20not%20in%20GPU%20process%20list%20and%20usage%20is%20null.%20Also%20the%20web%20shows%20empty%20with%20%22webglsamples.org%2Faquarium%2Faquarium.html%22.%20That%20proves%20GPU%20is%20enabled%20without%20%22--disable-gpu%22.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3Eregards%3C%2FP%3E%3C%2FLINGO-BODY%3E