Can Ozone work with drm platform on Linux?

449 views
Skip to first unread message

Minggang Wang

unread,
Oct 20, 2020, 11:28:44 AM10/20/20
to Ozone-Dev
Hi there,

I tried to run chromium with --ozone-platform=drm  flag, but got error log below:

[1384378:1384378:1020/175729.553209:INFO:content_main_runner_impl.cc(973)] Chrome is running in full browser mode.
[1384378:1384378:1020/175730.619004:WARNING:drm_device_handle.cc(88)] Failed to authenticate /dev/dri/card0 within 1000 ms

I built the latest master branch with ozone_platform_drm=true, so can Ozone work with drm platform now? Your help is appreciated!


Minggang Wang

unread,
Oct 27, 2020, 10:09:06 AM10/27/20
to Ozone-Dev, Minggang Wang
Thanks for Rob's replay, I past it below. Here I want to clarify my case that I want to enable the ozone+drm on Ubuntu of Intel based desktop/laptop, which is i5/i7 and use the integrated GPU. Is it possible to do that? I read https://source.chromium.org/chromium/chromium/src/+/master:docs/ozone_overview.md, but didn't find how to config the drm for Linux, thanks in advance!


Every Chromebook uses ozone/drm so yes, ozone/drm works on the linux OS in Chrome books.
To run ozone/drm Chrome on Linux, you need to correctly setup permissions for drm and evdev devices so that chrome can take full ownership of the console.

Rob. 

Robert Kroeger

unread,
Oct 27, 2020, 11:25:48 AM10/27/20
to Minggang Wang, Ozone-Dev

Minggang Wang

unread,
Oct 28, 2020, 10:02:42 AM10/28/20
to Ozone-Dev, Robert Kroeger, Ozone-Dev, Minggang Wang
Thanks a lot! That's helpful, I am going to try it out :)
Reply all
Reply to author
Forward
0 new messages