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

ARM64 support #637

Closed
fobrs opened this issue Sep 25, 2018 · 26 comments
Closed

ARM64 support #637

fobrs opened this issue Sep 25, 2018 · 26 comments

Comments

@fobrs
Copy link

fobrs commented Sep 25, 2018

When will there be a Win2d ARM64 build?

@albertofustinoni
Copy link

Second the request: the Microsoft Community Toolkit depends on Win2D, which means it too is unavailable on ARM64

@fobrs
Copy link
Author

fobrs commented Jan 8, 2019

I've managed to compile an ARM64 version of Win2D. My UWP App, which uses it, now compiles to an ARM64 build successfully too. But because I have no ARM64 device with Win10 on ARM running, I cannot test it.
What could be the best way to submit my changes to this repository? If anyone is interested to test my local nuget package of it, please let me now.

@shawnhar
Copy link
Member

shawnhar commented Jan 8, 2019

Cool! We'd gladly accept a pull request for something like this. Ideally it would be good to have someone with an ARM64 device try it out before completing the PR though :-)

@fobrs
Copy link
Author

fobrs commented Jan 8, 2019

I would test it, if I could lay my hands on one of those ARM64 devices. I'm located in the Netherlands and neither Lenovo nor Samsung sell their Win10 on ARM products over here. However, Lenovo does sell the 8GB, 128GB SSD version in the US and UK. So, if anyone in the US or UK could help me out on this I would appreciate that very much! :-)

@MartinRichards23
Copy link

I have an ARM64 laptop I can test on.

@fobrs
Copy link
Author

fobrs commented Jan 13, 2019

Is the nuget package enough for you?

@MartinRichards23
Copy link

Sure, a nuget package is fine.

@fobrs
Copy link
Author

fobrs commented Jan 14, 2019

@fobrs
Copy link
Author

fobrs commented Jan 14, 2019

Here is my ARM64 fork of the Win2D repository

@MartinRichards23
Copy link

Thanks, I built an app and ran in ARM64 with no issues. The app just drew same ellipses and text, is there anything specific you would like me to test?

@xied75
Copy link

xied75 commented Jan 14, 2019

@fobrs
Copy link
Author

fobrs commented Jan 14, 2019

The Example Gallery needs to be compiled to ARM64 first... Otherwise you simply test the x86 version.

@fobrs
Copy link
Author

fobrs commented Jan 14, 2019

Ok, just successfully build the Examples Gallery for ARM64, here is the appx for sideloading.

@MartinRichards23
Copy link

Installation failed with error:

"App installer failed to install package dependencies. Ask the developer for Microsoft.NET.Native.Runtime.2.2-rel package."

@fobrs
Copy link
Author

fobrs commented Jan 14, 2019

Please try this one. I needed to disable the LiveTileUpdater Backgroundtask to compile this one successfully... Here a link to the certificate

@MartinRichards23
Copy link

Installed and ran with no issues. thanks

@xied75
Copy link

xied75 commented Jan 15, 2019

All great news, so what is the next step?

@fobrs
Copy link
Author

fobrs commented Jan 15, 2019

You can use the nuget package above for your apps to support ARM64 hardware until this repository will be updated.

@shawnhar
Copy link
Member

This is great to see! Please send a pull request with the changes - we'll be delighted to merge this back.

@fobrs
Copy link
Author

fobrs commented Jan 15, 2019

I would make it a separate branch if that is possible, because the minimal OS version is now 1803 (17134). This would make the new nuget package unusable for older OS versions...

@shawnhar
Copy link
Member

I would guess ARM64 needs the latest OS? But we definately don't want to lose the ability to use Win2D with other architectures on older Windows versions. General policy is that it's ok for Win2D to require the latest SDK in order to build, but apps that use Win2D should work downlevel unless they choose to use specific newer features.

@fobrs
Copy link
Author

fobrs commented Jan 15, 2019

Ok, I will send a pull request, so maybe you can then alter my changes so that the min version goes back to 10240

@fobrs
Copy link
Author

fobrs commented Jan 15, 2019

Pull request done...

@fobrs
Copy link
Author

fobrs commented Jan 30, 2019

I'm just testing my new Asus Novago Windows 10 on ARM64 laptop. I can already report that the ARM versions of the store apps are installed and run fine! So, the Win2D Example Gallery (ARM32 build) runs fine too on build 1709!

@mobilewares
Copy link

mobilewares commented Feb 18, 2019

Hi fobrs -

Just wanted to report - I have a Samsung GalaxyBook2 (with Qualcomm ARM64). I am using your ARM64 Nuget Win2d package with a UWP (Win10 1809 + SDK) App as a replacement for the official Win2d package (official one crashes my app when I create a page using the CanvasControl).

Anyhow it's working great (this is a ARM64 specific build - not ARM32/x86 emulation layer) - thanks so much for the hard work!

NG

ps - now to try and find a way to get VLC.MediaElement to work with ARM64 - that's the other part that is stopping existing app from functioning in full ...

@shawnhar
Copy link
Member

Win2D 1.24.0 includes ARM64 support

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

No branches or pull requests

6 participants