[GRASS-dev] [GRASS GIS] #3600: m.nviz.image doesn't produce any output

Michael Barton Michael.Barton at asu.edu
Thu Jul 12 14:48:20 PDT 2018


Here is a question to the memory of the dev group. Does anyone know if m.nviz.image has *ever* worked for Mac or Windows? 

If it has, any idea when it last worked? We could do a diff of the last working code and the current code to see what has changed. 

If not, it may take considerable effort to make this work.

Trying to figure out an efficient way forward

Michael

______________________________
C. Michael Barton 
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
Tempe, AZ  85287-2402
USA
 
voice:    480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)
www:      http://csdc.asu.edu, http://shesc.asu.edu
                                http://www.public.asu.edu/~cmbarton

On 7/12/18, 12:00 PM, "grass-dev on behalf of grass-dev-request at lists.osgeo.org" <grass-dev-bounces at lists.osgeo.org on behalf of grass-dev-request at lists.osgeo.org> wrote:

    Date: Thu, 12 Jul 2018 14:41:08 -0000
    From: "GRASS GIS" <trac at osgeo.org>
    To: undisclosed-recipients: ;
    Cc: grass-dev at lists.osgeo.org
    Subject: Re: [GRASS-dev] [GRASS GIS] #3600: m.nviz.image doesn't
    	produce any	output
    Message-ID: <055.8e71a8cfc36b4251baa0dfd416694c92 at osgeo.org>
    Content-Type: text/plain; charset="utf-8"
    
    #3600: m.nviz.image doesn't produce any output
    --------------------------+-------------------------
      Reporter:  guano        |      Owner:  grass-dev@…
          Type:  defect       |     Status:  new
      Priority:  normal       |  Milestone:
    Component:  Default      |    Version:  7.0.4
    Resolution:               |   Keywords:
           CPU:  Unspecified  |   Platform:  MacOSX
    --------------------------+-------------------------
    
    Comment (by hcho):
    
    Replying to [comment:61 hellik]:
    > Replying to [comment:60 hcho]:
    > > Replying to [comment:58 hellik]:
    > > > Replying to [comment:54 hcho]:
    > > > > Only Windows defines double buffering; that's why Linux works
    without buffer swapping because it has only one buffer. BUT, glGetError()
    still returns GL_INVALID_OPERATION according to
    https://urldefense.proofpoint.com/v2/url?u=https-3A__www.khronos.org_registry_OpenGL-2D&d=DwIGaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=BQAjtkxyihbnoyMfjeRJrNPso08jamSBCdnDLkAxL3w&s=MMgJ_nuxOOyqQYovZ_chgzuhRPYj6z2kgBDetoMH3lo&e=
    Refpages/gl4/html/glReadBuffer.xhtml. Probably, that's why some Linux
    drivers and MacOS don't work at all.
    > > > >
    > > > > Windows is also broken because nviz draws to the back buffer, but
    it reads from the front buffer without buffer swapping.
    > > >
    > > > tested with
    > > >
    > > > {{{
    > > > GRASS version: 7.5.svn
    > > > GRASS SVN revision: r72969
    > > > Build date: 2018-07-10
    > > > Build platform: x86_64-w64-mingw32
    > > > GDAL: 2.2.4
    > > > PROJ.4: 4.9.3
    > > > GEOS: 3.5.0
    > > > SQLite: 3.17.0
    > > > Python: 2.7.14
    > > > wxPython: 2.8.12.1
    > > > Platform: Windows-10-10.0.17134 (OSGeo4W)
    > > > }}}
    > > >
    > >
    > >
    > > r72974+ has double buffering. Earlier version was incomplete without
    buffer swapping for Windows. Please try r72974+ later.
    >
    > winGRASS building is broken:
    >
    > see
    [https://urldefense.proofpoint.com/v2/url?u=https-3A__wingrass.fsv.cvut.cz_grass75_x86-5F64_logs_log-2Dr72978-2D191_error.log&d=DwIGaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=BQAjtkxyihbnoyMfjeRJrNPso08jamSBCdnDLkAxL3w&s=9pi8B6qe-k9ydWDaw-7-RwSFI1qv0CruWCXBK3Xv2No&e=
    error.log]
    >
    > {{{
    > GRASS GIS 7.5.svn r72978 compilation log
    > --------------------------------------------------
    > Started compilation: Wed Jul 11 15:02:16     2018
    > --
    > Errors in:
    > /c/msys64/usr/src/grass_trunk/lib/ogsf
    > /c/msys64/usr/src/grass_trunk/lib/nviz
    > /c/msys64/usr/src/grass_trunk/misc/m.nviz.image
    > --
    > In case of errors please change into the directory with error and run
    'make'.
    > If you get multiple errors, you need to deal with them in the order they
    > appear in the error log. If you get an error building a library, you
    will
    > also get errors from anything which uses the library.
    > --
    > Finished compilation: Wed Jul 11 15:35:12     2018
    > }}}
    >
    > and
    [https://urldefense.proofpoint.com/v2/url?u=https-3A__wingrass.fsv.cvut.cz_grass75_x86-5F64_logs_log-2Dr72978-2D191_package.log&d=DwIGaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=BQAjtkxyihbnoyMfjeRJrNPso08jamSBCdnDLkAxL3w&s=4izwLxDNf7iN91JfrST9nNeArD1BThMVT6inDjH7SZE&e=
    compiling log]
    
    Replaced wingdi.h with windows.h in r72980. Copied from nviz.h. Weird,
    according to https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.microsoft.com_en-2Dus_windows_desktop_api_wingdi&d=DwIGaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=BQAjtkxyihbnoyMfjeRJrNPso08jamSBCdnDLkAxL3w&s=Yshsqc0x00lJyuM74sKhVu2qXG57QEIyjl2dFlux7eg&e=
    /nf-wingdi-swapbuffers, SwapBuffer is defined in wingdi.h.
    
    -- 
    Ticket URL: <https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_ticket_3600-23comment-3A62&d=DwIGaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=BQAjtkxyihbnoyMfjeRJrNPso08jamSBCdnDLkAxL3w&s=AFA_lMKOIl3SOZxkkjcmSNO0yF9S9XZFcv38URNkl68&e=>
    GRASS GIS <https://urldefense.proofpoint.com/v2/url?u=https-3A__grass.osgeo.org&d=DwIGaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=BQAjtkxyihbnoyMfjeRJrNPso08jamSBCdnDLkAxL3w&s=DCw1mza9VtQsatUpDpGWD5mTschoG4p8DvOqiEU6Z6o&e=>
    
    
    



More information about the grass-dev mailing list