Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Issue 2195743005: Fix ineffective --disable-gpu-driver-bug-workarounds (Closed)

Created:
4 years, 4 months ago by Julien Isorce Samsung
Modified:
4 years, 4 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ineffective --disable-gpu-driver-bug-workarounds It was hidden to the user since chrome://gpu was not showing any workarounds, but they were still applied in the gpu process. Also add a gpu test that sets --disable-gpu-driver-bug-workarounds --use_gpu_driver_workaround_for_testing and verifies that the only active workaround is USE_TESTING_GPU_DRIVER_WORKAROUND in both browser and gpu processes. BUG=359367 R=kbr@chromium.org, zmo@chromium.org TEST=./content/test/gpu/run_gpu_test.py gpu_process --show-stdout --browser=exact --extra-browser-args="--no-sandbox" --browser-executable=./out/build/chrome 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 Committed: https://crrev.com/d18006d595e7b6bf070f9ab9777d353ac8457755 Committed: https://crrev.com/7eee382917c50ad10a487ef1c1402adc8c84e9fd Committed: https://crrev.com/87c144ab365dacd92f2bb7720628e3397a44c2d6 Committed: https://crrev.com/31f3d211396da3c7ca23684b6582554f0f6738b0 Cr-Original-Original-Original-Commit-Position: refs/heads/master@{#409197} Cr-Original-Original-Commit-Position: refs/heads/master@{#412685} Cr-Original-Commit-Position: refs/heads/master@{#412989} Cr-Commit-Position: refs/heads/master@{#413411}

Patch Set 1 #

Patch Set 2 : Rebase and use the testing workaround instead #

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : Rebase and fixed 'Patch Set 2' #

Patch Set 5 : Badly included an unrelated change in previous Patch Set #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase and modify the test to record, restart and compare #

Total comments: 4

Patch Set 8 : Rebase and beautiffy the new test #

Patch Set 9 : Also allow the new test to catch the bug in gpu_process_host.cc #

Total comments: 3

Patch Set 10 : Fix left over of some local testing #

Patch Set 11 : Rebase #

Patch Set 12 : Set a device id to make sure to not hit a black list entry #

Patch Set 13 : record and re-apply disabled gl extensions to avoid known gpu driver crashes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -40 lines) Patch
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +18 lines, -15 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/test/gpu/page_sets/gpu_process_tests.py View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +153 lines, -25 lines 0 comments Download

Messages

