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)

42 Replies
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)
I can't reproduce this on FF 118.0.1
Can you share the file that is giving you trouble maybe?
zip is to preserve metadata
Thanks
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.
Not working on firefox

Hmm
No idea why this could happen
Are you on the latest version of Immich?
Yes
@Contributor thoughts?
Also isn't the demo server on latest
by contrast this image works on firefox
can you show the network graph when opening the image?
Could you open the console and check for errors?

Is there anything more, or just that?
nope
No worries, thank you
this?


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
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
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
Ok, I'm running macos sonoma as well on an m1 pro and I can reproduce the issue on firefox!
Yay its not just me 🫠
Tbh I feel like that's an firefox arm issue...
x86 has the same problem
I tried on a intel mac mini
Oh ok, oops
funny part is firefox android doesn't have this issue
Only part idk is how firefox on windows or firefox 🐧 edition handles it
Firefox on Windows x86 is fine
I'll try with my intel mac in a bit
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
Its running monteray via open core
But yeah the mac itself is old 2011
Ah ok, so not that old...
Making firefox more verbose yields this

Force enabling webgl doesn't seem to fix it.
Wtf.

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.I think View360 component is not meant for common panorama
nvm, it does I believe
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.
More information in #3412