[GRASS-user] 3D view error on MacOS (black screen)

Carlos Grohmann carlos.grohmann at gmail.com
Thu Nov 23 08:58:16 PST 2017


Hello Anna

I managed to fixed by compiling using homebrew libraries. The trick was to
set --with-opengl=aqua, so it uses the opengl librarie from the system.
Using --with-opengl=x11 results in the black screen.

Carlos

On Wed, Nov 22, 2017 at 10:48 PM, Anna Petrášová <kratochanna at gmail.com>
wrote:

> Hi Carlos,
>
> I couldn't get 3D view working with homebrew either. The error you see
> seems to happen when you click and drag in the window, so the actual
> problem happens before, because it never loads. Interestingly, when I
> compiled GRASS myself (using the homebrew libraries), the 3D worked.
> Unfortunately I have no idea what's wrong.
>
> Anna
>
> On Wed, Nov 22, 2017 at 5:11 PM, Carlos Grohmann
> <carlos.grohmann at gmail.com> wrote:
> > Hi all
> >
> > I'm running 7.2.2 on MacOS Sierra, installed via homebrew. Trying to
> display
> > anything in 3D results only in a black screen. Checking the console I get
> > these error messages:
> >
> > Traceback (most recent call last):
> >   File "/usr/local/Cellar/grass7/7.2.2/grass-7.2.2/gui/wxpyt
> > hon/nviz/mapwindow.py", line 628, in OnMouseAction
> >
> > self.OnDragging(event)
> >   File "/usr/local/Cellar/grass7/7.2.2/grass-7.2.2/gui/wxpyt
> > hon/nviz/mapwindow.py", line 722, in OnDragging
> >
> > angle, x, y, z = self._display.GetRotationParameters(dx, dy)
> >   File "/usr/local/Cellar/grass7/7.2.2/grass-7.2.2/gui/wxpyt
> > hon/nviz/wxnviz.py", line 1975, in GetRotationParameters
> >
> > inv = matrix(m).I
> >   File "/usr/local/lib/python2.7/site-
> > packages/numpy/matrixlib/defmatrix.py", line 972, in getI
> >
> > return asmatrix(func(self))
> >   File "/usr/local/lib/python2.7/site-
> > packages/numpy/linalg/linalg.py", line 526, in inv
> >
> > ainv = _umath_linalg.inv(a, signature=signature,
> > extobj=extobj)
> >   File "/usr/local/lib/python2.7/site-
> > packages/numpy/linalg/linalg.py", line 90, in
> > _raise_linalgerror_singular
> >
> > raise LinAlgError("Singular matrix")
> > numpy.linalg.linalg
> > .
> > LinAlgError
> > :
> > Singular matrix
> >
> >
> > thanks
> >
> > Carlos
> >
> >
> >
> >
> > --
> > Prof. Carlos Henrique Grohmann
> > Institute of Energy and Environment - Univ. of São Paulo, Brazil
> > - Digital Terrain Analysis | GIS | Remote Sensing -
> >
> > http://carlosgrohmann.com
> > http://orcid.org/0000-0001-5073-5572
> > ________________
> > Can’t stop the signal.
> >
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572
________________
Can’t stop the signal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20171123/df9a531d/attachment.html>


More information about the grass-user mailing list