FireFox error on Xoom

Hi guys, I’m getting this error on the Xoom Android tablet from FireFox Beta, on the sandcastle-gallery branch. Is there more debugging I should turn on?

  -Ed.

09-09 13:36:41.582: E/GeckoConsole(1437): [JavaScript Error: "uncaught exception: DeveloperError: Invalid vec4 value.
09-09 13:36:41.582: E/GeckoConsole(1437): @http://host/Cesium/Source/Core/DeveloperError.js:44
09-09 13:36:41.582: E/GeckoConsole(1437): @http://host/Cesium/Source/Renderer/ShaderProgram.js:338
09-09 13:36:41.582: E/GeckoConsole(1437): @http://host/Cesium/Source/Renderer/ShaderProgram.js:2081
09-09 13:36:41.582: E/GeckoConsole(1437): @http://host/Cesium/Source/Renderer/Context.js:2423
09-09 13:36:41.582: E/GeckoConsole(1437): @http://host/Cesium/Source/Renderer/Context.js:2339
09-09 13:36:41.582: E/GeckoConsole(1437): @http://host/Cesium/Source/Scene/CentralBody.js:2162
09-09 13:36:41.582: E/GeckoConsole(1437): @http://host/Cesium/Source/Scene/CompositePrimitive.js:463
09-09 13:36:41.582: E/GeckoConsole(1437): @http://host/Cesium/Source/Scene/Scene.js:245
09-09 13:36:41.582: E/GeckoConsole(1437): @http://host/Cesium/Source/Widgets/Dojo/CesiumWidget.js:319
09-09 13:36:41.582: E/GeckoConsole(1437): updateAndRender@http://host/Cesium/Source/Widgets/Dojo/CesiumWidget.js:352
09-09 13:36:41.582: E/GeckoConsole(1437): "]

The plot thickens. It thinks czm_viewport is zero size, and doesn’t seem to have the required field names .x .y .z .w.

09-09 15:22:32.722: E/GeckoConsole(1437): [JavaScript Error: “uncaught exception: DeveloperError: Invalid vec4 value for uniform “czm_viewport”: {“0”:0,“1”:0,“2”:0,“3”:0}
09-09 15:22:32.722: E/GeckoConsole(1437): @http://host/Cesium/Source/Core/DeveloperError.js:44
09-09 15:22:32.722: E/GeckoConsole(1437): @http://host/Cesium/Source/Renderer/ShaderProgram.js:338
09-09 15:22:32.722: E/GeckoConsole(1437): @http://host/Cesium/Source/Renderer/ShaderProgram.js:2081
09-09 15:22:32.722: E/GeckoConsole(1437): @http://host/Cesium/Source/Renderer/Context.js:2423
09-09 15:22:32.722: E/GeckoConsole(1437): @http://host/Cesium/Source/Renderer/Context.js:2339
09-09 15:22:32.722: E/GeckoConsole(1437): @http://host/Cesium/Source/Scene/CentralBody.js:2162
09-09 15:22:32.722: E/GeckoConsole(1437): @http://host/Cesium/Source/Scene/CompositePrimitive.js:463
09-09 15:22:32.722: E/GeckoConsole(1437): @http://host/Cesium/Source/Scene/Scene.js:245
09-09 15:22:32.722: E/GeckoConsole(1437): @http://host/Cesium/Source/Widgets/Dojo/CesiumViewerWidget.js:706
09-09 15:22:32.722: E/GeckoConsole(1437): updateAndRender@http://host/Cesium/Source/Widgets/Dojo/CesiumViewerWidget.js:740
09-09 15:22:32.722: E/GeckoConsole(1437): (on line 0)”]

Ed,

You can try:

context.setValidateShaderProgram(true);

context.setValidateFramebuffer(true);

context.setLogShaderCompilation(true);

context.setThrowOnWebGLError(true);

Kevin and I were running the imagery_layers branch with Aurora on Jelly Bean. Since the Tegra 3 only has 16-bits of depth precision, we had to tweak the near/far planes (multi-frustum in the works now, really). I can’t speak to anything else working right now.

Patrick