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

Linux ARM64 support? #1

Closed
matrunchyk opened this issue May 7, 2023 · 24 comments
Closed

Linux ARM64 support? #1

matrunchyk opened this issue May 7, 2023 · 24 comments

Comments

@matrunchyk
Copy link

matrunchyk commented May 7, 2023

Update: Star this Chromium issue asking for official linux-arm64 support.


Hi, do you plan to add linux arm64 support?

I tried https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/113.0.5672.63/linux64/chrome-linux64.zip, but it seems like it's intended for x86_64 platform:

qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory

There is no /lib64 directory in linux arm64, but just /lib.

Thanks!

@matrunchyk
Copy link
Author

cc @mathiasbynens

@mathiasbynens
Copy link
Member

Note: This issue tracker is only for the code that lives in this repository, i.e. the dashboard + CLI scripts.

do you plan to add linux arm64 support?

This is on our radar, and the relevant (unfortunately not public) tracking bug is https://bugs.chromium.org/p/chromium/issues/detail?id=1440652.

@matrunchyk
Copy link
Author

matrunchyk commented May 9, 2023

Thank you @mathiasbynens for your prompt response! By any chance, do you have an approximate schedule for the release?

@mathiasbynens
Copy link
Member

By any chance, do you have an approximate schedule for the release?

No ETA. We’ll update this repository when the new binaries become available.

@thiagowfx
Copy link
Contributor

Reopening to keep track of the FR but, again, the upstream is https://bugs.chromium.org/p/chromium/issues/detail?id=1440652

@diemol
Copy link

diemol commented Nov 22, 2023

It'd be nice to have this so we can provide Docker images for ARM with Chrome instead of Chromium.

https://github.com/seleniumhq-community/docker-seleniarm

@fritzo
Copy link

fritzo commented Nov 26, 2023

@thiagowfx thanks for keeping this public issue open (the upstream issue gives me Permission Denied)

@seanpoulter
Copy link

Please let us know how we can help support this.

@devsheva
Copy link

Still no news ?

@toncid
Copy link

toncid commented Feb 22, 2024

I think it will take some time before we get an answer.

In the meantime, can anyone share their experience with running the x86 Chrome with box64 (or any other emulator) on arm64?

I was trying on Amazon Linux 2023 (Fedora/RHEL line), but without luck. Debian is not an option.

@sandstrom
Copy link

ARM64 images for Linux would be very useful!

We currently need to apply several workarounds to make it work.

An option would be to switch to another headless browser, but if possible we'd like to stick with Chrome for testing, because overall it's really good!

@montehurd
Copy link

Would very much like this too.

@sandstrom
Copy link

Github has just released ARM runners for Github Actions:

https://github.blog/2024-06-03-arm64-on-github-actions-powering-faster-more-efficient-build-systems/

Would be neat if Chrome for testing would provide a Linux ARM64 build for use with such runners.

@mkurz
Copy link

mkurz commented Oct 17, 2024

@mathiasbynens any updates meanwhile?

@mathiasbynens
Copy link
Member

Unfortunately Chrome does not officially support linux-arm64 at this time. We can only make Chrome for Testing available on platforms that are officially supported by the Chrome product.

@benschwarz
Copy link

@mathiasbynens Hiiii 👋

Do you think it's worth opening a CR bug to discuss the addition of linux-arm64 releases for Chrome?

In terms of browser automation, Chrome is heavily used for by a large community of people. By using ARM64, those automation workloads could be run on lower wattage hardware, with less heat and emissions output, at a lower cost. Is it tenable for Chrome to run on arm64?

@sandstrom
Copy link

@mathiasbynens Makes sense, but would you be willing to keep it open?

It's the by far most upvoted issue in this tracker:

https://github.com/GoogleChromeLabs/chrome-for-testing/issues?q=is%3Aissue+sort%3Areactions-%2B1-desc+

And it will very likely be supported eventually anyway (it's not like ARM is going away anytime soon).

@solving321
Copy link

@benschwarz

Not only that, I have installed UTM on mac to test something on Debian, ARM64 version is only compatible with mac's recent version. Unfortunately it don't have chrome support so I have to install chromium to test.

@mathiasbynens
Copy link
Member

In terms of browser automation, Chrome is heavily used for by a large community of people. By using ARM64, those automation workloads could be run on lower wattage hardware, with less heat and emissions output, at a lower cost.

FWIW, I fully agree and am sympathetic to this cause.

Do you think it's worth opening a CR bug to discuss the addition of linux-arm64 releases for Chrome?

For CfT specifically, there was an issue at https://crbug.com/40909440 which unfortunately resulted in the outcome described in my earlier comment.

I encourage you to file a separate Chromium issue requesting linux-arm64 support for all of Chrome so people can star it / subscribe to it for updates. If/when the product decision is made to support linux-arm64 we’d happily provide linux-arm64 CfT builds. Until that decision is made it is however not feasible for us to do anything on the CfT side.

@Niek
Copy link

Niek commented Oct 17, 2024

FWIW Microsoft releases playwright docker images for arm64, which contain native arm64 Chromium/Firefox/WebKit. See e.g. mcr.microsoft.com/playwright:v1.48.1-arm64.

@benschwarz
Copy link

@mathiasbynens, thanks to your recommendation, I have logged an issue on Chromium.

Everyone who wants to support Chrome arm64: Go star this issue

@stephankaag
Copy link

stephankaag commented Oct 22, 2024

Shouldn't be too much trouble.

I’m already compiling arm64 binaries myself for usage on AWS Lambda.

https://github.com/chromium-for-lambda/chromium-binaries

@mathiasbynens
Copy link
Member

@mathiasbynens, thanks to your recommendation, I have logged an issue on Chromium.

Everyone who wants to support Chrome arm64: Go star this issue

Thank you! I’ve added a link to the issue to the top post here as well, so hopefully more people can see and star it.

@slhck
Copy link

slhck commented Dec 9, 2024

FYI the linked issue has been marked as "Won't fix" in November: https://issues.chromium.org/issues/374811603#comment10

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

No branches or pull requests