From 37ca4ea2ba6ddd6261ae0f5fe4df4117b171cd0f Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Thu, 24 Mar 2016 00:13:04 +0100 Subject: [PATCH] notes regarding the vsync and h264, vp8, vp9 --- README.md | 25 +++++++++++++++++++++++++ docker-compose.yml | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d8fad7a..74bd08a 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,28 @@ Launching the Google Chrome ``` docker-compose up -d ``` + +Good & stable vsync +``` +chrome://flags/ +Enable "Override software rendering list" +``` +Note that /dev/shm should be mounted from host to the docker container. + + +Check +``` +chrome://gpu/ +``` + +You may want to disable Google's VP8 & VP9 video codecs: "MSE & WebM VP9" and "WebM VP8" +as there is no hardware decoding for them. +To do this, install h264ify extension from +``` +https://chrome.google.com/webstore/detail/h264ify/aleakchihdccplidncghkekgioiakgal?hl=en-US +``` + +Check the codecs +``` +https://www.youtube.com/html5 +``` diff --git a/docker-compose.yml b/docker-compose.yml index 7a44507..a626fba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,8 +9,8 @@ services: - pulseaudio devices: - /dev/dri - # - /dev/shm volumes: + - /dev/shm:/dev/shm - /tmp/.X11-unix:/tmp/.X11-unix - /tmp/krb5cc_1000:/tmp/krb5cc_1000:ro - /var/run/cups:/var/run/cups:ro