New issue
Advanced search Search tips

Issue 907596 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

External monitor hang with NSApplication re-entrance

Project Member Reported by ellyjo...@chromium.org, Nov 21

Issue description

The attached sample came from a user report. The problem situation is:

1) Be running Mojave on a Macbook
2) Connect an external display

The sample shows something odd: re-entrance into NSApplication run. I'm not sure if or how that is supposed to occur.

I have asked the original reporter to post more details and otherwise engage on this bug.
 
sample.txt
425 KB View Download
Details:
MacBook Pro 2016 13 inch, 4 ports
MacOS 10.14.1
Connected to an external 4k monitor via a Thunderbolt 3 dock.
I just upgraded to 10.14 yesterday. Before that everything was working just fine.
I tried removing ~/Library/Application\ Support/Google/Chrome, didn't fix the problem.
Safari performance is much better.

Happy to provide any other details.
Actually it seems like there's quite a bit of UI lag even without the external monitor connected, though it's noticeably worse if the external monitor is connected.
Attached another sample from Activity Monitor.
slow-chrome-no-external.txt
244 KB View Download
Components: Internals>GPU
Labels: -Pri-3 Target-73 M-73 Pri-2
Owner: ccameron@chromium.org
Status: Assigned (was: Untriaged)
mac triage: ccameron@, help? :)
I'm having a hard time seeing lag sources in the samples. Looks like we're idle most of the time in the browser. I also don't have a clear picture from the bug report about what is laggy (is it scrolling in web contents, typing in the omnibox, dragging a tab around the tabstrip, etc)?

I'll need more info to get an idea. Couple of things
1. Could you attach a screencast (use Quicktime) of the lag? If getting that to work, esp during monitor plug/unplug is hard, then a cellphone video would be good. Point out the parts of the video that are bad.

2. Please capture a trace of the lag. In about:tracing, include just the categories toplevel, views, ui, gpu, and viz.
Status: WontFix (was: Assigned)
The lag was in response to mouse events, both mouse-over and click.
I'd mouse over a message in the gmail inbox and it'd take a solid 1-2s before the UI reflected the mouse-hover.
Just as I went to capture a new trace, performance returned to normal (after over a week of being really bad).
I'll capture another trace and a video if it gets bad again.
Thanks for looking into it!
Status: Assigned (was: WontFix)
Ah, didn't take long for it to return!
I collected another trace in GMail and a video.
Attached the trace.
The video is here (access restricted to google.com): https://drive.google.com/file/d/1dW5_3X4o24WPtYSfVSOEjZFAqDvSRjRd/view?usp=sharing

Please don't make it public as it contains images of my email which may have confidential stuff in it.
garymm-mojave-gmail-profile-2018-11-29-00
11.9 MB View Download
Is the last trace I captured helpful?
#6: We're not sure yet - nobody has had time to look :(

Sign in to add a comment