[GRASS-user] NVIZ max res ppm = reboot!

Glynn Clements glynn at gclements.plus.com
Thu Apr 19 11:25:27 EDT 2007


Hamish wrote:

> > > > I don't get a reasonable output though. 21 different size black
> > > > ppm squares instead of a picture. Is this as expected?
> > > 
> > > That's what I get when using GLX Pixmaps (using pBuffers gives me an
> > > GLXUnsupportedPrivateRequest error).
> > 
> > I think that I may have a fix for the GLX Pixmap case:
> > 
> > Index: visualization/nviz/src/do_zoom.c
> [...]
> > -	GLX_DOUBLEBUFFER,
> [...]
> > For all I know, the pBuffer case might work; I don't think we've
> > actually had anyone test it on an OpenGL implementation which supports
> > pBuffers.
> 
> 
> for me, after that change I still need:
> export GRASS_NO_GLX_PIXMAPS=1
> 
> otherwise:
> 
> Creating PBuffer Using GLX 1.3
> Create PixMap Using GLX 1.1
> Final Assembled Image will be 2048 x 2048
> Writing Tile 1 of 9
> Writing Tile 2 of 9
> Writing Tile 3 of 9
> Writing Tile 4 of 9
> Writing Tile 5 of 9
> Writing Tile 6 of 9
> Writing Tile 7 of 9
> Writing Tile 8 of 9
> Writing Tile 9 of 9
> Assembling Tiles
> pnmcat: Zero byte allocation
> pnmcat failed to create assembled image
> Check that pnmcat is installed and path is set
> pnmcat: Zero byte allocation
> pnmcat failed to create assembled image
> Check that pnmcat is installed and path is set
> pnmcat: Zero byte allocation
> pnmcat failed to create assembled image
> Check that pnmcat is installed and path is set
> pnmcat: EOF / read error reading magic number
> pnmcat failed to create assembled images
> Check that pnmcat is installed and path is set
> Destroy Pixmap and GLXPixmap
> 
> 
> GRASS_NO_GLX_PBUFFERS doesn't help/hinder.
> (just "Creating PBuffer Using GLX 1.3" msg disappears)
> 
> 
> XFree86 4.3 Debian/sarge with ATI Radeon 9200 xfree driver.

Does it help if you use:

	export LIBGL_ALWAYS_INDIRECT=1

?

One thing which may be an issue is that Create_OS_Ctx() opens a new
connection to the display. I'll look into digging the values out of
Togl.

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




More information about the grass-user mailing list