[GRASS-dev] Re: [GRASS GIS] #104: saving display to tiff or ppm garbled when NVIZ is not top window

GRASS GIS trac at osgeo.org
Wed Mar 26 14:06:31 EDT 2008


#104: saving display to tiff or ppm garbled when NVIZ is not top window
----------------------+-----------------------------------------------------
  Reporter:  dylan    |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  minor    |   Milestone:  6.4.0                    
 Component:  default  |     Version:  svn-trunk                
Resolution:           |    Keywords:  NVIZ openGL              
----------------------+-----------------------------------------------------
Comment (by dylan):

 Some updates (2008-03-26 SVN) & "nvidia" driver with DRI/GLX enabled.

 1. export to full-res PPM, no error messages but results in black image.
 ------------------------------------------
 Creating PBuffer Using GLX 1.3
 Final Assembled Image will be 3185 x 4096
 Writing Tile 1 of 16
 Writing Tile 2 of 16
 Writing Tile 3 of 16
 Writing Tile 4 of 16
 Writing Tile 5 of 16
 Writing Tile 6 of 16
 Writing Tile 7 of 16
 Writing Tile 8 of 16
 Writing Tile 9 of 16
 Writing Tile 10 of 16
 Writing Tile 11 of 16
 Writing Tile 12 of 16
 Writing Tile 13 of 16
 Writing Tile 14 of 16
 Writing Tile 15 of 16
 Writing Tile 16 of 16
 Assembling Tiles
 Destroy pbuffer
 ------------------------------------------


 2. set env. variables:
 export GRASS_NO_GLX_PIXMAPS=TRUE
 export GRASS_NO_GLX_PBUFFERS=TRUE

 export to full-res PPM, resulting image is at the coarse grid resolution.
 After setting the coarse resolution to 1 and the fine resolution to 1 the
 output file appears to be correct.
 ------------------------------------------
 Final Assembled Image will be 3909 x 4096
 Writing Tile 1 of 49
 Writing Tile 2 of 49
 Writing Tile 3 of 49
 Writing Tile 4 of 49
 Writing Tile 5 of 49
 Writing Tile 6 of 49
 Writing Tile 7 of 49
 Writing Tile 8 of 49
 Writing Tile 9 of 49
 Writing Tile 10 of 49
 Writing Tile 11 of 49
 Writing Tile 12 of 49
 Writing Tile 13 of 49
 Writing Tile 14 of 49
 Writing Tile 15 of 49
 Writing Tile 16 of 49
 Writing Tile 17 of 49
 Writing Tile 18 of 49
 Writing Tile 19 of 49
 Writing Tile 20 of 49
 Writing Tile 21 of 49
 Writing Tile 22 of 49
 Writing Tile 23 of 49
 Writing Tile 24 of 49
 Writing Tile 25 of 49
 Writing Tile 26 of 49
 Writing Tile 27 of 49
 Writing Tile 28 of 49
 Writing Tile 29 of 49
 Writing Tile 30 of 49
 Writing Tile 31 of 49
 Writing Tile 32 of 49
 Writing Tile 33 of 49
 Writing Tile 34 of 49
 Writing Tile 35 of 49
 Writing Tile 36 of 49
 Writing Tile 37 of 49
 Writing Tile 38 of 49
 Writing Tile 39 of 49
 Writing Tile 40 of 49
 Writing Tile 41 of 49
 Writing Tile 42 of 49
 Writing Tile 43 of 49
 Writing Tile 44 of 49
 Writing Tile 45 of 49
 Writing Tile 46 of 49
 Writing Tile 47 of 49
 Writing Tile 48 of 49
 Writing Tile 49 of 49
 Assembling Tiles
 ------------------------------------------


 It seems like Glynn's recent changes + setting environmental variables is
 the trick to getting things to work using the "nvidia" driver.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/104#comment:4>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list