cesium icon indicating copy to clipboard operation
cesium copied to clipboard

Tileset Highlighting Distortion (M1 hardware on iOS 12)

Open srothst1 opened this issue 3 years ago • 4 comments

Highlights on 3D Tiles appear distorted when running CesiumJS on a MacBook with an M1 chip. This issue occurs when the M1 MacBook is running iOS 12 and does not occur when it is running iOS 11. image We ran a WebGL report on Google Chrome using two devices:

  • M1 MacBook running iOS 12 (3D Tiles highlights issue is visible)
  • Intel MacBook running iOS 11 (no issue with 3D Tiles highlights)

The differences between the two WebGL reports are:

  • WEBGL_video_texture is on the M1 Pro and not the Intel
  • Max Varying Vectors
  • Max Vertex Output Components
  • Different values on Aliased Point Size Range
  • Different values on Max Samples in Framebuffer

These differences in supported extensions do not seem relevant to the tileset highlighting issue. Thus, it is likely a "deeper" issue with our specification.

Sandcastle example: https://sandcastle.cesium.com/?src=Classification.html Browser: Chrome Operating System: M1 MacBook Pro (OS12)

cc @lilleyse @ebogo1

srothst1 avatar Nov 01 '21 15:11 srothst1

A very similar issue came up today. The user noticed the issue on MacOS 12 with Apple M1 hardware.

srothst1 avatar Jan 04 '22 15:01 srothst1

@srothst1 Testing this on an iPad Pro after the latest 15.5 update, I do see some jitter when the camera moves but am not able to reproduce the drastic classification to the left of the building as shown in the about image using https://sandcastle.cesium.com/?src=Classification.html.

ggetz avatar May 18 '22 16:05 ggetz

got it 👍

srothst1 avatar May 18 '22 17:05 srothst1

We don't see any difference in this issue on the M1 iPad Pro with iPad OS 15.5. Note that on iPad OS there is a workaround because we can disable Request Desktop Website in Safari settings, which we cannot do on Mac OS.

gregangevine1 avatar May 24 '22 13:05 gregangevine1

Potentially, as reported on the forum, a fix for this issue is available in Chrome Canary.

ggetz avatar Jan 31 '23 16:01 ggetz

Thank you Gabby, awesome of you to update us on that!

Best, Greg Angevine

On Jan 31, 2023, at 9:01 AM, Gabby Getz @.***> wrote:

Potentially, as reported on the forum https://community.cesium.com/t/entity-jittering-on-mac-m1-m2-fixed/22062, a fix for this issue is available in Chrome Canary.

— Reply to this email directly, view it on GitHub https://github.com/CesiumGS/cesium/issues/9907#issuecomment-1410646286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOTHY5ZMQFJKLZDGM7KNSALWVEZN3ANCNFSM5HEK4GGA. You are receiving this because you commented.

gregangevine1 avatar Jan 31 '23 19:01 gregangevine1

Any updates when this fix will be released in chrome stable?

timarnoldev avatar May 16 '23 16:05 timarnoldev