status of use_ozone=true + ozone_platform="x11" on Linux Desktop

243 views
Skip to first unread message

Julien Isorce

unread,
Feb 3, 2017, 6:41:48 PM2/3/17
to Ozone-Dev
Hi,

The following questions are about ozone x11, not ozone wayland which is still on going http://crbug.com/578890 .

According to https://bugs.chromium.org/p/chromium/issues/detail?id=361137 I understand that Ozone_x11 should now work on Linux Desktop, is it really the case ?
I am asking because I tried few weeks ago, the build was ok but the browser did not run.
Also according to https://chromium.googlesource.com/chromium/src/+/master/docs/ozone_overview.md#Linux-Desktop-waterfall it seems to be still in development but maybe the doc is not up to date.
The bot is green but I am not sure it actually run some tests: https://build.chromium.org/p/chromium.fyi/builders/Ozone%20Linux/

Can someone confirm it works on a recent ubuntu for example ? With some screenshots that would be awesome, not really as a proof but just because I am curious of the visual result.

Also I guess it will replace completely the non-ozone linux x11/gtk support, any target release ? even roughly.

Thx
Julien

Sadrul Chowdhury

unread,
Feb 3, 2017, 6:57:38 PM2/3/17
to Julien Isorce, rjkr...@chromium.org, kyle...@chromium.org, toni...@igalia.com, Ozone-Dev
+rjkroege@, kylechar@ chromium.org


On Fri, Feb 3, 2017 at 6:41 PM, Julien Isorce <julien...@chromium.org> wrote:
Hi,

The following questions are about ozone x11, not ozone wayland which is still on going http://crbug.com/578890 .

According to https://bugs.chromium.org/p/chromium/issues/detail?id=361137 I understand that Ozone_x11 should now work on Linux Desktop, is it really the case ?
I am asking because I tried few weeks ago, the build was ok but the browser did not run.
Also according to https://chromium.googlesource.com/chromium/src/+/master/docs/ozone_overview.md#Linux-Desktop-waterfall it seems to be still in development but maybe the doc is not up to date.
The bot is green but I am not sure it actually run some tests: https://build.chromium.org/p/chromium.fyi/builders/Ozone%20Linux/

Can someone confirm it works on a recent ubuntu for example ? With some screenshots that would be awesome, not really as a proof but just because I am curious of the visual result.

Chrome with ozone on non-chromeos linux is not expected to work right now (on ToT), whether with x11 or any other ozone implementation. The missing bits are not in the specific ozone implementation, but in chrome. Most of the code in //chrome/ (and elsewhere, to be honest) expects that ozone means chromeos. So non-chromeos build of ozone is missing some hooks needed for the chrome browser to work.
 
Also I guess it will replace completely the non-ozone linux x11/gtk support, any target release ? even roughly.

I think we are still too far to predict a target release for chrome-ozone on linux at this time. I believe tonikitoo@ et. al. have a series of patches for chrome on ozone-wayland. You may find those useful/interesting.

Sadrul

Antonio Gomes

unread,
Feb 13, 2017, 6:59:17 AM2/13/17
to Sadrul Chowdhury, Julien Isorce, rjkr...@chromium.org, kyle...@chromium.org, Antonio Gomes (tonikitoo), Ozone-Dev
Hi Julien.

Precisely what Sadrul said. We have discussed the way forward in
BlinkOn, and I have put some slides together, including a rough plan
to get Linux/Desktop Ozone going in ToT:
https://docs.google.com/presentation/d/13TV2sjLlO8Nqqm6jgaNLwM9v03QEA0idIOS8MRouXJU/edit#slide=id.g1c52a5e48e_1_16

The "title" mentions "Wayland", but the way we are working on it will
leverage any Ozone backend (X11, Wayland, etc).

BR,
> --
> You received this message because you are subscribed to the Google Groups
> "Ozone-Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ozone-dev+...@chromium.org.



--
--Antonio Gomes

Julien Isorce

unread,
Feb 24, 2017, 6:10:16 AM2/24/17
to Antonio Gomes, Sadrul Chowdhury, rjkr...@chromium.org, kyle...@chromium.org, Antonio Gomes (tonikitoo), Ozone-Dev
Thx you both for the clarification. Please send the list of issue trackers once you have reached some sort of task breakdown.

