Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium optimisation on imx6 #735

Open
hiten4612 opened this issue Jul 22, 2023 · 6 comments
Open

Chromium optimisation on imx6 #735

hiten4612 opened this issue Jul 22, 2023 · 6 comments

Comments

@hiten4612
Copy link

On my imx6dl custom board, I'm running the chromium-ozone-wayland_75.0.3770.142.bb web browser.

I ran Chrome with the following flags
/usr/lib/chromium/chromium-bin --no-sandbox --reduce-gpu-sandbox --gpu-sandbox-start-early --ignore-gpu-blocklist --enable-gpu-rasterization --enable-features=RawDraw,CanvasOopRasterization,WebRTCPipeWireCapturer --in-process-gpu --use-gl=egl --ozone-platform=wayland

And use the sram command to monitor memory use.
499 0 /usr/lib/chromium/chromium- 0 776.0K 8.1M 25.0M
522 0 /usr/lib/chromium/chromium- 0 6.2M 14.5M 33.8M
538 0 /usr/lib/chromium/chromium- 0 35.6M 48.9M 70.9M
497 0 /usr/lib/chromium/chromium- 0 55.3M 70.4M 97.5M

As was already noted, it uses a lot of RAM. and I'd like to make that memory as small as possible.

@MaxIhlenfeldt
Copy link
Collaborator

I'm running the chromium-ozone-wayland_75.0.3770.142.bb web browser

Do I understand correctly that you are running Chromium 75? If so, updating the browser might already give some RAM usage improvements, as I believe they are continuously working on this issue (e.g., in 110 the "Memory Saver" was introduced, which might help with your use case).

@hiten4612
Copy link
Author

hiten4612 commented Jul 26, 2023

@MaxIhlenfeldt Thanks for your support, When i run chrome://gpu/ some features use HW Acceleration, while others do not

Screenshot from 2023-07-26 14-50-23

@MaxIhlenfeldt
Copy link
Collaborator

I'm not sure I can help with that a lot, I can only recommend experimenting with the CLI flags you're using to see what effects they have in this regard.

@Rutvij-dev
Copy link

Rutvij-dev commented Aug 9, 2023

Hi @MaxIhlenfeldt,

Any advise on the porting/migration to v110 ?

--
BR

@MaxIhlenfeldt
Copy link
Collaborator

I don't recall anything special about 110. If you're facing concrete problems, I'd be happy to try and help. If they're not related to this issue (RAM usage / HW acceleration on imx6), please open a separate issue.

@MaxIhlenfeldt
Copy link
Collaborator

I don't think I have any suggestions other than just trying out the newer version. If anything comes up, feel free to open a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants