Page 1 of 39

Guide: Chromium 51 on Raspbian Jessie

Posted: Sun Sep 20, 2015 3:42 pm
by kusti8
Here's a quick guide for anyone wanting a updated Chromium with Chrome Web Store support on plain Raspbian.
THIS GUIDE IS NOW NOT NEEDED, PREBUNDLED WITH RASPBIAN! YAY!

1. Install and configure Raspbian. There are plenty of guides on how to do this.

A more detailed intro to RPi-youtube

2. Add the Chromium repository and install the software ANSWER Y TO ALL QUESTIONS!:

Code: Select all

wget -qO - http://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
echo "deb http://dl.bintray.com/kusti8/chromium-rpi jessie main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install chromium-browser rpi-youtube -y

You should have Chromium 51 and RPi-youtube now installed! Simply install the extension from the Chrome web store (rpi-youtube) and click on the icon whenever you want smoother video viewing, on any supported website.

RPi-youtube, view youtube locally (much smoother)
http://kusti8.github.io/RPi-chromium/
I've released a Chromium extension for the RPi that allows you to play youtube videos in omxplayer, allowing much smoother playback.
Currently, when you install the extension and all the required files, when you visit a youtube video it will prompt you if you want to view the video locally. If you visit another video site and click on the icon, the same should happen, support more than 600 websites. After pressing OK and waiting a few seconds, omxplayerGUI will pop up displaying the video. It's as simple as that!
Supported sites
http://rg3.github.io/youtube-dl/supportedsites.html:

Any problems, please post them here on this thread. It's the best place where I can reply.

Re: Guide: Chromium 44 on Raspbian Pi2

Posted: Tue Sep 29, 2015 11:01 pm
by GrahamBowman
I had issues with this.

Code: Select all

sudo apt-get install -t jessie libc
did not work. I tried

Code: Select all

sudo apt-get install -t jessie libc6
but that was breaking dependancies on other packages that depend on an earlier version.

Re: Guide: Chromium 44 on Raspbian Pi2

Posted: Tue Sep 29, 2015 11:44 pm
by kusti8
GrahamBowman wrote:I had issues with this.

Code: Select all

sudo apt-get install -t jessie libc
did not work. I tried

Code: Select all

sudo apt-get install -t jessie libc6
but that was breaking dependancies on other packages that depend on an earlier version.
I'll look into it when I have time. I didn't test it with other packages, could you name the ones which are having trouble? You may have have to update those to jessie as well.

Edit: jessie is now official anyways, so I'm going to update the guide when I get a chance. You may want to just upgrade the entire thing, there is a link on how to do that in the blog post, or just start new with a fresh image that is now jessie instead of wheezy.

Re: Guide: Chromium 44 on Raspbian Pi2

Posted: Fri Oct 02, 2015 12:25 am
by treebz
I just downloaded and imaged a SD card with the new Raspbian Jessie. It appears Chromium is not available at all?

Code: Select all

pi@black ~ $ sudo apt-get install chromium-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package chromium-browser is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'chromium-browser' has no installation candidate

Re: Guide: Chromium 44 on Raspbian Pi2

Posted: Fri Oct 02, 2015 5:59 am
by fruitoftheloom
treebz wrote:I just downloaded and imaged a SD card with the new Raspbian Jessie. It appears Chromium is not available at all?

Code: Select all

pi@black ~ $ sudo apt-get install chromium-browser
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package chromium-browser is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'chromium-browser' has no installation candidate
chromium-browser has chromium as a dependency in Wheezy

chromium in Wheezy and Jessie does not have an ARM Build https://packages.debian.org/jessie/chromium

The version 22 chromium in Raspbian Wheezy Repository was an out of date buggy version, which was not removed about 2 years ago when Debian abandoned an ARM build.

Therefore if you want chromium 44 you will need to work ouy how to nstall yourself and have a RPi2B :D

Re: Guide: Chromium 44 on Raspbian Pi2

Posted: Fri Oct 02, 2015 6:37 am
by firstness
1) I noticed that chromium 44 is no longer available from that url, but rather 45 (chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb). As updated versions appear in that url, can they be installed over top?

2) Can plugins be used such as uBlock origin?

3) How is the performance compared to Epiphany browser?

Re: Guide: Chromium 44 on Raspbian Pi2

Posted: Fri Oct 02, 2015 7:33 pm
by kusti8
firstness wrote:1) I noticed that chromium 44 is no longer available from that url, but rather 45 (chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb). As updated versions appear in that url, can they be installed over top?

2) Can plugins be used such as uBlock origin?

3) How is the performance compared to Epiphany browser?
1. So I don't have to always update the url, I'll probably upload it somewhere else, if I have time over the weekend. Yes, it should be possible to install it like V44.

