[GRASS-dev] [GRASS GIS] #2998: m.nviz.image fails with X Error BadValue integer parameter out of range for operation

GRASS GIS trac at osgeo.org
Tue Jul 10 06:40:12 PDT 2018


#2998: m.nviz.image fails with X Error BadValue integer parameter out of range for
operation
-------------------------+-------------------------------------------------
  Reporter:  wenzeslaus  |      Owner:  grass-dev@…
      Type:  defect      |     Status:  closed
  Priority:  normal      |  Milestone:  7.2.4
 Component:  LibOpenGL   |    Version:  svn-trunk
Resolution:  fixed       |   Keywords:  m.nviz.image, NVIZ, 3D, GLX,
                         |  X_GLXCreateContext, g.gui.animation
       CPU:  x86-64      |   Platform:  Linux
-------------------------+-------------------------------------------------

Comment (by hcho):

 Replying to [comment:26 annakrat]:
 > You found the problem, it is working for me now! I get the correctly
 rendered image and this output:
 >
 > {{{
 > m.nviz.image -a --overwrite elevation_map=elevation at PERMANENT
 resolution_fine=1 perspective=15 output=/tmp/test format=ppm size=640,480
 > Loading raster map <elevation at PERMANENT>...
 > Loading raster map <elevation at PERMANENT>...
 > Translating colors from raster map <elevation at PERMANENT>...
 > GL Error 1: 0
 > GL Error 2: 0
 > m.nviz.image complete. File </tmp/test.ppm> created.
 > }}}

 Yeah~ Party! So you're on Linux or Windows? I need to confirm that my
 patches compile on MacOS and Windows.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2998#comment:27>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list