brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.06k stars 2.23k forks source link

Support for ARM64 on Linux? #11836

Closed AtjonTV closed 1 year ago

AtjonTV commented 3 years ago

Description

I recently bought a PineBook Pro from Pine64 and I obviously want to use Brave just like on my Intel powered Laptop that runs Gentoo Linux.

Though sadly Brave only seems to support ARM-HF powered Android devices. PineBooks run on Linux though, also they use a ARM64 processor.

As PineBooks have a ARM64 (64 bit) processor, I cant really run/use armhf (32 bit) builds as one would on a Raspi.

I tried to run armhf applications before, but after 6 hours of trying without success I gave up.

For what I know, Chromium has ARM64 support. I have Chromium running on here.

As the ARM processor in PineBooks is not ment for heavy load I will not attempt to compile Brave myself on here.

bsclifton commented 3 years ago

cc: @mihaiplesa

Adefebrian commented 3 years ago

Support

Radagan commented 3 years ago

This would open up Brave support on the PinePhone as well.

mihaiplesa commented 3 years ago

I've got a PR pending at https://github.com/brave/brave-core/pull/6927 if anyone wants to try building. It needs more testing from our side and a few fixes.

tgerring commented 3 years ago

Is there a relatively easy way to test the above PR as a part of building brave-browser repo? The documentation states that brave-core is mounted at src/brave, but I'm not sure I know how to shim that into place.

I did attempt to follow the build instructions, but apt couldn't find libgnome-keyring-dev and npm run init errored out when trying to find the module "chalk".

My build environment:

System:
  Host: ubuntu Kernel: 5.8.0-1015-raspi aarch64 bits: 64 
  Desktop: MATE 1.24.1 Distro: Ubuntu 20.10 (Groovy Gorilla) 
Machine:
  Type: ARM Device System: Raspberry Pi 400 Rev 1.0 details: BCM2835 
coreybruce commented 3 years ago

I agree, Brave should port to ARM64 Linux.

I will try and see if I can build/run it on my pi 4 with Manjaro Arm64

mihaiplesa commented 3 years ago

Reopening as this broke some things. Have to reimplement.

Poincare1 commented 3 years ago

The comments on this are ultra confusing and comments and statements appear to contradict each other.

Simple yes/no: Is there a working Aarch64 Brave Browser version?

If not, when can we expect it?

Asking as Aarch64 linux (Manjaro) user.

coreybruce commented 3 years ago

The comments on this are ultra confusing and comments and statements appear to contradict each other.

Simple yes/no: Is there a working Aarch64 Brave Browser version?

If not, when can we expect it?

Asking as Aarch64 linux (Manjaro) user.

No sadly there isn't a working version for aarch64, there just has been developments on debugging issues to get it working currently.

Poincare1 commented 2 years ago

No sadly there isn't a working version for aarch64

It's a shame that Brave has walked away from the Arm64 Linux community.

jeanlucmongrain commented 2 years ago

@coreybruce what are the issues?

coreybruce commented 2 years ago

@coreybruce what are the issues?

There isn't a working version of Brave for AArch64 or arm7l

Ampsicora commented 2 years ago

@mihaiplesa is there any news regard the ARM64 support implementation? When can we expect to see it working?

Can't wait to use it on my pinebook pro 😎

magnusviri commented 2 years ago

I would love to use ARM64 Brave on my M1 Mac (running Linux).

josteink commented 2 years ago

As a PinePhone and 64-bit booting RPi owner I would love a proper ARM/Aarch64 build of brave too.

Brave really should support this. There's literally dozens of us 😅

jeanlucmongrain commented 2 years ago

@coreybruce what are the issues?

There isn't a working version of Brave for AArch64 or arm7l

But why?

As there is an android arm64 build, I assume the code work on arm64

stephematician commented 2 years ago

Also interested in using Brave on an arm64 (Pi Model 4B).

n1klaus commented 2 years ago

Also interested in using Brave on an arm64 (Pi Model 4B).

same .. thought i would find some hope here

akhil-rana commented 2 years ago

this is much needed

NayamAmarshe commented 2 years ago

+1 for this. Chromium already works great in ARM64, we need Brave too

c3m0 commented 2 years ago

Another Raspberry Pi 4B user here. Brave support would be awesome. Please make it happen.

chrisdobler commented 2 years ago

Would like to see support for Brave on Pinephone running Manjaro ARM.

xTpx commented 2 years ago

I have a TV box (S905m2) running armbian and I need Brave too.

DoDoENT commented 2 years ago

Another Raspberry Pi 4B user here (ArchLinux ARM64).

