Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to display image layers on mobile devices #11289

Open
webdq opened this issue May 17, 2023 · 10 comments
Open

Unable to display image layers on mobile devices #11289

webdq opened this issue May 17, 2023 · 10 comments

Comments

@webdq
Copy link

webdq commented May 17, 2023

Default Earth Display in Black

微信图片_20230517093014

Zoom in to approximately level 3 or higher before displaying the image layer

微信图片_20230517093020

code link

QR code

qrcode

Cesium: 1.105.1
Android: 10
Phone: Xiaomi MIX 2S, MIUI 12.5.1
Browser: Quark 6.3.1.253

@ggetz
Copy link
Contributor

ggetz commented May 17, 2023

Thanks for the report @webdq.

Browser: Quark 6.3.1.253

Are you able to reproduce the error in any other browser?

@ggetz ggetz added the needs feedback On hold until additional info is supplied label May 17, 2023
@ggetz
Copy link
Contributor

ggetz commented May 26, 2023

I'm closing this issue due to inactivity. If you believe this is still an issue, please feel free to re-open. Thanks!

@ggetz ggetz closed this as completed May 26, 2023
@webdq
Copy link
Author

webdq commented May 29, 2023

Thanks for the report @webdq.

Browser: Quark 6.3.1.253

Are you able to reproduce the error in any other browser?

The following software also has this issue

Edge 113.0.1774.38
Firefox Browser 113.2.0
Chrome 114.0.5735.53

微信图片_20230529101602

微信图片_20230529101606

微信图片_20230529105013

微信图片_20230529105300
微信图片_20230529105304

@cywhale
Copy link

cywhale commented Jun 23, 2023

I have the same issue. Basemap works well on desktop and on various mobile phones. But just on my ASUS zenphone (support webgl2), it shows a blank earth at initial low zoom level. After zoom in to certain level, it can show correct basemap tiles. But when I zoom-out again, the globe goes blank.
Enable USB debugging cannot find anything weird in devtools, as it works well in desktop.
At an earlier development it ever worked on my phone. But after that, most of the time I tested my codes on desktop, and cannot make sure which version it cannot work then.
I had tried some parameters such as globe.maximumScreenSpaceError or tileCacheSize, unluckily no help. I still cannot find its possible cause. I know these descriptions cannot help to solve this problem, but maybe someone has suggestions/comments to debug this.

I'm closing this issue due to inactivity. If you believe this is still an issue, please feel free to re-open. Thanks!

@ggetz ggetz reopened this Jun 28, 2023
@ggetz ggetz added type - regression category - graphics and removed needs feedback On hold until additional info is supplied labels Jun 28, 2023
@ggetz
Copy link
Contributor

ggetz commented Jun 28, 2023

Thanks @webdq and @cywhale! I've reopened the issue.

If at all possible, it would be helpful if you could determine the version number where this behavior started happening.

@cywhale
Copy link

cywhale commented Jun 28, 2023

Thanks @webdq and @cywhale! I've reopened the issue.

If at all possible, it would be helpful if you could determine the version number where this behavior started happening.

Ok I can make a trial by git reflog/reset to my older development version, but not sure if I can reproduce it. Some extra time would be required. If any updates for this, I'll report here.

@cywhale
Copy link

cywhale commented Jun 30, 2023

@ggetz Now I can confirm the changes come from v1.92 (everything ok) to v1.93 (go wrong, become blank globe at initial zoom, and after zoom in to certain level, it can show correct basemap tiles). I also test v1.87.1, v1.91, both ok. After v1.93, 1.94, 1.95, 1.99, 1.100, and to current release, all shows blank globe on my phone (ASUS X001D Android 8.1, support webgl2), and not work on other phone (Android, much newer version, Samsung A53) . But all these versions work well on desktop, and work well on other phones.

@ggetz
Copy link
Contributor

ggetz commented Jun 30, 2023

Thanks @cywhale! That helps! This is likely due to shader changes that went in as part of #10063. The next step would be to identify what part of that is causing different results on these android devices.

@cywhale
Copy link

cywhale commented Jul 1, 2023

Thanks @cywhale! That helps! This is likely due to shader changes that went in as part of #10063. The next step would be to identify what part of that is causing different results on these android devices.

@ggetz then I found this issue related to #10442 and set scene.globe.showGroundAtmosphere=false can make the globe correctly shown on my phone. It's a temporary solution.

@ggetz
Copy link
Contributor

ggetz commented Oct 19, 2023

Also reported in #11571.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants