mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.26k stars 722 forks source link

Multiresolution panorama not working in Firefox 75.0 in Windows 7 ? #853

Closed earlotti closed 3 years ago

earlotti commented 4 years ago

Hello,

I have just noticed that Firefox 75.0 (64bit) in Windows 7 does not display multiresolution panorama correctly. When I go to the Pannellum homepage or the "Multiresolution panorama" example page, the panorama looks totally messy.

All other browsers I could test with are ok (even Firefox 75.0 64bit for mac OS).

I don't know if this comes from Windows 7 or Firefox or both. I have asked my colleagues (can't see their screen beacuse of the Covid19 lock-out) : they have no problem on Windows 10 and no problem on Windows 7 with older Firefox (68.7).

My Windows 7 installation is Windows 7 Professionnal Service Pack 1.

Not a big problem for sure, Windows 7 being outdated but I was just curious to know if other people have the same issue.

Thanks Eric Arlotti

mpetroff commented 4 years ago

I assume it looks something like the screenshot in #405. If it does, you're having issues with WebGL.

When WebGL isn't supported, the CSS 3D transform based backup renderer is used. Unfortunately, it's rather buggy (and doesn't work for equirectangular images), so I'm considering removing it entirely.

earlotti commented 4 years ago

Thanks for your answer.

I have attached a screen capture of the Panellum home I can see pannellum-home-firefox75-windows7 it looks a little bit different from the #405 issue.

I have checked https://get.webgl.org/, the spinning cube displays well.

From what I remember, it seems to me that it worked prior to the last Firefox update, but I can't say for sure.

Thanks Eric

luishcq commented 4 years ago
 Since my last update of Firefox, 1 or 2 days ago, I saw this problem

with pannellum. Firefox 68.7.0esr (64-bits) on linux (Debian) up to date.

Em qui., 16 de abr. de 2020 às 13:24, earlotti notifications@github.com escreveu:

Thanks for your answer.

I have attached a screen capture of the Panellum home I can see [image: pannellum-home-firefox75-windows7] https://user-images.githubusercontent.com/29149184/79480577-92434100-800e-11ea-9211-6013d2f9d823.jpg it looks a little bit different from the #405 https://github.com/mpetroff/pannellum/issues/405 issue.

I have checked https://get.webgl.org/, the spinning cube displays well.

From what I remember, it seems to me that it worked prior to the last Firefox update, but I can't say for sure.

Thanks Eric

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mpetroff/pannellum/issues/853#issuecomment-614755147, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPYPLIXFNDCR4HOWYU4AODRM4WKTANCNFSM4MJZVIFQ .

-- -- Luis Henrique Camargo Quiroz http://luishcq.br.tripod.com - http://www.christusrex.org/www2/cantgreg http://panoramaslh.net/

mpetroff commented 4 years ago

While it looks a bit different, I still suspect it's using the fallback viewer. You can check this by using the network tab of the browser developer tools. If it uses the fallback viewer, it will load f.jpg, b.jpg, u.jpg, d.jpg, l.jpg, and r.jpg, while if it uses WebGL, it will load more images in the format FN_M.jpg, where F is one of the previous letters and N and M are numbers.

I can't reproduce the issue with Firefox 75.0 on Linux Mint 19.3.

mpetroff commented 4 years ago

Also, do the equirectangular examples work?

earlotti commented 4 years ago

In the network tab of Firefox developer tools, I can see that tile images are loaded (u0_0.jpg, r0_0.jpg, f0_2.jpg, etc...) and don't see any fallback images URL.

The equirectangular example works well, as well as the cubemap example.

It seems that the problem occurs only on multiresolution panoramas (on Pannellum's home and the one I produced). If I try to describe what happens, it seems that tiles are loaded at start (I can see a kind of "activity" as if images were loaded and displayed surreptitiously), then a kind of "stabilization" occurs (this is the capture I sent). If I zoom the panorama, higher levels tiles are loaded in the networks tab, I can clearly see them on screen but they are not ordered as expected.

earlotti commented 4 years ago

Hi Matthew, I have made a video capture that shows the problem on my screen when I load the panorama, then move and zoom. The video is only 5MB in mp4 format, I can send it to you if you're interested (tell me which way you prefer).

mpetroff commented 4 years ago

In this case, it's definitely an issue in the WebGL-based renderer, which is something I've never seen before. As I can't reproduce it, even using Windows 7 via Sauce Labs, I suspect it may be related to your GPU configuration. From about:support, it may be helpful if you can post what it says for Graphics -> Features -> WebGL 1 Driver Version as well as Graphics -> Decision Log -> WEBRENDER. This is likely caused by a GPU-related bug in Firefox, so I'm doubtful there's anything I will be able to do about it, certainly without being able to reproduce it myself. I don't think a video will tell me much more that your screenshot.

earlotti commented 4 years ago

Ok. Here is what I see in about:support

Graphics -> Features -> WebGL 1 Driver Version: OpenGL ES 2.0.0 (ANGLE 2.1.0.3885ee272685)

Graphics -> Decision Log -> WEBRENDER: opt-in by default: WebRender is an opt-in feature

mpetroff commented 4 years ago

This suggests that the bug is actually in the interaction between ANGLE and your GPU driver. I've run tests with the same version of Firefox and ANGLE without reproducing the issue. Unfortunately, I can't think of anything I can do about it.

earlotti commented 4 years ago

Thanks a lot for the time spent on this problem. I will you keep informed if I ever find a solution or an explanation.

earlotti commented 3 years ago

Just to keep you informed : the problem has gone, probably with Firefox update. The multires panorama in Pannellum home is now okay in Firefox 85.0.

mpetroff commented 3 years ago

Good to hear!