|
From: | Marcus D. Leech |
Subject: | Re: [Discuss-gnuradio] Running wx gui widgets over xforwarding ssh connection fails |
Date: | Thu, 12 May 2011 21:22:09 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 |
I receive the following error when connecting to a ubuntu 10.10 platform from a debian lenny machine:The WX widgets use OpenGL to render some items, and OpenGL seems to want certain X server extensions to be available to it.address@hidden:~/gnuradio_test$ ./top_block.py linux; GNU C++ version 4.4.5; Boost_104200; UHD_003.000.001-release Xlib: extension "RANDR" missing on display "localhost:10.0". Segmentation faultSeveral of the systems I work on run on remote servers and it would be really nice to view the pretty wx fft display remotely. Has anybody had success with this?-Phelps
You could try setting and exporting: export LIBGL_ALWAYS_SOFTWARE=1Before starting your remotely-displayed WxPython program. This is supposed to force OpenGL to use software-only rendering, rather than trying to find rendering extensions in the X server. I haven't found this to be a reliable way to make it work, but sometimes it does. The problem isn't in Gnu Radio, per se, but the OpenGL library that WxPython uses for produce some of the display elements--like
the graphic sinks. -- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org
[Prev in Thread] | Current Thread | [Next in Thread] |