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

Issue 2557513005: Fix a bug that GPU process may fail to launch in RDP sessions (Closed)

Created:
4 years ago by Jiawei
Modified:
4 years ago
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a bug that GPU process may fail to launch in RDP sessions Chrome calls EnumDisplayDevices() to get details about display devices. On some Windows machines EnumDisplayDevices() can only get the mirror driver "RDPUDD Chained DD" with empty DeviceID and no physical display devices when Chrome is opened in a Remote Desktop session, which will cause the failure of launching the GPU process. This patch fixes this issue by skipping the check of DeviceID when the primary display device is "RDPUDD Chained DD" according to the result of EnumDisplayDevices() so that Chrome can obtain GPU information afterwards (in CollectDriverInfoD3D()). BUG=671539 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/f406d19447ab1352ce2b2b6e260a0b9d2e4a9e41 Cr-Commit-Position: refs/heads/master@{#437492}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M gpu/config/gpu_info_collector_win.cc View 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (7 generated)
Zhenyao Mo
On 2016/12/06 15:26:11, Jiawei wrote: > mailto:jiawei.shao@intel.com changed reviewers: > + mailto:kbr@chromium.org, mailto:qiankun.miao@intel.com, mailto:yang.gu@intel.com, > ...
4 years ago (2016-12-07 21:39:08 UTC) #4
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/2557513005/1
4 years ago (2016-12-09 07:10:04 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-09 07:48:53 UTC) #9
commit-bot: I haz the power
4 years ago (2016-12-09 07:51:00 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f406d19447ab1352ce2b2b6e260a0b9d2e4a9e41
Cr-Commit-Position: refs/heads/master@{#437492}

Powered by Google App Engine
This is Rietveld 408576698