Wx openGL sinks and segmentation faults

Hi,

I have noticed that I always get a segmentation fault if I use the
openGL
versions of the sinks. This seems to be dependent on the graphics
chipset, I
have two computers both with Intel G965.

The segfault can be avoided with LIBGL_ALWAYS_INDIRECT=1, eg,
$> LIBGL_ALWAYS_INDIRECT=1 usrp_oscope.py
Although this slows things down a little bit, it should still be faster
than
pure software rendering.

I would be interested in reports from other people, especially which
chipsets/drivers segfault and which dont.

Stefan

Stefan Brüns / Bergstraße 21 / 52062 Aachen
phone: +49 241 53809034 mobile: +49 151 50412019

The segfault can be avoided with LIBGL_ALWAYS_INDIRECT=1, eg,
$> LIBGL_ALWAYS_INDIRECT=1 usrp_oscope.py

thats very useful to know

Although this slows things down a little bit, it should still be faster than
pure software rendering.

I would be interested in reports from other people, especially which
chipsets/drivers segfault and which dont.

perhaps we can start a wiki page, with chip sets, error messages,
versions, and recommendations.

Who else has GL working, or has GL issues, what is chipset?

A quick way to enable the gl sinks if not done so:

mkdir ~/.gnuradio/
echo [wxgui] >> ~/.gnuradio/config.conf
echo style=gl >> ~/.gnuradio/config.conf

-Josh

On Mon, Apr 13, 2009 at 09:11:38AM -0700, Josh B. wrote:

A quick way to enable the gl sinks if not done so:

mkdir ~/.gnuradio/
echo [wxgui] >> ~/.gnuradio/config.conf
echo style=gl >> ~/.gnuradio/config.conf

-Josh

You’re probably safer editing the file in your favorite editor, since
some of us have other settings in there :wink:

Eric

I would be interested in reports from other people, especially which
chipsets/drivers segfault and which dont.

Stefan

I added this to the wxgui wiki page:
http://gnuradio.org/trac/wiki/CompGrWxgui#GLSinks

There is a table with cards and known issues/solutions. Maybe we can get
a few more problem cards to fill in and notice a pattern.

Testers needed!

-Josh

Would it also be interesting to list cards that work? I just added mine
(Intel G945), which works perfectly with GL sinks

Dimitris S.
“If you think you’re too small to make a difference, try sleeping with a
mosquito!” - Amnesty International