[GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2013-10-17 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+-
 Reporter:  annakrat  |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  normal|   Milestone:  7.0.0
Component:  LibOpenGL | Version:  svn-trunk
 Keywords:  m.nviz.image  |Platform:  MSWindows 7  
  Cpu:  Unspecified   |  
--+-
 Module m.nviz.image does not create valid image file on Windows. With tif
 format, it crashes and with ppm it creates a file only with header. So
 offscreen rendering doesn't seem to work. Has m.nviz.image ever worked on
 Windows?

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2014-01-30 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+-
 Reporter:  annakrat  |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  normal|   Milestone:  7.0.0
Component:  LibOpenGL | Version:  svn-trunk
 Keywords:  m.nviz.image  |Platform:  MSWindows 7  
  Cpu:  Unspecified   |  
--+-

Comment(by hamish):

 Replying to [ticket:2114 annakrat]:
 > Module m.nviz.image does not create valid image file on Windows.
 > With tif format, it crashes and with ppm it creates a file only
 > with header. So offscreen rendering doesn't seem to work.

 was the wingrass version in question built with libtiff support?

 see lib/ogsf/gsd_img_tif.c, nothing too complicated in there.
 gsd_img_ppm.c is even simpler. If header part is ok but writing the rest
 of the ppm image isn't, perhaps gsd_getimage() is returning bad values for
 xsize and ysize?


 > Has m.nviz.image ever worked on Windows?

 I don't know if anyone ever tested that; does saving as tiff or ppm from
 the G6 tcl/tk NVIZ on wingrass work?



 Hamish

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2014-01-30 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+-
 Reporter:  annakrat  |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  normal|   Milestone:  7.0.0
Component:  LibOpenGL | Version:  svn-trunk
 Keywords:  m.nviz.image  |Platform:  MSWindows 7  
  Cpu:  Unspecified   |  
--+-

Comment(by annakrat):

 Replying to [comment:1 hamish]:
 > Replying to [ticket:2114 annakrat]:
 > > Module m.nviz.image does not create valid image file on Windows.
 > > With tif format, it crashes and with ppm it creates a file only
 > > with header. So offscreen rendering doesn't seem to work.
 >
 > was the wingrass version in question built with libtiff support?
 >
 > see lib/ogsf/gsd_img_tif.c, nothing too complicated in there.
 > gsd_img_ppm.c is even simpler. If header part is ok but writing the rest
 of the ppm image isn't, perhaps gsd_getimage() is returning bad values for
 xsize and ysize?
 >
 >
 > > Has m.nviz.image ever worked on Windows?
 >
 > I don't know if anyone ever tested that; does saving as tiff or ppm from
 the G6 tcl/tk NVIZ on wingrass work?

 It worked I guess but I am talking here about off-screen rendering which
 is different than just exporting image with opened window with (wx)nviz.

 >

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2014-01-30 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+-
 Reporter:  annakrat  |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  normal|   Milestone:  7.0.0
Component:  LibOpenGL | Version:  svn-trunk
 Keywords:  m.nviz.image  |Platform:  MSWindows 7  
  Cpu:  Unspecified   |  
--+-

Comment(by hamish):

 > Replying to [comment:2 annakrat]:
 > > Replying to [comment:1 hamish]:
 > >
 > > does saving as tiff or ppm from the G6 tcl/tk NVIZ on wingrass
 > > work?
 >
 > It worked I guess but I am talking here about off-screen rendering
 > which is different than just exporting image with opened window
 > with (wx)nviz.

 I asked because G6's tcl/tk NVIZ and m.nviz.image both use libogsf's
 GS_write_ppm() which calls gsd_getimage() to get the image size. I was
 trying to narrow down if the gsd_getimage() function was where the problem
 lies.


 Hamish

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2016-08-23 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.0.5
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:   |   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  MSWindows 7
--+--

Comment (by martinl):

 Still an issue?

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2016-08-23 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.3.0
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:   |   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  MSWindows 7
--+--
Changes (by annakrat):

 * milestone:  7.0.5 => 7.3.0


Comment:

 Replying to [comment:5 martinl]:
 > Still an issue?

 Yes.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2017-02-26 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.4.0
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:   |   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  All
--+--
Changes (by wenzeslaus):

 * platform:  MSWindows 7 => All


Comment:

 This now seems to be an issue on Linux as well. On Ubuntu 16.04:

 {{{
 > m.nviz.image elevation_map=elevation output=test format=ppm size=640,480
 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
 }}}

 Changing platform to all. New ticket more appropriate? New implementation
 seems to be necessary.

--
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2018-07-04 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.4.2
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:   |   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  All
--+--

Comment (by hcho):

 This specific issue on Linux is fixed by r72939.

 Replying to [comment:8 wenzeslaus]:
 > This now seems to be an issue on Linux as well. On Ubuntu 16.04:
 >
 > {{{
 > > m.nviz.image elevation_map=elevation output=test format=ppm
 size=640,480
 > 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
 > }}}
 >
 > Changing platform to all. New ticket more appropriate? New
 implementation seems to be necessary.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2018-07-10 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  new
  Priority:  normal   |  Milestone:  7.4.2
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:   |   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  All
--+--

Comment (by hcho):

 Maybe, these patches will help.

 * https://trac.osgeo.org/grass/attachment/ticket/3600/lib-ogsf-
 gsd_prim.c.diff
 * https://trac.osgeo.org/grass/attachment/ticket/3600/lib-nviz-
 render.c.2.diff

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2018-07-19 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  closed
  Priority:  normal   |  Milestone:  7.4.2
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:  fixed|   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  All
--+--
Changes (by hcho):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"72997" 72997]:
 {{{
 #!CommitTicketReference repository="" revision="72997"
 nviz: offscreen rendering for Windows (Fix #2114)
 }}}

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2018-07-19 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  reopened
  Priority:  normal   |  Milestone:  7.4.2
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:   |   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  All
--+--
Changes (by hcho):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Please test r72997 on Windows. Works for me.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2018-07-21 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  reopened
  Priority:  normal   |  Milestone:  7.4.2
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:   |   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  All
--+--

Comment (by hellik):

 Replying to [comment:14 hcho]:
 > Please test r72997 on Windows. Works for me.

 see #3600#comment:77

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2018-07-21 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  reopened
  Priority:  normal   |  Milestone:  7.4.2
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:   |   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  All
--+--

Comment (by hcho):

 Replying to [comment:15 hellik]:
 > Replying to [comment:14 hcho]:
 > > Please test r72997 on Windows. Works for me.
 >
 > see #3600#comment:77
 >
 > seems to work now

 Great! I think we can close this ticket. Hmm.. the platform is All? Works
 on Linux and Windows.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2018-07-25 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  closed
  Priority:  normal   |  Milestone:  7.4.2
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:  fixed|   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  All
--+--
Changes (by hcho):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"73006" 73006]:
 {{{
 #!CommitTicketReference repository="" revision="73006"
 nviz, ogsf: Use framebuffer objects for off-screen GL rendering; Use Core
 OpenGL (CGL) for the MacOS instead of deprecated 32-bit only AGL (Fix
 #3600, #2114, #3606)
 }}}

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2018-07-26 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  reopened
  Priority:  normal   |  Milestone:  7.4.2
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:   |   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  All
--+--
Changes (by martinl):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Milestone set to 7.4.2. Re-opening since backport has not been done.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #2114: m.nviz.image does not work on Windows

2018-07-27 Thread GRASS GIS
#2114: m.nviz.image does not work on Windows
--+--
  Reporter:  annakrat |  Owner:  grass-dev@…
  Type:  defect   | Status:  closed
  Priority:  normal   |  Milestone:  7.4.2
 Component:  LibOpenGL|Version:  svn-trunk
Resolution:  fixed|   Keywords:  m.nviz.image
   CPU:  Unspecified  |   Platform:  All
--+--
Changes (by hcho):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 Backported to 7.2 & 7.4.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev