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

Issue 760230 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Aug 13
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

mash: Login screen webui is blank on device with chrome --mash

Project Member Reported by jamescook@chromium.org, Aug 29 2017

Issue description

ToT r498116 on link

* stop ui
* Add --mash to /etc/chrome_dev.conf
* start UI
* Login screen has no pods and no webui fake-shelf. System tray is visible and working.

Because there are no pods you can't sign in.

Logs:
[31649:31649:0829/110109.732426:6703335972:VERBOSE1:drm_device_handle.cc(83)] Succeeded authenticating /dev/dri/card0 in 0 ms with 1 attempt(s)
device-enumerator: scan all dirs
  device-enumerator: scanning /sys/bus
  device-enumerator: scanning /sys/class
[31649:31649:0829/110109.770604:6703374092:VERBOSE1:drm_display_host_manager.cc(247)] Got display event ADD for /dev/dri/card0
[31649:31649:0829/110109.773596:6703377082:VERBOSE1:drm_display_host_manager.cc(247)] Got display event ADD for /dev/dri/card1
[31649:31669:0829/110109.773745:6703377230:VERBOSE1:drm_device_handle.cc(83)] Succeeded authenticating /dev/dri/card1 in 0 ms with 1 attempt(s)
[31649:31691:0829/110109.779946:6703383434:VERBOSE1:drm_device_manager.cc(53)] Could not initialize DRM device for /sys/devices/platform/vgem/drm/card1
[31649:31689:0829/110109.781681:6703385166:ERROR:vaapi_wrapper.cc(1197)] Could not get a valid VA display
[31655:31655:0829/110109.846216:6703449703:ERROR:shell_delegate_mus.cc(109)] Not implemented reached in virtual ash::GPUSupport *ash::ShellDelegateMus::CreateGPUSupport()
[31655:31655:0829/110109.846505:6703449990:ERROR:shell_delegate_mus.cc(103)] Not implemented reached in virtual std::unique_ptr<PaletteDelegate> ash::ShellDelegateMus::CreatePaletteDelegate()
[31655:31655:0829/110109.846559:6703450043:ERROR:shell_delegate_mus.cc(58)] Not implemented reached in virtual void ash::ShellDelegateMus::PreInit()
[31655:31655:0829/110109.877798:6703481290:VERBOSE1:update_display_configuration_task.cc(69)] OnDisplaysUpdated: new_display_state=SINGLE new_power_state=ALL_ON flags=1 force_configure=1 display_count=1
[31655:31655:0829/110109.877928:6703481413:VERBOSE1:display_configurator.cc(213)] EnterState: display=SINGLE power=ALL_ON
[31655:31655:0829/110109.877996:6703481481:VERBOSE1:display_configurator.cc(1027)] OnConfigured: success=1 new_display_state=SINGLE new_power_state=ALL_ON
device-enumerator: scan all dirs
  device-enumerator: scanning /sys/bus
  device-enumerator: scanning /sys/class
