New issue
Advanced search Search tips

Issue 733450 link

Starred by 6 users

Issue metadata

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

Blocked on:
issue 838517



Sign in to add a comment

Allow to run ozone-gbm on a Linux/Intel desktop

Project Member Reported by joone....@intel.com, Jun 15 2017

Issue description

Chrome Version: ToT

What steps will reproduce the problem?
(1) Build chrome as follows:

$ cd ~/git/chromium/src
$ gn gen out/Release "--args=use_ozone=true ozone_platform_gbm=true
use_intel_minigbm=true"
$ ninja -C out/Release ozone_demo mash:all mus_demo

(2) Try to run some demos or mash_session without X-Window or Weston on Intel GPU
$ export EGL_PLATFORM=surfaceless
$ out/Release/ozone_demo --ozone-platform=gbm  (works!)
$ out/Release/mash --service=mus_demo --ozone-platform=gbm --enable-features=Mash  (works!)
$ out/Release/content_shell --ozone-platform=gbm (running, but no output)


What is the expected result?
They should run in fullscreen.

What happens instead?
Crashes or no output on a screen
 

Comment 1 by joone....@intel.com, Jun 15 2017

Cc: rjkroege@chromium.org
Project Member

Comment 2 by bugdroid1@chromium.org, Jun 16 2017

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

commit 7928288383ccd59cd7037ad0a341645b2dc2475c
Author: Joone Hur <joone.hur@intel.com>
Date: Fri Jun 16 04:22:20 2017

Initialize Ozone in ozone_demo

We need to call OzonePlatform::InitializeForGPU() before
InitializeGLOneOff().

BUG=733450
TEST=ozone_demo