> email to ozone-dev+unsubscribe@chromium.org.



--
--Antonio Gomes

Antonio Gomes

unread,
Mar 1, 2017, 1:20:30 PM3/1/17
to Julien Isorce, Sadrul Chowdhury, rjkr...@chromium.org, kyle...@chromium.org, Antonio Gomes (tonikitoo), Ozone-Dev
Hi Julien. Sorry for the delaying in reply.

After the BlinkOn 7, where we could meet and agree with great googlers
(Robert, Fady et al, as well as sky@ and kylechar@, albeit virtually),
Frederic and I could start to really move things forward.

To be more transparent, I uploaded the slides in [1] with the break
down list of tasks and the current status.

In summary. we have the following macro tasks in the horizon:

0) Stub out ScreenManagerOzoneExternal, so that in non-chromeos
builds, we do not call out to ScreenManagerDelegate (i.e.
ws::DisplayManager), in order to get ws::Display instances created.
Instead, WindowTreeHostFactory will be used for driving the
ws::Display creation.

* https://codereview.chromium.org/2697693002/ (DONE)

1) change mus_demo to support internal and external window modes. This
was a multi CL task performed by Frederic Wang (with reviews from
sky@, kylechar@ and myself). Most relevant ones:

* https://codereview.chromium.org/2679213003/ (DONE)
* https://codereview.chromium.org/2693923004/ (DONE)
* https://codereview.chromium.org/2715533005/ (DONE)

2) Make sure multi external window creation can be tested by mus_demo

* https://codereview.chromium.org/2715533005/ (WIP, functional already
but blocked on _3_)

3) implement mojo / c++ changes in Mus so that multiple external
window can be created.

* https://codereview.chromium.org/2712203002/ (WIP)

4) Experimenting with launching the Chrome browser on this set up (Mus
+ external window mode). Note that Chrome today already the the right
thing (See DesktopWindowTreeHostMus creation in
https://cs.chromium.org/chromium/src/chrome/browser/ui/views/frame/browser_frame_mus.cc?type=cs&l=41),
so we assume it won't be too hard, once we can (3) finished.

TBD

5) Stabilize get Chrome/Mus running on top of the various Ozone
backends that matter to the desktop (X11, Wayland, etc).

TBD

I will keep updating the slides as we progressed on the tasks. Please
do not hesitate to ask questions, if any.

Best,

[1] https://docs.google.com/presentation/d/13TV2sjLlO8Nqqm6jgaNLwM9v03QEA0idIOS8MRouXJU/edit#slide=id.g1cd3a97327_0_45
>> > email to ozone-dev+...@chromium.org.
>>
>>
>>
>> --
>> --Antonio Gomes
>
>



--
--Antonio Gomes

sajam...@gmail.com

unread,
May 25, 2017, 9:27:33 AM5/25/17
to Ozone-Dev, julien...@chromium.org, sad...@chromium.org, rjkr...@chromium.org, kyle...@chromium.org, toni...@igalia.com
I just watched your video showing chrome 60 with x11 and ozone. But when I built
with:
# Build arguments go here.
# See "gn args <out_dir> --list" for available build arguments.
use_ozone=true
enable_package_mash_services=true
args.gn
but it does not work: This looks suspicious from the log:
[28391:28394:0525/075907.149927:69543267039:ERROR:instance.cc(49)] Unable to locate service manifest for ui
[28391:28394:0525/075907.149950:69543267061:ERROR:service_manager.cc(767)] Failed to resolve service name: ui
[28391:28394:0525/075907.150008:69543267120:ERROR:instance.cc(49)] Unable to locate service manifest for content_packaged_services
[28391:28394:0525/075907.150020:69543267131:ERROR:service_manager.cc(767)] Failed to resolve service name: content_packaged_services

Antonio Gomes

