-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
Windows arm64 build #1051
Comments
+1 on ARM64 build and since FF has a build for it too finger crossed zen version is coming too. |
Wold also love to see a working version on my Arm64 laptop as i love to use Zen-Browser on my desktop |
Also same problem on the snapdragon x Elite, would love to see this working on ARM machines. |
I started using Zen on my personnal PC and work laptop. |
SAme i want this so bad on my new arm laptop... |
Since 03/09/2024, GitHub made ARM runners available to open public. I think that should be possible to implement now. |
For windows? Where did you see that? |
|
Though based on this discussion actions/runner-images#768 they are not much usable... |
The only way would be to use third party runners, id need to check their pricing |
|
According to Supported built host - Firefox . It's impossible to build firefox on Windows ARM64 runner. I guess we should consider cross compile. |
Detailed description about cross compile can also be found on Firefox source documentations. Official targets configuration for windows arm64 is L4 at mozilla-central/browser/config/mozconfigs/win64-aarch64/common-win64 . So we might be able to cross compile Zen browser by adding win64-aarch64 target like:
Considering we're using surfer. So we might should add win64-aarch64 target to surfer platform map (Reference: https://searchfox.org/mozilla-central/source/python/mozrelease/mozrelease/platforms.py#22) diff --git a/src/commands/updates/browser.ts b/src/commands/updates/browser.ts
index 8745467..ac08636 100644
--- a/src/commands/updates/browser.ts
+++ b/src/commands/updates/browser.ts
@@ -8,4 +8,5 @@ const ausPlatformsMap = {
],
macosArm: ['Darwin_aarch64-gcc3'],
win64: ['WINNT_x86_64-msvc', 'WINNT_x86_64-msvc-x64'],
+ win64-aarch64: ["WINNT_aarch64-msvc-aarch64"],
} Since I'm not an expert in this field so I can't provide further help. I also can't test this cuz I don't have windows x86 device. Anyway thanks a lot for your great efforts devs. |
Arc already has a working build for Windows ARM64 and it seems to run even faster than on my Intel-based computers. With Arc being the most direct competitor to Zen Browser, it would be interesting to see a step forward for Zen in this regard. |
+1 for linux arm64 build also |
+1 for windows arm64 build, especially now that arc has it. zen technically works under emulation but its super laggy and some sites don't work |
Looking for this as well. The difference in stability and performance is really obvious when using zen on my desktop vs my X Elite laptop. |
Okay, let me check this out hopefully during this week. I only have a M-based Mac, but running a VM should suffice for testing purposes. |
If you need any testers, would be happy to oblige, or I can build it as well, if you run into issues with vm or something. I`m on the aarch64 snapdragon laptop. |
I'd also be happy to be a tester if needed :) I have a snapdragon x plus-based surface pro 11 |
Running the generic version through the standard windows emulation layer works on my Surface Laptop 7, but a lot of pages are so slow that they're unusable (e.g. youtube). |
Any news? :-) I have Snapdragon x plus in my Lenovo ThinkBook, so I´ll be happy for amr release. |
Still waiting... :) Asus Vivobook S15 OLED Copilot Laptop. Snapdragon Elite X |
Also willing to be a beta tester. I have a Lenovo Yoga Slim 7X laptop. |
I don't think an ARM64 runner is needed for this, changing the build target to aarch64-pc-windows-msvc and using Firefox's --enable-bootstrap build option to cross-compile worked on my x86 Fedora machine to build the ARM64 Windows version. Running the native version does immediately feel significantly faster. On BrowserBench Speedometer 3.0 the x86 version on my Yoga Slim 7x gets 5.58 vs 14.5 with the ARM64 one. I also changed the WIN32_REDIST_DIR path from x64 to arm64 and removed the SURFER_COMPAT if-else block that has the x86 CPU optimizations. |
Reluctantly using Arc until a native arm build is up. Patiently waiting =) @omove can you ELI5? |
I made this script to do it all in a fresh VM of Fedora 40.
|
@omove If that CAN be the case then could u share that version of the script :) |
What he mentioned would be to have something the Zen team can put in a pipeline that can automatically create releases for Windows ARM64. Usually pipelines are simpler to do in Linux and they allow to cross-compile for Windows. If you're not that tech savvy like you said, I would wait for official builds, else you would have to build it yourself for every new update they release, because staying on one version, you won't get new security updates that they do. |
I tried replacing those x86 optimizations with some ARM options instead of just commenting the whole if-else block out and I got the speedometer score from 14.5 to 16.4.
|
I have tried getting it to work on fedora WSL but couldnt get your instructions to build. But probably since it was not a whole vm... Will try again if it isnt supported by the end of this week. with the recent Arc news I'm more than ever looking to replace it on WOA arm64 pc. So heres hoping for support 🤞 |
I put together a PR(#3093) over the weekend so it could be merged, here's the latest arm64 build from my Github Actions test runs if you want to try it now: https://github.com/omove/desktop/actions/runs/11893761202 |
What happened?
Not sure if this has been raised, but are there any plans for an arm64 build for windows?
Reproducible?
Version
1.0.0-a.32
Severity impact
High
What platform are you seeing the problem on?
Windows
Relevant log output
No response
The text was updated successfully, but these errors were encountered: