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

maplibre-gl-native v6.0.0 breaks on raster rendering on Apple Silicone #1402

Open
boonboonsiri opened this issue Oct 11, 2024 · 1 comment
Open

Comments

@boonboonsiri
Copy link
Contributor

maplibre-gl-native v6.0.0 introduced changes to use Metal GPU rendering on macOS. However, for generating static tiles, the tile server will eventually freeze.

The easiest way to notice this is clone an empty tileserver gl repo and scroll around the raster tiles for a little. Notice that the server evetually freezes

git clone https://github.com/maptiler/tileserver-gl.git
cd tileserver-gl
npm i
node .

Click on raster tile

More details found at this discussion in OSM slack: https://osmus.slack.com/archives/C02B2CBSNBU/p1728481702513059

M2 Max Macbook Pro on macOS 14.6.1
maplibre-gl-native v6.0.0
Node version v20.17.0

@acalcutt
Copy link
Collaborator

acalcutt commented Oct 11, 2024

I have confirmed this issue on a M2 mac.

Like I mentioned in the slack thread I made a minimal application at
https://github.com/acalcutt/maplibre-node-test/tree/macos_test

The test application is just supposed to generate 50 images. On windows this works, but on macos it freezes after 32 images. I think this confirms it is a maplibre-native issue, but I am not really sure how we will troubleshoot this there.

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

No branches or pull requests

2 participants