You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main Modelviewer page nows displays a 3D model of the astronaut that's completely black on my phone Samsung S7. This seems to be related to the new version 1.9.1 that just got out. The same model used to work fine.
hmm, actually modelviewer.dev is not on 1.9.1; I had to do a cherry-pick because of a problem with three.js r134, so modelviewer.dev is on r134 and v1.9.1 is on r133. Can you check if the problem persists on v1.9.1? Also, do you see any errors or warnings in the JS console?
ugh! Thanks for the detail. Okay, so this device doesn't support OES_texture_half_float. Does it work on 1.9.0? or 1.8? And what versions are the OS/browser? Is it up to date?
We have at least one other Samsung S7 which is working fine with these examples, so I'm going to delay panicking until we get a little more version info.
Same problem here since v 1.9.1. 1.9.0 and 1.8 work fine.
Tested on multiple Android devices with multiple .glb models:
Samsung Galaxy S7, Android 8.0.0, Chrome 95.0.4638.50
Samsung Galaxy S10+, Android 11, Chrome 95.0.4638.50
@BobbyBuening Okay, so v1.9.1 is working properly on your devices but modelviewer.dev is not? Did you test with the same model?
@GabrielArakaki Can you check if v1.9.1 is working or not (which is different than modelviewer.dev)?
@danbaechtold and everyone else: can you please check a few different models to see how widespread this is? And also please check your JS console to see if you're also seeing OES_texture_half_float extension not supported or something else. We may have multiple issues contributing here.
Oddly we a Samsung S7 here on Android 7 with Chrome 95 and this is all working, so this is very confusing.
I tried modelviewer.dev on a Samsung Galaxy S7 with Android 8.0 (also tried w/ Android 7.0 before updating) and Chrome 95 and the astronaut is displaying correctly.
@elalish No, v1.9.1 is not working properly on both devices and both modelviewer.dev and my own model-viewer implementations on other sites with other .glb models show black 3D models when using v1.9.1.
When reverting back to dist v1.9.0 everything works fine on my own implementations.
Here´s the console output for Samsung Galaxy S7, Android 8.0.0, Chrome 95.0.4638.50 for modelviewer.dev and one for an animated model using modelviewer 1.9.1. Both show OES_texture_half_float extension not supported.
@elalish You can reproduce it easily with BrowserStack Live (they let you test on real devices!):
Choose the Huawei P30 and open modelviewer.dev. It looks good for a sec (probably the poster image), then goes black.
And yes, it is the OES_texture_half_float issue (visible in their developer console).
I am having all models show completly black, my other 2 projects at model viewer also look black online and on live AR , the projects were fine but today, my Huawei P30 pro its showing all the models black, even the official modelviewer.dev astronaut looks black, the usdz looks fine, no problem on iphone.
Okay, so I've been told that apparently many Samsung phones have different GPUs in different countries, and their extension support varies. I'd guess the reason we're not seeing consistent results is that we're testing devices with different GPUs.
The strangest part is that this appears to be because of the switch back to WebGL1 (to avoid the performance regression). So apparently a given GPU supports half float textures in WebGL2, but not in WebLG1. How much you want to bet it's an Adreno chip? 🙄
I'm stuck a bit between a rock and a hard place here. This seems to be a bigger problem than even the performance regression was, so I think I'll have to put out a v1.9.2 that reverts #2936. Then we'll do some work in three.js and get a proper fix out for the next release cycle.
I verified the fix (thanks @danbaechtold for the tip on Huawei P30 on BrowserStack) and pushed a v1.9.2 to npm, so your sites should start working again shortly as that rolls out. I'm in the process of adding that to our automated tests to keep this kind of regression from happening in the future. Thanks all for the details in helping to resolve this.
Activity
elalish commentedon Nov 1, 2021
hmm, actually modelviewer.dev is not on 1.9.1; I had to do a cherry-pick because of a problem with three.js r134, so modelviewer.dev is on r134 and v1.9.1 is on r133. Can you check if the problem persists on v1.9.1? Also, do you see any errors or warnings in the JS console?
elalish commentedon Nov 1, 2021
ugh! Thanks for the detail. Okay, so this device doesn't support OES_texture_half_float. Does it work on 1.9.0? or 1.8? And what versions are the OS/browser? Is it up to date?
elalish commentedon Nov 1, 2021
We have at least one other Samsung S7 which is working fine with these examples, so I'm going to delay panicking until we get a little more version info.
danbaechtold commentedon Nov 2, 2021
Same issue here, with 1.9.1
Specs: Android Honor 8X, Android10, Chrome 95.0.4638.50 (all up to date).
BobbyBuening commentedon Nov 2, 2021
Same problem here since v 1.9.1. 1.9.0 and 1.8 work fine.
Tested on multiple Android devices with multiple .glb models:
Samsung Galaxy S7, Android 8.0.0, Chrome 95.0.4638.50
Samsung Galaxy S10+, Android 11, Chrome 95.0.4638.50
GabrielArakaki commentedon Nov 2, 2021
Same here:
https://modelviewer.dev/ showing blacked out 3D model.
Samsung Galaxy S10e, SM-G970F
Android 11
Chrome 95.0.4638.50
elalish commentedon Nov 2, 2021
@BobbyBuening Okay, so v1.9.1 is working properly on your devices but modelviewer.dev is not? Did you test with the same model?
@GabrielArakaki Can you check if v1.9.1 is working or not (which is different than modelviewer.dev)?
@danbaechtold and everyone else: can you please check a few different models to see how widespread this is? And also please check your JS console to see if you're also seeing
OES_texture_half_float extension not supportedor something else. We may have multiple issues contributing here.Oddly we a Samsung S7 here on Android 7 with Chrome 95 and this is all working, so this is very confusing.
tpsiaki commentedon Nov 2, 2021
I tried modelviewer.dev on a Samsung Galaxy S7 with Android 8.0 (also tried w/ Android 7.0 before updating) and Chrome 95 and the astronaut is displaying correctly.
BobbyBuening commentedon Nov 2, 2021
@elalish No, v1.9.1 is not working properly on both devices and both modelviewer.dev and my own model-viewer implementations on other sites with other .glb models show black 3D models when using v1.9.1.
When reverting back to dist v1.9.0 everything works fine on my own implementations.
Here´s the console output for Samsung Galaxy S7, Android 8.0.0, Chrome 95.0.4638.50 for modelviewer.dev and one for an animated model using modelviewer 1.9.1. Both show
OES_texture_half_float extension not supported.danbaechtold commentedon Nov 2, 2021
@elalish You can reproduce it easily with BrowserStack Live (they let you test on real devices!):
Choose the Huawei P30 and open modelviewer.dev. It looks good for a sec (probably the poster image), then goes black.
And yes, it is the
OES_texture_half_floatissue (visible in their developer console).Josegranformato commentedon Nov 2, 2021
I am having all models show completly black, my other 2 projects at model viewer also look black online and on live AR , the projects were fine but today, my Huawei P30 pro its showing all the models black, even the official modelviewer.dev astronaut looks black, the usdz looks fine, no problem on iphone.
elalish commentedon Nov 2, 2021
Okay, so I've been told that apparently many Samsung phones have different GPUs in different countries, and their extension support varies. I'd guess the reason we're not seeing consistent results is that we're testing devices with different GPUs.
The strangest part is that this appears to be because of the switch back to WebGL1 (to avoid the performance regression). So apparently a given GPU supports half float textures in WebGL2, but not in WebLG1. How much you want to bet it's an Adreno chip? 🙄
I'm stuck a bit between a rock and a hard place here. This seems to be a bigger problem than even the performance regression was, so I think I'll have to put out a v1.9.2 that reverts #2936. Then we'll do some work in three.js and get a proper fix out for the next release cycle.
Josegranformato commentedon Nov 2, 2021
Ok, I have no idea how to revert it, I have the Huawei p30 pro, processor Huawei Kirin 980, android 11, I have not done any update
elalish commentedon Nov 2, 2021
I verified the fix (thanks @danbaechtold for the tip on Huawei P30 on BrowserStack) and pushed a v1.9.2 to npm, so your sites should start working again shortly as that rolls out. I'm in the process of adding that to our automated tests to keep this kind of regression from happening in the future. Thanks all for the details in helping to resolve this.
Josegranformato commentedon Nov 2, 2021
great!! thanks so much, I am checking soon on it