meta-browser icon indicating copy to clipboard operation
meta-browser copied to clipboard

chromium-ozone-wayland 101 SVG issue

Open ambrice opened this issue 2 years ago • 6 comments

Upgraded from chromium 92 -> 101 on i.MX8QM using wayland, and most SVG files are not displaying (with no error messages in stderr or console). Did anything change recently in SVG handling? The same version of x86 chromium run on my laptop (with wayland) displays the SVGs correctly.

ambrice avatar Jul 20 '22 21:07 ambrice

If I run chromium without --in-process-gpu, the SVG images display correctly (but no HW accel). Does SVG rendering use the GPU? Is there a flag to force software rendering of SVG images?

ambrice avatar Jul 21 '22 20:07 ambrice

More narrowly, if I run --in-process-gpu --disable-gpu-rasterization then SVGs display ok. So something in GPU rasterization in chromium 101 on i.MX8QM vivante GPU is causing problems for SVG image rendering.

ambrice avatar Jul 21 '22 22:07 ambrice

As far as I understand, this is a Chromium bug. Is there a link to a ticket in the Chromium development?

escherstair avatar Dec 07 '22 11:12 escherstair

Is this bug still present in newer versions of Chromium?

leograba avatar May 04 '23 11:05 leograba

We don't see this issue anymore on the NXP 5.15-based BSP.

Even the older version of Chromium where the bug was present now works when running against the new 5.15, whereas it presented the bug on 5.4.

leograba avatar Jun 21 '23 19:06 leograba

I see the same behavior running Torizon OS 6.4.0+build.5 that is based on NXP 5.15 BSP. The svg images are shown with big squares of the right color.

escherstair avatar Oct 30 '23 08:10 escherstair