-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iPod Touch - Safari 12 - WebGL: INVALID_OPERATION: texImage2D: type HALF_FLOAT_OES but ArrayBufferView is not NULL - iPod Toch Safari #85
Comments
Hi, Thank you for this report. best, |
I have this issue as well. Both on Safari 12.0.1 and I think on Chrome mobile version 72.0.3226.101 |
On IOS Chrome mobile is based on a Safari webview. |
Alright, it does work on safari mobile. But it crashes on desktop Safari 12 due to the same |
This is strange, I will test it tomorrow on a deskop safari computer... But since it uses WebRTC/WebGL it can also depend on MacOSX/driver of the webcam/graphic drivers. http://webglreport.com/?v=1 (for webgl1) (the bottom of the page with the supported extensions is very helpful, so please send the content of the whole page) Thx |
Hi, I have tested with an imac with the same configuration (Safari 12). It occurs at the initialization tests, when we test the real WebGL capabilities (especially to do render to texture to float or half float precision textures). Did the browser ask to access the webcam? Best, |
Safari does ask for webcam permissions, and the webcam is transmitted to the canvas. There are just not occurring any 3D objects. The camera is not used by any other process. And works with no problem on Chrome. |
Hey @xavierjs, I hope all is well! |
Hi @neheren |
Your library won’t work in Chrome on iPhone? Is that correct? |
Maybe i should create a new ticket, since I am not talking about mobile support (I know iOS chrome is not working). But I get the same |
@mschiano yes since Chrome for IOS is a Safari webview and Apple does not allow camera access in webview. |
@neheren I cannot reproduce, even on Safari desktop. As I said |
Hey @xavierjs, |
Hi @neheren I don't personnally have a mac, I can access to 3 different mac configurations (5 yo high end macbook pro, 2 yo highend macbook pro and imac). Do you have the configuration of some of these old macs? Best, |
This computer seems too old. |
Aha, but why does it work on Chrome and Firefox then? |
Hugh this is really strange |
I may have an idea. I think Safari triggers an error where it should only trigger a warning... I will come back with a potential fix in 10 minutes |
That would make my day! |
@neheren Can you try with the latest commit? I hope it will work. Thank you very much! |
(I don't have updated the online live demos hosted on jeeliz.com yet) |
I have checked and this error is catched (by a try{} catch). |
Hi @neheren Thank you for your detailed bug report. Best, |
Perfect, I have sent you a mail! |
Seems related to mrdoob/three.js#16041 The bug has been reported on Chromium support here: https://bugs.chromium.org/p/chromium/issues/detail?id=886970 and seems pretty active. |
I close the issue since it is not directly a bug from Jeeliz Facefilter, but a graphic driver bug. Best, |
* commit '6bb4f14ccc20f4dd477898104fc16c318161e4a7': [FIX] Bug in JeelizThreeJSHelper with Y offset when rotating head around X with different camera aspectRatios - see jeeliz#114 [QUAL] Add set_videoOrientation method - jeeliz#113 [FIX] repair toogle_slow() method - jeeliz#112 [FIX] Correct a bug with MacOSX10.15 (Catalina) beta (set lame WebGL2) [DOC] add default alphaRange value in readme [FIX] add neural network model to fix this issue: jeeliz#85 , waiting for a real fix of the graphic driver...
…lter#85 , waiting for a real fix of the graphic driver...
Describe the bug
When running the face detector on an iPod touch in Safari 12 the following error is logged in the console.
The text was updated successfully, but these errors were encountered: