|
|
Chromium Code Reviews|
Created:
3 years, 11 months ago by Kai Ninomiya Modified:
3 years, 9 months ago CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org, sunnyps Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionCopy GPU workaround flags from browser to GPU process
BUG=682912
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
Review-Url: https://codereview.chromium.org/2644733005
Cr-Original-Commit-Position: refs/heads/master@{#447356}
Committed: https://chromium.googlesource.com/chromium/src/+/ded062d6c02a0cbfa89c90dae364c48f9118a328
Review-Url: https://codereview.chromium.org/2644733005
Cr-Commit-Position: refs/heads/master@{#453170}
Committed: https://chromium.googlesource.com/chromium/src/+/c48d029d278e71c7837e118a4d6f72951dd2dd05
Patch Set 1 #Patch Set 2 : Add tests #Patch Set 3 : rebase #Patch Set 4 : Fix C2026 (string too big) on Windows #Patch Set 5 : fix test on dual gpu systems, format, rebase #Patch Set 6 : fix merge error #Patch Set 7 : fix merge error 2 #
Messages
Total messages: 48 (33 generated)
Description was changed from ========== Copy GPU workaround flags from browser to GPU process BUG=682912 ========== to ========== Copy GPU workaround flags from browser to GPU process BUG=682912 CQ_INCLUDE_TRYBOTS=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 ==========
kainino@chromium.org changed reviewers: + kbr@chromium.org
PTAL
kainino@chromium.org changed reviewers: + zmo@chromium.org
zmo or kbr, PTAL
The CQ bit was checked by kainino@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
TODO to self: write test
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Thanks for putting this together Kai. It looks good in principle, but a test is strongly needed. The way to do this is to extend src/content/test/gpu/gpu_tests/gpu_process_integration_test.py . I think a test should look like this: 1) Define a new entry in src/gpu/config/gpu_driver_bug_list_json.cc with a fake GPU vendor and device ID that activates the fake use_gpu_driver_workaround_for_testing workaround. 2) Create a new test called something like GpuProcess_disabling_workarounds_works. It should: 2a) use the --gpu-testing-vendor-id and --gpu-testing-device-id flags to activate your new workaround 2b) Pass --use_gpu_driver_workaround_for_testing=0 on the browser's command line 3) Like _CompareAndCaptureDriverBugWorkarounds, the test should ensure that the workarounds known by the browser and GPU processes are the same. 4) It should then assert that the fake workaround isn't present in either the browser or GPU process. It should be possible to write this test, comment out your fix, and watch it fail; then put your fix in and watch it pass. I'd like to hold back a thumbs-up on this CL until the test is written.
The CQ bit was checked by kainino@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
The CQ bit was checked by kainino@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
kbr or zmo: PTAL at the test I added. I verified it failed before and passes now.
Excellent work. LGTM
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
oh no: e:\b\c\b\win\src\gpu\config\gpu_driver_bug_list_json.cc(2352): error C2026: string too big, trailing characters truncated
On 2017/01/31 02:50:59, Kai Ninomiya wrote: > oh no: > > e:\b\c\b\win\src\gpu\config\gpu_driver_bug_list_json.cc(2352): error C2026: > string too big, trailing characters truncated Maybe you can split it into two back-to-back LONG_STRING_CONST macro invocations and the compiler will concatenate them?
The CQ bit was checked by kainino@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from kbr@chromium.org Link to the patchset: https://codereview.chromium.org/2644733005/#ps20002 (title: "Fix C2026 (string too big) on Windows")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 20002, "attempt_start_ts": 1485891849047350,
"parent_rev": "5f42ef10335277c152f30782723af6ee893d3f55", "commit_rev":
"ded062d6c02a0cbfa89c90dae364c48f9118a328"}
Message was sent while issue was closed.
Description was changed from ========== Copy GPU workaround flags from browser to GPU process BUG=682912 CQ_INCLUDE_TRYBOTS=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 ========== to ========== Copy GPU workaround flags from browser to GPU process BUG=682912 CQ_INCLUDE_TRYBOTS=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 Review-Url: https://codereview.chromium.org/2644733005 Cr-Commit-Position: refs/heads/master@{#447356} Committed: https://chromium.googlesource.com/chromium/src/+/ded062d6c02a0cbfa89c90dae364... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:20002) as https://chromium.googlesource.com/chromium/src/+/ded062d6c02a0cbfa89c90dae364...
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:20002) has been created in https://codereview.chromium.org/2666353002/ by cwallez@chromium.org. The reason for reverting is: There is a gpu_unittests failure on OSX: AssertionError: Browser and GPU process list of driver bugworkarounds are not equal Starting from https://build.chromium.org/p/chromium.gpu.fyi/builders/Mac%20Retina%20Release... This CL seems like the culprit, reverting..
Message was sent while issue was closed.
Description was changed from ========== Copy GPU workaround flags from browser to GPU process BUG=682912 CQ_INCLUDE_TRYBOTS=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 Review-Url: https://codereview.chromium.org/2644733005 Cr-Commit-Position: refs/heads/master@{#447356} Committed: https://chromium.googlesource.com/chromium/src/+/ded062d6c02a0cbfa89c90dae364... ========== to ========== Copy GPU workaround flags from browser to GPU process BUG=682912 CQ_INCLUDE_TRYBOTS=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 Review-Url: https://codereview.chromium.org/2644733005 Cr-Commit-Position: refs/heads/master@{#447356} Committed: https://chromium.googlesource.com/chromium/src/+/ded062d6c02a0cbfa89c90dae364... ==========
Description was changed from ========== Copy GPU workaround flags from browser to GPU process BUG=682912 CQ_INCLUDE_TRYBOTS=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 Review-Url: https://codereview.chromium.org/2644733005 Cr-Commit-Position: refs/heads/master@{#447356} Committed: https://chromium.googlesource.com/chromium/src/+/ded062d6c02a0cbfa89c90dae364... ========== to ========== Copy GPU workaround flags from browser to GPU process BUG=682912 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 Review-Url: https://codereview.chromium.org/2644733005 Cr-Commit-Position: refs/heads/master@{#447356} Committed: https://chromium.googlesource.com/chromium/src/+/ded062d6c02a0cbfa89c90dae364... ==========
The CQ bit was checked by kainino@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by kainino@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Kai: your latest patch set passes all tests on my MBP Retina with dual Intel and NVIDIA GPUs.
The CQ bit was checked by kainino@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from kbr@chromium.org Link to the patchset: https://codereview.chromium.org/2644733005/#ps110001 (title: "fix merge error 2")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2017/02/27 06:33:09, Ken Russell wrote: > Kai: your latest patch set passes all tests on my MBP Retina with dual Intel and > NVIDIA GPUs. Thanks, submitting the patch.
CQ is committing da patch.
Bot data: {"patchset_id": 110001, "attempt_start_ts": 1488178893647510,
"parent_rev": "46b362641fc483d7d5fd0714d96db6dd39de39f6", "commit_rev":
"c48d029d278e71c7837e118a4d6f72951dd2dd05"}
Message was sent while issue was closed.
Description was changed from ========== Copy GPU workaround flags from browser to GPU process BUG=682912 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 Review-Url: https://codereview.chromium.org/2644733005 Cr-Commit-Position: refs/heads/master@{#447356} Committed: https://chromium.googlesource.com/chromium/src/+/ded062d6c02a0cbfa89c90dae364... ========== to ========== Copy GPU workaround flags from browser to GPU process BUG=682912 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 Review-Url: https://codereview.chromium.org/2644733005 Cr-Original-Commit-Position: refs/heads/master@{#447356} Committed: https://chromium.googlesource.com/chromium/src/+/ded062d6c02a0cbfa89c90dae364... Review-Url: https://codereview.chromium.org/2644733005 Cr-Commit-Position: refs/heads/master@{#453170} Committed: https://chromium.googlesource.com/chromium/src/+/c48d029d278e71c7837e118a4d6f... ==========
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as https://chromium.googlesource.com/chromium/src/+/c48d029d278e71c7837e118a4d6f... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
