Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-22 Thread Greg Trzeciak
On Tuesday, December 22, 2015 at 3:32:20 PM UTC+1, Robby Findler wrote:
> Hi Greg: just in case it wasn't obvious, Jay also needed to upgrade
> his Racket to a version that's newer than 6.3. You can find our
> snapshot builds here if you want to try that:
> 
>   http://pre.racket-lang.org/installers/
> 
> Robby
> 


Thanks Robby - it wasn't obvious to me and updating to newest snapshot 6.3.0.8 
resolved the issue.

Thanks Jay for fixing it!
Just in case you still need here is the output of the shaders tests:

Compiling shaders from pict3d/private/engine/draw/draw-passes
Compiling (program-code "fullscreen-program" (vertex-code 
"fullscreen-vertex" '() '() '() '() (list (attribute "" 'vec2 "vert_position") 
(attribute "" 'vec2 "vert_texcoord")) #0=(list (attribute "smooth" 'vec2 
"frag_texcoord")) "gl_Position = vec4(vert_position, ...
Compiling (program-code "fullscreen-depth-program" (vertex-code 
"fullscreen-vertex" '() '() '() '() (list (attribute "" 'vec2 "vert_position") 
(attribute "" 'vec2 "vert_texcoord")) #0=(list (attribute "smooth" 'vec2 
"frag_texcoord")) "gl_Position = vec4(vert_posi...
Compiling (program-code "fullscreen-alpha-program" (vertex-code 
"fullscreen-vertex" '() '() '() '() (list (attribute "" 'vec2 "vert_position") 
(attribute "" 'vec2 "vert_texcoord")) #0=(list (attribute "smooth" 'vec2 
"frag_texcoord")) "gl_Position = vec4(vert_posi...
Compiling (program-code "blend-program" (vertex-code 
"fullscreen-vertex" '() '() '() '() (list (attribute "" 'vec2 "vert_position") 
(attribute "" 'vec2 "vert_texcoord")) #0=(list (attribute "smooth" 'vec2 
"frag_texcoord")) "gl_Position = vec4(vert_position, 0, 1)...
Compiling (program-code "bloom-extract-program" (vertex-code 
"fullscreen-vertex" '() '() '() '() (list (attribute "" 'vec2 "vert_position") 
(attribute "" 'vec2 "vert_texcoord")) #0=(list (attribute "smooth" 'vec2 
"frag_texcoord")) "gl_Position = vec4(vert_positio...
Compiling (program-code "bloom-combine-program" (vertex-code 
"fullscreen-vertex" '() '() '() '() (list (attribute "" 'vec2 "vert_position") 
(attribute "" 'vec2 "vert_texcoord")) #0=(list (attribute "smooth" 'vec2 
"frag_texcoord")) "gl_Position = vec4(vert_positio...
Compiling (program-code "blur-vert-program" (vertex-code 
"fullscreen-vertex" '() '() '() '() (list (attribute "" 'vec2 "vert_position") 
(attribute "" 'vec2 "vert_texcoord")) #0=(list (attribute "smooth" 'vec2 
"frag_texcoord")) "gl_Position = vec4(vert_position, 0...
Compiling (program-code "blur-horz-program" (vertex-code 
"fullscreen-vertex" '() '() '() '() (list (attribute "" 'vec2 "vert_position") 
(attribute "" 'vec2 "vert_texcoord")) #0=(list (attribute "smooth" 'vec2 
"frag_texcoord")) "gl_Position = vec4(vert_position, 0...
Compiling shaders from pict3d/private/gui/shape/light-grid
Compiling (program-code "light-grid-program" (vertex-code 
"light-grid-vertex" '() '() (list (standard-uniform "" 'mat4 "unproj" 'unproj) 
(standard-uniform "" 'int "width" 'width) (standard-uniform "" 'int "height" 
'height)) '() (list (attribute "" 'float/byte "ve...
Compiling shaders from pict3d/private/gui/shape/point-light-shell
Compiling (program-code "point-light-shell-program" (vertex-code 
"point-light-shell-vertex" (list (partial-code "output-impostor-vertex" (list 
#1=(partial-code "rect" '() '("struct rect {\n  vec3 mins;\n  vec3 maxs;\n  
float is_degenerate;\n};") '() '() '() '()) ...
Compiling shaders from pict3d/private/shape/directional-light
Compiling (program-code "directional-light-program" (vertex-code 
"directional-light-vertex" '() '() (list (standard-uniform "" 'mat4 "unproj" 
'unproj)) '() (list (attribute "" 'float/byte "vert_id")) #0=(list (attribute 
"smooth" 'vec3 "frag_dir")) "// output the ...
Compiling shaders from pict3d/private/shape/cylinder
Compiling (program-code "cylinder-mat-program-30" (vertex-code 
"cylinder-mat-vertex-30" (list (partial-code "output-unit-cube-vertex" '() 
'("void output_unit_cube_vertex2(mat4 trans, mat4 proj, int vertex_id) {\n  
vec4 p = vec4(mix(-1.0, +1.0, float(vertex_id & 1...
Compiling (program-code "cylinder-opaq-program-30" (vertex-code 
"cylinder-draw-vertex-30" (list (partial-code "output-unit-cube-vertex" '() 
'("void output_unit_cube_vertex2(mat4 trans, mat4 proj, int vertex_id) {\n  
vec4 p = vec4(mix(-1.0, +1.0, float(vertex_id &...
Compiling (program-code "cylinder-tran-program-30" (vertex-code 
"cylinder-draw-vertex-30" (list (partial-code "output-unit-cube-vertex" '() 
'("void output_unit_cube_vertex2(mat4 trans, mat4 proj, int vertex_id) {\n  
vec4 p = vec4(mix(-1.0, +1.0, float(vertex_id &...
Compiling shaders from pict3d/private/shape/disk
Compiling (program-code "disk-mat-program-30" (vertex-code 
"disk-mat-vertex-30" (list (partial-code "output-unit-quad-vertex" '() '("void 
output_unit_quad_vertex2(mat4 trans, mat4 proj, int vertex_id) {\n  vec4 p = 
vec4(mix(-1.0, 

Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-22 Thread Greg Trzeciak
On Monday, December 21, 2015 at 5:00:05 PM UTC+1, Jay McCarthy wrote:
> Hi Greg,
> 
> Can you update and check if you still get the same error? If you do,
> or if you get a different one, can you send me the output of
> 
> racket -l pict3d/tests/shaders
> 
> Thanks!
> 
> Jay
> 

Hi,

I tried running shaders tests but everytime I try I get: "Racket stopped 
working". I tried running some other tests in this catalog: spaceship and 
snowman with the same command and got the same error.
Running it from DrRacket crashes GUI.

As a side note during update of pict3d (or rather at the end of update) 
DrRacket crashed again ("Racket GUI stopped working").

Greg

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-22 Thread Greg Trzeciak
On Tuesday, December 22, 2015 at 1:06:55 PM UTC+1, Jay McCarthy wrote:
> Greg - What version of Racket are you running?
> 
> Matthew - Do you know how to get logs from Windows crashes?
> 
> Jay

Racket version is 6.3
My windows event log says that the module causing error in relation to Racket 
is:
C:\WINDOWS\SYSTEM32\ntdll.dll (version: 10.0.10586.20)

full log:
- http://schemas.microsoft.com/win/2004/08/events/event;>
- 
   
  1000 
  2 
  100 
  0x80 
   
  2341 
  Application 
  WIN8-ZEUS 
   
  
- 
  DrRacket.exe 
  6.3.0.0 
  564eb766 
  ntdll.dll 
  10.0.10586.20 
  56540c3b 
  c005 
  00034b64 
  33b8 
  01d13cb2ea820501 
  C:\Program Files\Racket\DrRacket.exe 
  C:\WINDOWS\SYSTEM32\ntdll.dll 
  dbd80579-7b68-4b96-94b3-e4b404bab9d1 
   
   
  
  

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-22 Thread Jay McCarthy
Greg - What version of Racket are you running?

Matthew - Do you know how to get logs from Windows crashes?

Jay

On Tue, Dec 22, 2015 at 6:45 AM, Greg Trzeciak  wrote:
> On Monday, December 21, 2015 at 5:00:05 PM UTC+1, Jay McCarthy wrote:
>> Hi Greg,
>>
>> Can you update and check if you still get the same error? If you do,
>> or if you get a different one, can you send me the output of
>>
>> racket -l pict3d/tests/shaders
>>
>> Thanks!
>>
>> Jay
>>
>
> Hi,
>
> I tried running shaders tests but everytime I try I get: "Racket stopped 
> working". I tried running some other tests in this catalog: spaceship and 
> snowman with the same command and got the same error.
> Running it from DrRacket crashes GUI.
>
> As a side note during update of pict3d (or rather at the end of update) 
> DrRacket crashed again ("Racket GUI stopped working").
>
> Greg
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Jay McCarthy
Associate Professor
PLT @ CS @ UMass Lowell
http://jeapostrophe.github.io

   "Wherefore, be not weary in well-doing,
  for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
  - D 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-22 Thread Greg Trzeciak
On Tuesday, December 22, 2015 at 2:44:54 PM UTC+1, Jay McCarthy wrote:
> I tried on Windows 10 with 6.2.1 and can confirm that just installing
> pict3d cases a bunch of segfaults.
> 
> If I try with the current snapshot build, I can successfully install
> and run pict3d using an Nvidia GPU.
> 
> Jay

I am currently trying to eliminate possible causes on my end (drivers, memory, 
etc.) so will let you know. 
So far I can say that my Nvidia drivers are definitely up to date.

Greg

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-22 Thread Jay McCarthy
I tried on Windows 10 with 6.2.1 and can confirm that just installing
pict3d cases a bunch of segfaults.

If I try with the current snapshot build, I can successfully install
and run pict3d using an Nvidia GPU.

Jay

On Tue, Dec 22, 2015 at 7:24 AM, Greg Trzeciak  wrote:
> On Tuesday, December 22, 2015 at 1:06:55 PM UTC+1, Jay McCarthy wrote:
>> Greg - What version of Racket are you running?
>>
>> Matthew - Do you know how to get logs from Windows crashes?
>>
>> Jay
>
> Racket version is 6.3
> My windows event log says that the module causing error in relation to Racket 
> is:
> C:\WINDOWS\SYSTEM32\ntdll.dll (version: 10.0.10586.20)
>
> full log:
> - http://schemas.microsoft.com/win/2004/08/events/event;>
> - 
>   
>   1000
>   2
>   100
>   0x80
>   
>   2341
>   Application
>   WIN8-ZEUS
>   
>   
> - 
>   DrRacket.exe
>   6.3.0.0
>   564eb766
>   ntdll.dll
>   10.0.10586.20
>   56540c3b
>   c005
>   00034b64
>   33b8
>   01d13cb2ea820501
>   C:\Program Files\Racket\DrRacket.exe
>   C:\WINDOWS\SYSTEM32\ntdll.dll
>   dbd80579-7b68-4b96-94b3-e4b404bab9d1
>   
>   
>   
>   
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Jay McCarthy
Associate Professor
PLT @ CS @ UMass Lowell
http://jeapostrophe.github.io

   "Wherefore, be not weary in well-doing,
  for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
  - D 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-22 Thread Robby Findler
Hi Greg: just in case it wasn't obvious, Jay also needed to upgrade
his Racket to a version that's newer than 6.3. You can find our
snapshot builds here if you want to try that:

  http://pre.racket-lang.org/installers/

Robby


On Tue, Dec 22, 2015 at 7:52 AM, Greg Trzeciak  wrote:
> On Tuesday, December 22, 2015 at 2:44:54 PM UTC+1, Jay McCarthy wrote:
>> I tried on Windows 10 with 6.2.1 and can confirm that just installing
>> pict3d cases a bunch of segfaults.
>>
>> If I try with the current snapshot build, I can successfully install
>> and run pict3d using an Nvidia GPU.
>>
>> Jay
>
> I am currently trying to eliminate possible causes on my end (drivers, 
> memory, etc.) so will let you know.
> So far I can say that my Nvidia drivers are definitely up to date.
>
> Greg
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-21 Thread Jay McCarthy
Hi Greg,

Can you update and check if you still get the same error? If you do,
or if you get a different one, can you send me the output of

racket -l pict3d/tests/shaders

Thanks!

Jay

On Sun, Dec 20, 2015 at 6:04 PM, Greg Trzeciak  wrote:
> Thanks guys for such a quick response on Sunday!
> To clarify - the mix problem was definitely the case the first time I tried 
> and I was under the impression it was the original - Neil's repo installed 
> from the package.
> The updated repo (Jay's) simply crashes GUI whenever code is executed so it 
> may or may not be related to the original error.
>
> Greg
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Jay McCarthy
Associate Professor
PLT @ CS @ UMass Lowell
http://jeapostrophe.github.io

   "Wherefore, be not weary in well-doing,
  for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
  - D 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-20 Thread Greg Trzeciak
Thanks guys for such a quick response on Sunday!
To clarify - the mix problem was definitely the case the first time I tried and 
I was under the impression it was the original - Neil's repo installed from the 
package.
The updated repo (Jay's) simply crashes GUI whenever code is executed so it may 
or may not be related to the original error.

Greg

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-20 Thread Matthew Flatt
Thanks for the report about the "Remove" button in the "Available for
Catalog" panel! I've pushed a repair for the next version.

Meanwhile, the "Currently Installed" panel provides another view on
installed packages, and the "Remove" button there should work.

I think Jay is working on the "mix" problem in Pict3D, which happens
with some graphics cards and not with others.

At Sun, 20 Dec 2015 12:20:05 -0800 (PST), Greg Trzeciak wrote:
> Having problems in identifying right pict3d github repository to raise the 
> issue (due to some maintenance mentioned in Racket Developers) let me raise 
> it 
> here first.
> 
> I have first installed pict3d about 10 hours ago - no issues during 
> installation so I attempted simple code
> 
> #lang racket
> (require pict3d)
> (sphere origin 1/2)
> 
> This raised some GL error (about conflicting mix functions if I remember 
> correctly  )
> Few hours later I updated the package - during update my DrRacket crashed (it 
> happened before while updating some other package) but the package seems to 
> be 
> installed fine, and tried the same code again. Now DrRacket crashes every 
> time 
> I run this code ("Racket GUI application stopped working").
> 
> Additionally using DrRacket's Package Manager I can't remove the package - 
> Clicking "Remove" prints the following in Output:
> application: procedure does not expect an argument with given keyword
>   procedure: pkg-remove
>   given keyword: #:scope
>   arguments...:
>"pict3d"
>#:scope 'user
> 
> Thanks
> 
> PS. I am running DrRacket on Windows 10
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] DrRacket crashes on simple pict3d script

2015-12-20 Thread Jay McCarthy
Thanks Greg.

I fixed the issues problem. I'm still working on the mix problem. (It
doesn't happen on my laptop, so I need to develop with a different
machine to test it. I have one available but it is not convenient to
use.)

Jay

On Sun, Dec 20, 2015 at 4:54 PM, Matthew Flatt  wrote:
> Thanks for the report about the "Remove" button in the "Available for
> Catalog" panel! I've pushed a repair for the next version.
>
> Meanwhile, the "Currently Installed" panel provides another view on
> installed packages, and the "Remove" button there should work.
>
> I think Jay is working on the "mix" problem in Pict3D, which happens
> with some graphics cards and not with others.
>
> At Sun, 20 Dec 2015 12:20:05 -0800 (PST), Greg Trzeciak wrote:
>> Having problems in identifying right pict3d github repository to raise the
>> issue (due to some maintenance mentioned in Racket Developers) let me raise 
>> it
>> here first.
>>
>> I have first installed pict3d about 10 hours ago - no issues during
>> installation so I attempted simple code
>>
>> #lang racket
>> (require pict3d)
>> (sphere origin 1/2)
>>
>> This raised some GL error (about conflicting mix functions if I remember
>> correctly  )
>> Few hours later I updated the package - during update my DrRacket crashed (it
>> happened before while updating some other package) but the package seems to 
>> be
>> installed fine, and tried the same code again. Now DrRacket crashes every 
>> time
>> I run this code ("Racket GUI application stopped working").
>>
>> Additionally using DrRacket's Package Manager I can't remove the package -
>> Clicking "Remove" prints the following in Output:
>> application: procedure does not expect an argument with given keyword
>>   procedure: pkg-remove
>>   given keyword: #:scope
>>   arguments...:
>>"pict3d"
>>#:scope 'user
>>
>> Thanks
>>
>> PS. I am running DrRacket on Windows 10
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to racket-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Jay McCarthy
Associate Professor
PLT @ CS @ UMass Lowell
http://jeapostrophe.github.io

   "Wherefore, be not weary in well-doing,
  for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
  - D 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] DrRacket crashes on simple pict3d script

2015-12-20 Thread Greg Trzeciak
Having problems in identifying right pict3d github repository to raise the 
issue (due to some maintenance mentioned in Racket Developers) let me raise it 
here first.

I have first installed pict3d about 10 hours ago - no issues during 
installation so I attempted simple code

#lang racket
(require pict3d)
(sphere origin 1/2)

This raised some GL error (about conflicting mix functions if I remember 
correctly  )
Few hours later I updated the package - during update my DrRacket crashed (it 
happened before while updating some other package) but the package seems to be 
installed fine, and tried the same code again. Now DrRacket crashes every time 
I run this code ("Racket GUI application stopped working").

Additionally using DrRacket's Package Manager I can't remove the package - 
Clicking "Remove" prints the following in Output:
application: procedure does not expect an argument with given keyword
  procedure: pkg-remove
  given keyword: #:scope
  arguments...:
   "pict3d"
   #:scope 'user

Thanks

PS. I am running DrRacket on Windows 10

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.