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

Windows on ARM build #7

Open
alexandreteles opened this issue May 15, 2022 · 32 comments
Open

Windows on ARM build #7

alexandreteles opened this issue May 15, 2022 · 32 comments
Labels
information Describes something that Thorium users may want to be aware of.

Comments

@alexandreteles
Copy link

Hello,

Would it be possible for you to produce a Windows build for ARM64, maybe targeting ARMv8-A/Cortex-A76 with NEON extensions enable?

@Alex313031
Copy link
Owner

@alexandreteles Are you going to be running it on a raspi? Because I actually already have it march and mtuned to armv8-a and cortex-a76 respectively with neon extensions. I wouldn't have to change anything in source, just compile it for Win arm64

@alexandreteles
Copy link
Author

@Alex313031 I'll be running it on a couple Galaxy Book Go laptops, they're equipped with the Snapdragon 7c Gen 2 processor and Windows 11!

@Alex313031
Copy link
Owner

@okay, I will make a build for you soon.

@Alex313031
Copy link
Owner

@alexandreteles We are making an arm64 build today as well as an sse4 build for older processors.

@Alex313031
Copy link
Owner

@alexandreteles Unfortunately, we are having issues cross building for windows on arm.

@alexandreteles
Copy link
Author

Oh, that's sad. Could you share the build files so I can try locally on my Windows installation running on x64?

@Alex313031
Copy link
Owner

@alexandreteles You can compile it yourself.You will need 60+GB of space, 8GB RAM, and the more powerful the cpu, the better. Preferably with at least 4 cores. I've written instructions in the repo for building for linux and windows, and cross building for windows

@Alex313031
Copy link
Owner

Alex313031 commented Jun 25, 2022

@alexandreteles We got a working build! Although we had to disable -O3, which is one of the things that gives Thorium its performance, but it should still be faster than a vanilla chromium/chrome build. We also really need someone to test it, to make sure it works. Would you be willing to do that.

https://github.com/Alex313031/Thorium-Special/releases/tag/M105.0.5142.0

@alexandreteles
Copy link
Author

Sure, I'll test it and get back to you in one or two days. Thank you very much for the build!

@Alex313031
Copy link
Owner

@alexandreteles Hows it comin?

@alexandreteles
Copy link
Author

Okay, it seems to be working just fine for me. It isn't faster than Edge but it's clean. I'll start deploying it to the machines and update you during the process.

@gz83
Copy link
Collaborator

gz83 commented Jul 5, 2022

@alexandreteles This version disables some optimization parameters, we will try to add them back in the next version.

@Alex313031
Copy link
Owner

@alexandreteles I have been doing some work with the main BUILD.gn, and @gz83 we should try to use the new artifacts (or maybe native build since we will be doing that anyway). New Win On ARM build should come soon,

@da-brad
Copy link

da-brad commented Aug 10, 2022

Happy to kick the tires on my surface pro x with it too.

@Alex313031
Copy link
Owner

@alexandreteles @da-brad New build coming soon

@da-brad
Copy link

da-brad commented Sep 2, 2022

@alexandreteles @da-brad New build coming soon
@Alex313031
new ARM build still in process?

@alexandreteles
Copy link
Author

Took me longer than expected to come back to you because, I'll be honest, I forgor 💀 But anyway, it works better than the Chrome build for Windows on ARM. Deployment was a breeze after wrapping it on a MSI file, but I do feel that without the optimizations some performance is left on the table.

I'm waiting for the new builds, thank you for your time!

@Alex313031
Copy link
Owner

@da-brad @alexandreteles Yeah, we were having some issues. We should be making an arm build in the coming week.

And how did you wrap it in an msi file? Besides, why are you doing that, is the .exe not enough? If the reason is you are trying to install it system wide rather than per user, there is a cmdline flag for that.

@alexandreteles
Copy link
Author

@da-brad how did you wrap it in an msi file?

Using WiX

Besides, why are you doing that, is the .exe not enough?

Literally because of company policy.

@Alex313031
Copy link
Owner

@alexandreteles Interesting.

@da-brad
Copy link

da-brad commented Sep 4, 2022

I'm excited to give it a shot @Alex313031 and @alexandreteles. And when I do, I'll look to use the exe file whenever the newest release is available. Thank you!

@gz83
Copy link
Collaborator

gz83 commented Sep 4, 2022

I'm cross-compiling a new Windows on Arm version on a server, which will be released publicly when the compilation is complete

@alexandreteles
Copy link
Author

@Alex313031 and @gz83 Are we ever getting an updated version for Windows on ARM? On the latest Win11 update it stopped working for me with error code STATUS_BREAKPOINT. I'm always over here to test new builds :)

@gz83
Copy link
Collaborator

gz83 commented Dec 22, 2022

@Alex313031 and @gz83 Are we ever getting an updated version for Windows on ARM? On the latest Win11 update it stopped working for me with error code STATUS_BREAKPOINT. I'm always over here to test new builds :)

@alexandreteles There are some problems in the compilation process of the new WOA version, the compilation cannot continue, we are still looking for ways to solve the problem

@da-brad
Copy link

da-brad commented Dec 22, 2022 via email

@Alex313031
Copy link
Owner

@da-brad @alexandreteles Me and @gz83 are working on a new Windows on ARM build.

@alexandreteles
Copy link
Author

Thank you! I can't wait...

@Alex313031
Copy link
Owner

Alex313031 commented Aug 25, 2023

@da-brad @alexandreteles @gz83 At long last, we FINALLY have a fully working, bug free (unless there is something I didn't catch in my extensive testing) Windows on ARM64 build. I tested with Windows 10 and Windows 11 on a Raspberry Pi 4.

Here ya'll go. It should work on any device running Windows for ARM, except for Windows RT (Based on Windows 8.1, used on the original surface, because 1. that device is ARM32, and 2. Chromium dropped support for Win7/8/8.1 with M109)

https://github.com/Alex313031/Thorium-Special/releases/tag/M115.0.5790.172-2

It also includes a vanilla chromium release, read the release notes.

Thank @gz83 for helping me with work during debugging of the build process for this.

@alexandreteles
Copy link
Author

I will get to test it as soon as I have some free time!

@Alex313031
Copy link
Owner

@alexandreteles @da-brad I can't test right now, so can one of you test the latest M119 win on arm build?

@alexandreteles
Copy link
Author

I could, but it would take a couple days.

@Alex313031
Copy link
Owner

Alex313031 commented Jan 8, 2024

@alexandreteles @da-brad I was able to test, and it is broken, but luckily I know how to fix it, I just need to rebuild natively on a real Windows machine.

@Alex313031 Alex313031 added the information Describes something that Thorium users may want to be aware of. label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
information Describes something that Thorium users may want to be aware of.
Projects
None yet
Development

No branches or pull requests

4 participants