ryanvolz / radioconda

Software radio distribution and installer for conda
Other
342 stars 39 forks source link

TX flowgraph makes a complaint about USB on M1 Mac with Arm64 build #32

Closed techfoamer closed 1 year ago

techfoamer commented 1 year ago

I'm using a USB Ettus B200mini. Flowgraph runs the first time after launching GRC. Subsequent launches randomly don't run, and say this:

[INFO] [UHD] Mac OS; Clang version 14.0.4 ; Boost_107800; UHD_4.3.0.0-release Assertion failed: (list_empty(&darwin_cached_devices)), function darwin_init, file os/darwin_usb.c, line 605.

Flowgraph will usually run after closing GRC and unplugging then replugging the B200mini.

usb_problem.txt

ryanvolz commented 1 year ago

It looks like it crashes in a thread that is loading the libbladeRF library. Curious since you're using UHD. You could try uninstalling soapysdr-module-bladerf to see if that is truly causing the problem:

conda uninstall soapysdr-module-bladerf
techfoamer commented 1 year ago

Hmm, lots of complaints after issuing the uninstall command.

uninstall_soapysdr-module-bladerf_output.txt

ryanvolz commented 1 year ago

Maybe mamba uninstall soapysdr-module-bladerf will work or give clearer output? It's weird, because nothing should depend on soapysdr-module-bladerf.

techfoamer commented 1 year ago

That worked. Flowgraphs with B200mini run without errors.

ryanvolz commented 1 year ago

Did the new BladeRF release fix this, or do you still need the workaround of uninstalling soapysdr-module-bladerf?