Galène videoconferencing server discussion list archives
 help / color / mirror / Atom feed
* [Galene] Background blur on Safari
@ 2024-12-14 16:28 Juliusz Chroboczek
  2024-12-14 16:59 ` [Galene] " Tim Panton
  0 siblings, 1 reply; 4+ messages in thread
From: Juliusz Chroboczek @ 2024-12-14 16:28 UTC (permalink / raw)
  To: galene

Hi,

A user just reported that the background blur code doesn't work on Safari
15.6.  I've looked at the code, and while I'm positive it cannot work on
Safari 14 and earlier, I don't see anything that's not supposed to be
supported by Safari 15.

If you have a copy of Safari at the bottom of some drawer, could you
please test the background blur code and send me the console output?

Thanks,

-- Juliusz

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Galene] Re: Background blur on Safari
  2024-12-14 16:28 [Galene] Background blur on Safari Juliusz Chroboczek
@ 2024-12-14 16:59 ` Tim Panton
  2024-12-14 17:48   ` Juliusz Chroboczek
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Panton @ 2024-12-14 16:59 UTC (permalink / raw)
  To: Juliusz Chroboczek; +Cc: galene

On Safari Version 18.2 (20620.1.16.11.8) 
I see this in the console logs:

[Log] I1214 16:53:57.407000 1905760 gl_context.cc:374] GL version: 3.0 (OpenGL ES 3.0 (WebGL 2.0)), renderer: WebKit WebGL (vision_wasm_internal.js, line 10)
[Warning] W1214 16:53:57.408000 1905760 gl_context.cc:1060] OpenGL error checking is disabled (vision_wasm_internal.js, line 10)
[Log] Graph successfully started running. (vision_wasm_internal.js, line 10)
[Error] INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
	put_char (vision_wasm_internal.js:10:42195)
	write (vision_wasm_internal.js:10:41471)
	write (vision_wasm_internal.js:10:67803)
	doWritev (vision_wasm_internal.js:10:137301)
	_fd_write (vision_wasm_internal.js:10:137516)
	<?>.wasm-function[14454]
	<?>.wasm-function[2627]
	<?>.wasm-function[4254]
	<?>.wasm-function[496]
	<?>.wasm-function[6243]
	<?>.wasm-function[8928]
	<?>.wasm-function[2811]
	<?>.wasm-function[3272]
	<?>.wasm-function[12615]
	<?>.wasm-function[12209]
	<?>.wasm-function[10415]
	<?>.wasm-function[3250]
	<?>.wasm-function[3352]
	<?>.wasm-function[6692]
	(anonymous function) (vision_wasm_internal.js:10:198473)
	finishProcessing (vision_bundle.mjs:1:77422)
	finishProcessing (vision_bundle.mjs:1:51346)
	tc (vision_bundle.mjs:1:78855)
	nc (vision_bundle.mjs:1:79149)
	Na (vision_bundle.mjs:1:129545)
	(anonymous function) (background-blur-worker.js:45)
	onmessage (background-blur-worker.js:21)
[Warning] W1214 16:53:57.470000 1905760 inference_feedback_manager.cc:121] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors. (vision_wasm_internal.js, line 10)
[Log] I1214 16:53:57.471000 1905760 segmentation_postprocessor_gl.cc:388] NONE activation function chosen on GPU (vision_wasm_internal.js, line 10)
[Error] Source Map loading errors (x2)
[Error] Failed to load resource: the server responded with a status of 404 () (vision_bundle_mjs.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (vision_bundle_mjs.js.map, line 0)
[Log] I1214 16:55:39.910000 1905760 gl_context.cc:374] GL version: 3.0 (OpenGL ES 3.0 (WebGL 2.0)), renderer: WebKit WebGL (vision_wasm_internal.js, line 10)
[Warning] W1214 16:55:39.912000 1905760 gl_context.cc:1060] OpenGL error checking is disabled (vision_wasm_internal.js, line 10)
[Log] Graph successfully started running. (vision_wasm_internal.js, line 10)
[Error] INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
	put_char (vision_wasm_internal.js:10:42195)
	write (vision_wasm_internal.js:10:41471)
	write (vision_wasm_internal.js:10:67803)
	doWritev (vision_wasm_internal.js:10:137301)
	_fd_write (vision_wasm_internal.js:10:137516)
	<?>.wasm-function[14454]
	<?>.wasm-function[2627]
	<?>.wasm-function[4254]
	<?>.wasm-function[496]
	<?>.wasm-function[6243]
	<?>.wasm-function[8928]
	<?>.wasm-function[2811]
	<?>.wasm-function[3272]
	<?>.wasm-function[12615]
	<?>.wasm-function[12209]
	<?>.wasm-function[10415]
	<?>.wasm-function[3250]
	<?>.wasm-function[3352]
	<?>.wasm-function[6692]
	(anonymous function) (vision_wasm_internal.js:10:198473)
	finishProcessing (vision_bundle.mjs:1:77422)
	finishProcessing (vision_bundle.mjs:1:51346)
	tc (vision_bundle.mjs:1:78855)
	nc (vision_bundle.mjs:1:79149)
	Na (vision_bundle.mjs:1:129545)
	(anonymous function) (background-blur-worker.js:45)
	onmessage (background-blur-worker.js:21)
[Warning] W1214 16:55:39.973000 1905760 inference_feedback_manager.cc:121] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors. (vision_wasm_internal.js, line 10)


- None of which means anything to me!

Happy to help debug…

T.



> On 14 Dec 2024, at 16:28, Juliusz Chroboczek <jch@irif.fr> wrote:
> 
> Hi,
> 
> A user just reported that the background blur code doesn't work on Safari
> 15.6.  I've looked at the code, and while I'm positive it cannot work on
> Safari 14 and earlier, I don't see anything that's not supposed to be
> supported by Safari 15.
> 
> If you have a copy of Safari at the bottom of some drawer, could you
> please test the background blur code and send me the console output?
> 
> Thanks,
> 
> -- Juliusz
> _______________________________________________
> Galene mailing list -- galene@lists.galene.org
> To unsubscribe send an email to galene-leave@lists.galene.org


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Galene] Re: Background blur on Safari
  2024-12-14 16:59 ` [Galene] " Tim Panton
