Select to view content in your preferred language

Route not displayed after update to chromium 145/146 on Raspberry Pi 4

2145
13
03-26-2026 06:43 AM
Alamos
by
Emerging Contributor

Hello,

after updating the raspberry pi chromium to version 146, the route calculated on the map is not visible any more.

I dont see an error in the browser log.

To be sure that the my app is not the cause of the issue, i also tried it on the example page https://developers.arcgis.com/javascript/latest/sample-code/directions-routelayer/

There is no route visible on chromium 145 (and chromium 146), too.

On chromium 142 it has been working without any issues.

WebGL is hardware accelerated according chrome://gpu list, WebGPU is disabled.

The maps are displayed without problems.

Do you have an idea?

Thanks!

 

 

 

Tags (3)
13 Replies
Alamos
by
Emerging Contributor

Thank you. I'm going to open an issues there, soon.

But we've found out that when we use arcgis sdk in version 4.28 in the geo figures sample page, it is working, with version 4.29 not. Maybe there was a major change on your side? 

 

Thanks in advance.

0 Kudos
MaxKirschling
Occasional Contributor

I just wanted to chime in and say I am experiencing the exact same issue with the exact same hardware/software combo. The only thing I have to add is that when I view the route-layer sample page (https://developers.arcgis.com/javascript/latest/sample-code/directions-routelayer/), the full route does not display (same as OP) but when I hover over a specific step of the route it will display that specific route segment.

@Alamos, did you ever post the bug on issues.chromium.org? If so, could you provide the bug ID#? I would like to follow it for any updates from

0 Kudos
MaxKirschling
Occasional Contributor

I wanted to share a workaround that I figured out, although it comes with a cost. For reference, this was used on a Raspberry Pi 5 running PiSignage. Based on the solution I discovered, the problem seems to be with OpenGL ES (GLES), as the routing layer was correctly calculating the route but wouldn't actually draw it. 

My Workaround

The solution was to force Chromium to utilize swiftshader instead of gles. This change resulted in the routing layer drawing on screen, but at the cost of some performance (as swiftshader is a software based renderer that utilizes the CPU rather than any onboard GPU).

Using a terminal on the Pi device, or via an SSH connection, I created a file:

sudo nano /etc/chromium.d/01-pisignage

and added a single line:

CHROMIUM_FLAGS="--use-angle=swiftshader --enable-unsafe-swiftshader"

 

Because we are using PiSignage, there were other files on the device that were also injecting (conflicting) flags to the Chromium startup. I also had to edit the files located at:

  • /etc/alternatives/gnome-www-browser

  • /etc/alternatives/x-www-browser

By searching for "--use-angle=", I was able to replace the text

--use-angles=gles

 with

--use-angles=swiftshader --enable-unsafe-swiftshader

 

After that switch, everything worked, although there is a noticeable drop in response-time. Hopefully this will help someone out there with a similar issue, at least until the devs at Esri and/or Chromium can squash this bug.

0 Kudos
Alamos
by
Emerging Contributor

Hello,

thanks for the workaround.

Our customer opened an offical bug / ticket on Esri and I think they are going to investigate this issue. They could already reproduce it by theirselves so I am optimistic that we get a solution or fix soon.

0 Kudos