unread,
May 25, 2017, 9:46:13 AM5/25/17
to sajam...@gmail.com, Ozone-Dev, julien...@chromium.org, rjkr...@chromium.org, kyle...@chromium.org, sad...@chromium.org
On 05/25/2017 09:27 AM, sajam...@gmail.com wrote:
> I just watched your video showing chrome 60 with x11 and ozone. But when I built
> with:
> # Build arguments go here.
> # See "gn args <out_dir> --list" for available build arguments.
> use_ozone=true
> enable_package_mash_services=true
> args.gn
> but it does not work: This looks suspicious from the log:
> [28391:28394:0525/075907.149927:69543267039:ERROR:instance.cc(49)] Unable to locate service manifest for ui
> [28391:28394:0525/075907.149950:69543267061:ERROR:service_manager.cc(767)] Failed to resolve service name: ui
> [28391:28394:0525/075907.150008:69543267120:ERROR:instance.cc(49)] Unable to locate service manifest for content_packaged_services
> [28391:28394:0525/075907.150020:69543267131:ERROR:service_manager.cc(767)] Failed to resolve service name: content_packaged_services

the last two lines are indeed suspicious.

Please make sure you follow the instructions in
https://github.com/igalia/chromium

Here are my local gn args:

is_debug = false
dcheck_always_on = true

use_ozone = true
ozone_platform_x11 = true
ozone_platform_gbm = false
ozone_platform_wayland = true

enable_package_mash_services = true
use_xkbcommon = true

enable_nacl = false
remove_webcore_debug_symbols = true

... and targets I usually build:

$ time ninja -C <out> chrome mash:all services/ui/demo
mus_demo_unittests mus_ws_unittests

Launch command:

$ <out>/chrome --mus --user-data-dir=<dir> --ozone-platform=x11 (or wayland)

* details + videos:
https://blogs.igalia.com/tonikitoo/2017/05/17/chromium-musozone-update-h12017-wayland-x11/

-
Antonio

Stephen James

unread,
May 25, 2017, 1:18:30 PM5/25/17
to Antonio Gomes, Ozone-Dev, julien...@chromium.org, rjkr...@chromium.org, kyle...@chromium.org, sad...@chromium.org
Thank you! 

sajam...@gmail.com

unread,
Aug 17, 2017, 11:58:28 AM8/17/17
to Ozone-Dev, toni...@igalia.com, julien...@chromium.org, rjkr...@chromium.org, kyle...@chromium.org, sad...@chromium.org, sajam...@gmail.com
I got a chance to return to this. I have copied your args and using the latest stable chrome download.
60.0.3112.90

is_debug = false
dcheck_always_on = true

use_ozone = true
ozone_platform_x11 = true
ozone_platform_gbm = false
ozone_platform_wayland = true

enable_package_mash_services = true
use_xkbcommon = true

enable_nacl = false
remove_webcore_debug_symbols = true

ninja -C out/Release/ chrome


out/Release/chrome --mus --ozone-platform=x11 --user-data-dir=/tmp/xdata --use-gl=egl
[32289:32292:0817/105700.854136:1803599963400:ERROR:instance.cc(49)] Unable to locate service manifest for ui
[32289:32292:0817/105700.854593:1803599963416:ERROR:service_manager.cc(782)] Failed to resolve service name: ui
[32289:32292:0817/105700.854603:1803599963426:ERROR:instance.cc(49)] Unable to locate service manifest for content_packaged_services
[32289:32292:0817/105700.854606:1803599963429:ERROR:service_manager.cc(782)] Failed to resolve service name: content_packaged_services

Antonio Gomes

unread,
Aug 17, 2017, 12:04:42 PM8/17/17
to sajam...@gmail.com, Ozone-Dev, toni...@igalia.com, julien...@chromium.org, rjkr...@chromium.org, kyle...@chromium.org, sad...@chromium.org
This is being worked out off-trunk for now. See
https://github.com/igalia/chromium/ , including build instructions.

Latest status: https://www.youtube.com/watch?v=FlsnQopAMJk

Upstream plan is being carved out, but needs agreement with
Chromium/Google forks.

PS: we rebase our dev branch (named ozone-wayland-dev) every week.
Latest is based on Chromium 62 snapshot, as of last weekend.

-
Antonio
Reply all
Reply to author
Forward
0 new messages