MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.9k stars 499 forks source link

Chromium low memory warning #7248

Open entozoon opened 1 month ago

entozoon commented 1 month ago

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.

Joulinar commented 1 month ago

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

entozoon commented 1 month ago

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

Django1982 commented 1 month ago

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.

entozoon commented 1 month ago

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

MichaIng commented 3 weeks ago

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