New issue
Advanced search Search tips

Issue 780631 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Chrome Remote Desktop GPU memory usage is ~10x the amount you'd expect given the remote desktop size

Project Member Reported by w...@chromium.org, Nov 1 2017

Issue description

Chrome Version: 63.0.3239.26
OS: ChromeOS Panther

What steps will reproduce the problem?
(1) Open the Chromoting web-app and full-screen the window.
(2) Open Task Manager and note the Chromoting app's GPU memory usage.
(3) Connect to a host. Note the GPU memory usage.
(4) Disconnnect and reconnect a few times, to note the changes in GPU memory between connected & disconnected.
(5) Minimize the Chromoting window while connected. Note the GPU memory usage.
(6) Resize the window to 1/4 of a monitor. Note the GPU memory usage.
(7) Connect & disconnect as before, noting the GPU memory usage.

What is the expected result?

Expect that GPU memory usage is "reasonable" given the size of the remote desktop, e.g. within 2-4x the minimum memory required, for a single copy of the desktop contents.

Expect that when minimized the majority of the GPU memory is dropped.

What happens instead?

Chromoting consumes ~10x the "minimum" GPU memory usage, whether minimized or not, and gains 2-3x when visible.

My testing was with desktop dimensions of roughly 1920x1100@32bpp, i.e. ~8MiB for a single copy, and the CRD process' GPU memory grew by 90MiB while connected but minimized, and by a further 20-25MiB while visible. 
 
Components: -Services>Chromoting Internals>GPU
I don't think we've changed anything inside Chromoting that could cause this. It might be a regression in the video or GPU components.

Comment 2 by fsamuel@google.com, Nov 3 2017

Owner: m...@chromium.org
Status: Assigned (was: Untriaged)
+miu@ for triage. Could this be related to your CopyOutputRequest work?

Comment 3 by m...@chromium.org, Nov 3 2017

Cc: m...@chromium.org w...@chromium.org
Labels: Needs-Feedback
Owner: jamiewa...@chromium.org
If this is client-side GPU memory usage, then it shouldn't be. If it's host-side, then it could be; but only if Chromoting captures the screen using CopyOutputRequests.

jamiewalch/wez: Could you please clarify?  

Comment 4 by w...@chromium.org, Nov 3 2017

Re #3: This is GPU memory attributed to the Chrome Remote Desktop (Chrome App) renderer process at the client device; happy to demonstrate the issue if you'd like to come and take a look :)

Comment 5 by m...@chromium.org, Nov 3 2017

Cc: -m...@chromium.org
Labels: -Needs-Feedback
Ok, if it's the renderer process and/or client-side, it's definitely not related to my CopyOutputRequest work.

Sign in to add a comment