6 ms·
do what chrome does, detect crash and fallback. what are sandboxes even for if you can't crash once in a while without whining too much about it...
by test7777 6y ago
do what chrome does, detect crash and fallback. what are sandboxes even for if you can't crash once in a while without whining too much about it...
- ronjouch 6y agoI doubt things are that simple. See my before-last paragraph above: no, regarding hardware video acceleration, even Chrome doesn't do what you describe. What you describe stands for non-video content crashes, which isn't what's being discussed here. Could the technique you mention be applied to video gpu crashes? I personally don't know and I'd lean towards "nope" (else Mozilla & Google engineers wouldn't be so exceedingly cautious about it). If anyone is knowledgeable enough to precise / contradict this, please chime in. At any rate, even Chrome is built with zero hardware video acceleration support on Linux (hardware acceleration yes, hardware video acceleration no). Chromium does offer the option, just as hidden behind flags as Firefox, and until last month you had to build it yourself with a VAAPI patch left unmerged for years by Chromium devs.
- stingraycharles 6y agoThat sounds nice in theory, but only works if you can (reliably) detect the cause of a crash. This is one of those things that sound much easier than it actually is.