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

[Bug] Warnings with HexagonLayer starting with version 9.1.0 #9503

Open
7 tasks
clo-vis opened this issue Mar 6, 2025 · 2 comments
Open
7 tasks

[Bug] Warnings with HexagonLayer starting with version 9.1.0 #9503

clo-vis opened this issue Mar 6, 2025 · 2 comments
Labels

Comments

@clo-vis
Copy link

clo-vis commented Mar 6, 2025

Description

Starting with version 9.1.0 (no problem with 9.0.41), the following warnings are shown in the console when using HexagonLayer:

WebGL: INVALID_OPERATION: vertexAttribPointer: no ARRAY_BUFFER is bound and offset is non-zero (shown twice)
WebGL: INVALID_OPERATION: drawArraysInstanced: no buffer is bound to enabled attribute

(In my application, after updating deck.gl to 9.1.x, I also started getting

deck: Features not supported by GPU aggregation, falling back to CPU
WebGL: INVALID_VALUE: texSubImage2D: width or height out of range
[.WebGL-0x5c840006a200] GL_INVALID_VALUE: Desired resource size is greater than max texture size.

and the hexagons are not shown, but perhaps the cause for my warnings is also the cause for the warnings about INVALID_OPERATION.)

Flavors

  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CARTO
  • ArcGIS

Expected Behavior

No warnings, as it was the case with the versions 9.0.x

Steps to Reproduce

Check the console for this example and this example from the docs.

Environment

  • Framework version: 9.1.x
  • Browser: Firefox, Edge, Opera, Chrome
  • OS: Windows, Android

Logs

WebGL: INVALID_OPERATION: vertexAttribPointer: no ARRAY_BUFFER is bound and offset is non-zero
WebGL: INVALID_OPERATION: vertexAttribPointer: no ARRAY_BUFFER is bound and offset is non-zero
WebGL: INVALID_OPERATION: drawArraysInstanced: no buffer is bound to enabled attribute
@clo-vis clo-vis added the bug label Mar 6, 2025
@Pessimistress
Copy link
Collaborator

The warning in your app is different from the website example. HexagonLayer added a gpuAggregation prop in 9.1 but it's an opt-in feature. If it doesn't work for your data, you should unset the prop.

@clo-vis
Copy link
Author

clo-vis commented Mar 10, 2025

I wrote issues 9510 and 9511 for the other warnings.

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