Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Crash "Base Vertex Instance Drawing is only supported on MTLGPUFamilyApple3 and later." #3098

Open
kylba4enko opened this issue Dec 19, 2024 · 5 comments
Labels

Comments

@kylba4enko
Copy link

MapLibre iOS Version

6.9.0

iOS Version

iOS 15.8.2

Device

iPhone 7

What happened?

We are seeing crashes in the map rendering on iPhone and iPad devices (including simulators) with iOS 15 when using the latest MapLibre release (6.9.0).

I already saw an issue with the same error "Base Vertex Instance Drawing is only supported on MTLGPUFamilyApple3 and later."
#2447

It seems like it was fixed in 6.5.0 release and yes this crash is not happening on this version but exists on all higher versions.
I was trying to figure out if I can rollback to lower version and it reporoduces on all versions starting from 6.5.1 to latest 6.9.0

Steps to reproduce

Render a map
The app crashes

Relevant log output

MTLValidateFeatureSupport:4854: failed assertion `Base Vertex Instance Drawing is only supported on MTLGPUFamilyApple3 and later.'

Additional context

No response

@kylba4enko
Copy link
Author

kylba4enko commented Dec 19, 2024

On 6.5.0 with iOS 15 there is no crash but map has some artefacts

Image

@louwers louwers added the metal label Dec 19, 2024
@louwers
Copy link
Collaborator

louwers commented Dec 19, 2024

@kylba4enko Are you seeing this crash on real devices as well?

May be caused by https://github.com/maplibre/maplibre-native/pull/2518/files

@kylba4enko
Copy link
Author

Yes, also on real device iPhone 7 with iOS 15.8.2

@kylba4enko
Copy link
Author

On iOS 18 everything works fine on real devices and simulators.

@louwers
Copy link
Collaborator

louwers commented Dec 19, 2024

Interesting. We might have to update the check to include not only device support but also iOS version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants