1. GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by Daniel Kluss <codepilot at gmail.com> Nov 11, 2005
- 550 views
The topica doesn't seem to work for me, so reposting on euforum.... I have included an undated opengl library in this release, it has support for all the latest extensions. http://www.rapideuphoria.com/uploads/gpgpu.zip This turns your programmable gpu into a cpu, a massivly parallel cpu. Have fun, requires vs.2 vertex shader with branching, and fs.2 fragment shader(branching not used). GeForceFX or better. Updates soon, probably going to make GPU-Core-Wars.
2. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by cklester <cklester at yahoo.com> Nov 11, 2005
- 524 views
Daniel Kluss wrote: > > GeForceFX or better. Does an ATI Radeon 9800XT count? Your demo doesn't work for me. Crashes with a machine level exception somewhere. If you want details, I'll post it here. -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/
3. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by Daniel Kluss <codepilot at gmail.com> Nov 11, 2005
- 510 views
- Last edited Nov 12, 2005
That topica doesn't work!!!! for me anyways. Ya, details would be good, your card should work very well, but I don't have a Radeon for testing. Dan cklester wrote: > > Daniel Kluss wrote: > > > > GeForceFX or better. > > Does an ATI Radeon 9800XT count? Your demo doesn't work for me. Crashes with > a machine level exception somewhere. If you want details, I'll post it here. > > > -=ck > "Programming in a state of EUPHORIA." > <a > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a>
4. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by Vincent <darkvincentdude at yahoo.com> Nov 11, 2005
- 496 views
- Last edited Nov 12, 2005
Daniel Kluss wrote: > > That topica doesn't work!!!! for me anyways. > Ya, details would be good, your card should work very well, but I > don't have a Radeon for testing. > > Dan > > cklester wrote: > > > > Daniel Kluss wrote: > > > > > > GeForceFX or better. > > > > Does an ATI Radeon 9800XT count? Your demo doesn't work for me. Crashes with > > a machine level exception somewhere. If you want details, I'll post it here. > > > > > > -=ck > > "Programming in a state of EUPHORIA." > > <a > > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a> I get an 111 KB error dump. ...\log.txt:10479 in procedure glReadPixels() A machine-level exception occurred during execution of this statement My card is a ATI Radeon 9600 XT. Regards, Vincent
5. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by Daniel Kluss <codepilot at gmail.com> Nov 12, 2005
- 491 views
http://www.RapidEuphoria.com/uploads/atifixgpgpu.zip This should fix the problem. Instead of reading pixels from the color buffer strait to the vertex buffer, it goes to main memory inbetween, and I copy the whole buffer just to make sure everything works right, so it is a little bit slower.
6. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by cklester <cklester at yahoo.com> Nov 12, 2005
- 495 views
Daniel Kluss wrote: > > This should fix the problem. Here's a snippet from ex.err: C:\apps\euphoria\atifixgpgpu\log.txt:15383 in procedure glBindFramebufferEXT() A machine-level exception occurred during execution of this statement target = 36160 framebuffer = 0 ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:922 in function CreateGLWindow() title = {78'N',101'e',72'H',101'e',39''',115's',32' ',70'F',105'i',114'r', 115's',116't',32' ',80'P',111'o',108'l',121'y',103'g',111'o',110'n',32' ', 84'T',117'u',116't',111'o',114'r',105'i',97'a',108'l'} width = 640 height = 480 bits = 16 fullscreenflag = 1 PixelFormat = 5 wc = 1251984 dwExStyle = 262144 dwStyle = 2147483648 WindowRect = 1003536 err = 1966964 pfd = 1251984 dm = 11522848 possible_addresses = {0,2,4,6,8,10,12,13,15,17,19,20,22,24,26,27,29,31} i = 23 i = <no value> -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/
7. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by Vincent <darkvincentdude at yahoo.com> Nov 12, 2005
- 538 views
cklester wrote: > > Daniel Kluss wrote: > > > > This should fix the problem. > > Here's a snippet from ex.err: > > C:\apps\euphoria\atifixgpgpu\log.txt:15383 in procedure glBindFramebufferEXT() > > A machine-level exception occurred during execution of this statement > target = 36160 > framebuffer = 0 > > ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:922 in function > CreateGLWindow() > > title = {78'N',101'e',72'H',101'e',39''',115's',32' ',70'F',105'i',114'r', > 115's',116't',32' ',80'P',111'o',108'l',121'y',103'g',111'o',110'n',32' ', > 84'T',117'u',116't',111'o',114'r',105'i',97'a',108'l'} > width = 640 > height = 480 > bits = 16 > fullscreenflag = 1 > PixelFormat = 5 > wc = 1251984 > dwExStyle = 262144 > dwStyle = 2147483648 > WindowRect = 1003536 > err = 1966964 > pfd = 1251984 > dm = 11522848 > possible_addresses = {0,2,4,6,8,10,12,13,15,17,19,20,22,24,26,27,29,31} > i = 23 > i = <no value> > > > -=ck > "Programming in a state of EUPHORIA." > <a > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a> Did you assign a one to the "use_ati_fix" constant? That sort of fixed it for me... The program opens a OpenGL window with a pretty background fill gradient, however the interpreter window prints compiler error messages: <snip> Compile Error ERROR: 0:1: 'float4' : syntax error parse error Compile Error ERROR: 0:1: 'sampler2DRect' : Reserved word. ERROR: 0:1: 'sampler2DRect' : syntax error parse error Compile Error ERROR: 0:1: 'float4' : syntax error parse error Compile Error ERROR: 0:1: 'sampler2DRect' : Reserved word. ERROR: 0:1: 'sampler2DRect' : syntax error parse error Compile Error ERROR: 0:1: 'float4' : syntax error parse error Compile Error ERROR: 0:1: 'sampler2DRect' : Reserved word. ERROR: 0:1: 'sampler2DRect' : syntax error parse error Compile Error ERROR: 0:1: 'float4' : syntax error parse error Compile Error ERROR: 0:1: 'sampler2DRect' : Reserved word. ERROR: 0:1: 'sampler2DRect' : syntax error parse error Compile Error ERROR: 0:1: 'float4' : syntax error parse error Compile Error ERROR: 0:1: 'sampler2DRect' : Reserved word. ERROR: 0:1: 'sampler2DRect' : syntax error parse error Compile Error ERROR: 0:1: 'sampler2DRect' : Reserved word. ERROR: 0:1: 'sampler2DRect' : syntax error parse error </snip> I'm not sure what is happening, but it consumes 100% CPU and 13 MB memory. Regards, Vincent
8. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by cklester <cklester at yahoo.com> Nov 12, 2005
- 529 views
Vincent wrote: > cklester wrote: > > Daniel Kluss wrote: > > > This should fix the problem. > > Here's a snippet from ex.err: > > C:\apps\euphoria\atifixgpgpu\log.txt:15383 in procedure > > glBindFramebufferEXT() > > A machine-level exception occurred during execution of this statement > > target = 36160 > > framebuffer = 0 > Did you assign a one to the "use_ati_fix" constant? No, I hadn't done that. After I did, I got the same error: .\log.txt:15383 in procedure glBindFramebufferEXT() A machine-level exception occurred during execution of this statement target = 36160 framebuffer = 0 ... called from gcpu2.exw:922 in function CreateGLWindow() title = {78'N',101'e',72'H',101'e',39''',115's',32' ',70'F',105'i',114'r', 115's',116't',32' ',80'P',111'o',108'l',121'y',103'g',111'o',110'n',32' ', 84'T',117'u',116't',111'o',114'r',105'i',97'a',108'l'} width = 640 height = 480 bits = 16 fullscreenflag = 1 PixelFormat = 5 wc = 885136 dwExStyle = 262144 dwStyle = 2147483648 WindowRect = 10279552 err = 13370424 pfd = 885136 dm = 942848 possible_addresses = {0,2,4,6,8,10,12,13,15,17,19,20,22,24,26,27,29,31} i = 23 i = <no value> -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/
9. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by Daniel Kluss <codepilot at gmail.com> Nov 12, 2005
- 525 views
if glBindFramebufferEXT isn't working, then I'm going to have to find another way to do some stuff. Check what extensions and driver version you have, that might help me a little bit. Dan cklester wrote: > > Vincent wrote: > > cklester wrote: > > > Daniel Kluss wrote: > > > > This should fix the problem. > > > Here's a snippet from ex.err: > > > C:\apps\euphoria\atifixgpgpu\log.txt:15383 in procedure > > > glBindFramebufferEXT() > > > A machine-level exception occurred during execution of this statement > > > target = 36160 > > > framebuffer = 0 > > Did you assign a one to the "use_ati_fix" constant? > > No, I hadn't done that. After I did, I got the same error: > > .\log.txt:15383 in procedure glBindFramebufferEXT() > A machine-level exception occurred during execution of this statement > target = 36160 > framebuffer = 0 > > ... called from gcpu2.exw:922 in function CreateGLWindow() > title = {78'N',101'e',72'H',101'e',39''',115's',32' ',70'F',105'i',114'r', > 115's',116't',32' ',80'P',111'o',108'l',121'y',103'g',111'o',110'n',32' ', > 84'T',117'u',116't',111'o',114'r',105'i',97'a',108'l'} > width = 640 > height = 480 > bits = 16 > fullscreenflag = 1 > PixelFormat = 5 > wc = 885136 > dwExStyle = 262144 > dwStyle = 2147483648 > WindowRect = 10279552 > err = 13370424 > pfd = 885136 > dm = 942848 > possible_addresses = {0,2,4,6,8,10,12,13,15,17,19,20,22,24,26,27,29,31} > i = 23 > i = <no value> > > -=ck > "Programming in a state of EUPHORIA." > <a > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a>
10. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by Daniel Kluss <codepilot at gmail.com> Nov 12, 2005
- 559 views
sampler2DRect might be nvidia specific, let me see if I can find the ati alternitive. and float4 can just be replaced with vec4. Dan Vincent wrote: > > cklester wrote: > > > > Daniel Kluss wrote: > > > > > > This should fix the problem. > > > > Here's a snippet from ex.err: > > > > C:\apps\euphoria\atifixgpgpu\log.txt:15383 in procedure > > glBindFramebufferEXT() > > > > A machine-level exception occurred during execution of this statement > > target = 36160 > > framebuffer = 0 > > > > ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:922 in function > > CreateGLWindow() > > > > title = {78'N',101'e',72'H',101'e',39''',115's',32' > > ',70'F',105'i',114'r', > > 115's',116't',32' ',80'P',111'o',108'l',121'y',103'g',111'o',110'n',32' ', > > 84'T',117'u',116't',111'o',114'r',105'i',97'a',108'l'} > > width = 640 > > height = 480 > > bits = 16 > > fullscreenflag = 1 > > PixelFormat = 5 > > wc = 1251984 > > dwExStyle = 262144 > > dwStyle = 2147483648 > > WindowRect = 1003536 > > err = 1966964 > > pfd = 1251984 > > dm = 11522848 > > possible_addresses = {0,2,4,6,8,10,12,13,15,17,19,20,22,24,26,27,29,31} > > i = 23 > > i = <no value> > > > > > > -=ck > > "Programming in a state of EUPHORIA." > > <a > > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a> > > Did you assign a one to the "use_ati_fix" constant? That sort of fixed it for > me... The program opens a OpenGL window with a pretty background fill > gradient, > however the interpreter window prints compiler error messages: > > <snip> > Compile Error > ERROR: 0:1: 'float4' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > Compile Error > ERROR: 0:1: 'float4' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > Compile Error > ERROR: 0:1: 'float4' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > Compile Error > ERROR: 0:1: 'float4' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > Compile Error > ERROR: 0:1: 'float4' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > Compile Error > ERROR: 0:1: 'sampler2DRect' : Reserved word. > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > </snip> > > I'm not sure what is happening, but it consumes 100% CPU and 13 MB memory. > > > Regards, > Vincent
11. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by Daniel Kluss <codepilot at gmail.com> Nov 12, 2005
- 611 views
Now the problem is, my nvidia card doesn't support floating point textures in anything other than a rect. So ati guy use GL_RGBA_FLOAT32_ATI and normal texture, I won't be able to test it on my nvidia card though. I added error checking with every opengl call, that does a 1/0 if any error. Let me know how it works for you. http://www.rapideuphoria.com/uploads/atifixgpgpu3.zip Dan Daniel Kluss wrote: > > sampler2DRect might be nvidia specific, let me see if I can find the ati > alternitive. > and float4 can just be replaced with vec4. > > Dan > > Vincent wrote: > > > > cklester wrote: > > > > > > Daniel Kluss wrote: > > > > > > > > This should fix the problem. > > > > > > Here's a snippet from ex.err: > > > > > > C:\apps\euphoria\atifixgpgpu\log.txt:15383 in procedure > > > glBindFramebufferEXT() > > > > > > A machine-level exception occurred during execution of this statement > > > target = 36160 > > > framebuffer = 0 > > > > > > ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:922 in function > > > CreateGLWindow() > > > > > > title = {78'N',101'e',72'H',101'e',39''',115's',32' > > > ',70'F',105'i',114'r', > > > 115's',116't',32' ',80'P',111'o',108'l',121'y',103'g',111'o',110'n',32' ', > > > 84'T',117'u',116't',111'o',114'r',105'i',97'a',108'l'} > > > width = 640 > > > height = 480 > > > bits = 16 > > > fullscreenflag = 1 > > > PixelFormat = 5 > > > wc = 1251984 > > > dwExStyle = 262144 > > > dwStyle = 2147483648 > > > WindowRect = 1003536 > > > err = 1966964 > > > pfd = 1251984 > > > dm = 11522848 > > > possible_addresses = > > > {0,2,4,6,8,10,12,13,15,17,19,20,22,24,26,27,29,31} > > > i = 23 > > > i = <no value> > > > > > > > > > -=ck > > > "Programming in a state of EUPHORIA." > > > <a > > > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a> > > > > Did you assign a one to the "use_ati_fix" constant? That sort of fixed it > > for > > me... The program opens a OpenGL window with a pretty background fill > > gradient, > > however the interpreter window prints compiler error messages: > > > > <snip> > > Compile Error > > ERROR: 0:1: 'float4' : syntax error parse error > > Compile Error > > ERROR: 0:1: 'sampler2DRect' : Reserved word. > > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > > Compile Error > > ERROR: 0:1: 'float4' : syntax error parse error > > Compile Error > > ERROR: 0:1: 'sampler2DRect' : Reserved word. > > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > > Compile Error > > ERROR: 0:1: 'float4' : syntax error parse error > > Compile Error > > ERROR: 0:1: 'sampler2DRect' : Reserved word. > > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > > Compile Error > > ERROR: 0:1: 'float4' : syntax error parse error > > Compile Error > > ERROR: 0:1: 'sampler2DRect' : Reserved word. > > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > > Compile Error > > ERROR: 0:1: 'float4' : syntax error parse error > > Compile Error > > ERROR: 0:1: 'sampler2DRect' : Reserved word. > > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > > Compile Error > > ERROR: 0:1: 'sampler2DRect' : Reserved word. > > ERROR: 0:1: 'sampler2DRect' : syntax error parse error > > </snip> > > > > I'm not sure what is happening, but it consumes 100% CPU and 13 MB memory. > > > > > > Regards, > > Vincent
12. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by codepilot Gmail Account <codepilot at gmail.com> Nov 12, 2005
- 513 views
Ya, details would be good, your card should work very well, but I don't have a Radeon for testing. Dan On 11/10/05, cklester <guest at rapideuphoria.com> wrote: > > > posted by: cklester <cklester at yahoo.com> > > Daniel Kluss wrote: > > > > GeForceFX or better. > > Does an ATI Radeon 9800XT count? Your demo doesn't work for me. Crashes w= ith > a machine level exception somewhere. If you want details, I'll post it he= re. > > > -=ck > "Programming in a state of EUPHORIA." > http://www.cklester.com/euphoria/ > > > >
13. GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by codepilot Gmail Account <codepilot at gmail.com> Nov 12, 2005
- 515 views
http://www.rapideuphoria.com/uploads/gpgpu.zip This turns your programmable gpu into a cpu, a massivly parallel cpu. Have fun, requires vs.2 vertex shader with branching, and fs.2 fragment shader(branching not used). GeForceFX or better. Updates soon, probably going to make GPU-Core-Wars.
14. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by cklester <cklester at yahoo.com> Nov 12, 2005
- 513 views
Daniel Kluss wrote: > I added error checking with every opengl call, that does a 1/0 if any error. > Let me know how it works for you. I get an error message that says: err=#0500 GL_INVALID_ENUM -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/
15. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by codepilot Gmail Account <codepilot at gmail.com> Nov 12, 2005
- 509 views
- Last edited Nov 13, 2005
Where? On 11/12/05, cklester <guest at rapideuphoria.com> wrote: > > > posted by: cklester <cklester at yahoo.com> > > Daniel Kluss wrote: > > > I added error checking with every opengl call, that does a 1/0 if any e= rror. > > Let me know how it works for you. > > I get an error message that says: > > err=#0500 > GL_INVALID_ENUM > > -=ck > "Programming in a state of EUPHORIA." > http://www.cklester.com/euphoria/ > > > >
16. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by cklester <cklester at yahoo.com> Nov 13, 2005
- 516 views
codepilot Gmail Account wrote: > > Where? Here's the ex.err: C:\apps\euphoria\atifixgpgpu\gcpu2.exw:519 in procedure error_call_proc() attempt to divide by 0 err = 1280 ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:487 in procedure gl_error() ... called from C:\apps\euphoria\atifixgpgpu\log.txt:13442 in procedure glBindBufferARB() target = 35051 buffer = 1 ... called from C:\apps\euphoria\atifixgpgpu\RenderVertexArray.e:47 in function RenderVertexArray() nverts = 1024 size = 4 typ = 5126 ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:986 in function CreateGLWindow() title = {78'N',101'e',72'H',101'e',39''',115's',32' ',70'F',105'i',114'r', 115's',116't',32' ',80'P',111'o',108'l',121'y',103'g',111'o',110'n',32' ', 84'T',117'u',116't',111'o',114'r',105'i',97'a',108'l'} width = 640 height = 480 bits = 16 fullscreenflag = 1 PixelFormat = 5 wc = 1344552 dwExStyle = 262144 dwStyle = 2147483648 WindowRect = 778528 err = 28574502 pfd = 1344552 dm = 9457240 possible_addresses = <no value> i = <no value> i = <no value> ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:1199 in function WinMain() msg = <no value> err = <no value> done = 0 tick = <no value> ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:1252 -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/
17. Re: GPGPU, video card Core Wars, and Updated opengl Lib
- Posted by codepilot Gmail Account <codepilot at gmail.com> Nov 13, 2005
- 520 views
It appears that GL_PIXEL_PACK_BUFFER_ARB=35051 which is part of the extension GL_ARB_pixel_buffer_object/GL_EXT_pixel_buffer_object, is not supported by ATI, and is only supported on the version 80 drivers for NVIDIA, really new stuff here. So let me see if there is a replacement. You can see here http://www.delphi3d.net/hardware/allexts.php all of the extensions and the cards/drivers that support them. Dan On 11/12/05, cklester <guest at rapideuphoria.com> wrote: > > > posted by: cklester <cklester at yahoo.com> > > codepilot Gmail Account wrote: > > > > Where? > > Here's the ex.err: > > C:\apps\euphoria\atifixgpgpu\gcpu2.exw:519 in procedure error_call_proc() > attempt to divide by 0 > err = 1280 > > ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:487 in procedure g= l_error() > > ... called from C:\apps\euphoria\atifixgpgpu\log.txt:13442 in procedure g= lBindBufferARB() > target = 35051 > buffer = 1 > > ... called from C:\apps\euphoria\atifixgpgpu\RenderVertexArray.e:47 in fu= nction RenderVertexArray() > nverts = 1024 > size = 4 > typ = 5126 > > ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:986 in function Cr= eateGLWindow() > title = {78'N',101'e',72'H',101'e',39''',115's',32' ',70'F',105'i',1= 14'r', > 115's',116't',32' ',80'P',111'o',108'l',121'y',103'g',111'o',110'n',32' '= , > 84'T',117'u',116't',111'o',114'r',105'i',97'a',108'l'} > width = 640 > height = 480 > bits = 16 > fullscreenflag = 1 > PixelFormat = 5 > wc = 1344552 > dwExStyle = 262144 > dwStyle = 2147483648 > WindowRect = 778528 > err = 28574502 > pfd = 1344552 > dm = 9457240 > possible_addresses = <no value> > i = <no value> > i = <no value> > > ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:1199 in function W= inMain() > msg = <no value> > err = <no value> > done = 0 > tick = <no value> > > ... called from C:\apps\euphoria\atifixgpgpu\gcpu2.exw:1252 > > -=ck > "Programming in a state of EUPHORIA." > http://www.cklester.com/euphoria/ > > > >