Change-Id: Ib94f4eebefc71e812fb4f8bc8293750d3d642074
Reviewed-on: https://chromium-review.googlesource.com/536256
Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
Commit-Queue: Joone Hur <joone.hur@intel.com>
Cr-Commit-Position: refs/heads/master@{#479947}
[modify] https://crrev.com/7928288383ccd59cd7037ad0a341645b2dc2475c/ui/ozone/demo/ozone_demo.cc

Comment 3 by joone....@intel.com, Jul 11 2017

Description: Show this description
Project Member

Comment 4 by bugdroid1@chromium.org, Feb 2 2018

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

commit 63612d32bdf79162b3aadf5b80ee61e36624fd14
Author: Joone Hur <joone.hur@intel.com>
Date: Fri Feb 02 22:09:35 2018

Allow to run ozone_demo on a Linux/Intel desktop

First, we need to enable Intel driver by building
Mesa 17.0.2 with --with-egl-platform=surfaceless
--with-dri-drivers=i965

BUG=733450
TEST=ozone_demo

$ cd ~/git/chromium/src
$ gn gen out/Release "--args=use_ozone=true ozone_platform_gbm=true
use_intel_minigbm=true"
$ ninja -C out/Release ozone_demo
$ export EGL_PLATFORM=surfaceless
$ out/Release/ozone_demo

Change-Id: Ic560b2b4f36701f3c159fd35e771d04c2e1ec97e
Reviewed-on: https://chromium-review.googlesource.com/886836
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
Commit-Queue: Joone Hur <joone.hur@intel.com>
Cr-Commit-Position: refs/heads/master@{#534168}
[modify] https://crrev.com/63612d32bdf79162b3aadf5b80ee61e36624fd14/third_party/minigbm/BUILD.gn

Owner: joone....@intel.com
Summary: Allow to run ozone-gbm on a Linux/Intel desktop (was: Make ozone-gbm work without CrOS)
Project Member

Comment 6 by bugdroid1@chromium.org, Feb 23 2018

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

commit 53dabb0f1505c0000e4363a05e37806a7c736279
Author: Sergey Volk <servolk@google.com>
Date: Fri Feb 23 19:25:54 2018

Add flags for minigbm backends in BUILD.gn

This will allow configuring minigbm via GN variables, instead of make
file args.

Bug: 733450
Change-Id: I455d6b39c587b061a3527b63c7b1a1f556a529ac
Reviewed-on: https://chromium-review.googlesource.com/933595
Reviewed-by: Michael Spang <spang@chromium.org>
Reviewed-by: Robert Kroeger <rjkroege@chromium.org>
Commit-Queue: Sergey Volk <servolk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538857}
[modify] https://crrev.com/53dabb0f1505c0000e4363a05e37806a7c736279/third_party/minigbm/BUILD.gn

Why do this?

Project Member

Comment 9 by bugdroid1@chromium.org, Apr 17 2018

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

commit d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5
Author: Joone Hur <joone.hur@intel.com>
Date: Tue Apr 17 18:05:09 2018

Separate display configurator from CrOS build

This CL moves all files in ui/display/manager/chromeos to
ui/display/manager and adds build_display_configuration GN arg
so that the display configurator could be used in Linux
desktop.

BUG=733450

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: Idd790cfe6f9e5daf6ccad23353573028ebe5d7ee
Reviewed-on: https://chromium-review.googlesource.com/969416
Reviewed-by: Yusuke Sato <yusukes@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Reviewed-by: kylechar <kylechar@chromium.org>
Reviewed-by: Malay Keshav <malaykeshav@chromium.org>
Commit-Queue: Joone Hur <joone.hur@intel.com>
Cr-Commit-Position: refs/heads/master@{#551390}
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/ash_display_controller.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/display_animator.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/display_color_manager.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/display_color_manager_unittest.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/display_error_observer.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/display_manager_unittest.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/display_prefs_unittest.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/display_shutdown_observer.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/projecting_observer.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/touch_calibrator_controller.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/display/touch_calibrator_controller_unittest.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/shell.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/shell_port_classic.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/system/power/power_button_controller.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/system/power/power_event_observer.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/touch/ash_touch_transform_controller.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/touch/ash_touch_transform_controller.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/touch/touch_observer_hud.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/touch/touch_transform_setter_mus.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ash/wm/lock_state_controller_unittest.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/chrome/browser/chromeos/dbus/chrome_console_service_provider_delegate.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/chrome/browser/chromeos/dbus/chrome_display_power_service_provider_delegate.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/chrome/browser/chromeos/display/output_protection_controller_ash.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/chrome/browser/extensions/system_display/display_info_provider_chromeos.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/chrome/browser/extensions/system_display/display_info_provider_chromeos_unittest.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/chrome/browser/ui/webui/chromeos/login/oobe_display_chooser_unittest.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/components/arc/power/DEPS
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/components/arc/power/arc_power_bridge.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/extensions/shell/browser/shell_desktop_controller_aura.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/media/gpu/DEPS
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/services/ui/display/output_protection.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/services/ui/display/screen_manager_ozone_internal.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/services/ui/display/screen_manager_ozone_internal.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/services/ui/input_devices/touch_device_server.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/BUILD.gn
[add] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/display.gni
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/BUILD.gn
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/DEPS
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/apply_content_protection_task.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/apply_content_protection_task.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/apply_content_protection_task_unittest.cc
[delete] https://crrev.com/37e205eb4228a912866bc145534784924c12ea83/ui/display/manager/chromeos/DEPS
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/configure_displays_task.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/configure_displays_task.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/configure_displays_task_unittest.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/default_touch_transform_setter.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/default_touch_transform_setter.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_change_observer.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_change_observer.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_change_observer_unittest.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_configurator.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_configurator.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_configurator_unittest.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_layout_manager.h
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_manager.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_manager.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_util.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_util.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/display_utils_unittest.cc
[modify] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/managed_display_info_unittest.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/query_content_protection_task.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/query_content_protection_task.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/query_content_protection_task_unittest.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/action_logger.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/action_logger.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/action_logger_util.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/action_logger_util.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/test_display_layout_manager.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/test_display_layout_manager.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/test_native_display_delegate.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/test_native_display_delegate.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/touch_device_manager_test_api.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/touch_device_manager_test_api.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/touch_transform_controller_test_api.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/test/touch_transform_controller_test_api.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/touch_device_manager.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/touch_device_manager.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/touch_device_manager_unittest.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/touch_transform_controller.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/touch_transform_controller.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/touch_transform_controller_unittest.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/touch_transform_setter.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/update_display_configuration_task.cc
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/update_display_configuration_task.h
[rename] https://crrev.com/d3ae8737f7186154d2fdc3ccc5fe43bf290f91b5/ui/display/manager/update_display_configuration_task_unittest.cc

Description: Show this description
Description: Show this description
Description: Show this description
Blockedon: 838517
Components: Internals>GPU
Status: Available (was: Untriaged)
Status: Assigned (was: Available)

Sign in to add a comment