discuss-gnuradio
[Top][All Lists]
Advanced

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

GNU Radio on WSL 2 Debian


From: Henning Dannheim
Subject: GNU Radio on WSL 2 Debian
Date: Fri, 1 Jan 2021 22:14:36 +0100

Hello all,
I installed GNU Radio on Debian with WSL 2 on my Win 10 Laptop.
Procedure:
Install WSL 2 (I use Debian instead of Ubuntu): https://www.omgubuntu.co.uk/how-to-install-wsl2-on-windows-10
Install Gnu Radio and other needed packages:
sudo apt-get update
sudo apt-get upgade
sudo apt-get install gnuradio
sudo apt-get install libgnuradio-osmosdr0.1.4
sudo apt-get install xterm
sudo apt-get install mesa-utils
export LIBGL_ALWAYS_INDIRECT=0

glxgears works fine, so openGL should not be a problem.

Afterwards I adjusted the frequency and executed the flow graph. I expected additional windows like in this video (https://youtu.be/gHhS90dQ-ZI) but only a really small window opened for a few seconds and closed again.
This happens with all flow graphs I have composed. Seems to be a general problem. Running flow graphs with python leads to a Segmentation fault.
Any ideas how to fix this?

Here is what the log says (sometimes the return code is missing):
<<< Welcome to GNU Radio Companion 3.7.13.4 >>>
Block paths:
/usr/share/gnuradio/grc/blocks
Loading: "/mnt/c/Users/XXXXX/Downloads/FMstationsRTL/FMstationsRTL.grc"
>>> Done
Generating: '/mnt/c/Users/XXXXX/Downloads/FMstationsRTL/top_block.py'
Executing: /usr/bin/python2 -u /mnt/c/Users/XXXXX/Downloads/FMstationsRTL/top_block.py
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.13.4
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
[32;1m[INFO] [UHD] [39;0mlinux; GNU C++ version 8.2.0; Boost_106700; UHD_3.13.1.0-3
[INFO] Using format CF32.
>>> Done (return code -11)

console:
$ python top_block.py
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pi'
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.13.4
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
[INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106700; UHD_3.13.1.0-3
[INFO] Using format CF32.
Segmentation fault




reply via email to

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