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

Re: Guide: Chromium 49 on Raspbian Jessie

Tue May 10, 2016 9:53 pm

matteusbeus wrote:https://bugs.launchpad.net/ubuntu/+sour ... ug/1563184

Feel free to flag that the issue effects you
That's not the error. The segmentation fault, which you two aren't having is the actual error message and the first has nothing to do with the second.

That first error is harmless and can be ignored!
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

Tue May 10, 2016 10:03 pm

I've pushed a small update which kills ytdl_server when Chromium is closed, saving some memory.
There are 10 types of people: those who understand binary and those who don't.

User avatar
Dis93
Posts: 132
Joined: Thu Apr 07, 2016 8:30 pm
Location: Wuthering, Yorkshire

Re: Guide: Chromium 49 on Raspbian Jessie

Thu May 12, 2016 2:07 pm

I've managed to reproduce the behaviour. It's not Chromium crashing, it's the Pi running out of memory and filling the swap too. I had a few tabs open, one never finished loading and the available RAM and then the swap maxed out. The green led stayed lit but I had to yank the power anyway.

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

Re: Guide: Chromium 49 on Raspbian Jessie

Thu May 12, 2016 4:45 pm

Dis93 wrote:I've managed to reproduce the behaviour. It's not Chromium crashing, it's the Pi running out of memory and filling the swap too. I had a few tabs open, one never finished loading and the available RAM and then the swap maxed out. The green led stayed lit but I had to yank the power anyway.
Interesting. Can you try and see if v48 has this behavior as well?
apt-cache showpkg chromium-browser
And then
sudo apt-get install chromium-browser=<version> chromium-codecs-ffmpeg-extra=<version>
There are 10 types of people: those who understand binary and those who don't.

User avatar
Dis93
Posts: 132
Joined: Thu Apr 07, 2016 8:30 pm
Location: Wuthering, Yorkshire

Re: Guide: Chromium 49 on Raspbian Jessie

Thu May 12, 2016 9:29 pm

Downgraded to 48.
Managed to open twice as many tabs. Swap maxed out but RAM did not. Swap maxed out more gradually.
System was slow but still responsive.

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

Re: Guide: Chromium 49 on Raspbian Jessie

Thu May 12, 2016 9:31 pm

Dis93 wrote:Downgraded to 48.
Managed to open twice as many tabs. Swap maxed out but RAM did not. Swap maxed out more gradually.
System was slow but still responsive.
Ok. V50 is coming out soon anyway so I won't downgrade everything right now, but if that has the problem as well I'll downgrade.
There are 10 types of people: those who understand binary and those who don't.

User avatar
Dis93
Posts: 132
Joined: Thu Apr 07, 2016 8:30 pm
Location: Wuthering, Yorkshire

Re: Guide: Chromium 49 on Raspbian Jessie

Thu May 12, 2016 9:38 pm

Just crapped out just the same. Took a lot longer though.
AFAIK Chromium/Chrome both suffer from increasing RAM hunger.

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

Re: Guide: Chromium 49 on Raspbian Jessie

Thu May 12, 2016 9:46 pm

Dis93 wrote:Just crapped out just the same. Took a lot longer though.
AFAIK Chromium/Chrome both suffer from increasing RAM hunger.
Ah, then I'll still hold to v49. It's a fast browser, but it uses a lot of RAM.
There are 10 types of people: those who understand binary and those who don't.

matteusbeus
Posts: 27
Joined: Tue Mar 15, 2016 8:59 pm

Re: Guide: Chromium 49 on Raspbian Jessie

Thu May 12, 2016 9:50 pm

Increase bloat :/ Chrome used to be pretty good!

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

Re: Guide: Chromium 49 on Raspbian Jessie

Fri May 13, 2016 3:49 am

matteusbeus wrote:Increase bloat :/ Chrome used to be pretty good!
I'm not afriend of this "modern" mobile-like program design and so never really liked chrome (but other software looks similar now), but this is nonsense. Since chromium / chrome forked from the webkit engine a lot has happened to make it more effective: multi-threaded, faster Javascript etc.
The bloat comes from the internet; tons of superfluous Javascript that slows everything down (and more bad design stuff like pages that need 200 elements to load etc.).
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

Koeshi
Posts: 228
Joined: Sun Mar 20, 2016 11:16 am

Re: Guide: Chromium 49 on Raspbian Jessie

Fri May 13, 2016 12:22 pm

