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

Issue 655770 link

Starred by 1 user

Issue metadata

Status: Verified
Owner: ----
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Gfx



Sign in to add a comment

[Kip] Coming back from VT2 while playing video, leaves graphics in bad state

Project Member Reported by ka...@chromium.org, Oct 13 2016

Issue description

Kip at M55 - 8872.6.0


Steps to reproduce:
1. Play youtube video
2. Switch to VT2(Ctrl+Alt+F2)
3. Switch back
Observe whole screen is scrued.

View at https://screenshot.googleplex.com/GZUoGrSMkNA


 

Comment 1 by ka...@chromium.org, Oct 13 2016

Cc: sontis@chromium.org osh...@chromium.org shrawan@chromium.org rjahagir@chromium.org helenzhang@chromium.org marc...@chromium.org
Components: OS>Kernel>Graphics Internals>Graphics
Labels: -Pri-3 M-55 OS-Chrome Pri-1
Log at https://pantheon.corp.google.com/storage/browser/chromiumos-test-logs/bugfiles/cr/655770/

Consistent issue
Is it related with VT2  issue 640082  ? 

Comment 3 by ka...@chromium.org, Oct 13 2016

Labels: GFx
No, switching to VT2 (several times) works. This is Gfx issue with coming back from VT2.

Comment 4 by ka...@chromium.org, Oct 13 2016

Owner: dbehr@chromium.org

Comment 5 by ka...@chromium.org, Oct 13 2016

Sometimes this same issue happens on static screen graphics, even on login screen.

Comment 6 by ka...@chromium.org, Oct 13 2016

Cc: dbehr@chromium.org
Owner: ----

Comment 7 by ka...@chromium.org, Oct 13 2016

Labels: ReleaseBlock-Stable
Labels: -Pri-1 -ReleaseBlock-Stable Pri-2
Since this doesn't affect end users, this is not a blocker... We have way more critical things to fix.

Comment 9 by dbehr@chromium.org, Nov 11 2016

Cc: dnicoara@chromium.org
Most likely Chrome flips to a buffer with tiling on before doing a modeset.
We were just discussing something similar affecting WebGL.
Project Member

Comment 10 by bugdroid1@chromium.org, Nov 15 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/547665586e0d17adc9d8ecf03b41c9448fe7719c

commit 547665586e0d17adc9d8ecf03b41c9448fe7719c
Author: dnicoara <dnicoara@chromium.org>
Date: Tue Nov 15 14:51:33 2016

Fix potential GPU crash caused by VT switching

When display control is released Frecon may change the configuration at
will. Since Chrome never stops page flipping, there is a race condition
when Chrome regains control where the Chrome hasn't polled for the
configuration but is still page flipping which leads to a failed page
flip due to invalid display configuration (which causes the GPU process
to be killed).

Turning the displays off unparents the windows from the displays
allowing Chrome to continue page flipping while the display
configuration is renewed.

BUG= 655770 
TEST=Updated display_unittests

Review-Url: https://codereview.chromium.org/2498103002
Cr-Commit-Position: refs/heads/master@{#432177}

[modify] https://crrev.com/547665586e0d17adc9d8ecf03b41c9448fe7719c/ui/display/chromeos/display_configurator.cc
[modify] https://crrev.com/547665586e0d17adc9d8ecf03b41c9448fe7719c/ui/display/chromeos/display_configurator.h
[modify] https://crrev.com/547665586e0d17adc9d8ecf03b41c9448fe7719c/ui/display/chromeos/display_configurator_unittest.cc

Status: Fixed (was: Untriaged)
Status: Verified (was: Fixed)
verified in 8872.54.0, 55.0.2883.54
Components: -Internals>Graphics Internals>GPU
Moving old issues out of Internal>Graphics to delete this obsolete component ( crbug.com/685425  for details)
Cc: dnschn...@chromium.org
FWIW, this fix probably broke crouton (https://github.com/dnschneid/crouton/issues/2923#issuecomment-279973524). We managed to work around it by calling xrandr --auto after crouton's X server has started.

Still unclear about the root cause.

Sign in to add a comment