qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

Support for arm64

Open SEUZTh opened this issue 4 years ago • 41 comments

I am using ubuntu20.04 arm64 in parallels desktop 17.0. However, QGC.appimage can't run on arm64.

Do you intend to provide arm64 version?

SEUZTh avatar Sep 05 '21 03:09 SEUZTh

Can you change the topic to "Support for arm64" platform?

booo avatar Sep 27 '21 19:09 booo

Can you change the topic to "Support for arm64" platform?

Ok, I have changed it.

SEUZTh avatar Sep 30 '21 07:09 SEUZTh

needed too

hyperion11 avatar Oct 07 '21 01:10 hyperion11

Did you try building QGC for arm64?

https://dev.qgroundcontrol.com/master/en/getting_started/

booo avatar Oct 07 '21 06:10 booo

Did you try building QGC for arm64?

https://dev.qgroundcontrol.com/master/en/getting_started/

I am using arm64 ubuntu. If you have a x64 PC, could you x64-arm64 cross build it? Thanks very much.

SEUZTh avatar Oct 11 '21 04:10 SEUZTh

I think it would be much easier if you try the build yourself.

booo avatar Oct 14 '21 08:10 booo

Did you try building QGC for arm64?

https://dev.qgroundcontrol.com/master/en/getting_started/

