#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.1.0
Component: LibOpenGL | Version: svn-trunk
Keywords: m.nviz.image, NVIZ, 3D, GLX, | CPU: x86-64
X_GLXCreateContext, g.gui.animation |
Platform: Linux |
-------------------------------------------------+-------------------------
G7:m.nviz.image fails to render the image. (3D view in wxGUI works well.)
Generating vector points (fails for any data):
{{{
v.random -z output=points n=100 zmin=0 zmax=20
# or
# r.surf.fractal fractal
}}}
Running, m.nviz.image:
{{{
m.nviz.image vpoint=points vpoint_size=5 vpoint_layer=1 \
position=0.84,0.16 height=600 perspective=30 focus=172,136,0 \
output=nviz_output format=ppm size=798,530
}}}
The error:
{{{
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 154 (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
}}}
GRASS version:
{{{
> g.version -re
GRASS 7.1.svn (2016)
libgis Revision: 67275
libgis Date: 2015-12-20 07:50:48 -0500 (Sun, 20 Dec 2015)
PROJ.4: 4.9.1
GDAL/OGR: 1.11.2
GEOS: 3.5.0
SQLite: 3.8.11.1
}}}
Computer and system info:
{{{
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
$ lspci -v # selected lines only
00:02.0 VGA compatible controller: Intel Corporation Sky Lake Integrated
Graphics (rev 07) (prog-if 00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer Device 2425
Flags: bus master, fast devsel, latency 0, IRQ 126
Memory at de000000 (64-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
$ sudo dmidecode -q | grep -iE "Manufacturer|Product Name" | sed
's/[[:blank:]]\{2,\}//g' | sort | uniq
Manufacturer: Intel(R) Corporation
Manufacturer: Samsung
Manufacturer: System76, Inc.
Product Name: Lemur
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2998>
GRASS GIS <https://grass.osgeo.org>