Created
November 16, 2017 14:06
-
-
Save alepez/5e8403fd63a971bac43aa3cff4bd8dee to your computer and use it in GitHub Desktop.
Chromium Hardware Acceleration i.MX6 Vivante
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "${1}" == "forever" ]; then | |
while sleep 1; do "${0}"; done | |
exit 0 | |
fi | |
export DISPLAY=:0 | |
# url="http://jsfiddle.net/gionaf/Ugc5g/embedded/result/" | |
url="https://pezzato.net" | |
# url="https://jayweeks.com/medusae/" | |
# url="https://codepen.io/eltonkamami/embed/ECrKd?height=265&theme-id=0&default-tab=result&embed-version=2" | |
# --enable-native-gpu-memory-buffers \ | |
# --enable-zero-copy \ | |
# --gpu-rasterization-msaa-sample-count=0 \ | |
# --canvas-msaa-sample-count \ | |
# --disable-gpu-vsync \ | |
# --disable-gpu-sandbox \ | |
# --enable-hardware-overlays \ | |
# --num-raster-threads=1 \ | |
# --disable-2d-canvas-clip-aa \ | |
# --disable-2d-canvas-image-chromium \ | |
# --start-fullscreen \ | |
rm -rf /home/root/.chromium | |
/usr/bin/chromium/chrome \ | |
--enable-gpu \ | |
--use-gl=egl \ | |
--gpu-no-context-lost \ | |
--user-data-dir=/home/root/.chromium/ \ | |
--disable-setuid-sandbox \ | |
--disable-infobars \ | |
--disable-session-crashed-bubble \ | |
--ignore-certificate-errors \ | |
--ignore-gpu-blacklist \ | |
--window-size=640,480 --kiosk --window-position=0,0 \ | |
--no-first-run \ | |
--disable-java --disable-plugins \ | |
"${url}" \ | |
2>&1 >/var/log/kiosk.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What linux packages are required for this?