File size: 992 Bytes
1cb0c01 | 1 2 3 4 5 6 7 8 9 10 11 | # Dropped into /etc/chromium.d/ — Debian's /usr/bin/chromium launcher sources
# every file here and appends CHROMIUM_FLAGS, so this applies to BOTH the
# harness's browser (computer-1 launches /usr/bin/chromium itself) and the
# Tutorial launchers. Why (t19 run c, 2026-09-04): the sandbox has a 64 MB
# /dev/shm and no GPU; a 720p tutorial playing in Chromium with GPU
# rasterization on llvmpipe hung the whole browser window (opus c-a1: window
# stopped repainting while switching tutorial videos; fable a1: the tutorial
# browser vanished). Software compositing + no /dev/shm + no video HW paths
# are the standard container hardening for this.
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disable-dev-shm-usage --disable-gpu --disable-gpu-compositing --disable-gpu-rasterization --disable-accelerated-video-decode --disable-features=VaapiVideoDecoder,UseChromeOSDirectVideoDecoder --renderer-process-limit=3 --disable-background-timer-throttling --no-first-run --no-default-browser-check"
|