Recent

Author Topic: Lazarus on Surface Pro X. Can it run?  (Read 3993 times)

MrMaxMusterman

  • Guest
Lazarus on Surface Pro X. Can it run?
« on: February 05, 2021, 11:26:39 pm »
So i know that the Surface Pro X has 32-bit Emulation but in some articles and videos, people went over some apps crashing even though emulation of them should be possible. What about Lazarus? Is there someone who uses or at least tried to use Lazarus on Surface Pro X or Windows on ARM? Can and does it run with it and is the performance that worse?

ASBzone

  • Hero Member
  • *****
  • Posts: 678
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: Lazarus on Surface Pro X. Can it run?
« Reply #1 on: March 11, 2021, 05:13:05 pm »
I have not tried this as yet.  I have to get my hands on a Surface Pro X, at least to test.
-ASB: https://www.BrainWaveCC.com/

Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: Lazarus on Surface Pro X. Can it run?
« Reply #2 on: March 11, 2021, 06:13:26 pm »
Does anybody have already installed Windows 10 on a Rpi 3-B?
And get fpc work on it?

And are the binaries compiled on Windows-Rpi compatible with MS Surface Pro X?

Thanks.

Fre;D


I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Lazarus on Surface Pro X. Can it run?
« Reply #3 on: March 12, 2021, 03:50:55 pm »
So i know that the Surface Pro X has 32-bit Emulation but in some articles and videos, people went over some apps crashing even though emulation of them should be possible. What about Lazarus? Is there someone who uses or at least tried to use Lazarus on Surface Pro X or Windows on ARM? Can and does it run with it and is the performance that worse?

i386 Lazarus works without any problems on Windows for ARM64.

Does anybody have already installed Windows 10 on a Rpi 3-B?

Not on a Pi 3B, but on a Pi 4 inside a VM.

And get fpc work on it?

The i386 one, yes (including Lazarus). The aarch64 still has some bugs and is not fully useable yet.

And are the binaries compiled on Windows-Rpi compatible with MS Surface Pro X?

It's simply the i386 compiler. It doesn't generate any different binaries than it would on a i386 system.

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: Lazarus on Surface Pro X. Can it run?
« Reply #4 on: March 12, 2021, 05:04:15 pm »
Not on a Pi 3B, but on a Pi 4 inside a VM.
It seems that it is possible too to install the true Windows 10 on Rpi4:
https://www.tomshardware.com/how-to/install-windows-10-raspberry-pi

i386 Lazarus works without any problems on Windows for ARM64.
Ha, ok, but this is because Windows for ARM64 can emulate i386 but this is not a "pure Windows ARM64 fpc" app.
(Or I miss something.)

The aarch64 still has some bugs and is not fully useable yet.
Ha, ok, and this will produce a "pure Windows ARM64 fpc" app.
(Or I miss something)

Thanks for the light.

Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Lazarus on Surface Pro X. Can it run?
« Reply #5 on: March 15, 2021, 01:35:59 pm »
Not on a Pi 3B, but on a Pi 4 inside a VM.
It seems that it is possible too to install the true Windows 10 on Rpi4:
https://www.tomshardware.com/how-to/install-windows-10-raspberry-pi

Yes, but running it using KVM on a Linux allows me to use the onboard ethernet controller for example. There are also some other problems, because Microsoft does not provide a native Windows ARM64 for the Pi. The 32-bit variant is a bit better here cause it can use the drivers provided with Windows IoT Core (but even then ethernet would not work on the Pi4).

i386 Lazarus works without any problems on Windows for ARM64.
Ha, ok, but this is because Windows for ARM64 can emulate i386 but this is not a "pure Windows ARM64 fpc" app.
(Or I miss something.)

Yes and that is all you have for now.

The aarch64 still has some bugs and is not fully useable yet.
Ha, ok, and this will produce a "pure Windows ARM64 fpc" app.
(Or I miss something)

Yes, correct.

Fred vS

  • Hero Member
  • *****
  • Posts: 3158
    • StrumPract is the musicians best friend
Re: Lazarus on Surface Pro X. Can it run?
« Reply #6 on: March 15, 2021, 01:39:28 pm »
@Sven : ok, clear, thanks.

Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018