-
-
Notifications
You must be signed in to change notification settings - Fork 838
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
Stellarium 1.0+ no longer installs on Windows 11 arm64 #2962
Comments
Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us. |
While I don't understand why anyone would want to run an emulation while there is a native version for macOS on ARM, you could try to run the Qt5-based Windows version in the emulator. Or just use the native version. |
This doesn't make any principal difference: the error is about instruction set architecture, which obviously isn't compatible, regardless of the libraries used. So, the only sensible solution is to use the native macOS version. If one really needs to run Stellarium in a Windows virtual machine, the VM should emulate an x86_64 CPU (x64, if we use Microsoft's terminology). @gzotti Do we not provide a Windows arm64 build? |
Windows arm64 has a quite robust emulation for x64 binaries. Stellarium 0.22.2 runs flawlessly under this emulation. As for why not run native on MacOS, this is the use case: I am an astrophotographer, and give demonstrations of image acquisition on my Mac using simulated astrophotography hardware. Most of this software only runs under Windows (sigh), so I need to operate in a Windows environment. Running Stellarium with the Telescope Control plugin is nice to have as it helps visualize where the telescope is pointing. I realize this is not a mainstream use case, but there is a nascent but growing collection of hardware that can run Windows 11 on ARM. As the software (at least used to) run fine under emulation, this seems like a simple modification to the architecture check during install. |
@10110111 I am also aware that the architecture of our qt5 build should also just be x64, however, if previous (only qt5-based) versions worked, so may the new qt5-based build. There is no arm64 Windows build of Stellarium so far. How many arm64-Windows systems are out there? I think they are coming, but only as tech previews. (?) @tjzepf With your specifying TelescopeControl plugin, my recommendation gets stronger. We have a handful of reports that indicate the TelescopePlugin in the Qt6 builds has some problem. Please try the qt5-based build. |
@gzotti , yes the qt5 version installs fine. Oddly, though, the Telescope Control plugin does not list ASCOM as a choice for telescope control. Neither does it list ASCOM for the 0.22.2 version either. |
You need to install ASCOM drivers before using that. Please see the User Guide, I don't use this part of the program. |
No. Qt 6.4 has a technical preview for support Windows/arm64, but without important libraries. |
We can allow installation win64 application into arm64 environment, but... I fear this is bad idea. |
Is your concern that things will break? As @tjzepf says, x64 emulation on Arm in Windows 11 is quite robust, though in previous versions only x32 emulation existed (later Insider builds of Windows 10 did have x64 emulation but it's only in Windows 11 that it is officially supported). Happy to test a drop on a Lenovo Thinkpad X13s and my son's Microsoft Surface Pro 9, if that would help. |
@tjzepf @timthorn please check this snapshot - https://ci.appveyor.com/api/buildjobs/8oyl7cth94hhq67b/artifacts/stellarium-23.0-843567a-qt6-win64.exe |
Thanks @alex-w. The CI system's limit for downloads of that file has been hit so I'm unable to get the binary today, but I'll keep trying over the next few days. |
Thanks again @alex-w. The build looks to work for me. Performance isn't great out of the box (2-3FPS in MESA mode and 5-6FPS with acceleration) but turning satellites and ground off gets to a very usable ~15FPS. Although you say that important libraries are missing, could building with Arm64EC help? I think that's meant to allow you to mix x86 and Arm code in the same process. More here: https://learn.microsoft.com/en-us/windows/arm/arm64ec |
OK, the original issue is fixed
Some important Qt modules are not ported to Windows/arm64 architecture, so, we'll wait the full support ARM64 by framework. |
Thanks @alex-w.
My point was that because ArmEC allows interworking of x86 and native Arm code which will deliver some speedup, you might not need to wait for all the modules to be ported. Of course, if you want to do a single piece of work to target full native, I understand - and in any case greatly appreciate you having enabling the installer to work on Windows on Arm, thank you. On Qt, is it just Qt Webengine that you need but are missing? |
Nope. Serial ports missing too. |
Hello @tjzepf! The bug or issue has been fixed! You may test it via building Stellarium from source code or wait the weekly development snapshot... |
Hello @tjzepf! Please check the fresh version (development snapshot) of Stellarium: |
Hello @tjzepf! Please check the latest stable version of Stellarium: |
I've got it compiling and launching natively for ARM64. Albeit using MSYS2 as the dev environment and Clang as the compiler msys2/MINGW-packages#18653 and without the Telescope plugin, ShowMySky or QtWebEngine |
|
I don't think that Media support was the issue The issue was that MSYS2 already has a Qt version that has the fix for https://bugreports.qt.io/browse/QTBUG-105984. Thus I commented that out in the CMake script. I'm going of course to upstream the fix here sometime soon (which is to compare Qt 6.4.0 or less than 6.4.1). I have a bunch of questions regarding the dependencies needed for Telescope and ShowMySky too. |
Tengo instalado el Stellarium 0.22.0 en Windows 11 y el problema es que a la hora de control de telescopio este solo se mueve en dirección suroeste mientas si apunto a un objeto dirección sureste el telescopio no gira,otro problema es que cuanto el telescopio hace un giro largo el nombre del telescopio y la diana desaparece |
@1963m You are commenting in an unrelated and closed issue thread, and in a language at least most of the developers have to use a translator. In addition, you don't say what kind of telescope you have. And you are using an outdated version. As visible in numerous other places here, there are unsolved issues with telescope support in 1.0+/Qt6. We will not investigate new spurious problems reported in 0.22 in an unrelated issue thread when they cannot be reproduced in 23.3. |
Please check the fresh version (development snapshot) of Stellarium: |
Expected Behaviour
Prior to Stellarium 1.0, the software would install and operate fine on a Windows arm64 installation running on a M1 Mac under Parallels.
Actual Behaviour
The install fails with "This program can only be installed on versions of Windows designed for the following processor architectures: x64"
Steps to reproduce
System
Logfile
If possible, attach the logfile
log.txt
from your user data directory. Look into the Guide for its location.The text was updated successfully, but these errors were encountered: