[GRASS-dev] GL + PPM + nviz

Glynn Clements glynn at gclements.plus.com
Fri Sep 8 15:42:53 EDT 2006


Markus Neteler wrote:

> >> We had tracked this down and fixed it once already.  It's back:
> >>
> >> Creating PBuffer Using GLX 1.3
> >> X Error of failed request:  GLXUnsupportedPrivateRequest
> >>   Major opcode of failed request:  143 (GLX)
> >>   Minor opcode of failed request:  16 (X_GLXVendorPrivate)
> >>   Serial number of failed request:  21
> >>   Current serial number in output stream:  22
> >>
> >> This happens specifically when trying to export high resolution PPM from
> >> nviz.
> >> http://grass.itc.it/pipermail/grass5/2006-June/023868.html
> >>     
> >
> > If they don't work, you can turn them off:
> >
> > 	export GRASS_NO_GLX_PBUFFERS=1
> > 	export GRASS_NO_GLX_PIXMAPS=1
> >
> > I'm starting to get really curious as to whether either pBuffers or
> > GLX Pixmaps actually work for *anyone*.
> >
> >   
> It does no longer work for me (it did in the past):
> [64bit RHEL4]
> 
> recalculating normals...
> % Creating PBuffer Using GLX 1.3
> Final Assembled Image will be 4096 x 3781
> Writing Tile 1 of 1
> Cannot open file for output.
> Assembling Tiles
> sh: /hardmnt/bartok0/ssi/neteler/software/cvsgrass61//tmp/dddtmp1.ppm:

This is a different issue.

I note that Nstart_zoom_cmd() only uses a 64-byte buffer for the
prefix; you may be overflowing that.

> No such file or directory
> pnmcat failed to create assembled image
> Check that pnmcat is installed and path is set
> sh: /hardmnt/bartok0/ssi/neteler/software/cvsgrass61//tmp/ddd.ppm: No
> such file or directory
> pnmcat failed to create assembled images
> Check that pnmcat is installed and path is set
> GLX -- destroy pbuffer
> Segmentation fault
> 
> A pity! Also the volume was broken apparently in May 2006.
> The quality of NVIZ seems to be continuously decreasing
> which isn't nice.

That's probably inevitable. The complexity of NVIZ/OGSF is such that I
doubt that any GRASS developer really understands it.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list