@ 2024-12-14 17:48   ` Juliusz Chroboczek
  2024-12-15 17:30     ` Juliusz Chroboczek
  0 siblings, 1 reply; 4+ messages in thread
From: Juliusz Chroboczek @ 2024-12-14 17:48 UTC (permalink / raw)
  To: Tim Panton; +Cc: galene

Thanks for testing, Tim.

> I see this in the console logs:

[...]

> - None of which means anything to me!

This looks like just the normal log from MediaPipe.  Grr.  I'll see if
there's anywhere I'm not logging an error properly.

-- Juliusz

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Galene] Re: Background blur on Safari
  2024-12-14 17:48   ` Juliusz Chroboczek
@ 2024-12-15 17:30     ` Juliusz Chroboczek
  0 siblings, 0 replies; 4+ messages in thread
From: Juliusz Chroboczek @ 2024-12-15 17:30 UTC (permalink / raw)
  To: Tim Panton; +Cc: galene

>> - None of which means anything to me!
> 
> This looks like just the normal log from MediaPipe.  Grr.  I'll see if
> there's anywhere I'm not logging an error properly.

I've added better error handling to the code, checked that it works well
under Chromium, and I've had a user with Safari report that there's an
error during initialisation.

Unfortunately, Safari doesn't want to show me the error.  The error I'm
getting instead would seem to indicate that errors are not serialisable
under Safari.  (If that's the case, then Safari would be violating
Section 2.7.3 paragraph 17 of the spec.)

I'm giving up for now.  I've disabled background blur under Safari, and
might work on it again when I can borrow a Mac for a few hours.

-- Juliusz

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-15 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-14 16:28 [Galene] Background blur on Safari Juliusz Chroboczek
2024-12-14 16:59 ` [Galene] " Tim Panton
2024-12-14 17:48   ` Juliusz Chroboczek
2024-12-15 17:30     ` Juliusz Chroboczek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox