[GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI

Michael Barton michael.barton at asu.edu
Wed May 24 18:01:08 EDT 2006


But this works fine in 8.4 in both x11 and Mac OSX versions on my Mac and
for FC4. Is 8.4 for Debian so different?

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


> From: Glynn Clements <glynn at gclements.plus.com>
> Date: Wed, 24 May 2006 22:45:40 +0100
> To: Michael Barton <michael.barton at asu.edu>
> Cc: Hamish <hamish_nospam at yahoo.com>, Paolo Cavallini via RT
> <grass-bugs at intevation.de>, <grass-dev at grass.itc.it>
> Subject: Re: [GRASS-dev] [bug #4493] (grass) gis.m fails to start GUI
> 
> 
> Michael Barton wrote:
> 
>> I think that Glynn is fixing (or maybe has fixed) NVIZ.
> 
> Nope. All I've done to NVIZ is to update Togl to 1.7 (which is
> supposed to include native Mac support, although I'm not sure whether
> it's functional).
> 
> If the issues with (some versions of) Tk 8.4 and NVIZ are down to the
> use threads in those versions of Tk, it may simply not be possible to
> use those versions with NVIZ.
> 
> Essentially, if Tk is trying to use threads "transparently", using
> OpenGL simply won't work.
> 
> OpenGL stores the GLX context in thread-specific storage, so that you
> can safely use OpenGL concurrently from multiple threads. Before you
> can use OpenGL from a given thread, you have to bind a GLX context in
> that particular thread. If the Tcl run-time treats all threads as
> equal and executes code in whichever thread it feels like, the
> application will end trying to use OpenGL calls without a valid GLX
> context having been bound.
> 
> -- 
> Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list