# No scope with gr?

**URL:** <https://www.ruby-forum.com/t/no-scope-with-gr/241722>\
**Category:** GNU Radio\
**Created:** [April 27, 2015, 7:44am UTC](https://www.ruby-forum.com/t/no-scope-with-gr/241722 "2015-04-27T07:44:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [April 27, 2015, 7:44am UTC](https://www.ruby-forum.com/t/no-scope-with-gr/241722/1 "2015-04-27T07:44:35Z")

</div>

Hi,

With latest gnuradio the scope view refuses to work in my flowgraphs.  
Execution ends completely without any error message. Removing the block  
and  
putting it newly into the flowgraph changes nothing. Disabling the scope  
makes the projects work, the water fall works without issues.

Uninstalling gnuradio, deleting the build folder and rebuilding  
everything  
changed nothing. All elements are built, cmake seems to be fine with the  
prerequisites, still no working scope.

Kubuntu 14.04 64 bit, latest kernel and all other updates, gnuradio from  
sources (master), no pybombs…

Where can I start searching for the reason?

Thx!

Ralph.

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [April 27, 2015, 8:09am UTC](https://www.ruby-forum.com/t/no-scope-with-gr/241722/2 "2015-04-27T08:09:43Z")

</div>

Hi Ralph,

first of all: that’s the WX GUI Scope, right?

> Where can I start searching for the reason?  
> Do other Instrumentations from the same GUI framework work?  
> Tough one, but I’d tackle this with a debug build and GDB:  
> [http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsGDB](http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsGDB)

Greetings,  
Marcus

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [April 27, 2015, 9:51am UTC](https://www.ruby-forum.com/t/no-scope-with-gr/241722/3 "2015-04-27T09:51:58Z")

</div>

Hi,

> Hi Ralph,
> 
> first of all: that’s the WX GUI Scope, right?

Yes.

> > Where can I start searching for the reason?  
> > Do other Instrumentations from the same GUI framework work?

The WX GUI Waterfall Sink works as always.

Usually I do not use those gfx stuff that much, I just stumbled over it  
when  
firing up my DSD+ flow for DMR radio decoding, then I tried other flows  
using WX GUI Scope Sink, with the same result.

> Tough one, but I’d tackle this with a debug build and GDB:  
> [http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsGDB](http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsGDB)

Looks complicated to a Windows guy like me, may take some days until I  
find  
time for such an adventure 🙂

> Greetings,  
> Marcus

Ralph.

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [April 27, 2015, 2:20pm UTC](https://www.ruby-forum.com/t/no-scope-with-gr/241722/4 "2015-04-27T14:20:17Z")

</div>

Hi Ralph,

> Usually I do not use those gfx stuff that much, I just stumbled over it when  
> firing up my DSD+ flow for DMR radio decoding, then I tried other flows  
> using WX GUI Scope Sink, with the same result.  
> I see… Hm. The point is that most of us is not really deep into the WX  
> code base, and GNU Radio is planning to move away from WX to QT, and  
> since I can’t reproduce the problem locally, it’s going to be very hard  
> to get you running. It really _is_ an odd failure if only the scope is  
> failing.  
> I have one more idea: might be something with OpenGL acceleration; WX  
> always was a bit flakey on that side, but hardware accell for drawing  
> lines is really helpful… But maybe on modern machines with CPU cycles  
> to spare, maybe creating ~/.gnuradio/config.conf with the lines:

[wxgui]  
style = nongl

does the trick (hell, if I knew where .gnuradio is on a windows  
machine…).

Generally, if your application is “simple enough” to just switch  
Generate Options from “WX” to “Qt” and replace a few GUI elements, then  
I’d recommend using Qt; it’s more modern, and it will stick around  
longer. Most features can be configured even at runtime using  
“middle-click” on the visualization.

Greetings,  
Marcus

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [April 28, 2015, 12:02pm UTC](https://www.ruby-forum.com/t/no-scope-with-gr/241722/5 "2015-04-28T12:02:34Z")

</div>

Hi,

> Hi Ralph,

> I see… Hm. The point is that most of us is not really deep into the WX  
> code  
> base, and GNU Radio is planning to move away from WX to QT, and since I  
> can’t reproduce the problem locally, it’s going to be very hard to get you  
> running. It really _is_ an odd failure if only the scope is failing.

So I will have a look at the qt stuff and simply forget about wx. To by  
honest, I never bothered what kind of GUI I am using, but when qt GUI  
offers  
the same functionality, so why stay with wx?!

> Generally, if your application is “simple enough” to just switch Generate  
> Options from “WX” to “Qt” and replace a few GUI elements, then I’d  
> recommend using Qt; it’s more modern, and it will stick around longer.  
> Most  
> features can be configured even at runtime using “middle-click” on the  
> visualization.

Yep, it is all quite simple stuff, nothing special. The scope I even do  
not  
really need most of the time, just the waterfall is nice to have.

> Greetings,  
> Marcus

Ralph.
