wam: disable VSync 03/27303/1
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 24 Mar 2022 12:19:37 +0000 (13:19 +0100)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 24 Mar 2022 17:22:11 +0000 (19:22 +0200)
Enabling VSync callback support in Chromium, that sets EGL swap
interval to one, seems to be problematic as we get hangs in several
scenarios calling eglSwapBuffers and waiting forever for swap
feedback.

This happens, at least, on initial boot on Rasberry PI 4 and on H3. It
also happens after launching HVAC from launcher.

Bug-AGL: SPEC-4289, SPEC-4290
Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I5fcaba9b8f5a1a7a362efd48d8df339168691c5e

recipes-wam/wam/files/WebAppMgr.service

index 0285347..a2e58ab 100644 (file)
@@ -21,7 +21,7 @@ Type=simple
 UMask=0077
 OOMScoreAdjust=-1000
 EnvironmentFile=-/etc/default/WebAppMgr.env
-ExecStart=/usr/bin/WebAppMgr --use-gl=egl --enable-features=UseOzonePlatform --ozone-platform=wayland --no-sandbox --use-viz-fmp-with-timeout=0 --in-process-gpu --remote-debugging-port=9998 --user-data-dir="/home/%u/wamdata" --webos-wam --agl-shell-appid=homescreen
+ExecStart=/usr/bin/WebAppMgr --use-gl=egl --enable-features=UseOzonePlatform --ozone-platform=wayland --no-sandbox --use-viz-fmp-with-timeout=0 --in-process-gpu --remote-debugging-port=9998 --user-data-dir="/home/%u/wamdata" --webos-wam --agl-shell-appid=homescreen --disable-gpu-vsync
 Restart=on-failure
 RestartSec=50