mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

lib broken since v0.12.3 on my computer, blank canvas

Open KoAi opened this issue 10 years ago • 3 comments

Hello,

I can't use anymore lib, all examples are broken for me, I see a white background instead of the map. Same result on Chrome and Firefox, it only works on IE.

display a map mapbox - google chrome

I could make it works on Firefox by changing parameter in about:config : webgl.disable-angle true (see below http://webglreport.com/ report)

With false

Platform: Win32 Browser User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 Context Name: webgl GL Version: WebGL 1.0 Shading Language Version: WebGL GLSL ES 1.0 Vendor: Mozilla Renderer: Mozilla Antialiasing: Available ANGLE: Yes, D3D11 Major Performance Caveat: No

With true

Platform: Win32 Browser User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 Context Name: webgl GL Version: WebGL 1.0 Shading Language Version: WebGL GLSL ES 1.0 Vendor: Mozilla Renderer: Mozilla Antialiasing: Available ANGLE: No Major Performance Caveat: No

Could you help me find a workaround, or is it a bug ? Same thing heppen to me on https://www.mapbox.com/studio/ no map for me.

KoAi avatar Feb 16 '16 15:02 KoAi

Setting webgl.disable-angle to true means you are turning off hardware accelerated rendering. If hardware accelerated rendering does not work it is likely an OS or graphics driver issue.

jfirebaugh avatar Feb 16 '16 17:02 jfirebaugh

I have exactly the same issue. It happen in the studio and in the exemples, but not in the gallery and not in all other webgl application. It should be an OS or graphics driver issue, but, hard to understand why it only happen with mapbox. I have a nvidia nvs 3100m graphic card, drivers up-to-date, on a windows 7 dell latitude e6510, @KoAi have you a similar hardware ? Thanks for the webgl.disable-angle trick.

Ventricule avatar Feb 19 '16 18:02 Ventricule

I have similar hardware nvidia GeForce 210 with dell computer on windows 7. I made lot of test and it is hard to understand, for now, I could make my app works on v0.12.2 and I am comparing commit to understand which part of code is concerning.

What is annoying for me is Mapbox Studio since one or two weeks, no display...

KoAi avatar Feb 20 '16 09:02 KoAi