gkreidl wrote:
matteusbeus wrote:Increase bloat :/ Chrome used to be pretty good!
I'm not afriend of this "modern" mobile-like program design and so never really liked chrome (but other software looks similar now), but this is nonsense. Since chromium / chrome forked from the webkit engine a lot has happened to make it more effective: multi-threaded, faster Javascript etc.
The bloat comes from the internet; tons of superfluous Javascript that slows everything down (and more bad design stuff like pages that need 200 elements to load etc.).
Perhaps that is true, but when Chrome/Chromium was first released it put other browsers to shame with its speed. Now it survives by familiarity and a nicer UI than the others. So either Chrome/Chromium has become bloated or the others have become sleeker.

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

Re: Guide: Chromium 49 on Raspbian Jessie

Fri May 13, 2016 7:03 pm

:roll:
It still wins with speed, especially on the Pi. The huge user base of extensions helps as well. Have you even tried Chromium on the Pi?
There are 10 types of people: those who understand binary and those who don't.

matteusbeus
Posts: 27
Joined: Tue Mar 15, 2016 8:59 pm

Re: Guide: Chromium 49 on Raspbian Jessie

Fri May 13, 2016 7:19 pm

You can't blame a few mb of html, images, css and js files on the need for a couple of hundred mb of ram per tab!

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

Re: Guide: Chromium 49 on Raspbian Jessie

Fri May 13, 2016 7:22 pm

matteusbeus wrote:You can't blame a few mb of html, images, css and js files on the need for a couple of hundred mb of ram per tab!
That's how much you think modern webpages are? They are way more, look online for true facts. How much do other webbrowsers consume?
There are 10 types of people: those who understand binary and those who don't.

matteusbeus
Posts: 27
Joined: Tue Mar 15, 2016 8:59 pm

Re: Guide: Chromium 49 on Raspbian Jessie

Fri May 13, 2016 7:35 pm

I'm a Web dev by trade! I know exactly how much web pages take and it's not 200mb a page (Unless your streaming embedded audio and video or hd images). That's why we build responsively based on device resolution.

matteusbeus
Posts: 27
Joined: Tue Mar 15, 2016 8:59 pm

Re: Guide: Chromium 49 on Raspbian Jessie

Fri May 13, 2016 7:41 pm

The average web page is 2099KB just over 2mb

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

Re: Guide: Chromium 49 on Raspbian Jessie

Fri May 13, 2016 7:57 pm

There are 10 types of people: those who understand binary and those who don't.

matteusbeus
Posts: 27
Joined: Tue Mar 15, 2016 8:59 pm

Re: Guide: Chromium 49 on Raspbian Jessie

Fri May 13, 2016 8:06 pm

It's memory management rather than the use that bothers me. I have simular freeze ups with chrome in windows. It's still my fave browser tho! Fingers crossed they sort out the issues so we can have it running well on the pi!

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

Re: Guide: Chromium 49 on Raspbian Jessie

Fri May 13, 2016 8:08 pm

matteusbeus wrote:It's memory management rather than the use that bothers me. I have simular freeze ups with chrome in windows. It's still my fave browser tho! Fingers crossed they sort out the issues so we can have it running well on the pi!
My favorite browser as well. Well just have to wait and see. I'm going start compiling the v50 this weekend. It should be done by next week. :roll:
There are 10 types of people: those who understand binary and those who don't.

Koeshi
Posts: 228
Joined: Sun Mar 20, 2016 11:16 am

Re: Guide: Chromium 49 on Raspbian Jessie

Sat May 14, 2016 1:10 pm

kusti8 wrote::roll:
It still wins with speed, especially on the Pi. The huge user base of extensions helps as well. Have you even tried Chromium on the Pi?
Yes, it is my browser of choice. I was referring more to Chrome/Chromium on Windows.

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 2:06 pm

Update on my progress:
I'm currently running a test build of v49 using docker and buildroot to simplify and automate the process. I'm also testing a chromium build on an old laptop to cross compile so it would be faster. The laptop on which I'm doing it isn't fast, so if anyone wants to help compile on a fast computer once the testing is done, I can set you up as a slave in buildroot or just give you instructions in a script.
There are 10 types of people: those who understand binary and those who don't.

Sandros94
Posts: 5
Joined: Thu Mar 17, 2016 10:32 am

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 15, 2016 4:25 pm

Hi, can you tell me if I'm wrong about chromium (v49 and next coming v50) doesn't have hardware acceleration?

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 4:26 pm

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.
There are 10 types of people: those who understand binary and those who don't.

Sandros94
Posts: 5
Joined: Thu Mar 17, 2016 10:32 am

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 15, 2016 4:39 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.
I was reading around that at the moment OpenGL driver are in beta and are too glitchy for a normal use right?

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

Re: Guide: Chromium 49 on Raspbian Jessie

Sun May 15, 2016 4:46 pm

Sandros94 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.
I was reading around that at the moment OpenGL driver are in beta and are too glitchy for a normal use right?
Yeah, I've heard it works for some people but it doesn't for me.

Return to “General discussion”