DietPi icon indicating copy to clipboard operation
DietPi copied to clipboard

Chromium low memory warning

Open entozoon opened this issue 1 year ago • 5 comments

Running chromium on say, a raspberry pi 3 model A in kiosk mode kicks out a warning dialog that you can't prevent.

Screenshot 2024-10-18 at 10 10 37 AM

I found out it, with some help, it's the /usr/bin/chromium-browser script that does it.

Does this script come from DietPi? Or is it from the RPi-Distro debian script? I can see it's the same.

Either way I'd recommend gouging out this warning because, well, not only does it run reasonably well depending on your purposes, but it shouldn't have interstitial dialogs when booting into kiosk mode.

entozoon avatar Oct 18 '24 09:10 entozoon

we don't build Chromium ourselves. This is the default from official Debian/RPI source

Joulinar avatar Oct 18 '24 09:10 Joulinar

Okay cool, I'll move my issue over there. Thank you

entozoon avatar Oct 18 '24 09:10 entozoon

You can supress this message, when you set "want_memcheck=0" in the mentioned file from entozoon. In my case this setting is on line 122.

Django1982 avatar Oct 20 '24 09:10 Django1982

Yeah or a --no-memcheck flag as mentioned in the RPi-Distro issue (that was also closed, thanks to this tip)

entozoon avatar Oct 22 '24 10:10 entozoon

It is an RPi-only warning. I do not find out reasonably at all, hence we'll disable it by default on DietPi: https://github.com/RPi-Distro/chromium/commit/7f411d6ad53c1e8be8f6b864341ec27772826442

MichaIng avatar Oct 26 '24 08:10 MichaIng