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

Issue 780121 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

2 seconds of UI raster when entering/leaving lock screen

Project Member Reported by reve...@chromium.org, Oct 31 2017

Issue description

See attached trace. Captured on Eve but I have no reason to believe that it's limited to this device.

I suspect that this is also happening during login. Doesn't reproduce in M62 for me but I'm not sure about M63 yet.
 
trace_2s-raster-enter-leave-lock-screen.json.gz
2.0 MB Download

Comment 1 by wutao@chromium.org, Nov 3 2017

Cc: wzang@chromium.org xiy...@chromium.org afakhry@chromium.org
Hi reveman@, make sure we are talking about the same thing:

On eve, when logging out, the screen becomes black and lasts about 3 seconds to show the pod.
When logging in, it takes 3 seconds after pressing enter, and followed about 2 seconds black screen to show the desktop.

Choose different wallpaper and remove the blur does not help.

I remember there was discussion that to reduce the time of black screen when logging out. But I cannot find the bug. It may be different issue.

Comment 2 by wutao@chromium.org, Nov 3 2017

Cc: bccheng@chromium.org
+bccheng@, who might have other tools to analyze what happened.

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

According to the bug description, the issue should be the same with  crbug.com/779311 . (Both '2 seconds of UI raster when entering/leaving lock screen' and wallpaper delay are observed in this issue.)

I think #1 may be referring to a different issue.

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

#3, I think I am seeing the same thing in  crbug.com/779311 , after you pressing enter, it stays on login page for about 3 seconds for EVE. But in addition, there are 2 seconds black screen followed.

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

Is the 3 seconds the normal time for the preparation of active user session? The 2 seconds of the blank screen is caused by the CL mentioned in  crbug.com/779311 .

Comment 6 by wutao@chromium.org, Nov 4 2017

#5, Interesting, it is the same cl I bisected at here:  crbug.com/780000 
Cc: mcasas@chromium.org
Owner: wutao@chromium.org
Status: Assigned (was: Available)
is that change in M63?
The CL mentioned in #5 [1] is 852d42a7... and landed initially in 64.0.3250.0.


[1] https://chromium-review.googlesource.com/c/chromium/src/+/728325


Comment 9 by wutao@chromium.org, Nov 6 2017

The bug in this issue may not be caused by the cl mentioned in #5. I am on a build without the cl in #5, still seeing the long time delay.
The entire wallpaper is re-rastered when going into/out of lock-screen/login pages, right? Is that the problem? What if you change the code to not show the wallpaper at all? Does that reduce the raster time by much? (of course, that's not what we would want to do, but that could help isolate the issue)
Status: Fixed (was: Assigned)
The CL mentioned above is what caused the problem. It introduced a a color space conversion for each pixel which is not something we can do in the UI compositor that uses software raster. I verified that this issue is gone in ToT now that the effect of that CL has been moved behind a flag that is disabled by default.

Sign in to add a comment