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

Issue 2124633002: Add new gpu driver bug workaround DISABLE_TRANSPARENT_VISUALS (Closed)

Created:
4 years, 5 months ago by Julien Isorce Samsung
Modified:
4 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, derat+watch_chromium.org, piman+watch_chromium.org, ppc1_chromium.org, sadrul, tfarina, yusukes+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 new gpu driver bug workaround DISABLE_TRANSPARENT_VISUALS This is for better polish in the UI but it fixes a drag image issue on Linux crbug.com/593256 . Also add a kGpuDriverBugListJson entry to automatically disable transparent visuals on all drivers (especially the proprietary NVIDIA driver) except for opensource drivers (i.e. Mesa based drivers). BUG=369209 R=kbr@chromium.org, sadrul@chromium.org, tapted@chromium.org 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/71b2517dd4cd620a56ca6f13571129c6aee30b42 Committed: https://crrev.com/102b4b07240352221cf4256ff84bf71e2f9189a2 Cr-Original-Commit-Position: refs/heads/master@{#406505} Cr-Commit-Position: refs/heads/master@{#407137}

Patch Set 1 #

Patch Set 2 : Rebase and increment version #

Patch Set 3 : Add missing USE_X11 guard to fix the build #

Patch Set 4 : Rebase and enable alpha in WindowsApiAlphaEnabledHasPermissions on Linux #

Patch Set 5 : check for _CHROMIUM_INSIDE_XVFB var to relax unit test #

Total comments: 8

Patch Set 6 : Rebase, use enable instead of disable, restrict to mesa drivers only #

Patch Set 7 : Rebase and check for depth in WindowsApiAlphaEnabledHasPermissions test #

Patch Set 8 : Rebase #

Total comments: 5

Patch Set 9 : Rebase #

Total comments: 6

Patch Set 10 : Rebase and addressed remarks from tapted #

Total comments: 1

Patch Set 11 : Rebase and add 2 browser tests #

Patch Set 12 : indent #

Patch Set 13 : indent #

Patch Set 14 : Rebase #

Patch Set 15 : Simplify test #

Patch Set 16 : Really run the 2 new tests on Linux only #

Patch Set 17 : Rebase #

Patch Set 18 : Rebase and do not run tests on Android #

Patch Set 19 : Just make sure the new gpu driver workaround exist in second test instead of using fake values #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -54 lines) Patch
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +17 lines, -14 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 16 17 18 3 chunks +52 lines, -2 lines 0 comments Download
M extensions/browser/api/app_window/app_window_apitest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +20 lines, -5 lines 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +17 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ui/base/x/x11_util.cc View 1 2 3 4 5 4 chunks +4 lines, -14 lines 0 comments Download
M ui/base/x/x11_util_internal.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M ui/gfx/x/x11_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M ui/gfx/x/x11_switches.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/widget_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -8 lines 0 comments Download

Messages