Currently using Chromium that annoys me because I need lots of extensions to achieve brave-browser feature parity. And since all those extensions run in javascript, it really burdens the chromium, making it even slower.

Please, please, please, add official ARM64 support for Linux 🙏. You already have ARM64 support for Android, and Android also uses the Linux kernel. Why is it so difficult to add generic ARM64 Linux support?

tur11ng commented 2 years ago

+1 for this

pleytens commented 2 years ago

Vivaldi is a web browser arm64 supported.

AlexTalker commented 2 years ago

+1 for Raspberry Pi 4B, 8 GiB RAM ain't gonna use itself 😄

bsclifton commented 2 years ago

+1 from @robd003 via https://github.com/brave/brave-browser/issues/20294

andrewpayne68 commented 2 years ago

+1 #20294

derzahla commented 2 years ago

+1

jumzijie commented 2 years ago

+1

tdadvocate commented 2 years ago

Yet another rPi4b and PinePhone user. Really would love to see this ported over. I looked into this a bit but I'm very limited in my knowledge. Would really like to know from the official developers or people who have tried to port it, what is stopping this? It runs on mainline Linux branches as well as android using similar hardware. So it doesn't make sense how this has gone almost a full year with what seems to be no idea what is preventing it. I could have very well missed something somewhere that points out the issues though since I tend to be blind.

DoDoENT commented 2 years ago

AFAIK, widewine still doesn't support Linux/aarch64, only armhf. I guess this is also the reason why the official Raspberry OS is still 32-bit.

I don't see if there are any other showstoppers, but I'm not a Brave developer so I may be missing something. If the widewine is the only reason, then please ignore it and create Brave without widewine support - I didn't install it even on my Brave instances on Mac and Intel Linux...

s-kzmchv commented 2 years ago

+1

Willemgtn commented 2 years ago

+1!

paju1986 commented 2 years ago

Can it be compiled without widewine? I dont want that propietary crap anyways...

Zopolis4 commented 2 years ago

Just dug out my old arm7 chromebook, and would really benefit from a proper linux arm build of brave. The android version is missing tor support and doesn't sync with my desktops, and is generally inferior to the regular version. I'm dual booting ChromeOS and Debian, and right now my Debian browser is chromium, so I know a linux arm brave build is possible.

ChrisN06 commented 2 years ago

+1

waddon1 commented 2 years ago

Any update on this? It is literally taking forever and I don't see any reason why it hasn't happened yet.

Rudra1510 commented 2 years ago

Hi, I have a M1 MacBook running a Debian-derived distribution on UTM virtualisation. And can't live without Brave on it. I have to keep brave open in the home OS. Hoping this is the correct place to look for a arm64 version of Brave.

jrciii commented 2 years ago

Running aarch64 archlinux on a raspberry pi 4 8 gb, just missing brave browser :disappointed:

bmentink commented 2 years ago

I am running gnome on an Apple M1 powerbook (asahi) and woulld love Brave as well ..... there will be a lot more like me wanting this as Asahi linux hits mainstream .. (Currently in Alpha)

krims0n32 commented 2 years ago

Another vote here for arm64 linux support. Running a Linux VM on a Macbook M1. I have to run chrome now.

p15r commented 2 years ago

+1

i12bretro commented 2 years ago

+1

okonon commented 2 years ago

same here we need Brave for arm64

SmilerOnline commented 2 years ago

+1

As someone that regularly promotes Brave Browser & Brave Search to people, it would be great to be able to demo the Brave Browser running on my PinePhone Pro as I'm transitioning away from the Google/Apple/Microsoft BigData ecosystem and actively encourage friends to do so too.

pat-s commented 2 years ago

Saying it again, inf downvotes incoming: can this thread PLEASE be locked? everyone will get notified (most likely) when arm builds are available.

This +1 syntax is just spam for everyone subscribed here. Just thumbs up and subscribe to the issue...

martinbutt commented 2 years ago

Are there currently ARMhf .deb packages for linux? I only see .apks. I've had success before with installing ARMhf .deb files on ARM64, and this could be a short term work around.

DoDoENT commented 2 years ago

@martinbutt, this won't work. I've tried that on my Archlinux. It's possible to install the ARMhf version of the widewine on aarch64 Linux, but it's only usable from armhf (i.e. 32-bit) apps, not from aarch64 apps.

So, a possible armhf (32-bit) version of a Brave browser could use it, but the arm64 version of Brave couldn't.

But I'm not sure that widewine is the showstopper for arm64 Brave support - I just guessed that. I know it's possible to use Brave without widewine installed. However, sites such as Netflix, Disney+, and similar won't work then. I personally don't mind that, but I see that as a problem for lots of people.