Page 1 of 1

Chromium Broken...

Unread postPosted: Fri Dec 15, 2017 11:05 pm
by xymantec
Tried Running Chromium today after Firefox decided to go quantum without plugins... Chromium will run and crash, it doesn't even show the browser window you see the program try to run on the taskbar but then it disappears. Tried purging, removing and reinstalling and it still don't run.

Re: Chromium Broken...

Unread postPosted: Sat Dec 16, 2017 4:05 pm
by xymantec
Wasn't able to get it working, I reimaged with backup and "sudo apt-mark hold chromium-browser" to prevent updates. This should also work for anyone who needs to have an older version of Firefox without it updating to quantum, "sudo apt-mark hold firefox".

Re: Chromium Broken...

Unread postPosted: Sat Dec 16, 2017 4:35 pm
by odroid
As far as I remember, Chormium 63.x.y.z on ODROID-XU4(armhf-32bit) was working well a couple of days ago.
I think Canonical or Google might break the compatibility of aarch64-64bit.

I will check it early next week.

Update: Chromium 62.0.0202.94 works fine on C2.
I will check the latest version 63.0.3239.84 soon.

Update: I was wrong.
Chromium 63.0.3239.84 works well on my C2. :D
I have no idea why your system has a different result.

Re: Chromium Broken...

Unread postPosted: Mon Dec 18, 2017 7:03 pm
by odroid
Chromium HW GPU(EGL) acceleration is broken on C2.

Follow below steps to fix it.
Code: Select all
sudo mv /usr/lib/chromium-browser/libEGL.so /usr/lib/chromium-browser/libEGL.so.org
sudo mv /usr/lib/chromium-browser/libGLESv2.so /usr/lib/chromium-browser/libGLESv2.so.org
sudo ln -s /usr/lib/aarch64-linux-gnu/libmali.so /usr/lib/chromium-browser/libEGL.so
sudo ln -s /usr/lib/aarch64-linux-gnu/libmali.so /usr/lib/chromium-browser/libGLESv2.so


Add this line in /etc/chromium-browser/default file.
Code: Select all
CHROMIUM_FLAGS="--use-gl=egl --ignore-gpu-blacklist --disable-accelerated-2d-canvas --num-raster-threads=4"


This webgl example can show over 15~19FPS after applying the changes.
http://webglsamples.org/aquarium/aquarium.html

Re: Chromium Broken...

Unread postPosted: Tue Dec 19, 2017 6:58 am
by Ameridroid
Interesting results with the WebGL example. On the XU4 Chromium Version 63.0.3239.84 (Official Build) Built on Ubuntu , running on Ubuntu 16.04 (32-bit), I get between 35-40fps with 500 fish.

Why such a big increase compared to the C2?

Re: Chromium Broken...

Unread postPosted: Tue Dec 19, 2017 9:04 am
by odroid
GPU is different.
I guess XU4-Mali628MP6 is 3~4 times more powerful than C2-Mali450MP3.
But C2 has much more powerful VPU for video decoding.

Re: Chromium Broken...

Unread postPosted: Tue Dec 19, 2017 5:11 pm
by meveric
Here's a "technical" comparison between different GPUs in the ARM world: http://kyokojap.myweb.hinet.net/gpu_gflops/
If you compare the Mali 450 MP3 (ODROID C2) vs the Mali T628 MP6 you see why it can be such a big difference