New issue
Advanced search Search tips

Issue 830879 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Chrome gets extremely slow

Project Member Reported by niklase@chromium.org, Apr 9 2018

Issue description

Chrome Version: 65.0.3325.181 
OS: Linux

About once a week my chrome install gets into a state where everything is extremely slow, scrolling, changing tabs etc takes several seconds. Closing down tabs and profiles doesn't help, only a restart. I finally got around to capturing a trace, attached.

I'm pretty sure this happened already in 64.
 
trace_sluggish_trace.json.gz
5.1 MB Download
Cc: piman@chromium.org
piman@, any idea where to send this?

Comment 2 by piman@chromium.org, Apr 9 2018

Components: Internals>GPU>Internals
NativeViewGLSurfaceGLX:RealSwapBuffers gets very slow, which is where we ask the driver / X11 to present the frame.

Could you attach the contents of about:gpu, and the output of the `nvidia-smi -q` command (assuming you're using the NVIDIA binary driver) when you're reproducing the problem?

Some similar behavior is seen when running out of GPU memory, which is often caused by a combination of certain compositing managers and many chrome windows, where the driver has to "trash", swapping memory in and out of GPU memory. If that's the case, nvidia-smi can give insight into that.
attached, but please note that I have restarted Chrome now.
nvidia.txt
5.9 KB View Download
about_gpu
16.6 KB View Download

Comment 4 by piman@chromium.org, Apr 9 2018

Yeah, this GPU is on the older end (2010) with relatively low GPU memory (by modern standards, 1GB), so I wouldn't be surprised if you were running into this, in particular if you're using one (or more) large screen. It has gotten worse with site isolation.

Note: the 'Processes' section from `nvidia-smi -q` can be useful to diagnose a bit further, if you want to share off the bug, once you reproduce the issue. Another useful thing is to capture the 'GPU memory' column from the Task manager (you may need to add it by right-clicking the task manager), sorting by it to see the largest users.
Labels: Needs-Feedback

Comment 6 by misch@google.com, Jun 28 2018

FYI the GNOME developers also encountered slow SwapBuffers with their window manager called Mutter and NVIDIA cards. The full story and their solution can be found in this bug: https://bugzilla.gnome.org/show_bug.cgi?id=779039

Sign in to add a comment