KASM-1835 Patch for GPU bugs introduced in Chrome 92 - impacting webgl

Chrome 92 introduces changes that cause initialization to fail with "GPU
process exited unexpectedly: exit_code=132" even though the GPU was
already disabled via flags. This would ultimately lead to WebGL not
being avaiable
This commit is contained in:
Justin 2021-07-27 15:10:05 -04:00
parent 344ef797ff
commit 670b7cc8c6
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -ex
CHROME_ARGS="--password-store=basic --no-sandbox --disable-gpu --user-data-dir --no-first-run"
CHROME_ARGS="--password-store=basic --no-sandbox --use-gl=angle --use-angle=swiftshader --user-data-dir --no-first-run"
apt-get update
apt install -y apt-transport-https curl

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -ex
CHROME_ARGS="--password-store=basic --no-sandbox --disable-gpu --user-data-dir --no-first-run"
CHROME_ARGS="--password-store=basic --no-sandbox --use-gl=angle --use-angle=swiftshader --user-data-dir --no-first-run"
if [ "$DISTRO" = centos ]; then
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -ex
CHROME_ARGS="--password-store=basic --no-sandbox --disable-gpu --user-data-dir --no-first-run"
CHROME_ARGS="--password-store=basic --no-sandbox --use-gl=angle --use-angle=swiftshader --user-data-dir --no-first-run"
apt-get update