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

Issue 1463823002: Add DriverBugWorkaroundsInGpuProcessPage to gpu_process_test.py (Closed)

Created:
5 years, 1 month ago by Julien Isorce Samsung
Modified:
4 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, 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

Add DriverBugWorkaroundsInGpuProcessPage to gpu_process_test.py This test ensure that the fake "use_gpu_driver_workaround_for_testing" is present in both Browser process (GpuDataManager) and GPU process (FeatureInfo). This new test would have catch the regression fixed by CL https://codereview.chromium.org/1415603009. BUG=554909 R=kbr@chromium.org, zmo@chromium.org, jbauman@chromium.org, ccameron@chromium.org, piman@chromium.org, dcheng@chromium.org, palmer@chromium.org TEST=./content/test/gpu/run_gpu_test.py driver_bug_workarounds_in_gpu_process CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/ff4a814529b414738c2f10ed0e57f021bc3d78a6 Cr-Commit-Position: refs/heads/master@{#385407}

Patch Set 1 #

Total comments: 1

Patch Set 2 : add a testing GpuChannelMsg_GetDriverBugWorkArounds IPC message and use it in a new browser test #

Total comments: 22

Patch Set 3 : #

Patch Set 4 : Rebase (still does not contain CL 1845563005) and add TODO in gpu_channel.cc #

Total comments: 3

Patch Set 5 : Rebase #

Patch Set 6 : Also recompute gpu driver bug workarounds for win and osx in gpu_main.cc::GpuMain #

Patch Set 7 : Rebase #

Patch Set 8 : Previous patch set fixed WIN case but OSX still fails so reworked test to print workarounds list on… #

Patch Set 9 : Syntax fix #

Patch Set 10 : Remove previous fix and print symetric diff #

Patch Set 11 : Fixed missing all secondary gpu in chrome://gpu. Also recompute workarounds if OS_WIN since needs G… #

Patch Set 12 : To fix win bot failure, call IdentifyActiveGPU when receiving GpuInfi back from the GPU process thr… #

Patch Set 13 : Rebase #

