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

Issue 2897733002: gpu: log when the request GMB id and the response GMB id are mismatched.

Created:
3 years, 7 months ago by dshwang
Modified:
3 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org, subresource-filter-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: log when the request GMB id and the response GMB id are mismatched. BUG=475633 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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

Patch Set 1 #

Patch Set 2 : remove unrelated change #

Patch Set 3 : just add additional log #

Patch Set 4 : gpu: log when the request GMB id and the response GMB id are mismatched. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M content/browser/gpu/browser_gpu_memory_buffer_manager.cc View 1 2 3 1 chunk +2 lines, -0 lines 2 comments Download

Messages

Total messages: 27 (18 generated)
dshwang
piman@, could you review this CL again to reland?
3 years, 7 months ago (2017-05-19 23:07:40 UTC) #8
reveman
Why is this needed?
3 years, 7 months ago (2017-05-20 03:09:41 UTC) #11
dshwang
On 2017/05/20 03:09:41, reveman wrote: > Why is this needed? It is not needed in ...
3 years, 7 months ago (2017-05-22 18:06:09 UTC) #12
reveman
Not trusting the GPU process and avoiding the DCHECK makes sense. But shouldn't we instead ...
3 years, 7 months ago (2017-05-22 19:27:48 UTC) #13
dshwang
On 2017/05/22 19:27:48, reveman wrote: > Not trusting the GPU process and avoiding the DCHECK ...
3 years, 7 months ago (2017-05-22 20:56:33 UTC) #14
reveman
On 2017/05/22 at 20:56:33, dongseong.hwang wrote: > On 2017/05/22 19:27:48, reveman wrote: > > Not ...
3 years, 7 months ago (2017-05-23 20:19:36 UTC) #15
dshwang
On 2017/05/23 20:19:36, reveman wrote: > I can see that. Please have it fail if ...
3 years, 7 months ago (2017-05-26 21:21:17 UTC) #19
reveman
https://codereview.chromium.org/2897733002/diff/60001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc File content/browser/gpu/browser_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/2897733002/diff/60001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc#newcode404 content/browser/gpu/browser_gpu_memory_buffer_manager.cc:404: LOG(ERROR) << "GpuMemoryBuffer ID is mismatched. request id:" << ...
3 years, 6 months ago (2017-05-30 18:11:53 UTC) #26
dshwang
3 years, 6 months ago (2017-05-30 18:52:57 UTC) #27
https://codereview.chromium.org/2897733002/diff/60001/content/browser/gpu/bro...
File content/browser/gpu/browser_gpu_memory_buffer_manager.cc (right):

https://codereview.chromium.org/2897733002/diff/60001/content/browser/gpu/bro...
content/browser/gpu/browser_gpu_memory_buffer_manager.cc:404: LOG(ERROR) <<
"GpuMemoryBuffer ID is mismatched. request id:" << id.id
On 2017/05/30 18:11:52, reveman wrote:
> We don't know if it's because a id mismatch here. Could be an allocation
failure
> and this message is then confusing.

It happens when handle.id != id. please check above if statement.
In addition, if mismatch happens in real, I think it's because gpu process
reorders the request somehow.

Powered by Google App Engine
This is Rietveld 408576698