[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
Fri Jun 29 20:09:38 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:  new
  Priority:  normal      |  Milestone:  7.2.4
 Component:  LibOpenGL   |    Version:  svn-trunk
Resolution:              |   Keywords:  m.nviz.image, NVIZ, 3D, GLX,
                         |  X_GLXCreateContext, g.gui.animation
       CPU:  x86-64      |   Platform:  Linux
-------------------------+-------------------------------------------------

Comment (by hcho):

 I'm getting the same error while trying to visualize the elevation raster
 in the NC sample dataset.

 {{{
 g.region raster=elevation
 m.nviz.image elevation_map=elevation output=elev perspective=15

 X Error of failed request:  BadValue (integer parameter out of range for
 operation)
   Major opcode of failed request:  153 (GLX)
   Minor opcode of failed request:  3 (X_GLXCreateContext)
   Value in failed request:  0x0
   Serial number of failed request:  24
   Current serial number in output stream:  29

 }}}

 glxgears works fine.

 Also, wxGUI 3D view doesn't show 3D rasters. Maybe, I don't understand how
 to use it. I followed the example in r.to.rast3elev and tried to visualize
 threelayer output. I can only display the wire box. I thought it's related
 to m.nviz.image?

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



More information about the grass-dev mailing list