[31655:31655:0829/110109.929620:6703533107:ERROR:layer_tree_host_impl.cc(2405)] Forcing zero-copy tile initialization as worker context is missing
[31655:31655:0829/110110.014601:6703618089:ERROR:shell_delegate_mus.cc(48)] Not implemented reached in virtual bool ash::ShellDelegateMus::CanShowWindowForUser(aura::Window *) const
[31657:31657:0829/110110.024809:6703628412:ERROR:layer_tree_host_impl.cc(2405)] Forcing zero-copy tile initialization as worker context is missing
[31652:31652:0829/110110.385461:ERROR:login_display_host_impl.cc(496)] Not implemented reached in chromeos::LoginDisplayHostImpl::LoginDisplayHostImpl(const gfx::Rect &)
[31652:31652:0829/110110.385619:ERROR:input_events_blocker.cc(21)] Not implemented reached in chromeos::InputEventsBlocker::InputEventsBlocker()
[31652:31652:0829/110110.390723:ERROR:webui_login_view.cc(126)] Not implemented reached in chromeos::WebUILoginView::WebUILoginView(const chromeos::WebUILoginView::WebViewSettings &)
[31652:31652:0829/110110.390817:ERROR:webui_login_view.cc(195)] Not implemented reached in chromeos::WebUILoginView::WebUILoginView(const chromeos::WebUILoginView::WebViewSettings &)
[31652:31652:0829/110110.418753:ERROR:core_oobe_handler.cc(81)] Not implemented reached in chromeos::CoreOobeHandler::CoreOobeHandler(chromeos::OobeUI *, chromeos::JSCallsContainer *)
[31550:31643:0829/110110.419346:6704022834:ERROR:service_manager.cc(156)] Connection InterfaceProviderSpec prevented service: content_browser from binding interface: ash::mojom::TabletModeManager exposed by: ash
[31652:31652:0829/110110.423057:ERROR:render_widget_host_view_aura.cc(1259)] Not implemented reached in virtual base::i18n::TextDirection content::RenderWidgetHostViewAura::GetTextDirection() const
[31652:31652:0829/110110.424375:ERROR:input_events_blocker.cc(30)] Not implemented reached in virtual chromeos::InputEventsBlocker::~InputEventsBlocker()
[31652:31652:0829/110110.439954:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110110.439993:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110110.440009:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110110.440019:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110110.440029:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110110.440038:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110110.440047:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110110.440057:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110110.442228:ERROR:remote_text_input_client.cc(158)] Not implemented reached in virtual void RemoteTextInputClient::EnsureCaretNotInRect(const gfx::Rect &)
[31652:31652:0829/110110.460645:ERROR:layer_tree_host_impl.cc(2405)] Forcing zero-copy tile initialization as worker context is missing
[1:10:0829/110110.587906:ERROR:layer_tree_host_impl.cc(2405)] Forcing zero-copy tile initialization as worker context is missing
[31649:31691:0829/110110.942176:6704545663:WARNING:screen_manager.cc(114)] Display controller (crtc=19) already present.
[31655:31655:0829/110110.942454:6704545940:VERBOSE1:display_configurator.cc(921)] Display snapshots invalidated.
[31655:31655:0829/110110.942490:6704545974:VERBOSE1:update_display_configuration_task.cc(69)] OnDisplaysUpdated: new_display_state=SINGLE new_power_state=ALL_ON flags=0 force_configure=1 display_count=1
[31655:31655:0829/110110.942516:6704546006:VERBOSE1:display_configurator.cc(213)] EnterState: display=SINGLE power=ALL_ON
[31649:31691:0829/110110.942718:6704546204:VERBOSE1:drm_display.cc(102)] DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=19 connector=30 origin=0,0 size=2560x1700
[31652:31652:0829/110111.496214:ERROR:core_oobe_handler.cc(384)] Not implemented reached in void chromeos::CoreOobeHandler::UpdateA11yState()
[31652:31652:0829/110111.682692:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110111.682730:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110111.682740:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110111.682751:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110111.682761:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110111.682770:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110111.682780:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110111.682789:ERROR:component_extension_ime_manager_impl.cc(125)] IME extension file path does not exist: /usr/share/chromeos-assets/input_methods/xkb
[31652:31652:0829/110111.685685:ERROR:session_manager_client.cc(891)] Failed to call StartArcInstance: message_type: MESSAGE_ERROR
destination: :1.111
error_name: org.chromium.SessionManagerInterface.NotAvailable
sender: :1.108
signature: s
serial: 13
reply_serial: 146

string "ARC not supported."