Total messages: 146 (85 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2124633002/1
4 years, 5 months ago (2016-07-04 23:14:33 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2124633002/20001
4 years, 5 months ago (2016-07-04 23:20:28 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/91447)
4 years, 5 months ago (2016-07-04 23:30:51 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2124633002/40001
4 years, 5 months ago (2016-07-05 07:46:56 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/257198)
4 years, 5 months ago (2016-07-05 09:17:31 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2124633002/60001
4 years, 5 months ago (2016-07-05 12:29:07 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2124633002/80001
4 years, 5 months ago (2016-07-05 13:55:20 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-05 14:49:52 UTC) #20
Julien Isorce Samsung
4 years, 5 months ago (2016-07-06 12:46:58 UTC) #21
Julien Isorce Samsung
On 2016/07/05 14:49:52, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
4 years, 5 months ago (2016-07-06 12:48:08 UTC) #22
Ken Russell (switch to Gerrit)
cwallez@: could you review this change?
4 years, 5 months ago (2016-07-06 21:49:35 UTC) #24
Corentin Wallez
On 2016/07/06 at 21:49:35, kbr wrote: > cwallez@: could you review this change? LGTM with ...
4 years, 5 months ago (2016-07-06 22:08:29 UTC) #25
Ken Russell (switch to Gerrit)
On 2016/07/06 22:08:29, Corentin Wallez wrote: > On 2016/07/06 at 21:49:35, kbr wrote: > > ...
4 years, 5 months ago (2016-07-06 22:25:58 UTC) #26
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2124633002/diff/80001/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/2124633002/diff/80001/gpu/config/gpu_driver_bug_list_json.cc#newcode1871 gpu/config/gpu_driver_bug_list_json.cc:1871: "disable_transparent_visuals" This is a large behavioral change for all ...
4 years, 5 months ago (2016-07-06 22:32:18 UTC) #27
Corentin Wallez
Couple nits in addition of Ken's comments. https://codereview.chromium.org/2124633002/diff/80001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2124633002/diff/80001/content/browser/browser_main_loop.cc#newcode762 content/browser/browser_main_loop.cc:762: // PreCreateThreads ...
4 years, 5 months ago (2016-07-07 00:09:23 UTC) #28
Julien Isorce Samsung
On 2016/07/06 22:25:58, Ken Russell wrote: > On 2016/07/06 22:08:29, Corentin Wallez wrote: > > ...
4 years, 5 months ago (2016-07-07 00:40:39 UTC) #29
Julien Isorce Samsung
https://codereview.chromium.org/2124633002/diff/80001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2124633002/diff/80001/content/browser/browser_main_loop.cc#newcode762 content/browser/browser_main_loop.cc:762: // PreCreateThreads is called before CreateStartupTasks which one starts ...
4 years, 5 months ago (2016-07-07 10:29:23 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2124633002/100001
4 years, 5 months ago (2016-07-07 10:29:50 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/188702)
4 years, 5 months ago (2016-07-07 11:22:30 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2124633002/120001
4 years, 5 months ago (2016-07-07 14:17:44 UTC) #36
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2124633002/130011
4 years, 5 months ago (2016-07-07 15:58:55 UTC) #38
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-07 18:33:17 UTC) #40
Ken Russell (switch to Gerrit)
LGTM, but please consider changing the sense of the driver bug workaround. Thanks. https://codereview.chromium.org/2124633002/diff/130011/extensions/browser/api/app_window/app_window_apitest.cc File ...
4 years, 5 months ago (2016-07-07 22:23:41 UTC) #41
Julien Isorce Samsung
Thx for the review. Please see my replies. https://codereview.chromium.org/2124633002/diff/130011/extensions/browser/api/app_window/app_window_apitest.cc File extensions/browser/api/app_window/app_window_apitest.cc (right): https://codereview.chromium.org/2124633002/diff/130011/extensions/browser/api/app_window/app_window_apitest.cc#newcode142 extensions/browser/api/app_window/app_window_apitest.cc:142: test_dir ...
4 years, 5 months ago (2016-07-08 09:52:53 UTC) #42
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2124633002/diff/130011/gpu/config/gpu_driver_bug_workaround_type.h File gpu/config/gpu_driver_bug_workaround_type.h (right): https://codereview.chromium.org/2124633002/diff/130011/gpu/config/gpu_driver_bug_workaround_type.h#newcode69 gpu/config/gpu_driver_bug_workaround_type.h:69: disable_transparent_visuals) \ On 2016/07/08 09:52:53, Julien Isorce wrote: > ...
4 years, 5 months ago (2016-07-12 22:46:26 UTC) #43
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/2124633002/130011
4 years, 5 months ago (2016-07-13 07:20:45 UTC) #46
commit-bot: I haz the power
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/34923) ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 5 months ago (2016-07-13 07:22:33 UTC) #48
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/2124633002/150001
4 years, 5 months ago (2016-07-13 09:35:27 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/217069)
4 years, 5 months ago (2016-07-13 09:43:48 UTC) #57
Julien Isorce Samsung
On 2016/07/13 09:43:48, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 5 months ago (2016-07-13 15:17:35 UTC) #61
jam
On 2016/07/13 15:17:35, Julien Isorce wrote: > On 2016/07/13 09:43:48, commit-bot: I haz the power ...
4 years, 5 months ago (2016-07-13 19:20:34 UTC) #62
Julien Isorce Samsung
On 2016/07/13 19:20:34, jam wrote: > On 2016/07/13 15:17:35, Julien Isorce wrote: > > On ...
4 years, 5 months ago (2016-07-14 08:15:21 UTC) #65
tapted
app_window_apitest.cc lgtm with nits https://codereview.chromium.org/2124633002/diff/150001/extensions/browser/api/app_window/app_window_apitest.cc File extensions/browser/api/app_window/app_window_apitest.cc (right): https://codereview.chromium.org/2124633002/diff/150001/extensions/browser/api/app_window/app_window_apitest.cc#newcode137 extensions/browser/api/app_window/app_window_apitest.cc:137: const char* no_alpha_dir = these ...
4 years, 5 months ago (2016-07-14 23:37:17 UTC) #66
Julien Isorce Samsung
Thx for the review and the detailed suggestions. https://codereview.chromium.org/2124633002/diff/150001/extensions/browser/api/app_window/app_window_apitest.cc File extensions/browser/api/app_window/app_window_apitest.cc (right): https://codereview.chromium.org/2124633002/diff/150001/extensions/browser/api/app_window/app_window_apitest.cc#newcode137 extensions/browser/api/app_window/app_window_apitest.cc:137: const ...
4 years, 5 months ago (2016-07-15 06:56:47 UTC) #67
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-15 07:00:24 UTC) #70
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/2124633002/170001
4 years, 5 months ago (2016-07-15 09:21:21 UTC) #75
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-15 09:21:26 UTC) #76
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/218819)
4 years, 5 months ago (2016-07-15 09:29:10 UTC) #78
Julien Isorce Samsung
** Presubmit ERRORS ** Missing LGTM from an OWNER for these files: content/browser/browser_main_loop.cc ui/base/x/x11_util.cc ui/base/x/x11_util_internal.h ...
4 years, 5 months ago (2016-07-15 13:08:54 UTC) #79
sadrul
lgtm https://codereview.chromium.org/2124633002/diff/170001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/2124633002/diff/170001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1150 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1150: ui::ChooseVisualForWindow(true, &visual, &depth); true /* enable_transparent_visuals */ In ...
4 years, 5 months ago (2016-07-15 15:12:13 UTC) #80
Julien Isorce Samsung
On 2016/07/15 15:12:13, sadrul wrote: > lgtm > > https://codereview.chromium.org/2124633002/diff/170001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc > File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): > ...
4 years, 5 months ago (2016-07-15 15:42:26 UTC) #81
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/2124633002/170001
4 years, 5 months ago (2016-07-15 16:22:55 UTC) #83
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-15 16:22:59 UTC) #84
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/218986)
4 years, 5 months ago (2016-07-15 16:32:41 UTC) #86
Julien Isorce Samsung
** Presubmit ERRORS ** Missing LGTM from an OWNER for these files: content/browser/browser_main_loop.cc Hi Antoine, ...
4 years, 5 months ago (2016-07-15 17:14:02 UTC) #88
piman
lgtm
4 years, 5 months ago (2016-07-18 22:16:39 UTC) #89
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-19 07:03:38 UTC) #92
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-19 09:07:58 UTC) #95
Julien Isorce Samsung
Hi, I have added 2 tests, please have a look. Thx
4 years, 5 months ago (2016-07-19 21:57:31 UTC) #115
Ken Russell (switch to Gerrit)
Thanks for adding the tests. LGTM
4 years, 5 months ago (2016-07-20 01:20:43 UTC) #116
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/2124633002/310001
4 years, 5 months ago (2016-07-20 06:28:08 UTC) #123
commit-bot: I haz the power
Committed patchset #17 (id:310001)
4 years, 5 months ago (2016-07-20 06:34:23 UTC) #125
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-20 06:34:31 UTC) #126
commit-bot: I haz the power
Patchset 17 (id:??) landed as https://crrev.com/71b2517dd4cd620a56ca6f13571129c6aee30b42 Cr-Commit-Position: refs/heads/master@{#406505}
4 years, 5 months ago (2016-07-20 06:36:29 UTC) #128
ynovikov1
On 2016/07/20 06:36:29, commit-bot: I haz the power wrote: > Patchset 17 (id:??) landed as ...
4 years, 5 months ago (2016-07-21 22:18:53 UTC) #129
ynovikov1
On 2016/07/21 22:18:53, ynovikov1 wrote: > On 2016/07/20 06:36:29, commit-bot: I haz the power wrote: ...
4 years, 5 months ago (2016-07-21 22:28:01 UTC) #130
ynovikov1
On 2016/07/21 22:18:53, ynovikov1 wrote: > On 2016/07/20 06:36:29, commit-bot: I haz the power wrote: ...
4 years, 5 months ago (2016-07-21 22:28:03 UTC) #131
Jamie Madill
A revert of this CL (patchset #17 id:310001) has been created in https://codereview.chromium.org/2171023002/ by jmadill@chromium.org. ...
4 years, 5 months ago (2016-07-21 22:28:31 UTC) #132
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/2124633002/350001
4 years, 5 months ago (2016-07-22 12:16:19 UTC) #142
commit-bot: I haz the power
Committed patchset #19 (id:350001)
4 years, 5 months ago (2016-07-22 12:20:37 UTC) #144
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 12:21:56 UTC) #146
Message was sent while issue was closed.
Patchset 19 (id:??) landed as
https://crrev.com/102b4b07240352221cf4256ff84bf71e2f9189a2
Cr-Commit-Position: refs/heads/master@{#407137}

Powered by Google App Engine
This is Rietveld 408576698