2. If they are in the Web Store like any other extension, yes.

3. It may be a little slower, but not by much and more stable.

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Fri Oct 02, 2015 10:44 pm
by kusti8
Fixed all issues with the post. I've updated the instructions for Jessie, and have removed the instructions for Wheezy, but basically I used apt pinning and updated libc6, for anyone wanting to do that. Or just update to Jessie, there is a topic here about this.

This is also the only way to get Chromium on the new Jessie! ;)

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Mon Oct 05, 2015 12:02 pm
by punktea
Worked out real well for me. As long as I don't open too many tabs, the pages rendered better and are more responsive than epiphany, especially the ones with lots of javascript like finance.yahoo.com. Finally a useable desktop. Thanks!

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Mon Oct 05, 2015 12:07 pm
by ShiftPlusOne
Works well for me, thanks.

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Tue Oct 06, 2015 10:31 pm
by coding
First of all, thank you for your work and for sharing this.
But: is the source ports.ubuntu.com absolutely safe now and in the future? I would do online banking and stuff, so safety is most important. Not sure if those files, when downloaded from ports.ubuntu.com, are 100% clean. I have heard of Ubuntu, but I have never heard of that special website, nor do I know who uploads and maintains the files.

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Tue Oct 06, 2015 11:15 pm
by kusti8
coding wrote:First of all, thank you for your work and for sharing this.
But: is the source ports.ubuntu.com absolutely safe now and in the future? I would do online banking and stuff, so safety is most important. Not sure if those files, when downloaded from ports.ubuntu.com, are 100% clean. I have heard of Ubuntu, but I have never heard of that special website, nor do I know who uploads and maintains the files.
It is as safe as it can be. Ubuntu is very well known, and that website is maintained by Ubuntu.

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Tue Oct 06, 2015 11:25 pm
by fruitoftheloom
kusti8 wrote:
coding wrote:First of all, thank you for your work and for sharing this.
But: is the source ports.ubuntu.com absolutely safe now and in the future? I would do online banking and stuff, so safety is most important. Not sure if those files, when downloaded from ports.ubuntu.com, are 100% clean. I have heard of Ubuntu, but I have never heard of that special website, nor do I know who uploads and maintains the files.
It is as safe as it can be. Ubuntu is very well known, and that website is maintained by Ubuntu.
http://www.canonical.com

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Wed Oct 07, 2015 3:26 am
by Heater
Well, you are accessing that site without using HTTPS so nothing is certain.

We can always trust Canonical can't we: http://www.gnu.org/philosophy/ubuntu-spyware.en.html

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Wed Oct 07, 2015 10:43 am
by kusti8
Heater wrote:Well, you are accessing that site without using HTTPS so nothing is certain.

We can always trust Canonical can't we: http://www.gnu.org/philosophy/ubuntu-spyware.en.html
True. There is always a little bit of risk.

For your second paragraph: Wow. I didn't know about that.

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Wed Oct 07, 2015 10:58 am
by Heater
We don't call him "Shifty Shuttleworth" for nothing.

But yeah, it's impossible to trust anything on the net.

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Thu Oct 08, 2015 6:10 am
by California
Hello, no success on step 3, help would bee appreciated.

Code: Select all

pi@raspberrypi ~ $ wget https://dl.dropboxusercontent.com/u/87113035/chromium-codecs-ffmpeg-extra_45.0.2454.85-
--2015-10-08 06:05:43--  https://dl.dropboxusercontent.com/u/87113035/chromium-codecs-ffmpeg-extra_45.0.2454.85-
Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 23.21.100.40, 23.23.249.33, 54.243.59.71, ...
Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|23.21.100.40|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-10-08 06:05:44 ERROR 404: Not Found.
Regards,
Vlado

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Thu Oct 08, 2015 6:41 am
by California
Repeat of step 3 once again makes everything work ok.

Thanks,
Regards Vlado

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Thu Oct 08, 2015 3:22 pm
by coding
Hey, this Chromium doesn't have any hardware acceleration anymore! A day before under Wheezy I tried Chromium 22 which is in Wheezy's repositories, and it had almost all hardware GPU acceleration options enabled (except for 2D Canvas), which made it super fast. But this Chromium build here is pure CPU and super slow. :)
Edit: You can see it in chrome://gpu

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Thu Oct 08, 2015 3:41 pm
by fruitoftheloom
coding wrote:Hey, this Chromium doesn't have any hardware acceleration anymore! A day before under Wheezy I tried Chromium 22 which is in Wheezy's repositories, and it had almost all hardware GPU acceleration options enabled (except for 2D Canvas), which made it super fast. But this Chromium build here is pure CPU and super slow. :)
Edit: You can see it in chrome://gpu
...and are you going to build Chromium with Hardware Acceleration from Source for the Community. .??