[31652:31652:0829/110111.685752:ERROR:arc_session.cc(392)] Failed to start ARC instance
[31652:31652:0829/110111.930812:ERROR:CONSOLE(9961)] "TypeError: $(...).setTabletModeState is not a function
    at HTMLDivElement.setTabletModeState (chrome://oobe/login.js:4291:20)
    at Object.api.(anonymous function) [as setTabletModeState] (chrome://oobe/login.js:417:43)
    at <anonymous>:1:27", source: chrome://oobe/login.js (9961)
[31652:31652:0829/110111.930876:ERROR:CONSOLE(4291)] "Uncaught TypeError: $(...).setTabletModeState is not a function", source: chrome://oobe/login.js (4291)
[31655:31655:0829/110112.115945:6705719438:VERBOSE1:display_configurator.cc(1027)] OnConfigured: success=1 new_display_state=SINGLE new_power_state=ALL_ON
[31652:31652:0829/110112.176090:ERROR:remote_text_input_client.cc(140)] Not implemented reached in virtual void RemoteTextInputClient::OnInputMethodChanged()

 
Looks like the error is in /oobe/login.js

"TypeError: $(...).setTabletModeState is not a function
    at HTMLDivElement.setTabletModeState (chrome://oobe/login.js:4291:20)
    at Object.api.(anonymous function) [as setTabletModeState] (chrome://oobe/login.js:417:43)
    at <anonymous>:1:27", source: chrome://oobe/login.js (9961)
[31652:31652:0829/110111.930876:ERROR:CONSOLE(4291)] "Uncaught TypeError: $(...).setTabletModeState is not a function", source: chrome://oobe/login.js (4291)

I'm not sure if there have been recent changes there
Unfortunately that is most likely not a real failure (it is emitted every time).
It broke within the last week, so the bisect range is narrow. 9 steps to go, I should have a culprit CL shortly.

Hrm, there are two different failure modes:

1. Starting mid-week last week, the screen is white with the circular pods visible, but no UI widgets
2. Starting sometime in the last few days, the blank screen as described in the original description

Comment 5 by xiy...@chromium.org, Aug 29 2017

Is this only happening on the device? I am on r498233 and the login screen works on my dev box.
Yes, only on device.

The problem seems to be flaky. I thought I had it bisected, but apparently not. Sometimes it's blur-desktop only with no pods, sometimes it's white screen. See screenshot.

IMG_20170829_143034.jpg
2.7 MB View Download

Comment 7 by wzang@chromium.org, Aug 29 2017

I tried to reproduce this but I can't even proceed past the splash screen using a Samus on [1].

My most recent change related to login screen and Mash is [2], it doesn't seem to be related though..

[1]https://chromium.googlesource.com/chromium/src/+/d3ba4a801a2df0123df9cfd7dbdd775db28a9c5d
[2]https://chromium.googlesource.com/chromium/src/+/d7e7c0588c3c32659fa2d2bf9708728cd26c561c
Cc: jamescook@chromium.org
Owner: fsam...@chromium.org
Status: Assigned (was: Started)
Fady, can you take a look? This blocks on-device mash testing. It bisects to your CL (I was able to repro multiple times). I wasn't able to cleanly revert your CL locally -- perhaps other changes have landed on top.

commit f8369ed923c5f8f71e6669db0e2f96e2293a2ec8 (HEAD)
Author: Fady Samuel <fsamuel@chromium.org>
Date:   Thu Aug 24 17:24:56 2017 +0000

    viz: Allow any (local) aura::Window to request a LocalSurfaceId.
    
    In order to enable surface synchronization in ToT Chrome today, each
    aura::Window gains the ability to lazily allocate a LocalSurfaceId.
    
    This CL allows plumbs out the LocalSurfaceId to ui's LayerTreeHost in
    ui::Compositor::SetScaleAndSize.
    
    With this CL, ui shows up with --enable-surface-synchronization in
    production Chrome (non-Mushrome). Upcoming CLs will fix web content.
    
    Bug:  672962 
    TBR: reveman@chromium.org, sky@chromium.org, kylechar@chromium.org, piman@chromium.org
    Change-Id: I3e37c82d4f3db200502e93c7b06d4f8073a47ff7
    Reviewed-on: https://chromium-review.googlesource.com/633217
    Reviewed-by: Fady Samuel <fsamuel@chromium.org>
    Commit-Queue: Fady Samuel <fsamuel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#497105}

I will take a look first thing i nthe morning . 
https://chromium-review.googlesource.com/c/chromium/src/+/641385 This might fix the problem. Any thoughts?
Sorry, it's late. I meant to ask, does this fix the problem James? Please let me know.
I'll test when I get into the office.

I think Fady knows what the issue is (hidpi related?) but for the record here's what the blur-desktop-only state looks like.

IMG_20170830_090603.jpg
2.4 MB View Download

Comment 14 by wzang@chromium.org, Aug 30 2017

Cc: alemate@chromium.org wzang@chromium.org
Project Member

Comment 15 by bugdroid1@chromium.org, Aug 30 2017

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

commit 316b134842034754dd46380912c93224c4a4056d
Author: Fady Samuel <fsamuel@chromium.org>
Date: Wed Aug 30 19:53:27 2017

Mus: Only allocate a new LocalSurfaceId on DSF change for local windows

This CL fixes the login screen. Note that we should always allocate
a new LocalSurfaceId on device scale factor changes but we need to inform
the window server which then goes on to inform the child. This is a non-trivial
change so it will be addressed in a subsequent CL.

Bug:  760230 
Change-Id: If5e3225e60cd9f56fbc39876c8bcd8a257c2e88d
Reviewed-on: https://chromium-review.googlesource.com/643338
Commit-Queue: Fady Samuel <fsamuel@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#498576}
[modify] https://crrev.com/316b134842034754dd46380912c93224c4a4056d/ui/aura/mus/window_port_mus.cc

Components: -Internals>MUS Internals>Services>WindowService
Components: -Internals>Services>WindowService Internals>Services>Ash
Labels: -Proj-Mustash-Mash
Status: WontFix (was: Assigned)
I don't believe this bug is still relevant. Marking as WontFix. Please reopen if you don't believe so.

Sign in to add a comment