[GRASS5] NVIZ: DRI acceleration running!

Hi there,

good news: the DRI acceleration is working now (at least here,
tested on different machines). Congrats to Roberto Flor.

The fix is in CVS, if you want to test:

cvs up -dP src.contrib/GMSL/NVIZ2.2
gmake5 -i src.contrib/GMSL/NVIZ2.2

Roberto has upgraded the togl.c to 1.5 (which was already living in
GMSL/NVIZ2.2/TOGL for amusement). The real fix was that the wrong
tkInt was included (fixed now). Even the original TOGL packages
contain this bug...

So - don't forget to activate DRI in /etc/X11/XF98config[-4].
The "gears" program or "glxinfo" will tell you about DRI running.

NVIZ is really FAST now.

Thanks to Roberto Flor from ITC-irst,

Markus

On Wed, Aug 22, 2001 at 04:26:59PM +0200, grass@intevation.de wrote:

Date: Wednesday August 22, 2001 @ 14:26
Author: markus

Update of /grassrepository/grass/src.contrib/GMSL/NVIZ2.2/src
In directory doto:/tmp/cvs-serv5174

Modified Files:
      Tag: releasebranch_11_april_2001_5_0_0
  togl.c togl.h
Added Files:
      Tag: releasebranch_11_april_2001_5_0_0
  tkInt.h tkInt4.0.h tkInt4.1.h tkInt4.2.h tkInt8.0p2.h
  tkWinInt.h
Log Message:
Roberto Flor <flor@itc.it>: upgraded to TOGL 1.5, fixed NVIZ crash with
DRI and Xfree 4.0.3/4.1.0 by using the right tkInt file (wrong version was
included)
_______________________________________________
grass-commit mailing list
grass-commit@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-commit

Markus

is there a chance that this will fix our NVIDIA problem?
(what was the tkInt doing?)

thanks,

Helena

Neteler wrote:

Hi there,

good news: the DRI acceleration is working now (at least here,
tested on different machines). Congrats to Roberto Flor.

The fix is in CVS, if you want to test:

cvs up -dP src.contrib/GMSL/NVIZ2.2
gmake5 -i src.contrib/GMSL/NVIZ2.2

Roberto has upgraded the togl.c to 1.5 (which was already living in
GMSL/NVIZ2.2/TOGL for amusement). The real fix was that the wrong
tkInt was included (fixed now). Even the original TOGL packages
contain this bug...

So - don't forget to activate DRI in /etc/X11/XF98config[-4].
The "gears" program or "glxinfo" will tell you about DRI running.

NVIZ is really FAST now.

Thanks to Roberto Flor from ITC-irst,

Markus

On Wed, Aug 22, 2001 at 04:26:59PM +0200, grass@intevation.de wrote:
>
> Date: Wednesday August 22, 2001 @ 14:26
> Author: markus
>
> Update of /grassrepository/grass/src.contrib/GMSL/NVIZ2.2/src
> In directory doto:/tmp/cvs-serv5174
>
> Modified Files:
> Tag: releasebranch_11_april_2001_5_0_0
> togl.c togl.h
> Added Files:
> Tag: releasebranch_11_april_2001_5_0_0
> tkInt.h tkInt4.0.h tkInt4.1.h tkInt4.2.h tkInt8.0p2.h
> tkWinInt.h
> Log Message:
> Roberto Flor <flor@itc.it>: upgraded to TOGL 1.5, fixed NVIZ crash with
> DRI and Xfree 4.0.3/4.1.0 by using the right tkInt file (wrong version was
> included)
> _______________________________________________
> grass-commit mailing list
> grass-commit@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-commit
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

On Wed, Aug 22, 2001 at 11:50:45AM -0400, Helena Mitasova wrote:

Markus

is there a chance that this will fix our NVIDIA problem?
(what was the tkInt doing?)

Helena,

yes, I think so as it was a general bug with doing some strange
Xfree initialization. Maybe, if it is a good day, it also fixes
the other segfaults from time to time reported. :slight_smile:

Let's test...

Markus

Neteler wrote:

> Hi there,
>
> good news: the DRI acceleration is working now (at least here,
> tested on different machines). Congrats to Roberto Flor.
>
> The fix is in CVS, if you want to test:
>
> cvs up -dP src.contrib/GMSL/NVIZ2.2
> gmake5 -i src.contrib/GMSL/NVIZ2.2
>
> Roberto has upgraded the togl.c to 1.5 (which was already living in
> GMSL/NVIZ2.2/TOGL for amusement). The real fix was that the wrong
> tkInt was included (fixed now). Even the original TOGL packages
> contain this bug...
>
> So - don't forget to activate DRI in /etc/X11/XF98config[-4].
> The "gears" program or "glxinfo" will tell you about DRI running.
>
> NVIZ is really FAST now.
>
> Thanks to Roberto Flor from ITC-irst,
>
> Markus
>
> On Wed, Aug 22, 2001 at 04:26:59PM +0200, grass@intevation.de wrote:
> >
> > Date: Wednesday August 22, 2001 @ 14:26
> > Author: markus
> >
> > Update of /grassrepository/grass/src.contrib/GMSL/NVIZ2.2/src
> > In directory doto:/tmp/cvs-serv5174
> >
> > Modified Files:
> > Tag: releasebranch_11_april_2001_5_0_0
> > togl.c togl.h
> > Added Files:
> > Tag: releasebranch_11_april_2001_5_0_0
> > tkInt.h tkInt4.0.h tkInt4.1.h tkInt4.2.h tkInt8.0p2.h
> > tkWinInt.h
> > Log Message:
> > Roberto Flor <flor@itc.it>: upgraded to TOGL 1.5, fixed NVIZ crash with
> > DRI and Xfree 4.0.3/4.1.0 by using the right tkInt file (wrong version was
> > included)
> > _______________________________________________
> > grass-commit mailing list
> > grass-commit@grass.itc.it
> > http://grass.itc.it/mailman/listinfo/grass-commit
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

Markus Neteler wrote:

On Wed, Aug 22, 2001 at 11:50:45AM -0400, Helena Mitasova wrote:
> Markus
>
> is there a chance that this will fix our NVIDIA problem?
> (what was the tkInt doing?)

Helena,

yes, I think so as it was a general bug with doing some strange
Xfree initialization. Maybe, if it is a good day, it also fixes
the other segfaults from time to time reported. :slight_smile:

Let's test...

we have uploaded the new version and after opening and closing NVIZ
many times and testing it on all kinds of data it DID NOT crash!
I will test it for 1-2 days and if it really holds, i am going to write more
celebratory message,

thank you!!!!!

Helena

Markus

> Neteler wrote:
>
> > Hi there,
> >
> > good news: the DRI acceleration is working now (at least here,
> > tested on different machines). Congrats to Roberto Flor.
> >
> > The fix is in CVS, if you want to test:
> >
> > cvs up -dP src.contrib/GMSL/NVIZ2.2
> > gmake5 -i src.contrib/GMSL/NVIZ2.2
> >
> > Roberto has upgraded the togl.c to 1.5 (which was already living in
> > GMSL/NVIZ2.2/TOGL for amusement). The real fix was that the wrong
> > tkInt was included (fixed now). Even the original TOGL packages
> > contain this bug...
> >
> > So - don't forget to activate DRI in /etc/X11/XF98config[-4].
> > The "gears" program or "glxinfo" will tell you about DRI running.
> >
> > NVIZ is really FAST now.
> >
> > Thanks to Roberto Flor from ITC-irst,
> >
> > Markus
> >
> > On Wed, Aug 22, 2001 at 04:26:59PM +0200, grass@intevation.de wrote:
> > >
> > > Date: Wednesday August 22, 2001 @ 14:26
> > > Author: markus
> > >
> > > Update of /grassrepository/grass/src.contrib/GMSL/NVIZ2.2/src
> > > In directory doto:/tmp/cvs-serv5174
> > >
> > > Modified Files:
> > > Tag: releasebranch_11_april_2001_5_0_0
> > > togl.c togl.h
> > > Added Files:
> > > Tag: releasebranch_11_april_2001_5_0_0
> > > tkInt.h tkInt4.0.h tkInt4.1.h tkInt4.2.h tkInt8.0p2.h
> > > tkWinInt.h
> > > Log Message:
> > > Roberto Flor <flor@itc.it>: upgraded to TOGL 1.5, fixed NVIZ crash with
> > > DRI and Xfree 4.0.3/4.1.0 by using the right tkInt file (wrong version was
> > > included)
> > > _______________________________________________
> > > grass-commit mailing list
> > > grass-commit@grass.itc.it
> > > http://grass.itc.it/mailman/listinfo/grass-commit
> > _______________________________________________
> > grass5 mailing list
> > grass5@grass.itc.it
> > http://grass.itc.it/mailman/listinfo/grass5
>
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5