discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GRC Fails to Display QT/WX Elements [SOLVED]


From: Crypto.Troop
Subject: Re: [Discuss-gnuradio] GRC Fails to Display QT/WX Elements [SOLVED]
Date: Sat, 22 Jun 2013 01:44:36 -0500

Tom, THANK YOU. This worked wonderfully!
Here's the juicy bits for those whom may find this thread later on.
Mint 15 - Fully updated as of 21 Jun 2013

SDR: HackRF and RTL E4000 tuner dongle.
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.3-1ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --with-cloog --enable-cloog-backend=ppl --disable-cloog-version-check --disable-ppl-version-check --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
gnuradio-config-info -v
3.7.0rc0
VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 570 Rev. 2] (rev a1)
Using the proprietary nvidia driver:
nvidia-310 310.44-0ubuntu2 amd64 NVIDIA binary Xorg driver, kernel module and VDPAU library
python -V
Python 2.7.4
3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Standard master git branch of gr-osmosdr.
Below, in the thread is more detail.

Thanks again to all whom offered suggestions!
Mark





On Fri, Jun 21, 2013 at 4:06 PM, Volker Schroer <address@hidden> wrote:
> Do you see any messages in /var/log/Xorg.0.log or /var/log/dmesg ?
>
> Am 21.06.2013 15:43, schrieb Crypto.Troop:
>>
>> Hi Volker,
>>
>> Yes sir, I've added throttles, and tried all of the provided demo's. I've
>> also done more research, and further down the list are people talking about
>> the same thing...
>>
>>
>> http://lists.gnu.org/archive/html/discuss-gnuradio/2013-06/msg00373.html
>>
>>
>> so I have hope it's not just me... :)
>>
>>
>> Thanks,
>>
>> Mark
>>
>>
>>> May be a silly question, but does your flow graph contain >a throttle
>>> block ?
>>>
>>> -- Volker
>>
>>
>>
>>
>> Am 21.06.2013 04:55, schrieb Crypto.Troop:
>>
>>     Hi,
>>
>>     I just installed GNURADIO from git, onto a brand new install of Mint
>> 15.
>>     I followed the following instructions:
>>     http://bgamari.github.io/posts/2013-06-15-hackrf.html
>>
>>     gnuradio-config-info -v
>>     3.7.0git-143-gad1d52fd
>>
>>     With Python 2.7, I was able to get everything compiled and installed.
>>     The CMakeLists.txt in GNURADIO I had to tweak line(168)
>>     to: find_package(PythonLibs 2.7) for it to include Python support.
>>
>>     My environment vars:
>>     PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
>>     PYTHONPATH=:/usr/local/lib/python2.7/dist-packages
>>
>>     I built GNURADIO with the following cmake:
>>     cmake -DPYTHON_EXECUTABLE=/usr/bin/python2.7
>>     -DPYTHON_INCLUDE_DIR=/usr/include/python2.7
>>     -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so.1 ../
>>
>>     I fire up gnuradio-companion and try a simple example dial_tone.grc. I
>>     click generate, then execute, I see the standard "Executing
>>     ..."/tmp/dial_tone.py" "Using Volk machine: svx_64_mmx"  etc... No
>> other
>>     errors. My problem is, no QT/WX GUI elements show up.
>>
>>     I built a simple grc file with a QT slider(and nothing else), and this
>>     worked.
>>     I tried a basic signal source, through a throttle right into a QT FFT
>>     GUI element. The grc runs, no errors, yet the physical display of the
>>     FFT fails.
>>     I have on another box gnuradio 3.6.5 and all of this worked fine. I
>>     compared qt/wx/python debs and verified both machines have similar
>> packages.
>>
>>     The key common factor in this problem is if i remove the signal
>> sources
>>     and sinks, the QT/WX basic sliders will show... Perhaps there is
>>     something wrong with my version of gnuradio and how it handles
>>     inputs/outputs, killing GUI display? I've also tried compiling against
>>     python3, 3.3 and 3.3m...no luck.
>>
>>     Is there a way I can enable an extra layer of debug into GRC for me to
>>     see what it's doing??
>>     I've tried running /tmp/dial_tone.py directly and it run's, but no
>> audio
>>     or gui elements display. Another hint which may help, is a basic audio
>>     source to audio sink, set to "pulse" does not output audio into my
>>     speakers. The audio does work with the OS audio tests, and I am
>> running
>>     pulseaudio.
>>
>>     I would like to stay with the latest GNURADIO simply to support my
>>     HackRf board, in which the HackRf gr-osmosdr library seems to only
>>     support the latest version. I tried with 3.6.5 and it failed to
>> compile...
>>
>>     Thank you for any insight,
>>     Mark


>By the way, I just pushed a fix to master that should corr>ect this problem.
>
>>Tom

reply via email to

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