Sometimes I try to load pannellum on firefox and image loads with some different colors or entire black.
When the image is black I got these 2 messages on console:
"Error: WebGL warning: drawArrays: Active texture 0 for target 0x0de1 is 'incomplete', and will be rendered as RGBA(0,0,0,1), as per the GLES 2.0.24 $3.8.2: The dimensions of `level_base` are not all positive."
"Image corrupt or truncated."
Firefox version is 56.0.2 (64-bit) with windows 10.
Black Image Error:
Color Error:
This looks like a graphics card/driver issue.
I reproduced the error on 4 different machines, in one of them the firefox version was 54.0.0 and the error did not occur, but when I upgraded to 57.0, it crashed in the first time.
It doesn't appear to me every time loading a scene, but I can confirm this issue with FF 57.0. Never had this problem before with older versions of FF. Chrome and MS Edge are still ok (on the same machine), so it seems to be a problem with the latest upgrade of FF.

I've never see this happen, and I don't recall any other people reporting similar issues. Unfortunately, I'm not sure if there's much I can do about it.
Hi All
I also noticed this happening to my pannellum tours in Firefox yesterday, where as they used to work fine. I'm also assuming it is related to a recent Firefox update. Furthermore, if the tour is run locally from my hard drive there is no problem, it only affects tours on-line.
There appears to be no problem in Chrome for Windows, nor Chrome and Safari on my iPhone.
Regards
Derek
I've experienced the same on Linux with Firefox on two different machines (with Intel and AMD GPU)
what's interesting is that the server is on a local network from one of those machines. Also I don't think I ever saw it with the multires panorama...
could pannellum try to check if the file fully downloaded before setting it as webgl texture?
@tomato42 There is no attempt to display an image before it is fully downloaded.
I've tested with Firefox 57 on six machines now, four Linux and two Windows 7 with either Intel or Nvidia GPUs, but still have not been able to reproduce this.
for me it happens about one in 20 to 30 transitions (with the server on a different machine), and the first time it happened was when the tour was around 14 scenes
for what it's worth, I'm using FF 57.0 (64-bit)
I was finally able to reproduce this (the black screen & resulting error message). It only happened once. Unfortunately, I'm still not really any closer to figuring out what's happening.
I have the same problem. 56.0.2 (64-bit) with windows 8.1
I notice the problem is often with bigger img 6000x3000. But when I try mobile ver. 4000x2000 it looks ok.
Even when I open in diffrent FF cards desktop ver fail, mobile is ok.
I update FF to 57.0.2 and it seems all version desktop and mobile dont work. Next symptom is loading bar is stop on 100% and nothing happend (dont show panorama).
Correct me if I'm wrong but it look like problem is only with equirectangular panoramas? I convert to cube and it seems look ok.
I've fix this issue by disable nvidia web driver and cuda drive on macosx high sierra.
@jimblue sorry but how did you disabled nvidia web driver and cuda driver ?
by uninstalling them... 🙃
That said it's no really a fix
The issues I've seen appear to be resolved with Firefox 58 (currently beta).
This isn't exactly a solution but more of a contingency plan...
Would it be possible to detect this error and have Pannellum display an error message and/or some kind of static '2D' fallback image instead?
That way the end user would see something, and wouldn't be left with a black screen or something that looks corrupted.
Firefox 58 was released today and as @ademarre said, the problem seens to be solved.
Great news.
Sent from my phone.
On 23 Jan 2018, at 15:00, escuerto notifications@github.com wrote:
Firefox 58 was released today and as @ademarre said, the problem seens to be solved.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
Yes I confirm on mac, we can close the subject, the only need is to update Firefox! !
For what it’s worth, I can confirm the v58 update to Firefox has resolved the problems I saw too.
Sent from my phone.
On 23 Jan 2018, at 21:08, EdouardDLMT notifications@github.com wrote:
Yes I confirm on mac, we can close the subject, the only need is to update Firefox! !
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
I'm actually getting a very similar issue on 63.0.1.
It's reporting MANY of these errors:
"Error: WebGL warning: drawArrays: Active texture 0 for target 0x0de1 is 'incomplete', and will be rendered as RGBA(0,0,0,1), as per the GLES 2.0.24 $3.8.2: The dimensions of level_base are not all positive."
the bug is in Firefox, not panellum – it went away for me without updating panellum but with update to FIrefox
Most helpful comment
This isn't exactly a solution but more of a contingency plan...
Would it be possible to detect this error and have Pannellum display an error message and/or some kind of static '2D' fallback image instead?
That way the end user would see something, and wouldn't be left with a black screen or something that looks corrupted.