Patch Set 14 : Passes driver_date from browser process to gpu process (required for a gpu workaround on linux, id:… #

Patch Set 15 : Remove "set gpu active in GPU process" from previous patch set. #

Total comments: 2

Patch Set 16 : Remove the fixes and only keep the test that check presence of the fake workaround #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -2 lines) Patch
M content/common/gpu/gpu_channel.h View 1 2 5 6 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu/gpu_channel.cc View 1 2 3 4 5 6 2 chunks +19 lines, -0 lines 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/gpu_benchmarking_extension.cc View 1 2 3 3 chunks +18 lines, -1 line 0 comments Download
M content/test/gpu/gpu_tests/gpu_process.py View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -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 13 14 15 2 chunks +37 lines, -0 lines 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/ipc/common/gpu_messages.h View 1 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 96 (37 generated)
zmo
I am not sure I agree with the spirit of this CL, i.e., passing back ...
5 years, 1 month ago (2015-11-20 18:19:09 UTC) #2
Ken Russell (switch to Gerrit)
Thanks for this contribution. A couple of questions. https://codereview.chromium.org/1463823002/diff/1/content/test/gpu/gpu_tests/driver_bug_workarounds.py File content/test/gpu/gpu_tests/driver_bug_workarounds.py (right): https://codereview.chromium.org/1463823002/diff/1/content/test/gpu/gpu_tests/driver_bug_workarounds.py#newcode1 content/test/gpu/gpu_tests/driver_bug_workarounds.py:1: # ...
5 years, 1 month ago (2015-11-21 01:06:30 UTC) #3
Ken Russell (switch to Gerrit)
On 2015/11/20 18:19:09, zmo wrote: > I am not sure I agree with the spirit ...
5 years, 1 month ago (2015-11-21 01:08:13 UTC) #4
zmo
On 2015/11/21 01:08:13, Ken Russell wrote: > On 2015/11/20 18:19:09, zmo wrote: > > I ...
5 years, 1 month ago (2015-11-21 01:15:28 UTC) #5
Ken Russell (switch to Gerrit)
On 2015/11/21 01:15:28, zmo wrote: > On 2015/11/21 01:08:13, Ken Russell wrote: > > On ...
5 years, 1 month ago (2015-11-21 01:28:53 UTC) #6
Julien Isorce Samsung
On 2015/11/21 01:06:30, Ken Russell wrote: > https://codereview.chromium.org/1463823002/diff/1/content/test/gpu/gpu_tests/driver_bug_workarounds.py#newcode1 > content/test/gpu/gpu_tests/driver_bug_workarounds.py:1: # Copyright 2015 The > ...
5 years, 1 month ago (2015-11-21 14:27:16 UTC) #7
zmo
Reading more on the test, it's testing the workarounds passed in from the commandline switch. ...
5 years, 1 month ago (2015-11-23 18:10:57 UTC) #8
Ken Russell (switch to Gerrit)
On 2015/11/21 14:27:16, j.isorce wrote: > On 2015/11/21 01:06:30, Ken Russell wrote: > > > ...
5 years, 1 month ago (2015-11-24 02:49:45 UTC) #9
Ken Russell (switch to Gerrit)
On 2015/11/23 18:10:57, zmo wrote: > Reading more on the test, it's testing the workarounds ...
5 years, 1 month ago (2015-11-24 03:00:04 UTC) #10
Julien Isorce Samsung
On 2015/11/24 02:49:45, Ken Russell wrote: > OK, what I understand from these statements is ...
5 years ago (2015-11-24 17:16:27 UTC) #11
zmo
OK, my understanding is slightly different. The original bug introduced by https://codereview.chromium.org/1406323005/ and later fixed ...
5 years ago (2015-11-24 17:34:53 UTC) #12
zmo
Also, gpu_driver_bug_list_->MakeDecision() doesn't just compute workarounds, but also disabled_extensions (see the following line in content/browser/gpu/gpu_data_manager_impl_private.cc). ...
5 years ago (2015-11-24 17:38:35 UTC) #13
Ken Russell (switch to Gerrit)
On 2015/11/24 17:34:53, zmo wrote: > OK, my understanding is slightly different. > > The ...
5 years ago (2015-11-24 18:33:27 UTC) #14
Ken Russell (switch to Gerrit)
j.isorce: zmo and I discussed this at length and the findings are summarized in https://code.google.com/p/chromium/issues/detail?id=554909#c7 ...
5 years ago (2015-11-24 23:11:14 UTC) #15
Julien Isorce Samsung
On 2015/11/24 23:11:14, Ken Russell wrote: > j.isorce: zmo and I discussed this at length ...
5 years ago (2015-11-24 23:58:01 UTC) #16
Julien Isorce Samsung
On 2015/11/24 23:58:01, j.isorce wrote: > On 2015/11/24 23:11:14, Ken Russell wrote: > > j.isorce: ...
4 years, 8 months ago (2016-03-30 14:09:37 UTC) #19
Ken Russell (switch to Gerrit)
Thanks for pushing this forward. Several small naming convention comments, plus a couple of larger ...
4 years, 8 months ago (2016-03-30 22:17:42 UTC) #26
dcheng
https://codereview.chromium.org/1463823002/diff/20001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/1463823002/diff/20001/content/common/gpu/gpu_channel.cc#newcode991 content/common/gpu/gpu_channel.cc:991: *gpu_driver_bug_workarounds = workaround_names; std::move() if you're feeling fancy. Alternatively, ...
4 years, 8 months ago (2016-03-30 23:45:25 UTC) #27
piman
https://codereview.chromium.org/1463823002/diff/20001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/1463823002/diff/20001/content/common/gpu/gpu_channel.cc#newcode984 content/common/gpu/gpu_channel.cc:984: if (stub) { This sounds potentially flaky - the ...
4 years, 8 months ago (2016-03-31 01:44:21 UTC) #28
Julien Isorce Samsung
Thx all of you for your great remarks, I'll upload a new Patch Set soon ...
4 years, 8 months ago (2016-03-31 15:20:10 UTC) #29
Julien Isorce Samsung
I addressed all remarks in the "Patch Set 3" I just uploaded. See my replies ...
4 years, 8 months ago (2016-03-31 16:39:40 UTC) #31
piman
On 2016/03/31 16:39:40, j.isorce wrote: > I addressed all remarks in the "Patch Set 3" ...
4 years, 8 months ago (2016-03-31 20:19:12 UTC) #32
Julien Isorce Samsung
On 2016/03/31 20:19:12, piman wrote: > Can you add a TODO to follow up with ...
4 years, 8 months ago (2016-04-01 17:13:19 UTC) #33
Julien Isorce Samsung
> On 2016/03/31 20:19:12, piman wrote: > > FYI, https://codereview.chromium.org/1845563005/ is about to land which ...
4 years, 8 months ago (2016-04-01 17:21:43 UTC) #34
piman
lgtm
4 years, 8 months ago (2016-04-01 19:13:10 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/60001
4 years, 8 months ago (2016-04-01 19:13:38 UTC) #37
palmer
https://codereview.chromium.org/1463823002/diff/60001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/1463823002/diff/60001/content/common/gpu/gpu_channel.cc#newcode763 content/common/gpu/gpu_channel.cc:763: IPC_MESSAGE_HANDLER(GpuChannelMsg_GetDriverBugWorkArounds, Do we need this in all builds, including ...
4 years, 8 months ago (2016-04-01 19:19:54 UTC) #38
Julien Isorce Samsung
On 2016/04/01 19:19:54, palmer wrote: > https://codereview.chromium.org/1463823002/diff/60001/content/common/gpu/gpu_channel.cc#newcode763 > content/common/gpu/gpu_channel.cc:763: > IPC_MESSAGE_HANDLER(GpuChannelMsg_GetDriverBugWorkArounds, > Do we need ...
4 years, 8 months ago (2016-04-01 20:20:57 UTC) #39
piman
https://codereview.chromium.org/1463823002/diff/60001/content/common/gpu/gpu_channel.cc File content/common/gpu/gpu_channel.cc (right): https://codereview.chromium.org/1463823002/diff/60001/content/common/gpu/gpu_channel.cc#newcode763 content/common/gpu/gpu_channel.cc:763: IPC_MESSAGE_HANDLER(GpuChannelMsg_GetDriverBugWorkArounds, On 2016/04/01 19:19:54, palmer wrote: > Do we ...
4 years, 8 months ago (2016-04-01 20:26:23 UTC) #40
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_optional_gpu_tests_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_optional_gpu_tests_rel/builds/384)
4 years, 8 months ago (2016-04-01 21:17:49 UTC) #42
palmer
> It needs to be in the binary for any configuration we test, but it ...
4 years, 8 months ago (2016-04-01 22:17:32 UTC) #43
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/100001
4 years, 8 months ago (2016-04-02 23:17:15 UTC) #45
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/153389) ios_rel_device_gn on ...
4 years, 8 months ago (2016-04-02 23:19:06 UTC) #47
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/120001
4 years, 8 months ago (2016-04-02 23:22:35 UTC) #49
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/204536)
4 years, 8 months ago (2016-04-03 00:25:03 UTC) #51
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/140001
4 years, 8 months ago (2016-04-03 09:39:14 UTC) #53
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/204571)
4 years, 8 months ago (2016-04-03 10:46:24 UTC) #55
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/160001
4 years, 8 months ago (2016-04-03 13:39:37 UTC) #57
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/204575)
4 years, 8 months ago (2016-04-03 14:47:22 UTC) #59
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/180001
4 years, 8 months ago (2016-04-03 18:32:04 UTC) #61
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/204606)
4 years, 8 months ago (2016-04-03 19:44:49 UTC) #63
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/200001
4 years, 8 months ago (2016-04-04 01:22:11 UTC) #65
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/198631)
4 years, 8 months ago (2016-04-04 04:12:59 UTC) #67
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/220001
4 years, 8 months ago (2016-04-04 08:22:16 UTC) #69
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/198729)
4 years, 8 months ago (2016-04-04 09:54:45 UTC) #71
Julien Isorce Samsung
On 2016/04/04 09:54:45, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
4 years, 8 months ago (2016-04-04 11:21:23 UTC) #72
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/260001
4 years, 8 months ago (2016-04-04 14:09:18 UTC) #74
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/204842)
4 years, 8 months ago (2016-04-04 15:02:45 UTC) #76
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/280001
4 years, 8 months ago (2016-04-04 15:29:33 UTC) #78
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-04 17:04:22 UTC) #80
Julien Isorce Samsung
On 2016/04/04 17:04:22, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 8 months ago (2016-04-04 19:57:09 UTC) #81
Ken Russell (switch to Gerrit)
The most recent changes to this CL are concerning, and I don't think they're going ...
4 years, 8 months ago (2016-04-05 03:31:24 UTC) #82
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/300001
4 years, 8 months ago (2016-04-05 05:02:22 UTC) #84
Julien Isorce Samsung
On 2016/04/05 03:31:24, Ken Russell wrote: > The most recent changes to this CL are ...
4 years, 8 months ago (2016-04-05 05:12:57 UTC) #86
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-05 06:17:23 UTC) #88
Ken Russell (switch to Gerrit)
Thanks, the latest patch set LGTM.
4 years, 8 months ago (2016-04-06 00:09:48 UTC) #89
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463823002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463823002/300001
4 years, 8 months ago (2016-04-06 07:37:47 UTC) #92
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 8 months ago (2016-04-06 08:56:54 UTC) #94
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 08:58:53 UTC) #96
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/ff4a814529b414738c2f10ed0e57f021bc3d78a6
Cr-Commit-Position: refs/heads/master@{#385407}

Powered by Google App Engine
This is Rietveld 408576698