deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

[Bug] Shader Compilation Error while visting deck.gl homepage

Open AnJ-K opened this issue 6 months ago • 0 comments

Description

While visiting deck.gl homepage (or while running latest version of the library locally) I'm getting Shader Compilation Error in fragment solid-polygon-layer-fragment-shader inside LibreWolf. As far as I tested it does not happen on Chromium or Firefox. So it might be an issue inside of the LibreWolf not deck.gl, but I'm not sure.

Flavors

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

Expected Behavior

Visiting deck.gl should not throw compilation error.

Steps to Reproduce

Visit deck.gl on LibreWolf

Environment

  • Framework version: [email protected]
  • Browser: LibreWolf 138.0.1-2
  • OS: Linux 6.14.6-arch1-1

Logs

Screenshot of the home page Image

Error from the console:

Uncaught (in promise) Error: Error during linking: Must have a compiled vertex shader attached:
SHADER_INFO_LOG:
0(62) : error C7532: global function uintBitsToFloat requires "#version 330" or later
0(62) : error C0000: ... or #extension GL_ARB_shader_bit_encoding : enable
0(62) : error C0000: ... or #extension GL_ARB_gpu_shader5 : enable
    _reportLinkStatus https://deck.gl/assets/js/7771.61fb86c2.js:1
    _linkShaders https://deck.gl/assets/js/7771.61fb86c2.js:1
    ze https://deck.gl/assets/js/7771.61fb86c2.js:1
    createRenderPipeline https://deck.gl/assets/js/7771.61fb86c2.js:1
    createRenderPipeline https://deck.gl/assets/js/7771.61fb86c2.js:1
    _updatePipeline https://deck.gl/assets/js/7771.61fb86c2.js:1
    ft https://deck.gl/assets/js/7771.61fb86c2.js:1
    _getModels https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    updateState https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    _update https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    _initialize https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    _initializeLayer https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    _updateSublayersRecursively https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    _updateSublayersRecursively https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    _updateLayers https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    setLayers https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    updateLayers https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    _onRenderFrame https://deck.gl/assets/js/9dd8a0d2.6e1d733a.js:1
    _renderFrame https://deck.gl/assets/js/7771.61fb86c2.js:1
    redraw https://deck.gl/assets/js/7771.61fb86c2.js:1
    _animationFrame https://deck.gl/assets/js/7771.61fb86c2.js:1
[7771.61fb86c2.js:1:276607](https://deck.gl/assets/js/7771.61fb86c2.js)

AnJ-K avatar May 15 '25 20:05 AnJ-K