[Ubuntu] Updated Chromium doesn't work.

Share here your ideas for new projects

Moderators: odroid, meveric, mdrjr

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby anlob » Sat Nov 05, 2016 8:49 pm

Hello,
just performed a dist-upgrade this night on my XU4 and got this version of chromium installed:

Code: Select all
root@H# apt-cache showpkg chromium
Package: chromium
Versions:
53.0.2785.92-2linarostretch1+deb8 (/var/lib/apt/lists/oph.mdrjr.net_meveric_dists_jessie_main_binary-armhf_Packages) (/var/lib/dpkg/status)
 Description Language:
                 File: /var/lib/apt/lists/oph.mdrjr.net_meveric_dists_jessie_main_binary-armhf_Packages
                  MD5: 3a7ed4512cf49e4fe53b4490bcc1060b

Reverse Depends:
  chromium-l10n,chromium 52.0.2743.116-1~deb8u1.1
  chromium-l10n,chromium 53.0.2785.92-2linarostretch1+deb8.1~
  chromium-l10n,chromium 53.0.2785.92-2linarostretch1+deb8
  chromium-inspector,chromium 31.0.1650.48-1
  chromium-inspector,chromium
  chromium-dbg,chromium 52.0.2743.116-1~deb8u1.1
  chromium-browser-odroid,chromium 50.0.2661.94
  chromedriver,chromium 53.0.2785.92-2linarostretch1+deb8
  cinnamon-desktop-environment,chromium
  chromium-l10n,chromium 53.0.2785.143-1~deb8u1
  chromium-inspector,chromium 31.0.1650.48-1
  chromium-inspector,chromium
  mozplugger,chromium 10.0.648.114~r75702-1~
  education-desktop-other,chromium
  chromium-bsu,chromium 0.9.14
  chromium-bsu,chromium 0.9.14
  chromium-l10n,chromium 53.0.2785.89-1~deb8u1
  chromium-inspector,chromium 31.0.1650.48-1
  chromium-inspector,chromium
Dependencies:
53.0.2785.92-2linarostretch1+deb8 - libasound2 (2 1.0.16) libatk1.0-0 (2 1.12.4) libavcodec57 (18 7:3.0) libavcodec-extra57 (2 7:3.0) libavformat57 (2 7:3.0) libavutil55 (2 7:3.0) libc6 (2 2.16) libcairo2 (2 1.6.0) libcups2 (2 1.4.0) libdbus-1-3 (2 1.1.4) libexpat1 (2 2.0.1) libfontconfig1 (2 2.11) libfreetype6 (2 2.3.9) libgcc1 (2 1:4.4.0) libgdk-pixbuf2.0-0 (2 2.22.0) libglib2.0-0 (2 2.41.1) libgnome-keyring0 (2 3.2.2-2~) libgtk-3-0 (2 3.9.10) libharfbuzz0b (2 1.2.7) libjpeg62-turbo (2 1.3.1) libnspr4 (18 2:4.9-2~) libnspr4-0d (2 1.8.0.10) libnss3 (18 2:3.13.4-2~) libnss3-1d (2 3.12.4) libpango-1.0-0 (2 1.14.0) libpangocairo-1.0-0 (2 1.14.0) libpci3 (2 1:3.2.1-1) libpulse0 (2 0.99.1) libspeechd2 (2 0.7.1) libstdc++6 (2 4.9) libx11-6 (2 2:1.4.99.1) libxcomposite1 (2 1:0.3-1) libxcursor1 (4 1.1.2) libxdamage1 (2 1:1.1) libxext6 (0 (null)) libxfixes3 (0 (null)) libxi6 (2 2:1.2.99.4) libxml2 (2 2.7.4) libxrandr2 (2 2:1.2.99.3) libxrender1 (0 (null)) libxslt1.1 (2 1.1.25) libxss1 (0 (null)) libxtst6 (0 (null)) x11-utils (0 (null)) xdg-utils (0 (null)) libnettle6 (16 (null)) libnettle4 (0 (null)) chromium-l10n (0 (null)) fonts-liberation (0 (null)) libgl1-mesa-swx11 (0 (null))
Provides:
53.0.2785.92-2linarostretch1+deb8 - www-browser gnome-www-browser
Reverse Provides:


when browsing this URL for example: https://hangouts.google.com/?hl=en
the related browser instance crashes (captured with chromium option "--enable-logging --v=1" from console):
Code: Select all
*** Error in `/usr/lib/chromium/chromium --type=renderer --enable-logging --v=1 {further opts stripped}: free(): invalid pointer: 0xa8f070e0 ***
Received signal 6
#0 0x0000b2870296 <unknown>
#1 0x0000b28705bc <unknown>
#2 0x0000afcc4b00 <unknown>
#3 0x0000afcb58e6 <unknown>
#4 0x0000afcc3ee6 gsignal
#5 0x0000afcc4bee abort
[end of stack trace]


This bug makes current chromium version half unusable!, as this erronous logic is executed quite often, especially when rendering a google web page. Thus Google mail, Google calender and may many other google sites crash too!
Please check this out with priority.

Thanks & Regards
Andreas

PS: Crash happens also with all extensions disabled (using option --disable-extensions)
PPS: initial XU4 install image was one from dietpi.com
anlob
 
Posts: 2
Joined: Sat Nov 05, 2016 8:07 pm
languages_spoken: english

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby meveric » Sun Nov 06, 2016 5:25 am

DietPi is Debian Jessie, not Ubuntu, you should be careful with your tags.

And yes it seems Chromium 53 has issues hangouts, facebook and some other pages, let's see what 54 brings.
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: 6463
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby majorowe » Mon Nov 07, 2016 8:13 pm

odroid wrote:Chromium Ver 53.0.2785.143 built is working on C2 64bit Ubuntu. :o :D

But it doesn't work on C1 & XU4 Ubuntu.
I think there are something broken dependencies with the latest armhf 32bit Chromium built again. :(


These Chromium problems may not be Odroid specific, but someone may have some ideas.

(1) Chromium is a very large RAM consumer, but this is common knowledge and not limited to the C2. The browser eats up all RAM, then chews through swap until that hits 100% and the C2 stalls, almost always requiring a reboot. This is constantly a problem for me. Using the Chromium process manager (shift+esc) one can see AdBlocker is a hungry process. Gmail also. Killing ram hungry tabs and even the browser does not necessarily result in a complete release of swap, which means if you relaunch the browser again, it starts using up swap from a higher base and stalls quicker the next time. Or so it would seem.

Any remedies would be appreciated. Would prefer to continue using Chromium and AdBlocker. Would sacrifice some performance for more stability, so maybe a flag or two could be disabled to prevent caching of images or something along those lines.


(2) Cookies don't seem to be saved. All online forums and Facebook etc. require a new login each time the C2 is started up. This was not always the case and has only appeared with the latest Chromium update.
majorowe
 
Posts: 33
Joined: Fri Jul 29, 2016 12:51 am
languages_spoken: english français deutsch espanol
ODROIDs: C2

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby anlob » Wed Nov 09, 2016 5:25 am

meveric wrote:DietPi is Debian Jessie, not Ubuntu, you should be careful with your tags.

And yes it seems Chromium 53 has issues hangouts, facebook and some other pages, let's see what 54 brings.


OK, would it better to run different threads for ubuntu and jessie regarding the (almost) same compile of chromium 53?!
Anyways, it is not the problem, that there are bugs in Chromium 53, the problem is that, at least for jessie, there is only one version of chromium available in the repository, thus I can't perform a rollback to another stable version, which makes this particular odroid with Chromium 53 installed effectively useless, until there is an update..
anlob
 
Posts: 2
Joined: Sat Nov 05, 2016 8:07 pm
languages_spoken: english

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby meveric » Wed Nov 09, 2016 5:34 am

you can grab older versions of Chromium for Debian Jessie here: http://oph.mdrjr.net/meveric/other/chromium/
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: 6463
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby odroid » Wed Nov 16, 2016 9:45 am

For C2 Ubuntu 16.04 users !!

The Chromium update 53.0.2785.143 broke the /etc/chromium-browser/default file.
It must be something like this to activate the HW GPU acceleration. Edit it !
Code: Select all
# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser

# Options to pass to chromium-browser
CHROMIUM_FLAGS="--use-gl=egl --ignore-gpu-blacklist --disable-accelerated-2d-canvas --num-raster-threads=2"
User avatar
odroid
Site Admin
 
Posts: 21241
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby meglome » Sun Jan 22, 2017 10:45 pm

Just an FYI as much as anything else.
On the C1+ with 16.04 kernel 3.10.104-181
Chromium 55.0.2883.87 Built on Ubuntu , running on Ubuntu 16.04

Nothing will load. not even the settings pages. Everything shows Aw, snap.

Haven't tried the older versions yet.
meglome
 
Posts: 61
Joined: Sun Jan 12, 2014 4:42 am
languages_spoken: english

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby meglome » Sat Jan 28, 2017 12:22 pm

odroid wrote:Meveric's Chromium-53 build runs on XU4 Ubuntu 16.04.

I've installed it with below steps. Youtube video rendering is smoother for me.
Code: Select all
wget http://oph.mdrjr.net/meveric/other/Ubuntu/Chromium/chromium-browser-l10n_53.0.2785.143-0ubuntu1.1307~odroid1_all.deb
wget http://oph.mdrjr.net/meveric/other/Ubuntu/Chromium/chromium-browser_53.0.2785.143-0ubuntu1.1307~odroid1_armhf.deb
wget http://oph.mdrjr.net/meveric/other/Ubuntu/Chromium/chromium-chromedriver_53.0.2785.143-0ubuntu1.1307~odroid1_armhf.deb
wget http://oph.mdrjr.net/meveric/other/Ubuntu/Chromium/chromium-codecs-ffmpeg-extra_53.0.2785.143-0ubuntu1.1307~odroid1_armhf.deb
wget http://oph.mdrjr.net/meveric/other/Ubuntu/Chromium/chromium-codecs-ffmpeg_53.0.2785.143-0ubuntu1.1307~odroid1_armhf.deb
sudo dpkg -i --force-hold chromium-* 


But C1/C1+/C0 has some issue when we ran WebGL examples. There were some obvious flickering issues.
We will look into the issue later.


So I copied these down and tried to install on the minimal image (with xorg etc installed). I kept getting dependency errors and it wouldn't install. I kept poking around trying to install the missing dependent files separately which wouldn't work. Not sure what I did but the install -r I ran last installed Chromium 55.0.2883.87 which seems to be working. This version wouldn't work at all for me so no idea what I did.

I just wanted the 53 version above but could not get it to work.

in chrome:/gpu
GPU process was unable to boot: GPU process failed.
Disabled Features: All
meglome
 
Posts: 61
Joined: Sun Jan 12, 2014 4:42 am
languages_spoken: english

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby odroid » Mon Jan 30, 2017 3:22 pm

Add --disable-namespace-sandbox in /etc/chromium-browser/default CHROMIUM_FLAGS section and let me know the result.
Canonical's official Chromium 55 version works on my XU4 Ubuntu now.
I will check it on C1 soon.


After following steps, I could run Chromium 55.0.2883.87 Build on C1 Ubuntu too.
Code: Select all
sudo apt-mark unhold chromium*
sudp apt update
sudo apt upgrade
sudo apt dist-upgrade


Chromium 55 build seems to be faster and uses much less RAM. :D
User avatar
odroid
Site Admin
 
Posts: 21241
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby meglome » Fri Feb 03, 2017 2:43 am

odroid wrote:Add --disable-namespace-sandbox in /etc/chromium-browser/default CHROMIUM_FLAGS section and let me know the result.
Canonical's official Chromium 55 version works on my XU4 Ubuntu now.
I will check it on C1 soon.


After following steps, I could run Chromium 55.0.2883.87 Build on C1 Ubuntu too.
Code: Select all
sudo apt-mark unhold chromium*
sudp apt update
sudo apt upgrade
sudo apt dist-upgrade


Chromium 55 build seems to be faster and uses much less RAM. :D


Okay built a new image, updated everything and added this. It works. Thank you.

None of the graphic acceleration works. GPU graphic process failed. Am I missing something? (Won't let me attach a picture).

EDIT: This is a minimal 16.04 install so I may be missing a package for the graphics maybe.

EDIT2: The errors I get are these
[1245:1245:0203/000345:ERROR:gl_implementation.cc(223)] Failed to load libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or directory
[1245:1245:0203/000345:ERROR:gpu_child_thread.cc(328)] Exiting GPU process due to errors during initialization
[1153:1182:0203/000345:ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process.
[1153:1182:0203/000349:ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process.
[1153:1182:0203/000349:ERROR:browser_gpu_channel_host_factory.cc(113)] Failed to launch GPU process.


I installed libgles2-mesa and now I get everything accelerated with this output.
libEGL warning: DRI2: failed to authenticate
[691:691:0202/235516:ERROR:sandbox_linux.cc(343)] InitializeSandbox() called with multiple threads in process gpu-process.
[691:691:0202/235517:ERROR:gl_context_egl.cc(207)] eglSwapInterval failed with error EGL_SUCCESS
[691:691:0202/235644:ERROR:gl_context_egl.cc(207)] eglSwapInterval failed with error EGL_SUCCESS
[691:691:0202/235721:ERROR:gl_context_egl.cc(207)] eglSwapInterval failed with error EGL_SUCCESS

Thoughts anyone?
meglome
 
Posts: 61
Joined: Sun Jan 12, 2014 4:42 am
languages_spoken: english

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby odroid » Fri Feb 03, 2017 9:17 am

Did you enable the EGL in /etc/chromium-browser/default file?
http://odroid.com/dokuwiki/doku.php?id= ... s_and_tips
Do you use C1? or XU4?
User avatar
odroid
Site Admin
 
Posts: 21241
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: [Ubuntu] Updated Chromium doesn't work.

Unread postby meveric » Fri Feb 03, 2017 4:05 pm

odroid wrote:Did you enable the EGL in /etc/chromium-browser/default file?
http://odroid.com/dokuwiki/doku.php?id= ... s_and_tips
Do you use C1? or XU4?

I don't think that's the main issue:

meglome wrote:Failed to load libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or directory


meglome wrote:I installed libgles2-mesa


It seems he has no working hardware acceleration at all.
Although missing EGL flags might be an issue as well, the main issue should be not installed Mali drivers.
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: 6463
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: ODROID-X2,ODROID-U2,ODROID-U3,ODROID-XU-Lite, ODROID-XU3, ODROID-XU3-Lite, ODROID-C1, ODROID-XU4, ODROID-C2

Previous

Return to The Ideas

Who is online

Users browsing this forum: No registered users and 2 guests