try, but without success :(

hyperion11 avatar Oct 25 '21 06:10 hyperion11

@booo Ditto on the request. The instructions for building QGroundControl require building Qt5. I've tried numerous times on Nvidia Jetson to build qt5, but the build fails, and I'm not sure why (perhaps memory issues?). It would be a huge help if a compiled version for arm64 were already provided.

mfry90 avatar Feb 26 '22 19:02 mfry90

@booo Ditto on the request. The instructions for building QGroundControl require building Qt5. I've tried numerous times on Nvidia Jetson to build qt5, but the build fails, and I'm not sure why (perhaps memory issues?). It would be a huge help if a compiled version for arm64 were already provided.

I want to run QGC on arm64 ubuntu, we have the same problem

mengchaoheng avatar Mar 29 '22 13:03 mengchaoheng

@dagar

mengchaoheng avatar Mar 30 '22 13:03 mengchaoheng

I am able to run QGroundControl on macos and the px4 on parallels ubuntu 20.04 arm box successfully.

nihavend avatar Apr 11 '22 12:04 nihavend

I am able to run QGroundControl on macos and the px4 on parallels ubuntu 20.04 arm box successfully.

How about QGC on arm-based Ubuntu? I know px4 sitl can be builded on it, and qgc also can run on Mac by Rosetta.

mengchaoheng avatar Apr 11 '22 12:04 mengchaoheng

@SEUZTh @mfry90 @hyperion11 and @ everyone who need to run qgc on arm-based ubuntu: summary as:

  1. Must be install flatpak 1.12.4 or later. To install 1.12.4, run the following in a terminal:
sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt update
sudo apt install flatpak
  1. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  2. flatpak install flathub org.kde.Platform/aarch64/5.15-21.08
  3. flatpak remote-add --if-not-exists thopiekar.eu https://dl.thopiekar.eu/flatpak/_.flatpakrepo
  4. flatpak install thopiekar.eu org.mavlink.qgroundcontrol after that, maybe restart your computer is need.

mengchaoheng avatar Apr 18 '22 09:04 mengchaoheng

I am able to run QGroundControl on macos and the px4 on parallels ubuntu 20.04 arm box successfully.

How about QGC on arm-based Ubuntu? I know px4 sitl can be builded on it, and qgc also can run on Mac by Rosetta.

unfortunately no. I checked your latest post followed the steps completely without error. But can not start qgc, what is the command ?

nihavend avatar Apr 18 '22 10:04 nihavend

I am able to run QGroundControl on macos and the px4 on parallels ubuntu 20.04 arm box successfully.

How about QGC on arm-based Ubuntu? I know px4 sitl can be builded on it, and qgc also can run on Mac by Rosetta.

unfortunately no. I checked your latest post followed the steps completely without error. But can not start qgc, what is the command ?

after that, maybe restart your computer is need.

mengchaoheng avatar Apr 18 '22 10:04 mengchaoheng

@nihavend

mengchaoheng avatar Apr 18 '22 10:04 mengchaoheng

@nihavend

I restarted my parallels vm. But no command for qgc

nihavend avatar Apr 18 '22 10:04 nihavend

@nihavend

I restarted my parallels vm. But no command for qgc

is there anything output on terminal when you do that 5 step?

mengchaoheng avatar Apr 18 '22 10:04 mengchaoheng

mengchaoheng

Because I had a restart I lost the output but executed one ore time :

parallels@ubuntu-linux-20-04-desktop:~/dev/github$ flatpak install thopiekar.eu org.mavlink.qgroundcontrol Looking for matches… Skipping: org.mavlink.qgroundcontrol/aarch64/stable is already installed

nihavend avatar Apr 18 '22 10:04 nihavend

mengchaoheng

Because I had a restart I lost the output but executed one ore time :

`

parallels@ubuntu-linux-20-04-desktop:~/dev/github$ flatpak install thopiekar.eu org.mavlink.qgroundcontrol

Looking for matches…

Skipping: org.mavlink.qgroundcontrol/aarch64/stable is already installed

`

Find qgc in lower left quarter of Ubuntu,just klick it

mengchaoheng avatar Apr 18 '22 10:04 mengchaoheng

mengchaoheng

Because I had a restart I lost the output but executed one ore time : parallels@ubuntu-linux-20-04-desktop:~/dev/github$ flatpak install thopiekar.eu org.mavlink.qgroundcontrol Looking for matches… Skipping: org.mavlink.qgroundcontrol/aarch64/stable is already installed

Find qgc in lower left quarter of Ubuntu,just klick it

I thought it was set to path as executable or something similar. Never thought it will be installed as an app. Thanks @mengchaoheng.

I was just leaving working on M1. Do you have a slack account ?

nihavend avatar Apr 18 '22 10:04 nihavend

mengchaoheng

Because I had a restart I lost the output but executed one ore time : parallels@ubuntu-linux-20-04-desktop:~/dev/github$ flatpak install thopiekar.eu org.mavlink.qgroundcontrol Looking for matches… Skipping: org.mavlink.qgroundcontrol/aarch64/stable is already installed

Find qgc in lower left quarter of Ubuntu,just klick it

I thought it was set to path as executable or something similar. Never thought it will be installed as an app. Thanks @mengchaoheng.

I was just leaving working on M1. Do you have a slack account ?

Run qgc by 'flatpak run --device=all org.mavlink.qgroundcontrol', see

https://github.com/mavlink/qgroundcontrol/issues/10205#issuecomment-1104257576

mengchaoheng avatar Apr 21 '22 01:04 mengchaoheng

flatpak run --device=all org.mavlink.qgroundcontrol

I made it work as you mentioned before via app search and tried your last advice from command line. Thanks @mengchaoheng

nihavend avatar Apr 25 '22 08:04 nihavend

I'm trying to install on ubuntu 20.04 arm64 and have following: Screenshot at Sep 16 21-48-51

singulardroid avatar Sep 16 '22 17:09 singulardroid

looks like the QCG app has dependency on specific version of KDE and more recent versions are not being accepted? too fresh for the subject but honestly can't make it run...

singulardroid avatar Sep 16 '22 17:09 singulardroid

@SEUZTh @mfry90 @hyperion11 and @ everyone who need to run qgc on arm-based ubuntu: summary as:

  1. sudo apt install flatpak
  2. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  3. flatpak install flathub org.kde.Platform/aarch64/5.15
  4. flatpak remote-add --if-not-exists thopiekar.eu https://dl.thopiekar.eu/flatpak/_.flatpakrepo
  5. flatpak install thopiekar.eu org.mavlink.qgroundcontrol after that, maybe restart your computer is need.

If using mac M1 and have ubuntu installed on parallels, this works like a charm.

mabdinasir avatar Nov 12 '22 05:11 mabdinasir

@SEUZTh @mfry90 @hyperion11 and @ everyone who need to run qgc on arm-based ubuntu: summary as:

  1. sudo apt install flatpak
  1. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  1. flatpak install flathub org.kde.Platform/aarch64/5.15
  1. flatpak remote-add --if-not-exists thopiekar.eu https://dl.thopiekar.eu/flatpak/_.flatpakrepo
  1. flatpak install thopiekar.eu org.mavlink.qgroundcontrol

after that, maybe restart your computer is need.

If using mac M1 and have ubuntu installed on parallels, this works like a charm.

is work now? I have been test a few days ago but failed since the author remove it.

mengchaoheng avatar Nov 12 '22 06:11 mengchaoheng

@SEUZTh @mfry90 @hyperion11 and @ everyone who need to run qgc on arm-based ubuntu: summary as:

  1. sudo apt install flatpak
  1. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  1. flatpak install flathub org.kde.Platform/aarch64/5.15
  1. flatpak remote-add --if-not-exists thopiekar.eu https://dl.thopiekar.eu/flatpak/_.flatpakrepo
  1. flatpak install thopiekar.eu org.mavlink.qgroundcontrol

after that, maybe restart your computer is need.

If using mac M1 and have ubuntu installed on parallels, this works like a charm.

is work now? I have been test a few days ago but failed since the author remove it.

yes mate, worked for me with no problems, literally minutes ago.

mabdinasir avatar Nov 12 '22 06:11 mabdinasir

parallels@ubuntu-linux-20-04-desktop:~$ flatpak install flathub org.kde.Platform/aarch64/5.15
Looking for matches…
error: Nothing matches org.kde.Platform in remote flathub
parallels@ubuntu-linux-20-04-desktop:~$ 

@Abdelnacerr can you help me?

mengchaoheng avatar Nov 16 '22 12:11 mengchaoheng

I can't install org.kde.Platform/aarch64/5.15, how did you do that? @Abdelnacerr

mengchaoheng avatar Nov 17 '22 02:11 mengchaoheng