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

Issue 26906004: Revert 227977 "Enable GPU control lists in tests." (Closed)

Created:
7 years, 2 months ago by Albert Bodenhamer
Modified:
7 years, 2 months ago
CC:
chromium-reviews, Vangelis Kokkevis, cpu_(ooo_6.6-7.5), Elliot Glaysher, alokp, ernstm, zmo
Visibility:
Public.

Description

Revert 227977 "Enable GPU control lists in tests." Broke GpuFeatureTest.Canvas2DAllowed on Vista. GpuFeatureTest.Canvas2DAllowed: [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list match for rule #64 in gpu_blacklist. [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list match for rule #65 in gpu_blacklist. [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list match for rule #3 in gpu_driver_bug_list. [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list match for rule #4 in gpu_driver_bug_list. [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list match for rule #17 in gpu_driver_bug_list. [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list match for rule #26 in gpu_driver_bug_list. [1636:5464:1010/153734:2795640:ERROR:chrome_views_delegate.cc(158)] NOT IMPLEMENTED [1636:5464:1010/153734:2795640:ERROR:desktop_root_window_host_win.cc(690)] NOT IMPLEMENTED test\gpu\gpu_feature_browsertest.cc(141): error: Expected: (event_count) > (0U), actual: 0 vs 0 > Enable GPU control lists in tests. > > Reland of https://codereview.chromium.org/23534006/ (see that and the bug for more details). > > Also adding INFO-level logging to spell out each control list rule being applied on the bots (makes debugging and understanding failures much easier). > > R=piman@chromium.org > TBR=jcivelli, piman, zmo > BUG=295799, 304833 > > Previously Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224810 > Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=224845 > > Review URL: https://codereview.chromium.org/23703017 TBR=gab@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228014

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -128 lines) Patch
M trunk/src/chrome/browser/gpu/chrome_gpu_util.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M trunk/src/chrome/test/base/test_launcher_utils.cc View 1 chunk +1 line, -3 lines 0 comments Download
M trunk/src/chrome/test/gpu/gpu_feature_browsertest.cc View 2 chunks +4 lines, -11 lines 0 comments Download
M trunk/src/content/browser/gpu/gpu_data_manager_impl_private.h View 1 chunk +0 lines, -3 lines 0 comments Download
M trunk/src/content/browser/gpu/gpu_data_manager_impl_private.cc View 6 chunks +5 lines, -36 lines 0 comments Download
M trunk/src/content/public/common/content_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M trunk/src/content/public/common/content_switches.cc View 2 chunks +1 line, -5 lines 0 comments Download
M trunk/src/content/public/test/browser_test_base.cc View 1 chunk +1 line, -3 lines 0 comments Download
M trunk/src/gpu/config/gpu_control_list.h View 3 chunks +0 lines, -15 lines 0 comments Download
M trunk/src/gpu/config/gpu_control_list.cc View 4 chunks +1 line, -13 lines 0 comments Download
M trunk/src/gpu/config/software_rendering_list_json.cc View 8 chunks +4 lines, -38 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Albert Bodenhamer
7 years, 2 months ago (2013-10-10 21:54:59 UTC) #1
Albert Bodenhamer
Committed patchset #1 manually as r228014.
7 years, 2 months ago (2013-10-10 21:55:19 UTC) #2
gab
Potential other failures' logs for reference: VISTA (http://build.chromium.org/p/chromium.win/builders/Vista%20Tests%20%281%29/builds/41108): CompositingRenderWidgetHostViewBrowserTestTabCapture.CopyFromCompositingSurface_Cropped_Scaled: [6620:8680:1010/144905:2436828:INFO:gpu_control_list.cc(1038)] Control list match for rule ...
7 years, 2 months ago (2013-10-10 22:29:55 UTC) #3
Ken Russell (switch to Gerrit)
This also broke gpu_throughput_tests on the Linux Debug (NVIDIA) GPU bot: http://build.chromium.org/p/chromium.gpu/builders/Linux%20Release%20%28NVIDIA%29/builds/22245 Please send re-lands ...
7 years, 2 months ago (2013-10-10 22:30:17 UTC) #4
Ken Russell (switch to Gerrit)
On 2013/10/10 22:30:17, Ken Russell wrote: > This also broke gpu_throughput_tests on the Linux Debug ...
7 years, 2 months ago (2013-10-10 22:31:12 UTC) #5
gab
+vangelis, cpu, erg The linux gpu bot failures are probably a bad sign as this ...
7 years, 2 months ago (2013-10-10 22:37:07 UTC) #6
Ken Russell (switch to Gerrit)
lgtm
7 years, 2 months ago (2013-10-10 22:41:26 UTC) #7
Ken Russell (switch to Gerrit)
Crap, wrong button. +alokp, ernstm I think the gpu_throughput_tests are being migrated to Telemetry which ...
7 years, 2 months ago (2013-10-10 22:43:27 UTC) #8
gab
Other failures (now failed twice in a row on tries pre-revert and hadn't failed much ...
7 years, 2 months ago (2013-10-10 22:48:25 UTC) #9
gab
7 years, 2 months ago (2013-10-10 22:57:49 UTC) #10
gab
@vangelis: Regarding the original failure for Canvas2DAllowed, is it possible that rules #64/65 which blacklist: ...
7 years, 2 months ago (2013-10-10 23:02:12 UTC) #11
gab
On 2013/10/10 22:48:25, gab wrote: > Other failures (now failed twice in a row on ...
7 years, 2 months ago (2013-10-10 23:30:54 UTC) #12
gab
Note control list matches are as follows: XP: gpu_blacklist #41 (flash_3d), 64(accelerated_video_decode), 67(accelerated_2d_canvas), 79(force_compositing_mode) gpu_driver_bug_list ...
7 years, 2 months ago (2013-10-10 23:40:03 UTC) #13
vangelis
On 2013/10/10 23:40:03, gab wrote: > Note control list matches are as follows: > > ...
7 years, 2 months ago (2013-10-11 04:51:12 UTC) #14
vangelis
On 2013/10/10 23:40:03, gab wrote: > Note control list matches are as follows: > > ...
7 years, 2 months ago (2013-10-11 04:51:14 UTC) #15
gab
On 2013/10/11 04:51:14, vangelis wrote: > On 2013/10/10 23:40:03, gab wrote: > > Note control ...
7 years, 2 months ago (2013-10-11 13:38:53 UTC) #16
vangelis
On 2013/10/11 13:38:53, gab wrote: > On 2013/10/11 04:51:14, vangelis wrote: > > On 2013/10/10 ...
7 years, 2 months ago (2013-10-11 16:21:55 UTC) #17
Zhenyao Mo
On 2013/10/11 16:21:55, vangelis wrote: > On 2013/10/11 13:38:53, gab wrote: > > On 2013/10/11 ...
7 years, 2 months ago (2013-10-11 19:38:27 UTC) #18
gab
On 2013/10/11 19:38:27, Zhenyao Mo wrote: > On 2013/10/11 16:21:55, vangelis wrote: > > On ...
7 years, 2 months ago (2013-10-11 20:05:32 UTC) #19
Zhenyao Mo
On 2013/10/11 20:05:32, gab wrote: > On 2013/10/11 19:38:27, Zhenyao Mo wrote: > > On ...
7 years, 2 months ago (2013-10-11 21:38:27 UTC) #20
gab
On 2013/10/11 21:38:27, Zhenyao Mo wrote: > On 2013/10/11 20:05:32, gab wrote: > > On ...
7 years, 2 months ago (2013-10-11 22:20:35 UTC) #21
gab
On 2013/10/11 22:20:35, gab wrote: > On 2013/10/11 21:38:27, Zhenyao Mo wrote: > > On ...
7 years, 2 months ago (2013-10-11 22:24:36 UTC) #22
gab
On 2013/10/11 22:24:36, gab wrote: > On 2013/10/11 22:20:35, gab wrote: > > On 2013/10/11 ...
7 years, 2 months ago (2013-10-11 22:25:31 UTC) #23
Zhenyao Mo
7 years, 2 months ago (2013-10-11 22:33:10 UTC) #24
Message was sent while issue was closed.
On 2013/10/11 22:25:31, gab wrote:
> On 2013/10/11 22:24:36, gab wrote:
> > On 2013/10/11 22:20:35, gab wrote:
> > > On 2013/10/11 21:38:27, Zhenyao Mo wrote:
> > > > On 2013/10/11 20:05:32, gab wrote:
> > > > > On 2013/10/11 19:38:27, Zhenyao Mo wrote:
> > > > > > On 2013/10/11 16:21:55, vangelis wrote:
> > > > > > > On 2013/10/11 13:38:53, gab wrote:
> > > > > > > > On 2013/10/11 04:51:14, vangelis wrote:
> > > > > > > > > On 2013/10/10 23:40:03, gab wrote:
> > > > > > > > > > Note control list matches are as follows:
> > > > > > > > > > 
> > > > > > > > > > XP:
> > > > > > > > > > gpu_blacklist #41 (flash_3d), 64(accelerated_video_decode),
> > > > > > > > > > 67(accelerated_2d_canvas), 79(force_compositing_mode) 
> > > > > > > > > > gpu_driver_bug_list
> > > #3(set_texture_filter_before_generating_mipmap),
> > > > > > > > > > 4(clear_alpha_in_readpixels), 17(exit_on_context_lost),
> > > > > > 26(disable_d3d11)
> > > > > > > > > > 
> > > > > > > > > > VISTA:
> > > > > > > > > > gpu_blaclist #64(accelerated_video_decode), #65(flash_3d,
> > > > > flash_stage3d,
> > > > > > > > > > force_compositing_mode)
> > > > > > > > > > gpu_driver_bug_list
> > > #3(set_texture_filter_before_generating_mipmap),
> > > > > > > > > > 4(clear_alpha_in_readpixels), 17(exit_on_context_lost),
> > > > > > 26(disable_d3d11)
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > Playing with some of these locally will most likely reveal
> > what's
> > > > > > causing
> > > > > > > > > which
> > > > > > > > > > failures.
> > > > > > > > > > 
> > > > > > > > > > Or maybe some of you more experienced graphics folks know
what
> > > could
> > > > > > cause
> > > > > > > > > what
> > > > > > > > > > just by looking at it?
> > > > > > > > > > 
> > > > > > > > > > Cheers!
> > > > > > > > > > Gab
> > > > > > > > > 
> > > > > > > > > Gab, I would have to look at the individual tests to see
what's
> > > going
> > > > > on.
> > > > > > Is
> > > > > > > > > there a complete list of failures somewhere as I'm not seeing
> the
> > > bot
> > > > > > > results.
> > > > > > > > > Thanks!
> > > > > > > > 
> > > > > > > > I listed the failures with detailed logs in the comments of this
> > > > reverted
> > > > > CL
> > > > > > > > (and added the log for the initial failure causing this revert
in
> > the
> > > CL
> > > > > > > > description).
> > > > > > > 
> > > > > > > Thanks, Gab! I don't think any of the blacklist entries would
affect
> > > > canvas
> > > > > > but
> > > > > > > it makes me wonder whether this particular test would ever succeed
> on
> > a
> > > > bot
> > > > > > that
> > > > > > > doesn't have a GPU. This Vista bot presumably is a VM that runs
the
> > > > > compositor
> > > > > > > in Software mode? Mo, any ideas? 
> > > > > > 
> > > > > > Gab, do you have a link to the failing vista bot?  I'd like to have
a
> > > look.
> > > > > 
> > > > > Failing Vista bot:
> > > > >
> > > >
> > >
> >
>
http://build.chromium.org/p/chromium.win/builders/Vista%252525252520Tests%252...
> > > > > 
> > > > > > 
> > > > > > >  
> > > > > > > 
> > > > > > > > 
> > > > > > > > I'm guessing it doesn't make sense to run
> > > > OutOfProcessPPAPITest.Graphics3D
> > > > > > on
> > > > > > > > machines where flash_3d is disabled, right?
> > > > > > > 
> > > > > > > Yes, I don't think we could run these tests if flash_3d is
disabled.
> > It
> > > > > looks
> > > > > > > like they have mostly been disabled for Windows altogether anyway?

> > > > > > > 
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
https://code.google.com/p/chromium/codesearch#chromium/src/chrome/test/ppapi/...
> > > > 
> > > > The canvas isn't accelerated because accelerated compositor is turned
off
> > due
> > > to
> > > > it's a software renderer (blacklist entry 3).
> > > 
> > > Hmmm,
> > >
> >
>
http://build.chromium.org/p/chromium.win/builders/Vista%25252520Tests%2525252...
> > > doesn't suggest that rule #3 was applied (in fact rule #3 is a linux-only
> > rule).
> > 
> > You might have mistakenly read the log entry that mentions that the
> > gpu_driver_bug_list #3 was applied; this is not the gpu_blacklist, it refers
> to:
> > 
> > 
> > gpu_driver_bug_list_json.cc:52-57:
> >     {
> >       "id": 3,
> >       "features": [
> >         "set_texture_filter_before_generating_mipmap"
> >       ]
> >     },
> 
> FTR, here is the log since the code review is too stupid to parse the link
> properly:
> 
> GpuFeatureTest.Canvas2DAllowed: 
> [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list
> match for rule #64 in gpu_blacklist.
> [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list
> match for rule #65 in gpu_blacklist.
> [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list
> match for rule #3 in gpu_driver_bug_list.
> [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list
> match for rule #4 in gpu_driver_bug_list.
> [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list
> match for rule #17 in gpu_driver_bug_list.
> [1636:5464:1010/153734:2795609:INFO:gpu_control_list.cc(1038)] Control list
> match for rule #26 in gpu_driver_bug_list.
> [1636:5464:1010/153734:2795640:ERROR:chrome_views_delegate.cc(158)] NOT
> IMPLEMENTED
> [1636:5464:1010/153734:2795640:ERROR:desktop_root_window_host_win.cc(690)] NOT
> IMPLEMENTED
> test\gpu\gpu_feature_browsertest.cc(141): error: Expected: (event_count) >
(0U),
> actual: 0 vs 0

You are right. Sorry about the noise.

Then I think the reason might be GPU process just failed to launch on Vista bot
with software renderer.

If that's the only bot that prevents you from landing this, you should just turn
the test off on vista.

Powered by Google App Engine
This is Rietveld 408576698