I
Immich2y ago
Deemo

WebGL not supported in Firefox on MacOS

Hi guys anyone having issues with viewing panoramas in firefox? Taking a look at firefox console I noticed two errors WebGL warning: texStorage(Multisample)?: Requested size at this level is unsupported. WebGL warning: texSubImage: The specified TexImage has not yet been specified. I don't have this issue on chrome or safari (not sure what the root cause is)
No description
42 Replies
Deemo
DeemoOP2y ago
Also to elaborate on chrome and safari I can see the panorama (no glitches, not black screen) Using Firefox Stable 118.0.2 (64-bit) Mac client (not server) is running Macos Soma (arm) 14.0 (23A344)
bo0tzz
bo0tzz2y ago
I can't reproduce this on FF 118.0.1 Can you share the file that is giving you trouble maybe?
Deemo
DeemoOP2y ago
zip is to preserve metadata
bo0tzz
bo0tzz2y ago
Thanks
bo0tzz
bo0tzz2y ago
That file also works fine for me on the demo instance. Can you try on there? https://demo.immich.app/share/2TcWlr5VvnX1YdTxB6bJIzvi2NyMEVkSZduxTdT49B_cUvrS1fzQeJ8634v7j8jyRxo
Public Share
1 shared photos & videos.
Deemo
DeemoOP2y ago
Not working on firefox
Deemo
DeemoOP2y ago
No description
bo0tzz
bo0tzz2y ago
Hmm No idea why this could happen Are you on the latest version of Immich?
Deemo
DeemoOP2y ago
Yes
bo0tzz
bo0tzz2y ago
@Contributor thoughts?
Deemo
DeemoOP2y ago
Also isn't the demo server on latest
Deemo
DeemoOP2y ago
by contrast this image works on firefox
PixelJonas
PixelJonas2y ago
can you show the network graph when opening the image?
thomas
thomas2y ago
Could you open the console and check for errors?
Deemo
DeemoOP2y ago
No description
thomas
thomas2y ago
Is there anything more, or just that?
Deemo
DeemoOP2y ago
nope
thomas
thomas2y ago
No worries, thank you
Deemo
DeemoOP2y ago
this?
No description
Deemo
DeemoOP2y ago
No description
Deemo
DeemoOP2y ago
The only trend I see is photos 3-4 mb or lower load fine 7-10 mb photospheres seem to break on firefox But idk if thats the root cause
thomas
thomas2y ago
GitHub
Egjs-view360 not working when image has width > 4096px · Issue #384...
Egjs-view360 not working with when use image with high quality (width >= 8096px) or bigger size. It show only black image on mobile chrome
Deemo
DeemoOP2y ago
Possibe Silly question which operating system are you running firefox on I noticed on firefox on android I was able to view the photosphere but firefox on mac had issues Both (arm) and x86 versions of mac os seem to have this issue with firefox I tried with a intel mac mini running macOS 12.6.8 21G725 x86_64 and a m1 mac
Daniel
Daniel2y ago
Ok, I'm running macos sonoma as well on an m1 pro and I can reproduce the issue on firefox!
Deemo
DeemoOP2y ago
Yay its not just me 🫠
Daniel
Daniel2y ago
Tbh I feel like that's an firefox arm issue...
Deemo
DeemoOP2y ago
x86 has the same problem I tried on a intel mac mini
Daniel
Daniel2y ago
Oh ok, oops
Deemo
DeemoOP2y ago
funny part is firefox android doesn't have this issue Only part idk is how firefox on windows or firefox 🐧 edition handles it
bo0tzz
bo0tzz2y ago
Firefox on Windows x86 is fine I'll try with my intel mac in a bit
Daniel
Daniel2y ago
Apparently intel mac also has this issue ^^ Funny enough, your Mac mini is running a really old OS, right? @Deemo So probably not a regression but a bug they haven't fixed in years lol
Deemo
DeemoOP2y ago
Its running monteray via open core But yeah the mac itself is old 2011
Daniel
Daniel2y ago
Ah ok, so not that old...
Daniel
Daniel2y ago
Making firefox more verbose yields this
No description
Daniel
Daniel2y ago
Force enabling webgl doesn't seem to fix it.
Daniel
Daniel2y ago
Wtf.
No description
Daniel
Daniel2y ago
At least definitely not caused by Immich... Maybe we should create an issue upstream? I feel like that's a regression in the firefox release and I can't find any open issues for that... Because that is blocked: gfx.features.hwCompositing.status = blocked:FEATURE_FAILURE_COMP_SAFEMODE, opengl is apparently unavailable. I have very little knowledge about browsers, so help from others would definitely be appreciated! I can provide information as needed Forget everything I've written above. Apparently making firefox more verbose yields the disabling of features such as webgl... Now webgl is enabled again, image is still not showing up though Interestingly, https://naver.github.io/egjs-view360/v3/panoviewer.html works fine for me. So it might be an Immich issue? @Contributor sorry for the ping again; any ideas? I tried setting debug={true} on the View360 component but that didn't seem to do anything.
Alex Tran
Alex Tran2y ago
I think View360 component is not meant for common panorama nvm, it does I believe
jrasm91
jrasm912y ago
I think it would be fine to have a toggle to use the panorama or not. Not all panoaramas are photo spheres. It would probably render just fine without the 360 view being applied to it.
Alex Tran
Alex Tran2y ago
More information in #3412
Immich
Immich2y ago
[PR] feat (web/server) 360 degrees Web panoramas [attempt 2] (#3412)

Did you find this page helpful?