gkreidl
Posts: 6037
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 15, 2016 5:22 pm

kusti8 wrote:
Sandros94 wrote:Hi, can you tell me if I'm wrong about chromium (v49 and next coming v50) doesn't have hardware acceleration?
With the current GPU driver, no, but with the new OpenGL driver, yes there is hardware acceleration.
Don't expect too much from the new OpenGL driver for browsers. The only acceleration which it might provide is for WebGL.
It will NOT accelerate web video.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 15, 2016 5:26 pm

gkreidl wrote:
kusti8 wrote:
Sandros94 wrote:Hi, can you tell me if I'm wrong about chromium (v49 and next coming v50) doesn't have hardware acceleration?
With the current GPU driver, no, but with the new OpenGL driver, yes there is hardware acceleration.
Don't expect too much from the new OpenGL driver for browsers. The only acceleration which it might provide is for WebGL.
It will NOT accelerate web video.
Yes, WebGL works with it and the actual page rendering as well I think, but video does not work.
There are 10 types of people: those who understand binary and those who don't.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Sat May 21, 2016 6:00 pm

Just saw that v50 was released. Going to start the compile today and start testing once that is done.
There are 10 types of people: those who understand binary and those who don't.

User avatar
Kratos
Posts: 394
Joined: Sun Apr 12, 2015 12:41 pm

Re: Guide: Chromium 49 on Raspbian Jessie

Sat May 21, 2016 6:04 pm

kusti8 wrote:Just saw that v50 was released. Going to start the compile today and start testing once that is done.
Ooooooooo...looking forward to it!

Kratos
I have posted mostly with a Pi 2 running either Ubuntu MATE, or Raspbian.

Ben_is_best
Posts: 89
Joined: Fri Dec 25, 2015 11:01 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Sat May 21, 2016 9:39 pm

kusti8 wrote:Just saw that v50 was released. Going to start the compile today and start testing once that is done.
Yeah. I just saw that so I installed it from there and I'm keeping it like this until you finish compiling.

Ben_is_best
Posts: 89
Joined: Fri Dec 25, 2015 11:01 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 22, 2016 1:09 pm

How's the compile coming along?

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 22, 2016 1:11 pm

Ben_is_best wrote:How's the compile coming along?
It's going to take maybe 4 or 5 days because I'm running it on a Pi2. A Pi3 didn't work because it overheated and failed the compile and I'm still looking at cross compile.
There are 10 types of people: those who understand binary and those who don't.

Ben_is_best
Posts: 89
Joined: Fri Dec 25, 2015 11:01 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 22, 2016 1:14 pm

kusti8 wrote:
Ben_is_best wrote:How's the compile coming along?
It's going to take maybe 4 or 5 days because I'm running it on a Pi2. A Pi3 didn't work because it overheated and failed the compile and I'm still looking at cross compile.
OK. Thank you.

gkreidl
Posts: 6037
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 22, 2016 4:49 pm

kusti8 wrote:
Ben_is_best wrote:How's the compile coming along?
It's going to take maybe 4 or 5 days because I'm running it on a Pi2. A Pi3 didn't work because it overheated and failed the compile and I'm still looking at cross compile.
If the OS runs from a HDD compiling is much faster. Using make -j3 or -j4 I can compile even large packages in decent time (kodi takes about an hour, for example, VLC with -j4 13 minutes).
On the RPi 3 you need a heat sink and a good airflow. I use a case with open sides. For a large compile job with all 4 cores running at 100% the temperature does still stay below 80 deg. (no throttling).
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 22, 2016 4:59 pm

gkreidl wrote:
kusti8 wrote:
Ben_is_best wrote:How's the compile coming along?
It's going to take maybe 4 or 5 days because I'm running it on a Pi2. A Pi3 didn't work because it overheated and failed the compile and I'm still looking at cross compile.
If the OS runs from a HDD compiling is much faster. Using make -j3 or -j4 I can compile even large packages in decent time (kodi takes about an hour, for example, VLC with -j4 13 minutes).
On the RPi 3 you need a heat sink and a good airflow. I use a case with open sides. For a large compile job with all 4 cores running at 100% the temperature does still stay below 80 deg. (no throttling).
I'm running the entire build on a HDD because its so big. The problem is it needs swap and a lot of it, more than 2GB which slows it down. It automatically uses all cores. The Pi3 had a heatsink which was open to the elements and it still did not work. GCC reported that it was a hardware or OS problem. I'm guessing I need a fan for that. Temps when monitored went over 80 easily. I'll see if I can find a nice fan.
There are 10 types of people: those who understand binary and those who don't.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 22, 2016 6:22 pm

Ok, I've found out how to use the Launchpad builders, so the compile should be done by tomorrow now if all goes well.
There are 10 types of people: those who understand binary and those who don't.

gkreidl
Posts: 6037
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Guide: Chromium 49 on Raspbian Jessie

Mon May 23, 2016 2:36 am

Use less cores, if it starts swapping, and reduce the GPU-memory for compiling. To compile kodi, I had to reduce GPU memory to 64 MB and use 3 processes only.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Mon May 23, 2016 11:18 am

gkreidl wrote:Use less cores, if it starts swapping, and reduce the GPU-memory for compiling. To compile kodi, I had to reduce GPU memory to 64 MB and use 3 processes only.
Ok. But I used a Launchpad builders and it successfully compiled in 9 hours so I'll start testing later today.
There are 10 types of people: those who understand binary and those who don't.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Mon May 23, 2016 8:35 pm