Total messages: 101 (68 generated)
Julien Isorce Samsung
On 2016/08/01 15:41:37, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 4 months ago (2016-08-01 15:45:53 UTC) #15
Ken Russell (switch to Gerrit)
LGTM https://codereview.chromium.org/2195743005/diff/40001/content/test/gpu/page_sets/gpu_process_tests.py File content/test/gpu/page_sets/gpu_process_tests.py (right): https://codereview.chromium.org/2195743005/diff/40001/content/test/gpu/page_sets/gpu_process_tests.py#newcode599 content/test/gpu/page_sets/gpu_process_tests.py:599: 'to only force_discrete_gpu workaround: %s != %s' % ...
4 years, 4 months ago (2016-08-01 21:53:50 UTC) #16
Julien Isorce Samsung
Thx for the review. https://codereview.chromium.org/2195743005/diff/40001/content/test/gpu/page_sets/gpu_process_tests.py File content/test/gpu/page_sets/gpu_process_tests.py (right): https://codereview.chromium.org/2195743005/diff/40001/content/test/gpu/page_sets/gpu_process_tests.py#newcode599 content/test/gpu/page_sets/gpu_process_tests.py:599: 'to only force_discrete_gpu workaround: %s ...
4 years, 4 months ago (2016-08-02 13:12:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2195743005/100001
4 years, 4 months ago (2016-08-02 15:30:58 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-02 15:36:06 UTC) #30
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/d18006d595e7b6bf070f9ab9777d353ac8457755 Cr-Commit-Position: refs/heads/master@{#409197}
4 years, 4 months ago (2016-08-02 15:38:13 UTC) #32
Ken Russell (switch to Gerrit)
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/2203713003/ by kbr@chromium.org. ...
4 years, 4 months ago (2016-08-02 19:55:26 UTC) #33
Julien Isorce Samsung
I Ken, in Patch Set 7 I did what you suggest in comment #8 here ...
4 years, 4 months ago (2016-08-09 15:24:35 UTC) #37
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2195743005/diff/120001/content/test/gpu/page_sets/gpu_process_tests.py File content/test/gpu/page_sets/gpu_process_tests.py (right): https://codereview.chromium.org/2195743005/diff/120001/content/test/gpu/page_sets/gpu_process_tests.py#newcode605 content/test/gpu/page_sets/gpu_process_tests.py:605: def Validate(self, tab, results): Does this test pass the ...
4 years, 4 months ago (2016-08-09 21:30:32 UTC) #40
Julien Isorce Samsung
https://codereview.chromium.org/2195743005/diff/120001/content/test/gpu/page_sets/gpu_process_tests.py File content/test/gpu/page_sets/gpu_process_tests.py (right): https://codereview.chromium.org/2195743005/diff/120001/content/test/gpu/page_sets/gpu_process_tests.py#newcode605 content/test/gpu/page_sets/gpu_process_tests.py:605: def Validate(self, tab, results): On 2016/08/09 21:30:32, Ken Russell ...
4 years, 4 months ago (2016-08-15 23:29:44 UTC) #41
Julien Isorce Samsung
On 2016/08/09 15:24:35, Julien Isorce wrote: > Problem is that the test passes with and ...
4 years, 4 months ago (2016-08-15 23:35:54 UTC) #42
Ken Russell (switch to Gerrit)
LGTM The new test looks fine though a little complicated. Please continue to think about ...
4 years, 4 months ago (2016-08-16 01:42:50 UTC) #47
Julien Isorce Samsung
On 2016/08/15 23:35:54, Julien Isorce wrote: > On 2016/08/09 15:24:35, Julien Isorce wrote: > > ...
4 years, 4 months ago (2016-08-16 23:32:27 UTC) #48
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2195743005/diff/160001/content/test/gpu/page_sets/gpu_process_tests.py File content/test/gpu/page_sets/gpu_process_tests.py (right): https://codereview.chromium.org/2195743005/diff/160001/content/test/gpu/page_sets/gpu_process_tests.py#newcode595 content/test/gpu/page_sets/gpu_process_tests.py:595: options.AppendExtraBrowserArgs('--gpu-testing-vendor-id=0x10dee') This looks like a typo, and that it ...
4 years, 4 months ago (2016-08-17 06:52:23 UTC) #53
Julien Isorce Samsung
https://codereview.chromium.org/2195743005/diff/160001/content/test/gpu/page_sets/gpu_process_tests.py File content/test/gpu/page_sets/gpu_process_tests.py (right): https://codereview.chromium.org/2195743005/diff/160001/content/test/gpu/page_sets/gpu_process_tests.py#newcode595 content/test/gpu/page_sets/gpu_process_tests.py:595: options.AppendExtraBrowserArgs('--gpu-testing-vendor-id=0x10dee') On 2016/08/17 06:52:22, Ken Russell wrote: > This ...
4 years, 4 months ago (2016-08-17 07:49:13 UTC) #54
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2195743005/diff/160001/content/test/gpu/page_sets/gpu_process_tests.py File content/test/gpu/page_sets/gpu_process_tests.py (right): https://codereview.chromium.org/2195743005/diff/160001/content/test/gpu/page_sets/gpu_process_tests.py#newcode595 content/test/gpu/page_sets/gpu_process_tests.py:595: options.AppendExtraBrowserArgs('--gpu-testing-vendor-id=0x10dee') On 2016/08/17 07:49:13, Julien Isorce wrote: > On ...
4 years, 4 months ago (2016-08-17 18:48:42 UTC) #59
Ken Russell (switch to Gerrit)
To be clear, LGTM again -- let's please get this in.
4 years, 4 months ago (2016-08-17 18:49:25 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2195743005/200001
4 years, 4 months ago (2016-08-17 23:12:03 UTC) #67
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 4 months ago (2016-08-17 23:17:41 UTC) #69
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/7eee382917c50ad10a487ef1c1402adc8c84e9fd Cr-Commit-Position: refs/heads/master@{#412685}
4 years, 4 months ago (2016-08-17 23:19:54 UTC) #71
Julien Isorce Samsung
A revert of this CL (patchset #11 id:200001) has been created in https://codereview.chromium.org/2253413002/ by j.isorce@samsung.com. ...
4 years, 4 months ago (2016-08-18 06:59:32 UTC) #72
Julien Isorce Samsung
On 2016/08/18 06:59:32, Julien Isorce wrote: > The reason for reverting is: Cause failures on ...
4 years, 4 months ago (2016-08-18 15:20:22 UTC) #74
Julien Isorce Samsung
On 2016/08/18 15:20:22, Julien Isorce wrote: > On 2016/08/18 06:59:32, Julien Isorce wrote: > > ...
4 years, 4 months ago (2016-08-18 21:40:27 UTC) #75
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2195743005/220001
4 years, 4 months ago (2016-08-18 21:41:43 UTC) #78
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 4 months ago (2016-08-19 00:30:33 UTC) #80
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/87c144ab365dacd92f2bb7720628e3397a44c2d6 Cr-Commit-Position: refs/heads/master@{#412989}
4 years, 4 months ago (2016-08-19 00:36:29 UTC) #82
Julien Isorce Samsung
A revert of this CL (patchset #12 id:220001) has been created in https://codereview.chromium.org/2257373002/ by j.isorce@samsung.com. ...
4 years, 4 months ago (2016-08-19 05:35:19 UTC) #83
Julien Isorce Samsung
On 2016/08/19 05:35:19, Julien Isorce wrote: > A revert of this CL (patchset #12 id:220001) ...
4 years, 4 months ago (2016-08-19 14:31:14 UTC) #89
Zhenyao Mo
On 2016/08/19 14:31:14, Julien Isorce wrote: > On 2016/08/19 05:35:19, Julien Isorce wrote: > > ...
4 years, 4 months ago (2016-08-19 21:10:11 UTC) #90
Ken Russell (switch to Gerrit)
Good catch on the handling of the disabled extensions. Still LGTM
4 years, 4 months ago (2016-08-20 04:09:53 UTC) #95
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2195743005/240001
4 years, 4 months ago (2016-08-22 05:34:13 UTC) #97
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 4 months ago (2016-08-22 06:43:45 UTC) #99
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 06:45:10 UTC) #101
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/31f3d211396da3c7ca23684b6582554f0f6738b0
Cr-Commit-Position: refs/heads/master@{#413411}

Powered by Google App Engine
This is Rietveld 408576698