[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] some samples and a question about looping
- To: Mark Callow <email@example.com>
- Subject: Re: [Public WebGL] some samples and a question about looping
- From: Sami Mäkelä <firstname.lastname@example.org>
- Date: Fri, 7 Jan 2011 18:49:50 +0200
- Cc: email@example.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=JUT9sIKP9BVCvEokGABIZR3COCU7863Jf5MyLUE8qe4=; b=SbSkxmE/GrFKN78Yqt9hTokg9LtNNX5WPZAQTmrFXozzxQBMMF7TtV7OXu0YbbLBGE 1Zj06/Da509pZHjxriRU7BPGTvO7Pt5fGzHeudPHwFPJYfMslquOU+ySoG1U+fQQmnwK nwuYVVsMV2yFiAYJQeRupueUwXp3tmwNmEL1Y=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JFpM41q3zo9xdV3eO8FnScQN7Lny+dk6imsiRB9vr88jbmOLVWspYOCFz5Qo/Zd4Jy KecvJkOWMK6clPwRfXtp1bHM53Jor36TaFEBXDlI4MUIbfLgGF1daS84jb04/fV9T/cR +53/1cJMlQ1O2ZDNx3X24sqQAqihjKOY5Tyo8=
- In-reply-to: <4D268CFF.firstname.lastname@example.org>
- List-id: Public WebGL Mailing List <public_webgl.khronos.org>
- References: <AANLkTi=hd-eWqRT_PYLzwNXX0Hg_ebdVDONkP=jxiMd7@mail.gmail.com> <3FB3B861-9E51-411C-BDE8-0D316A358EEC@apple.com> <4D268CFF.email@example.com>
- Sender: firstname.lastname@example.org
Sorry that my sample crashed your computer :(
The warning was made for a problem that is now "fixed" (the sample
stops rendering with onblur event). Your crash happened for different
reason. I can think of the following causes for your problem:
* I assume you used ANGLE. Then the "ray marching" loop gets unfolded
and some heavy optimization pass is applied to this unfolded program.
The driver might run out of memory and crash because of that.
* The driver succeeds in generating the program and then tries to
upload to into GPU, but the program is too large or otherwise bad.
* The draw call takes too long time and the driver crashes because of this.
The refraction sample seems to have problems on older GPUs and also
Arrandale IGP. I don't have access to old hardware, but perhaps if I
can fix it for Arrandale then it will work everywhere. (The problems
seem quite different though: on Arrandale there seems to be some
clipping issue and on GeForce 7800GT it was just a complete mess).
VTF is Vertex Texture Fetch, I think it is supported on your GPU, but
my samples are probably too heavy for that GPU anyway. When I tested
these samples on a GeForce 7800GT I was surprised to find out how much
slower it was than my Mobility Radeon HD 5650. Modern designs just
have so much more processing units. Hopefully I'll someday have time
to make the samples more scalable (of course portable syntax for
variable length loops would help there).
On Fri, Jan 7, 2011 at 5:48 AM, Mark Callow <email@example.com> wrote:
> In FF4b8 I am having severe problems with these demos. Flow and Rubik's cube
> are the only ones which work reliably. (I did not purposely try the ones
> using "VTF").
> Refraction soaks my PC to the point where it is unusable. It continuously
> trips FF's script timeout so I get a pop-ups asking if I want to cancel it.
> For a long time it draws nothing. Finally a black and yellow image appears
> with diffraction patterns on the black part. This disappears almost
> immediately replaced by an empty white canvas. After a further long time
> and more timeout pop-ups, it draws what looks like exactly the same image
> Xmas star blue-screened my computer. This was after I had inadvertently
> tried the VTF demos. The crash was in nv4_disp.dll. A subsequent attempt,
> directly after restart and running Rubik's cube worked but also generated
> script timeout pop-ups.
> I have Core2 1.86GHz with 2.00GB of RAM and a NVIDIA Quadro FX 3450/4000
> with 256MB of RAM. The driver is pretty old, version 182.67. I will try
> updating to the latest driver.
> Notes for Sami:
> Xmas Star says "WARNING: Might crash your computer, follow the instructions
> on the page." It crashed before the page was displayed so instructions on
> the page are useless. In any case, there aren't any.
> "VTF" is way too cryptic.
> On 07/01/2011 01:39, Chris Marrin wrote:
> On Dec 24, 2010, at 8:51 AM, Sami Mäkelä wrote:
> I've updated my samples at http://programming-progress.com/webgl.html
> so that they now work (or do not work) as expected on the latest
> browsers. At least check out the Xmas star.
> This is a very nice set of demos. I don't see it on the User Contributions
> section of the Wiki. Can you add it?
You are currently subscribed to firstname.lastname@example.org.
To unsubscribe, send an email to email@example.com with
the following command in the body of your email: