Chromium's ozone-wayland support for hardware video overlay (SCANOUT of YUV_420_BIPLANAR format) on Intel platform for Linux Desktop

151 views
Skip to first unread message

Wallace Lee

unread,
Feb 19, 2020, 2:15:52 AM2/19/20
to Ozone-Dev
Hi,

 

I have some trouble trying to find out if Ozone-Wayland has implemented all the necessary pieces/components to support scanout of NV12 on to hardware overlay (video plane)  on Intel core processor (gen 8th) platform (aka coffee lake) ?

 

More precisely, i see issues with MojoVideoDecoder (with Chromium v76.0.3809) trying to render the decoded buffer on Linux Desktop on Ozone-Wayland backend.

 

Any idea how can i get this to work ?



Some console log:

 

[3160:3160:1023/194401.315149:ERROR:gbm_pixmap_wayland.cc(88)] Cannot create bo with format= YUV_420_BIPLANAR and usage SCANOUT_VDA_WRITE
[3160:3160:1023/194401.315201:ERROR:vaapi_picture_native_pixmap_ozone.cc(108)] Failed allocating a pixmap
[1:14:1023/194401.315345:ERROR:render_media_log.cc(27)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"VDA Error 4"}

regards,
Wallace

Maksim Sisov

unread,
Feb 19, 2020, 2:19:40 AM2/19/20
to Wallace Lee, Ozone-Dev
> --
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ozone-dev+...@chromium.org.

Hi,

This error comes from the libgbm that is unable to create a buffer with
YUV_420_BIPLANAR format and SCANOUT_VDA_WRITE usage. It can be that it
is not supported by your system. Moreover, we don't have vaapi support
yet. Last, m76 is very old. Please upgrade :)

--
Best Regards,
Maksim Sisov
0x8F4BE350.asc
Reply all
Reply to author
Forward
0 new messages