Just for amusement I've been trying to run the chromium browser on a
Pi2. Obviously, it's slow, but it looks like the cpu isn't busy at all, mostly idle with a few percent for system processes.
Right now it's stuck loading a page from the New York Times website. The
Pi2 itself is responsive, but the chromium window seems totally stuck.
Anybody else seeing this? I expected it to perform badly, but not this
badly.
I'm using the "universal" image of bookworm. Is an older image likely to
be better?
Thanks for reading,
bob prohaska
Just for amusement I've been trying to run the chromium browser
on a Pi2. Obviously, it's slow, but it looks like the cpu isn't
busy at all, mostly idle with a few percent for system processes.
Right now it's stuck loading a page from the New York Times
website. The Pi2 itself is responsive, but the chromium window
seems totally stuck.
Anybody else seeing this? I expected it to perform badly, but
not this badly.
Just for amusement I've been trying to run the chromium browser
on a Pi2. Obviously, it's slow, but it looks like the cpu isn't
busy at all, mostly idle with a few percent for system processes.
Right now it's stuck loading a page from the New York Times
website. The Pi2 itself is responsive, but the chromium window
seems totally stuck.
I haven't run Chrom(ium) on anything for many years, but it sounds like you've run into the same RAM barrier.
On 10 Jul 2025 09:02:41 +1000, Computer Nerd Kev wrote:
I haven't run Chrom(ium) on anything for many years, but it sounds like
you've run into the same RAM barrier.
If the system runs low on RAM, Linux wakes up its dreaded “OOM Killer” kernel thread to free up RAM by killing the most memory-hogging processes. You will see evidence of this happening in the logs. If Chromium loses a process or two, that might indeed bring operation to a screeching halt (though I would expect to see it display error messages as well).
This is a Pi2, so 1 gig RAM. I've not messed with the CPU/GPU memory allocation, it's default AFAIK.
A quick look at Task Manager suggests less than half a gig of RAM in
use, htop reports the same with 100M of swap in use out of 500M
available. This is on a somewhat elderly microSD in a default image as distributed from the Raspberry Pi website.
The task manager is also reporting 0% cpu for all the chromium
processes. That's rather odd. At the moment chromium is trying to
re-open its window after being iconified and it's making no progress.
After a couple of tries the "close window" (top right x) got rid of the window.
There are also two "chrome_crashpad_handler" processes, 0% cpu.
Might that be a hint chromium has crashed, and the handler that
generates the "aw snap" dialog crashed too?
thanks for reading!
bob prohaska
chromium --disable-gpu
Then everything will run only on CPU and HTOP will tell the real story, you'll likely have heaps of threads spawn, and some idea what it's doing (less hidden then when GPU is processing).
Have you tried falkon (lighter weight QTWebEngine based Chromium - KDE project work) or iridium (stripped out Google BS code version of
chromium)? Do they load the page you're trying to get?
Just for amusement I've been trying to run the chromium browser
on a Pi2. Obviously, it's slow, but it looks like the cpu isn't
busy at all, mostly idle with a few percent for system processes.
The odd thing is that I ran Firefox on x86 with 512MB RAM a
couple of years ago and it wasn't nearly as bad.
On 10/07/2025 00:02, Computer Nerd Kev wrote:webkit webprocess is over 1GB on this machine now. Firefox process
The odd thing is that I ran Firefox on x86 with 512MB RAM a
couple of years ago and it wasn't nearly as bad.
Have a look at the size of the executable "then" (which is more likely
to be 20 to 25 years ago) and now, and you'll see why a 512M Zero 2
doesn't stand a chance.
---druck
On 10/07/2025 00:02, Computer Nerd Kev wrote:
The odd thing is that I ran Firefox on x86 with 512MB RAM a
couple of years ago and it wasn't nearly as bad.
Have a look at the size of the executable "then" (which is more likely
to be 20 to 25 years ago)
and now, and you'll see why a 512M Zero 2 doesn't stand a chance.
druck <news@druck.org.uk> wrote:
On 10/07/2025 00:02, Computer Nerd Kev wrote:
The odd thing is that I ran Firefox on x86 with 512MB RAM a
couple of years ago and it wasn't nearly as bad.
Have a look at the size of the executable "then" (which is more likely
to be 20 to 25 years ago)
No it really was only two or maybe three years ago and Firefox
wasn't that much bigger then.
and now, and you'll see why a 512M Zero 2 doesn't stand a chance.
The Executable still fits easily in 512MB RAM, for some reason it
tries to allocate lots more RAM after starting and displaying the
browser window (which seems to work fine for a few seconds before
it stalls).
It seems the RAM usage increased when they started using multiple
processes:
https://erahm.org/2016/02/11/memory-usage-of-firefox-with-e10s-enabled/
Maybe on the single-core x86 PC it creates fewer processes and
therefore uses less RAM than the quad-core Pi Zero 2? The methods
of turning off Firefox's multi-process mode don't seem to work
anymore. That also shows how the 64bit builds use significantly
more RAM, which will hurt the 64bit RPi Zero 2 but not the 32bit
RPi 2.
It seems the RAM usage increased when they started using multiple
processes ...
There is also the issue that many modern websites are running memory
gobbling Javascript implementations
druck <news@druck.org.uk> wrote:
and now, and you'll see why a 512M Zero 2 doesn't stand a chance.
The Executable still fits easily in 512MB RAM, for some reason it
tries to allocate lots more RAM after starting and displaying the
browser window (which seems to work fine for a few seconds before
it stalls).
Weirdly the User-Agent header it sends out says x86_64 though it says
AARCH64 within the browser. Seems it's unwise to be honest about using
ARM when talking to some web servers ...
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,064 |
Nodes: | 10 (0 / 10) |
Uptime: | 148:13:19 |
Calls: | 13,691 |
Calls today: | 1 |
Files: | 186,936 |
D/L today: |
33 files (6,120K bytes) |
Messages: | 2,410,932 |