discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Radio on Mac M1


From: Ryan Volz
Subject: Re: GNU Radio on Mac M1
Date: Tue, 24 May 2022 15:05:58 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Hi Rod,

I have a positive report from a colleague who is running radioconda on an M1 through rosetta with the non-arm64 build. He also reports instability with GRC when trying to run the native arm64 packages, so I think your best shot might be trying the former with rosetta. (Another thing to consider is that gr-qtgui does not exist yet for arm64, since conda-forge is still struggling to get the Qt ecosystem built. It has been seemingly imminent for 6 months now, so I've stopped holding my breath.) Miniconda vs. radioconda should not matter, except for convenience in reinstalling if you want to wipe away your whole conda installation. I'm not sure in what ways the various packaging methods would interfere with each other's Python installations, but removing anything you don't need and keeping things minimal is always a good plan.

Cheers,
Ryan

On 5/24/22 12:19 PM, Price, Rodney D. wrote:
Ryan,

Thanks for your reply. I looked through the Mac OS X bug reports and didn't see 
anything that looked relevant to my case. The problem isn't necessarily 
connected to GRC. The Macports install seems to be missing some essential cmake 
files (i.e. GrSwig and dependencies). The conda install would be preferable, 
anyway. I'm beginning to wonder about m=y miniconda install: I have found 
multiple Python installs around my system, and after removing all my homebrew 
packages and replacing some with macports versions, I wonder if the Python 
libraries that GNU Radio uses might not be the ones that GNU Radio expects. I'm 
considering removing miniconda and replacing it with radioconda. What do you 
think? Is that likely to work on a Mac?

Thanks,
-Rod

-----Original Message-----
From: Ryan Volz [mailto:ryan.volz@gmail.com]
Sent: Monday, May 23, 2022 11:21 AM
To: Price, Rodney D.; discuss-gnuradio@gnu.org
Subject: EXTERNAL: Re: GNU Radio on Mac M1

Hi Rod,

I think your experience is common, unfortunately, and part of the
problem is that there are multiple bugs to work through and not all of
them are necessarily with GRC itself. There are multiple dimensions in
which things are failing (new vs. old macOS version, switch to arm64,
standard DPI display vs. high DPI [Retina] display), so providing as
many details about your system as you can would be helpful. As the
person putting out the conda packages, it saddens me that I haven't been
able to sort through enough of the bugs to get something working for people.

So, what particular issues are you seeing with the conda install? There
are a few bugs tagged for "Mac OS X" on the GNU Radio Github: do any of
those apply?

One thing a recent report has brought to my attention is a possible bug
in conda-forge's cairo package. If you're seeing crashes that might have
to do with cairo (e.g. GRC crashes), you could try installing a patched
cairo package that I have available on my channel:

conda install -c ryanvolz/label/bigsur-patch cairo

Cheers,
Ryan

On 5/23/22 12:33 PM, Price, Rodney D. wrote:
I've been trying to get a good install of GNU Radio on a Mac M1 (ARM64)
running Monterey, using several methods. I've tried installing via
Homebrew, which gave me an install that crashed GRC constantly. I've
tried conda install (I have miniconda installed) without success. My
latest attempt is with Macports, which gives me a working GRC, but when
I attempt to run cmake in the OOT module source, cmake can't find
GrSwig, so I go online to find a GrSwig.cmake, which then leads to
another error on LIBTOOL.

This is not to complain, but I would really like to avoid going down
some rabbit hole on an install that in the end, just won't work.
Macports' gnuradio is version 3.8, and I would like something more up to
date. Playing nicely with conda would be nice as well.

So I'm asking for advice on the current state of GNU Radio on Macs with
the Apple ARM chip. Have others been able to get a working install of
GNU Radio on this system? What's the current best approach for 3.9 or 3.10?

Thanks,

-Rod

------------------------------------------------------------------------
This message is intended only for the use of the individual or entity to
which it is addressed and may contain ZETA Associates confidential or
proprietary information. If you are not the intended recipient, any use,
dissemination, or distribution of this communication is prohibited. If
you have received this communication in error, please notify the sender
and delete all copies.
________________________________
  This message is intended only for the use of the individual or entity to 
which it is addressed and may contain ZETA Associates confidential or 
proprietary information. If you are not the intended recipient, any use, 
dissemination, or distribution of this communication is prohibited. If you have 
received this communication in error, please notify the sender and delete all 
copies.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]