Did a quick test. There's only one problem if you want to play Youtube videos in screen, and there the fix is to toggle a simple switch in the settings. I'm going to finish testing and then release it tomorrow.

If anyone else wants to test it, I'll be very grateful! Just add "dev" to /etc/apt/sources.list so it becomes:

Code: Select all

deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb http://dl.bintray.com/kusti8/chromium-rpi jessie main dev
Then

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade
For youtube to work, go to settings and disable "Use hardware acceleration where
available" in chrome://settings
There are 10 types of people: those who understand binary and those who don't.

cjan
Posts: 717
Joined: Sun May 06, 2012 12:00 am

Re: Guide: Chromium 49 on Raspbian Jessie

Tue May 24, 2016 3:23 am

test 50

1. disable "Use hardware acceleration where available" in chrome://settings --> p2 youtube 360p OK.
2. Rpi2 4.4.11-v7+ #888 drm-vc4-next, enable "Use hardware acceleration where available" in chrome://settings --> p2 youtube 360p OK.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Tue May 24, 2016 11:03 am

cjan wrote:test 50

1. disable "Use hardware acceleration where available" in chrome://settings --> p2 youtube 360p OK.
2. Rpi2 4.4.11-v7+ #888 drm-vc4-next, enable "Use hardware acceleration where available" in chrome://settings --> p2 youtube 360p OK.
Ok, good. I've just done some regular browsing and it's seems to work fine so I'm going to release it today.
There are 10 types of people: those who understand binary and those who don't.

cjan
Posts: 717
Joined: Sun May 06, 2012 12:00 am

Re: Guide: Chromium 49 on Raspbian Jessie

Tue May 24, 2016 2:05 pm

kusti8 wrote:
cjan wrote:test 50

1. disable "Use hardware acceleration where available" in chrome://settings --> p2 youtube 360p OK.
2. Rpi2 4.4.11-v7+ #888 drm-vc4-next, enable "Use hardware acceleration where available" in chrome://settings --> p2 youtube 360p OK.
Ok, good. I've just done some regular browsing and it's seems to work fine so I'm going to release it today.
btw, youtube can not forward play.

gkreidl
Posts: 6037
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Guide: Chromium 49 on Raspbian Jessie

Tue May 24, 2016 2:22 pm

cjan wrote:[
btw, youtube can not forward play.
This used to work with 49, so maybe there's a bug in this version/build.
Last edited by gkreidl on Tue May 24, 2016 2:45 pm, edited 1 time in total.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

gkreidl
Posts: 6037
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Guide: Chromium 49 on Raspbian Jessie

Tue May 24, 2016 2:44 pm

gkreidl wrote:
cjan wrote:[
btw, youtube can not forward play.
This used to work with 49, so maybe there's a bug in this version/build.
I just installed the chromium 50 version from the Ubuntu 14.04 ports (I still have libass4 on my system), just for testing. HW acceleration must be disabled to display web video and I also disabled the media-source flag (to get rid of the stop and go effect when playing web video). Moving in the video is possible as it used to be.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
Kratos
Posts: 394
Joined: Sun Apr 12, 2015 12:41 pm

Re: Guide: Chromium 49 on Raspbian Jessie

Tue May 24, 2016 3:03 pm

Testing, will post results soon.

Kratos
I have posted mostly with a Pi 2 running either Ubuntu MATE, or Raspbian.

User avatar
Kratos
Posts: 394
Joined: Sun Apr 12, 2015 12:41 pm

Re: Guide: Chromium 49 on Raspbian Jessie

Tue May 24, 2016 4:18 pm

Nothing to report other than the YouTube bug. Cheers!

Kratos
I have posted mostly with a Pi 2 running either Ubuntu MATE, or Raspbian.

gkreidl
Posts: 6037
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Guide: Chromium 49 on Raspbian Jessie

Tue May 24, 2016 4:46 pm

Kratos wrote:Nothing to report other than the YouTube bug. Cheers!

Kratos
Which youtube bug?
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Guide: Chromium 49 on Raspbian Jessie

Tue May 24, 2016 6:22 pm

gkreidl wrote:
Kratos wrote:Nothing to report other than the YouTube bug. Cheers!

Kratos
Which youtube bug?
The needing to disable hardware acceleration in Chromium settings.
There are 10 types of people: those who understand binary and those who don't.

gkreidl
Posts: 6037
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Guide: Chromium 49 on Raspbian Jessie

Wed May 25, 2016 2:23 am

kusti8 wrote:
gkreidl wrote:
Kratos wrote:Nothing to report other than the YouTube bug. Cheers!

Kratos
Which youtube bug?
The needing to disable hardware acceleration in Chromium settings.
Obviously they use OpenGL calls now for compositing by default. On the RPi this is emulated by software which is far too slow (when it comes to video). Disabling this should also speed up any page display. With the new GL driver it should work (but everything else won't work at the moment like playing videos with omxplayer).
Perhaps you can find and patch a default settings file.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

gkreidl
Posts: 6037
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Guide: Chromium 49 on Raspbian Jessie

Wed May 25, 2016 3:22 am

Solution:
add
CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --disable-gpu"
to
/etc/chromium-browser/customizations/00-example
or modify /etc/chromium-browser/default
CHROMIUM_FLAGS="--disable-gpu"
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “General discussion”