Alex313031 / thorium

Chromium fork named after radioactive element No. 90. Windows and MacOS/Raspi/Android/Special builds are in different repositories, links are towards the top of the README.md.
https://thorium.rocks/
BSD 3-Clause "New" or "Revised" License
4.9k stars 148 forks source link

Linux arm64 releases #189

Closed corford closed 1 year ago

corford commented 1 year ago

Apologies if I've somehow missed it but, afaict, there are currently no linux arm64 releases of Thorium. Is this something that could be added? Use case is bundling Thorium in a multi-arch (amd64 and arm64) linux docker image (ubuntu).

corford commented 1 year ago

Just saw this comment: https://github.com/Alex313031/thorium/issues/185#issuecomment-1627028570. In my case, the docker image would be used on a Mac M2 which, afaik, doesn't support NEON. Presumably this usage scenario is a deal breaker with the raspi arm64 thorium release?

Edit: maybe I am mistaken about Apple's supportfor NEON: https://discussions.apple.com/thread/254687090?answerId=258749686022#258749686022 ?

RobRich999 commented 1 year ago

Apple M-series chips are ARMv8 compatible, so they support NEON SIMD instructions.

Ubuntu has Chromium binaries for Linux on arm64.

https://launchpad.net/ubuntu/lunar/arm64/chromium-browser

In theory Thorium's RPI binaries "should" run under Linux on a M-series proc.

https://github.com/Alex313031/Thorium-Special

Alex313031 commented 1 year ago

@RobRich999 @corford The raspi binaries will indeed run on any arm64 CPU with NEON, which every M series Mac has. However, it is tuned for the a-72 cores in the raspi 4, so might have slightly lower performance than one with generic tuning.

Also, it has a patch to enable hardware acceleration on the videocore4 GPU in the Pi 4. This shouldnt mess up GPU acceleration on other platforms, but it is possible that it might. As always, check chrome://gpu to verify.

RobRich999 commented 1 year ago

Hardware GPU acceleration could be a huge YMMV. AFAIK, Asahi devs managed OpenGL ES 2 support on Apple Mx, but I am not sure about the current state of ES 3 support.

Anyway, I suspect Chromium software rendering performance should be decent on a M2 system.