visgl / visgl/deck.gl

[Bug] Deck.GL 9.1.13 Sharder Error - Hexagon Layer

Open
#9,700 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

Description

Description

Using the latest version of Deck.gl with Maplibre the library fail.

"deck.gl": "^9.1.13",
"maplibre-gl": "^5.1.0",

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

No response

Steps to Reproduce

Using the Demo https://github.com/visgl/deck.gl/blob/9.1-release/examples/website/3d-heatmap/app.tsx

Environment
  • Framework version: deck.gl@9.1.13
  • Browser: Chrome 138.0.7204.101 (Build oficial) (64 bits)
  • OS: Windows 10
Logs

:1 [.WebGL-0x6cc404945b00] GL_INVALID_VALUE: glTexStorage2D: Desired resource size is greater than max texture size.Understand this warning
:1 [.WebGL-0x6cc404945b00] GL_INVALID_FRAMEBUFFER_OPERATION: glClear: Framebuffer is incomplete: Attachment has zero size.Understand this warning
:1 [.WebGL-0x6cc404945b00] GL_INVALID_FRAMEBUFFER_OPERATION: glDrawArrays: Framebuffer is incomplete: Attachment has zero size.Understand this warning
:230 deck: Layer has too many data objects. Picking might not be able to distinguish all objects.

Shader Compilation Error in vertex hexagon-cell-layer-vertex-shader

1: #version 300 es
2:
3: // ----- PROLOGUE -------------------------
4:
5: #define SHADER_TYPE_VERTEX
6:
7: #define INTEL_GPU
8: // Intel optimizes away the calculation necessary for emulated fp64
9: #define LUMA_FP64_CODE_ELIMINATION_WORKAROUND 1
10: // Intel's built-in 'tan' function doesn't have acceptable precision
11: #define LUMA_FP32_TAN_PRECISION_WORKAROUND 1
12: // Intel GPU doesn't have full 32 bits precision in same cases, causes overflow
13: #define LUMA_FP64_HIGH_BITS_OVERFLOW_WORKAROUND 1
14:
15:
16:
...
251: geometry.uv = vec2(0.);
252: #ifdef FLAT_SHADING
253: if (column.extruded && !column.isStroke && !bool(picking.isActive)) {
254: vec3 normal = normalize(cross(dFdx(position_commonspace.xyz), dFdy(position_commonspace.xyz)));
255: fragColor.rgb = lighting_getLightColor(vColor.rgb, cameraPosition, position_commonspace.xyz, normal);
256: }
257: #endif
258: DECKGL_FILTER_COLOR(fragColor, geometry);
259: }

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with examples/website/3d-heatmap/app.tsx and reproduce the failure using the reported deck.gl, Maplibre, Chrome, and Windows versions. Inspect the logged WebGL framebuffer, texture-size, and hexagon-cell-layer shader errors. Done means the example renders without the reported shader and framebuffer failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.