--disable-gpu-vsync command line regression
Reported by
sebastie...@gmail.com,
Nov 21 2017
|
||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce the problem: 1. Launch chrome 62 on windows 10 with --disable-gpu-vsync command line 2. open https://threejs.org/examples/#webgl_geometry_colors 3. observe the FPS What is the expected behavior? The FPS should not be limited by vsync (60 FPS) What went wrong? The FPS is limited by vsync (60 FPS) Did this work before? Yes chrome 61 Chrome version: 62.0.3202.94 Channel: stable OS Version: 10.0 Flash Version: Same behaviour is observed on Windows 7 64 bits in Google Canary (64.0.3268.0)
,
Nov 21 2017
Sunny, Brian: what guarantees do we provide about --disable-gpu-vsync working?
,
Nov 21 2017
We try to keep it working since it's useful for quick and dirty performance testing, but not with a high priority. There's a related issue 480361 . Is vsync only disabled after resizing the window like in issue 480361 ?
,
Nov 22 2017
,
Nov 23 2017
Able to reproduce the issue on reported version 62.0.3202.94 and latest build 64.0.3275.0 using Windows 10, Ubuntu 14.04 and Mac 10.12.6. As the issue is seen from M-50 (50.0.2641.0) considering it as Non-Regression and marking it as Untriaged. Please find the attached reference documents
,
Nov 23 2017
Adding screenshot from 62.0.3202.94, 64.0.3275.0 and 50.0.2641.0
,
Nov 24 2017
,
Nov 24 2017
,
Mar 7 2018
This did indeed break when we started using Direct Composition. Fix is under way.
,
Mar 8 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/8680afd3a5b1cb26b0c7a43ab8cf739a59be812c commit 8680afd3a5b1cb26b0c7a43ab8cf739a59be812c Author: Sunny Sachanandani <sunnyps@chromium.org> Date: Thu Mar 08 02:06:19 2018 gpu: Make --disable-gpu-vsync work with direct composition This broke because the direct composition path doesn't use swap interval set by eglSwapInterval in ANGLE. Since we only care about disabling via command line, it's ok to just handle that instead of SetSwapInterval. This will still not work when we use a direct composition surface instead of swap chain but that only happens when we use overlays. There may be no way to make this case work since the swap chain is not controlled by Chrome. Tested with vsynctester.com on my home desktop. R=kbr,piman BUG= 480361 , 787485 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: Ife5804b4e9bcede41bb29cd01e54e81f0d278b62 Reviewed-on: https://chromium-review.googlesource.com/954020 Reviewed-by: Kenneth Russell <kbr@chromium.org> Reviewed-by: Antoine Labour <piman@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/master@{#541687} [modify] https://crrev.com/8680afd3a5b1cb26b0c7a43ab8cf739a59be812c/gpu/ipc/service/direct_composition_child_surface_win.cc [modify] https://crrev.com/8680afd3a5b1cb26b0c7a43ab8cf739a59be812c/gpu/ipc/service/direct_composition_child_surface_win.h
,
Mar 9 2018
Unable to reproduce this issue on reported version 62.0.3202.94, on build 62.0.3202.94 , on latest stable 65.0.3325.146 , on build without fix 66.0.3364.0 using steps given in comment#0. i.e; FPS is seen ranging from 30-50 on both build with fix and without fix. Attaching screenshots for reference. Hence it will not be possible to verify the fix on build with fix i.e; 66.0.3366.0. @Reporter: Please help in verifying the issue on latest canary from your side. You can download latest canary from https://www.chromium.org/getting-involved/dev-channel. Thanks!
,
Jul 3
sorry for the late answer, the command line switch is ok since a previous chrome updates. You can close.
,
Jul 3
FWIW there are two flags now: --disable-gpu-vsync disables vsync for Present or SwapBuffers (and enables tearing), and --disable-frame-rate-limit makes the compositor (display and renderer) go as fast as possible. |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by sebastie...@gmail.com
, Nov 21 2017104 KB
104 KB View Download