New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 799961 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Chromium causes system lag or tearing

Reported by janchmie...@gmail.com, Jan 8 2018

Issue description

Chrome Version       : 63.0.3239.132 (Build)
OS Version: Linux Arch_x64
URLs (if applicable) : All
Other browsers tested: Firefox, Vivaldi, Chrome
  Add OK or FAIL after other browsers where you have tested this issue:
    Firefox: OK
    Vivaldi: FAIL
    CHromuim: FAIL

What steps will reproduce the problem?

To get system lag:
1. Enable acceleration
2. Restart the browser
3. Moving windows and overall expierience is terrible outside of Chrome/Chromium

To get tearing:
1. Disable acceleration
2. Restart the browser
3. Scrolling and watching videos or really any movement shows extreme tearing

What is the expected result?
The browser should not cause system lag when acceleration is enabled

What happens instead of that?
I have to choose between getting extreme tearing and system lag. Chromium is or maked using a system a pain.

Please provide any additional information below. Attach a screenshot if
possible.

Arch Linux x64
GNOME 3.26
Tested kernels: generic, ZEN (happens on both)
GTX 980 (properitary nvidia driver)
i7 4790K
8GB of RAM memory
 
Labels: Needs-Triage-M63
Cc: thomasanderson@chromium.org
What happens if you run glxgears?  Does the same system lag occur?  If so, this is probably a bug in your graphics drivers and not Chromium.
 thomasanderson@chromium.org GLXGears are completely fine, games run smooth and without problems as well. Only a couple of them cause a little bit of slowdown, bot only chrome manages to make using system a nightmare.
Cc: danakj@chromium.org sc00335...@techmahindra.com
Labels: TE-NeedsTriageFromMTV Triaged-ET
Unable to reproduce this issue on reported version 63.0.3239.132 on chromium using Ubuntu 14.04,i5-3570,Mesa driver. Enabled hardware acceleration -- No lag is seen; On Disabling and playing video -- No tear is seen.

This might be specific to Arch Linux64 which is not available with ET/Inhouse team. Could someone from MTV please have a look at this issue.

Also this looks similar to  issue 788510 . cc'ing @ danakj from 788510. Could you please have a look at this.

Thanks!
Components: Internals>GPU
fyi a similar-sounding tearing issue was recently fixed at  bug 344141 

Comment 7 by piman@chromium.org, Jan 19 2018

Components: -Internals>GPU Internals>GPU>Internals
Labels: Needs-Feedback
Re: tearing: in software mode, Chrome doesn't synchronize to vsync. If you have a compositing manager, that is what should take care of vsync / tear avoidance.

Re: system jank: can you run 'nvidia-smi -q' and attach the output?
 sc00335...@techmahindra.com you used Mesa. Try Using Nvidia properiary driver.
Project Member

Comment 9 by sheriffbot@chromium.org, Jan 21 2018

Cc: piman@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "piman@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 10 by piman@chromium.org, Jan 22 2018

Labels: Needs-Feedback
Still needs feedback wrt output of 'nvidia-smi -q' from someone who reproduces the jank / lag.
Here is my output of 'nvidia-smi -q' it may help you

https://drive.google.com/open?id=1MDnnBju66IXJi1JT4SBSXQXh8DEWZlOp
Project Member

Comment 12 by sheriffbot@chromium.org, Jan 24 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "piman@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 13 by piman@chromium.org, Jan 24 2018

@#11: Is that output while the system experiences jank?
I was looking something along the lines of crbug.com/623786 but in your output very little GPU memory is used.

Comment 14 by piman@chromium.org, Jan 26 2018

Labels: Needs-Feedback
 piman@chromium.org that one was done without chrome/chromium running, here is a one with system being messed up by chrome:

https://drive.google.com/open?id=1aCptgTih_H1Qcm1-KBZme_fRsN1kTXdM
Project Member

Comment 16 by sheriffbot@chromium.org, Jan 29 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "piman@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 17 by piman@chromium.org, Jan 29 2018

@#15: Nothing obviously wrong, so I don't really know.
I noticed that you have 2 X servers running, although not wrong per se, that's certainly somewhat unusual, maybe there is a bad interaction with that, and/or some other app running (I see Discord in the client list, which I believe is an app based on electron/chromium, so maybe there is some fighting going on there).
 piman@chromium.org but firefox has no problem at all with anything. So why i chrome so iffy ?

Comment 19 by piman@chromium.org, Jan 31 2018

@#18 - I don't have any idea about the cause. Very likely Chrome uses X or the GPU in ways that are very different from Firefox. Maybe it tickles it in the wrong way. Maybe it runs into a bug.
piman@chromium.org i checked if Discord os coloding with Chrome, it doesnt.

Can i expect this bug to be fixed in next release of Chrome/Chromium ?
@#20: unlikely we can fix it in any way (let alone next release) until we understand the root cause of the bug and see if there are workarounds we can do. At this point all we can hope for is to make progress on that.

Does it still repro if running with only 1 X server?
 piman@chromium.org killing either one logs me out.
Status: Available (was: Unconfirmed)
I'm not sure how to move this further at this point. Leaving Available for now.
piman@chromium.org i can record it if it will help by any chance
I'm also experiencing lockups:

- core2 laptop running ubuntu 14.04.3
- nvidia 110m - driver 304.135
- chrome 64.0.3282.167
- all extensions removed
- dual monitor configuration

Easily reproducible with a single gmail tab open and gpu enabled in settings. When it occurs, I notice (with htop running) repeated startups of a chrome process with the commandline '-utility'. This utility process runs for about 1 second, quits then starts again in about 1 second, rinse, repeat.

Attached is a 4 second trace (from chrome://tracing) of the 'disabled by default' categories (which appears to record gpu usage). The spurious chrome process was started and shutdown twice during the logging.

When gpu is disabled there are no lags and htop does not show any spuriously created chrome processes.

Let me know if you need more info or specific logs.

Cheers

Sorry I don't mean to troll anyone but I just noticed that my log has six b64 encoded screenshots... anyway to disable those from the tracedump?
Attached is a 4 second trace (from chrome://tracing) of the 'disabled by default' categories (which appears to record gpu usage). The spurious chrome process was started and shutdown twice during the logging.
trace_lockups-nvidia-110m.json.gz
3.9 MB Download
Ya, that looks like a 12 second trace I gave you there. The spurious process did only start twice, so I guess it was more of a 3 sec on and 3 sec off sort of deal. For those 12 seconds I was leaving the machine to just record - I was not trying to test any lagginess. Let me know if you want any specific user interaction while recording.
I noticed that if i use no sandbox flag it fixed it for 10seconds... I dont know why

Sign in to add a comment