[plt-scheme] avoiding GLX warnings

From: Doug Orleans (dougo at place.org)
Date: Sun Mar 27 16:07:08 EST 2005

Daniel Pinto de Mello e Silva writes:
 > On Sun, 27 Mar 2005 13:52:29 -0500, Doug Orleans <dougo at place.org> wrote:
 > > When I make a canvas% on a VNC X display, I get these warnings:
 > > 
 > > MrEd version 299.101, Copyright (c) 2004-2005 PLT Scheme, Inc.
 > > > (define frame (instantiate frame% ("foo")))
 > > > (define canvas (instantiate canvas% (frame)))
 > > Xlib:  extension "GLX" missing on display ":1.0".
 > > Xlib:  extension "GLX" missing on display ":1.0".
 > > Xlib:  extension "GLX" missing on display ":1.0".
 > > >
 > > 
 > > I guess the VNC X server doesn't have a GLX emulator.  Is there a way
 > > to avoid these warnings?
 > 
 > They come from the Xlib C library, so maybe ignore stderr with "mred
 > 2>/dev/null" ?

I was thinking maybe there was a way to detect whether or not the GLX
extension was available before doing whatever it is that's trying to
use it.

 > Or try a VNC X server with the RENDER and GLX extensions:
 > http://xf4vnc.sourceforge.net/
 > 
 > Or a GLX-enabled Java X server (then you can have MrEd in your browser!)
 > http://percro.sssup.it/~pit/weirdxglx/index.html

Thanks for the pointers!

--dougo at place.org



Posted on the users mailing list.