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

Issue 800483002: Handle failures for GPU info collection (Closed)

Created:
6 years ago by sivag
Modified:
5 years, 10 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle failures for GPU info collection. 1.)Populate failure strings for GPU info collection when context_info_state records fatal failure. 2.)The vendorid and deviceid of gpu should give data on all platforms where context fails to run. ex:On mac devices gpu info strings are not collected (vendor, renderer, driver version), so populate vendorid and deviceid while collecting webglinfo which should always be valid. In case vendor, renderer, driver version are not populated they will be indicated as "Not Available" on those platforms. BUG=412440 Committed: https://crrev.com/83b8f7a146d559484bd667badba90170b056f175 Cr-Commit-Position: refs/heads/master@{#315223}

Patch Set 1 #

Total comments: 17

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Total comments: 3

Patch Set 10 : InfoCollectionNone should be treated as info not available. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -5 lines) Patch
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +21 lines, -5 lines 0 comments Download

Messages

Total messages: 39 (10 generated)
sivag
On Some gpu's like mac we fail to get the GPU information, in these cases ...
6 years ago (2014-12-11 18:56:30 UTC) #2
sivag
+Sievers as piman is slow to review, This patch works well on aura desktop, the ...
6 years ago (2014-12-12 11:15:33 UTC) #5
no sievers
https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc#newcode982 content/renderer/renderer_blink_platform_impl.cc:982: if (gpu_info.basic_info_state != gpu::kCollectInfoSuccess) { I think you want ...
6 years ago (2014-12-12 18:41:27 UTC) #6
no sievers
https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc#newcode999 content/renderer/renderer_blink_platform_impl.cc:999: NOTREACHED(); So we will be hitting this? Because you ...
6 years ago (2014-12-12 18:46:26 UTC) #7
Ken Russell (switch to Gerrit)
zmo@ may be able to offer more guidance about the GPU info collection. https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc File ...
6 years ago (2014-12-12 22:43:05 UTC) #8
sivag
ptal.. https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc#newcode982 content/renderer/renderer_blink_platform_impl.cc:982: if (gpu_info.basic_info_state != gpu::kCollectInfoSuccess) { On 2014/12/12 18:41:26, ...
6 years ago (2014-12-15 13:36:04 UTC) #9
Zhenyao Mo
https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc#newcode987 content/renderer/renderer_blink_platform_impl.cc:987: gl_info->basicInfoCollectionFailure.assign(blink::WebString::fromUTF8( I agree with sievers. You should set the ...
6 years ago (2014-12-15 18:57:13 UTC) #11
no sievers
https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc#newcode982 content/renderer/renderer_blink_platform_impl.cc:982: if (gpu_info.basic_info_state != gpu::kCollectInfoSuccess) { On 2014/12/15 13:36:03, Sikugu ...
6 years ago (2014-12-15 21:18:21 UTC) #12
sivag
K i am checking now context_info_state and this works fine. ptal.. https://codereview.chromium.org/800483002/diff/1/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): ...
6 years ago (2014-12-16 12:51:28 UTC) #13
no sievers
lgtm
6 years ago (2014-12-16 19:18:48 UTC) #14
Ken Russell (switch to Gerrit)
LGTM too - one minor comment. https://codereview.chromium.org/800483002/diff/40001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/40001/content/renderer/renderer_blink_platform_impl.cc#newcode994 content/renderer/renderer_blink_platform_impl.cc:994: "GPUInfoCollectionFailure: GPU initialization ...
6 years ago (2014-12-16 23:55:47 UTC) #15
sivag
https://codereview.chromium.org/800483002/diff/40001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/40001/content/renderer/renderer_blink_platform_impl.cc#newcode994 content/renderer/renderer_blink_platform_impl.cc:994: "GPUInfoCollectionFailure: GPU initialization Failed. GPU" On 2014/12/16 23:55:47, Ken ...
6 years ago (2014-12-17 10:40:44 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/800483002/80001
6 years ago (2014-12-17 10:41:10 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/43808)
6 years ago (2014-12-17 10:49:43 UTC) #20
sivag
ptal.. added vendorid and deviceid
5 years, 11 months ago (2014-12-30 14:32:58 UTC) #21
Zhenyao Mo
https://codereview.chromium.org/800483002/diff/140001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/140001/content/renderer/renderer_blink_platform_impl.cc#newcode991 content/renderer/renderer_blink_platform_impl.cc:991: blink::WebString::fromUTF8(gpu_info.gl_version)); Note that gpu_info.gl_version and gpu_info.driver_version are two different ...
5 years, 11 months ago (2014-12-30 18:39:45 UTC) #22
sivag
Hi zmo, Here is a description of what i am trying to add here. The ...
5 years, 11 months ago (2014-12-31 10:08:44 UTC) #24
Zhenyao Mo
https://codereview.chromium.org/800483002/diff/160001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/160001/content/renderer/renderer_blink_platform_impl.cc#newcode992 content/renderer/renderer_blink_platform_impl.cc:992: gl_info->vendorId = gpu_info.gpu.vendor_id; I suggest instead of having separate ...
5 years, 11 months ago (2015-01-02 18:22:45 UTC) #25
Zhenyao Mo
https://codereview.chromium.org/800483002/diff/160001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/160001/content/renderer/renderer_blink_platform_impl.cc#newcode992 content/renderer/renderer_blink_platform_impl.cc:992: gl_info->vendorId = gpu_info.gpu.vendor_id; On 2015/01/02 18:22:45, Zhenyao Mo wrote: ...
5 years, 11 months ago (2015-01-02 18:23:52 UTC) #26
sivag
@zmo, kbr ptal once. Before landing the connecting blink patch @ https://codereview.chromium.org/826363002/ ,here we want ...
5 years, 10 months ago (2015-02-03 18:46:51 UTC) #27
Ken Russell (switch to Gerrit)
This still LGTM. https://codereview.chromium.org/800483002/diff/160001/content/renderer/renderer_blink_platform_impl.cc File content/renderer/renderer_blink_platform_impl.cc (right): https://codereview.chromium.org/800483002/diff/160001/content/renderer/renderer_blink_platform_impl.cc#newcode992 content/renderer/renderer_blink_platform_impl.cc:992: gl_info->vendorId = gpu_info.gpu.vendor_id; On 2015/01/02 18:23:52, ...
5 years, 10 months ago (2015-02-03 18:55:50 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/800483002/160001
5 years, 10 months ago (2015-02-04 05:20:19 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/30336)
5 years, 10 months ago (2015-02-04 07:07:19 UTC) #32
Ken Russell (switch to Gerrit)
On 2015/02/04 07:07:19, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 10 months ago (2015-02-04 23:28:00 UTC) #33
sivag
ptal..
5 years, 10 months ago (2015-02-06 05:31:40 UTC) #34
Ken Russell (switch to Gerrit)
lgtm
5 years, 10 months ago (2015-02-06 21:46:25 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/800483002/180001
5 years, 10 months ago (2015-02-08 01:57:55 UTC) #37
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 10 months ago (2015-02-08 02:58:44 UTC) #38
commit-bot: I haz the power
5 years, 10 months ago (2015-02-08 02:59:24 UTC) #39
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/83b8f7a146d559484bd667badba90170b056f175
Cr-Commit-Position: refs/heads/master@{#315223}

Powered by Google App Engine
This is Rietveld 408576698