This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM68: AM68 - Configuring hardware rendering support in Yocto for Chromium

Part Number: AM68

Hi,

I am trying to configure Chromium-ozone-wayland (https://layers.openembedded.org/layerindex/recipe/346474/) with hardware rendering support.

Using poky (kirkstone) and a local.conf file of:

Fullscreen
1
2
3
4
5
6
7
8
9
IMAGE_INSTALL:append = " ti-img-rogue-umlibs ti-img-rogue-driver"
IMAGE_INSTALL:append = " libdrm"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-modules"
PREFERRED_PROVIDER_virtual/gpudriver = "ti-img-rogue-driver"
IMAGE_INSTALL:append = " chromium-ozone-wayland"
PACKAGECONFIG:append:pn-chromium-ozone-wayland = " use-egl"
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Chromium for wayland builds but chrome://gpu reports that no hardware acceleration is being used.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Graphics Feature Status
Canvas: Software only, hardware acceleration unavailable
Canvas out-of-process rasterization: Disabled
Direct Rendering Display Compositor: Disabled
Compositing: Software only. Hardware acceleration disabled
Multiple Raster Threads: Disabled
OpenGL: Disabled
Rasterization: Software only. Hardware acceleration disabled
Raw Draw: Disabled
Skia Graphite: Disabled
Video Decode: Software only. Hardware acceleration disabled
Video Encode: Software only. Hardware acceleration disabled
Vulkan: Disabled
WebGL: Software only, hardware acceleration unavailable
WebGL2: Software only, hardware acceleration unavailable
WebGPU: Disabled
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

With virtual/gpudriver provided by ti-img-rogue driver, do I also have to specify virtual/egl, virtual/libgles2 also? Or are there other specifics needed in setting up the graphics via Yocto?

And secondly, there is an option to build chromium with vaapi support, is this available for the AM68?

Regards,

Richard

  • Hi Richard,

    Hardware acceleration for Chromium is a feature that is currently being worked on by our SDK team. The feature is planned for the 9.2 SDK release in March 2024. 

    Until then, unfortunately we would not be able to support hardware acceleration on Chromium.

    Regards,

    Takuma