Chromium Broken...

Moderators: mdrjr, odroid

Chromium Broken...

Unread postby xymantec » Fri Dec 15, 2017 11:05 pm

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.
My signature, something cool and "original" for everyone to admire...
User avatar
xymantec
 
Posts: 22
Joined: Fri Mar 24, 2017 5:00 am
Location: Vancouver, WA
languages_spoken: english, spanish, italian, portoguese
ODROIDs: C2

Re: Chromium Broken...

Unread postby xymantec » Sat Dec 16, 2017 4:05 pm

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".
My signature, something cool and "original" for everyone to admire...
User avatar
xymantec
 
Posts: 22
Joined: Fri Mar 24, 2017 5:00 am
Location: Vancouver, WA
languages_spoken: english, spanish, italian, portoguese
ODROIDs: C2

Re: Chromium Broken...

Unread postby odroid » Sat Dec 16, 2017 4:35 pm

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.
User avatar
odroid
Site Admin
 
Posts: 28510
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Chromium Broken...

Unread postby odroid » Mon Dec 18, 2017 7:03 pm

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
User avatar
odroid
Site Admin
 
Posts: 28510
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Chromium Broken...

Unread postby Ameridroid » Tue Dec 19, 2017 6:58 am

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?
Ameridroid
 
Posts: 136
Joined: Thu Mar 17, 2016 4:19 am
languages_spoken: english

Re: Chromium Broken...

Unread postby odroid » Tue Dec 19, 2017 9:04 am

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.
User avatar
odroid
Site Admin
 
Posts: 28510
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Chromium Broken...

Unread postby meveric » Tue Dec 19, 2017 5:11 pm

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
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8988
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1


Return to Issues

Who is online

Users browsing this forum: No registered users and 0 guests