[GRASS-dev] [GRASS GIS] #2403: cairo driver fails to create surface

GRASS GIS trac at osgeo.org
Sat Dec 20 03:13:41 PST 2014


#2403: cairo driver fails to create surface
----------------------+-----------------------------------------------------
  Reporter:  martinl  |       Owner:  martinl                   
      Type:  defect   |      Status:  closed                    
  Priority:  major    |   Milestone:  7.0.0                     
 Component:  Display  |     Version:  unspecified               
Resolution:  fixed    |    Keywords:  cairo, resolution, surface
  Platform:  Linux    |         Cpu:  x86-64                    
----------------------+-----------------------------------------------------

Comment(by neteler):

 Replying to [comment:12 glynn]:
 > Can you try commenting out the mask_raster_array() call at line 71 of
 display/d.rast/display.c? If that has a significant impact, we should try
 to skip that call altogether when values= isn't being used.

 Sure. Test setting: connected from home via ssh/tsocks tunnel over ADSL
 connection. Opening GRASS 7.0.svn (r63585) remotely, tunnelling wx0 over
 network:

 {{{
 rows:       18711
 cols:       22195
 cells:      415290645

 # original
 d.mon wx0
 time -p d.rast europe_altitude_map.shade
  100%
 real 4.64
 user 0.93
 sys 0.03

 # with commented line of mask_raster_array() call
 d.mon wx0 # ... previously opened monitor closed
 time -p d.rast europe_altitude_map.shade
  100%
 real 0.92
 user 0.91
 sys 0.01
 }}}

 Probably that's significant.

 Note: This is the time when d.rast finishes and returns to the command
 line. The display in d.mon wx0 comes many seconds later but that's of
 course a different issue.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2403#comment:13>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list