Forum: GNU Radio Wx openGL sinks and segmentation faults

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
A725014f091bcd9e8ff16e9f2a0d7e20?d=identicon&s=25 Stefan Bruens (Guest)
on 2009-04-13 15:12
(Received via mailing list)
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
4252201ac30d6dd44d8090ce1070e35f?d=identicon&s=25 Josh Blum (Guest)
on 2009-04-13 18:16
(Received via mailing list)
> 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
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2009-04-13 18:29
(Received via mailing list)
On Mon, Apr 13, 2009 at 09:11:38AM -0700, Josh Blum 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 ;-)

Eric
4252201ac30d6dd44d8090ce1070e35f?d=identicon&s=25 Josh Blum (Guest)
on 2009-04-13 21:57
(Received via mailing list)
> 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
C0ba64b9e5a62ed77295b79b63ab87c0?d=identicon&s=25 Dimitris Symeonidis (Guest)
on 2009-04-14 11:44
(Received via mailing list)
Would it also be interesting to list cards that work? I just added mine
(Intel G945), which works perfectly with GL sinks

Dimitris Symeonidis
"If you think you're too small to make a difference, try sleeping with a
mosquito!" - Amnesty International
This topic is locked and can not be replied to.