monero-gui icon indicating copy to clipboard operation
monero-gui copied to clipboard

Provide macOS Universal Binary (M1) release

Open t-anon opened this issue 3 years ago • 12 comments

monero-wallet-gui uses a lot of energy running on ARM M1 Macs due to translation. We should provide a universal binary.

t-anon avatar May 22 '21 00:05 t-anon

I actually can't even seem to get monerod running. It just unexpectedly quits immediately. 😢

counterbeing avatar Nov 07 '21 15:11 counterbeing

As a first step the next release will make it easy to compile monero and monero-gui on Apple Silicon, currently some manual changes are required.

selsta avatar Nov 07 '21 17:11 selsta

@selsta Is this the only change needed (as of today master) to build on M1: https://github.com/monero-project/monero-gui/pull/3804

Just git pull master then make -j4 ?

BigslimVdub avatar Mar 12 '22 04:03 BigslimVdub

master should build fine on M1.

Just clone and then make.

selsta avatar Mar 12 '22 04:03 selsta

master builds, however when trying to mine with P2Pool it gives an error "Error starting mining" "Couldn't start mining" Solo option works.

artisr avatar May 05 '22 12:05 artisr

First step towards M1 binaries: https://github.com/monero-project/monero/pull/8312

selsta avatar May 05 '22 13:05 selsta

@artisr what hardware are you using?

selsta avatar May 05 '22 13:05 selsta

I managed to get it working, I compiled https://github.com/SChernykh/p2pool and replaced p2pool binary in monero-wallet-gui/Contents/MacOS

If I'm guessing right, the app downloads the binary and we need to update it to download the correct one?

I'm using 16" M1 pro

artisr avatar May 05 '22 13:05 artisr

Correct, p2pool doesn't offer M1 binaries yet.

selsta avatar May 05 '22 13:05 selsta

Can I ask an ETA for this?

Janaka-Steph avatar Aug 20 '22 23:08 Janaka-Steph

Qt only added official M1 support in 5.15.9: https://www.qt.io/blog/commercial-lts-qt-5.15.9-released

This version won't be available open source until April 2023. It might be possible to get it working with previous versions but I didn't spend much time on it yet.

selsta avatar Aug 20 '22 23:08 selsta

Qt only added official M1 support in 5.15.9: https://www.qt.io/blog/commercial-lts-qt-5.15.9-released

This version won't be available open source until April 2023. It might be possible to get it working with previous versions but I didn't spend much time on it yet.

Oh okay. Thank you for the quick reply

Janaka-Steph avatar Aug 20 '22 23:08 Janaka-Steph

Qt 5.15.9 Community Version Officially Released here

Ishaanahuja7 avatar Apr 08 '23 10:04 Ishaanahuja7

Qt doesn't provide precompiled libraries for Qt 5.15.3 or later, which means I have to compile it myself. I've been doing some tests but I wasn't successful yet.

selsta avatar Apr 10 '23 14:04 selsta

I made some progress here, I got the packaged GUI running natively with the following 2 issues:

  • ~~Starting local node fails~~ found a workaround
  • ~~Some icons don't display correctly~~ solved

selsta avatar Apr 15 '23 15:04 selsta

Next release will have native macOS ARM binaries.

selsta avatar Apr 16 '23 04:04 selsta