Chromium for ARM is not supported by Debian or the RPF :shock:

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Thu Oct 08, 2015 7:12 pm
by kusti8
coding wrote:Hey, this Chromium doesn't have any hardware acceleration anymore! A day before under Wheezy I tried Chromium 22 which is in Wheezy's repositories, and it had almost all hardware GPU acceleration options enabled (except for 2D Canvas), which made it super fast. But this Chromium build here is pure CPU and super slow. :)
Edit: You can see it in chrome://gpu
Well if you want to, you can change the respective settings in flags and settings.

But I doubt it really used hardware acceleration. There is no hardware acceleration because AFAIK Chromium doesn't use OpenGL ES. The only other hardware acceleration present is scrolling.

Anyways, for me, this version feels faster than the older version. At least it works well for surfing and is very stable. At least, that's what I think.

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Thu Oct 08, 2015 8:18 pm
by fruitoftheloom
kusti8 wrote:
coding wrote:Hey, this Chromium doesn't have any hardware acceleration anymore! A day before under Wheezy I tried Chromium 22 which is in Wheezy's repositories, and it had almost all hardware GPU acceleration options enabled (except for 2D Canvas), which made it super fast. But this Chromium build here is pure CPU and super slow. :)
Edit: You can see it in chrome://gpu
Well if you want to, you can change the respective settings in flags and settings.

But I doubt it really used hardware acceleration. There is no hardware acceleration because AFAIK Chromium doesn't use OpenGL ES. The only other hardware acceleration present is scrolling.

Anyways, for me, this version feels faster than the older version. At least it works well for surfing and is very stable. At least, that's what I think.
Chromium Switch shows under MAC and Linux GL ES is not supported:

--use-gl

Select which implementation of GL the GPU process should use. Options are:
desktop: whatever desktop OpenGL the user has installed (Linux and Mac default).
egl: whatever EGL / GLES2 the user has installed (Windows default - actually ANGLE).
osmesa: The OSMesa software renderer.


http://peter.sh/experiments/chromium-co ... e-switches

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Thu Oct 08, 2015 8:20 pm
by kusti8
Interesting. I'll have to play with that.

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Thu Oct 08, 2015 8:43 pm
by fruitoftheloom
kusti8 wrote:Interesting. I'll have to play with that.
http://www.webupd8.org/2014/01/enable-h ... hrome.html

Re: Guide: Chromium 45 on Raspbian Jessie

Posted: Fri Oct 09, 2015 7:26 pm
by qqq123
I got some problem

Code: Select all

pi@raspberrypi ~ $ sudo dpkg -i chromium-browser-l10n_45.0.2454.85-0ubuntu0.15.04.1.1181_all.deb chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb

(Reading database ... 117426 files and directories currently installed.)
Preparing to unpack chromium-browser-l10n_45.0.2454.85-0ubuntu0.15.04.1.1181_all.deb ...
Unpacking chromium-browser-l10n (45.0.2454.85-0ubuntu0.15.04.1.1181) over (45.0.2454.85-0ubuntu0.15.04.1.1181) ...
Preparing to unpack chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb ...
Unpacking chromium-browser (45.0.2454.85-0ubuntu0.15.04.1.1181) ...
dpkg-deb (subprocess): cannot copy archive member from 'chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb' to decompressor pipe: unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb (--install):
 cannot copy extracted data for './usr/lib/chromium-browser/natives_blob.bin' to '/usr/lib/chromium-browser/natives_blob.bin.dpkg-new': unexpected end of file or stream
dpkg: dependency problems prevent configuration of chromium-browser-l10n:
 chromium-browser-l10n depends on chromium-browser (>= 45.0.2454.85-0ubuntu0.15.04.1.1181); however:
  Package chromium-browser is not installed.
 chromium-browser-l10n depends on chromium-browser (<< 45.0.2454.85-0ubuntu0.15.04.1.1181.1~); however:
  Package chromium-browser is not installed.

dpkg: error processing package chromium-browser-l10n (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 chromium-browser_45.0.2454.85-0ubuntu0.15.04.1.1181_armhf.deb
 chromium-browser-l10n
It seems that I didn´t install chromium-browser. But when I tried to fix it by ¨apt-get install chromium-browser¨, it also failed.

Code: Select all

pi@raspberrypi ~ $ sudo apt-get install chromium-browser
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package chromium-browser is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  chromium-codecs-ffmpeg-extra chromium-browser-l10n

E: Package 'chromium-browser' has no installation candidate
How can I do?